Research analysis · Platform boundary integrity

The substrate was fine; the pipeline threw away 99 percent of it

On two IBM quantum processors, a postprocessing filter inside a widely used open-source machine-learning library quietly discarded between 85 and 99.6 percent of valid measurement shots, turned a 0.94-accuracy classifier into a 0.39 one on the same raw data, and raised no warning. The authors' fix was twelve lines of layout-aware marginalisation. For anyone running living tissue through a vendor platform, this is the most important kind of platform bug: one that makes the biology look broken.

Source: Impact of Data Loss in Postprocessing on Training and Inference of Quantum Neural Networks, Panambalom, Altamura, Chancellor, and Hance, arXiv:2609.05060v1 [quant-ph], submitted 2026-09-04. Primary source. Read: full text of the arXiv HTML version, retrieved 2026-11-09, including the Qiskit Machine Learning issue (#1040) and merged pull request (#1041) referenced in the paper.

What the work claims

This is a fault-report case study, a primary diagnostic of a specific software defect rather than a broad empirical study. The authors show that SamplerQNN, the sampling-based quantum neural network class in the Qiskit Machine Learning library, postprocesses hardware measurement bit-strings with a filter that assumes those bit-strings live in virtual qubit space. IBM's real processors return bit-strings spanning all physical qubits, more than 100 of them, so the filter discards 85 to 99.6 percent of valid shots depending on where the transpiler happens to place the circuit's virtual qubits. The surviving probabilities are unnormalised, the model receives a silently corrupted signal, and no API-level warning is raised. They demonstrate the effect across five experiments on two IBM backends (ibm_kingston, 156 qubits, and ibm_torino, 133): inference accuracy falls from 0.94 to 0.39 on identical raw measurements, and in on-device training the loss signal is compressed by a factor of 22 to 27, which they show makes the optimiser's keep-or-revert decisions effectively random. The behaviour is present in all released library versions from 0.8.4 to 0.9.0; the authors' layout-based marginalisation fix was merged as pull request #1041 on 7 May 20261.

How it works

The mechanism is worth understanding precisely, because its shape, not its quantum content, is what generalises. A user defines a circuit on n virtual qubits, say 4. The transpiler maps those onto physical qubits of a 156-qubit chip, and it does not promise low positions: in one experiment the four virtual qubits landed at physical positions [108, 109, 110, 118]. The backend then returns one bit-string per shot covering all 156 physical qubits, including 152 ancillas that play no role in the computation. SamplerQNN's postprocess converts each full bit-string to an integer and keeps it only if the value is below 2^n, which is 16 for a 4-qubit circuit. That condition only holds when the virtual qubits sit at the lowest bit positions and every ancilla reads zero. With the [108, 109, 110, 118] placement, any virtual outcome other than all-zeros produces an integer around 10^33 and is discarded; in that experiment 16 of 4096 shots survived, 0.4 percent. Even at the lowest positions, ancilla noise flips bits that push integers above threshold, leaving only 15.2 percent survival. The output probabilities then sum to 0.004 or 0.15 instead of 1, and because total_shots is computed before filtering, everything downstream, predictions, loss values, gradients, proceeds as if nothing happened1.

The scientific consequence is the sobering part. Two of the five models appeared to perform near-randomly on hardware (accuracy 0.39, F1 0.31 to 0.37), and the natural interpretation, one the quantum machine-learning literature routinely invokes, was hardware-noise sensitivity in deeply entangled circuits. After correction, those same models score 0.94, the best configuration in the study. The confound was not the physics; it was an integer comparison in the classical middleware. The authors further show the damage is not fully repairable after the fact: inference results can be recovered if raw measurement counts were saved, by re-deriving probabilities with marginalisation (summing over ancilla states, the standard projection of a joint distribution onto a subspace), but training results cannot, because the corrupted loss already shaped the weights at every optimisation step1.

Where a skeptic should push

The evidence is narrow by construction: five experiments, two backends, a single binary breast-cancer classification task, models of 4 and 7 qubits, all trained on a classical noisy simulator (Qiskit Aer with a FakeJakartaV2 noise model, 1024 shots) and transferred to hardware for inference. That is enough to prove the defect exists and to quantify it, but not to say how often it has bitten published work: the authors examine two published studies whose setups match the trigger conditions (SamplerQNN, affected library versions, hardware at 133 to 156 qubits) and state plainly that they "cannot confirm" the issue affected either one without the raw measurement data. The training analysis is also structurally under-dimensioned, as the authors themselves flag: the on-device fine-tuning ran 5 COBYLA iterations, which never completed even the initial simplex (13 evaluations for the 4-qubit model, 22 for the 7-qubit), so zero actual optimisation steps occurred regardless of the bug; each hardware iteration took about 8 minutes against a 180-minute total allocation, which is the real constraint being documented. And the fix, though merged, was not in any release as of the paper: users must install from source. The most load-bearing assumption in any generalisation of this work is that silent corruption is rare enough to be news; the paper's own framing suggests otherwise, that simulation-tested postprocessing assumptions fail quietly at utility scale, and that the only reliable detector is checking whether raw counts normalise.

Middleware defines what the biology is seen to do

For platform access and vendor capability, the paper is a clean anatomy of a failure mode that the organoid-computing stack shares line for line. Between living tissue and the end user sit acquisition firmware, spike-sorting and denoising pipelines, feature extraction, and normalisation, every one of them written and tested under conditions cleaner than the utility-scale reality (hundreds of channels, months of culture, drift, contamination events). This case study shows what happens when one of those layers silently redefines the substrate's output: the biology gets blamed. Two models that looked noise-limited were in fact the best performers, and the correction "changes the results for two experiments significantly, and the scientific conclusions along with them." On an organoid platform the same failure does not merely corrupt a benchmark league table; it can assign learning, responsiveness, or failure to the tissue when the artifact lives in the pipeline, and the platform vendor, not the substrate supplier, holds the raw data needed to tell the difference. That asymmetry is a market problem as much as a technical one: a middleware bug is indistinguishable from weak biology, and vendors of the middleware are the ones who profit from the confusion being resolved in their favour, or never resolved at all.

The governance instruments that fall out of the mechanism are cheap and specific, which is why they matter. First, the normalisation check: an unnormalised probability vector was detectable in one line (do the outputs sum to 1?), and the paper notes the loss was visible to anyone who looked at raw counts. The organoid analogue is event accounting: how many recorded units enter preprocessing, how many survive it, and whether the survival rate is reported as a first-class metric on every platform run. A platform that cannot state its signal-survival rate is asking users to trust exactly the layer this paper shows fails silently. Second, raw-data retention as an audit right: training results were unrecoverable precisely because corrupted intermediates, not raw counts, were what got kept. Any platform computing on living tissue should be contractually required to preserve raw, preprocessed streams for some defined period, both because post-hoc reanalysis is the only remedy and because welfare-relevant signals (seizure-like bursting, spreading depolarisations, distress-like activity patterns) may be discarded by exactly the kind of filter this paper documents, invisibly, with no API warning. A filter that throws away 99.6 percent of shots does not care whether the discarded shots carried the morally salient events.

The threat and the opportunity are two sides of the same fix. The threat is subtler than bad numbers: silent middleware loss decides which of the tissue's behaviours ever become data, and therefore which behaviours can ever ground a welfare argument, a benchmark claim, or a regulatory submission, a point the platform owner controls without any user-visible decision having been made. The opportunity is that the remedy is architectural and copyable: layout-aware marginalisation uses every shot and is invariant to ancilla noise by construction, and the general principle is preservation of the raw substrate record plus a survival accounting at every processing stage. For the vendor market, signal-survival transparency and raw-count retention are cheap differentiators that would also raise the floor of the whole field; for oversight, they are the difference between auditing a platform and auditing the platform's self-description. The deeper lesson of this modest quantum case study is that when a result looks too noisy to be real, the right first question is no longer only "is the substrate good enough?" but "how much of the substrate survived the pipeline, and who checked?"

The bottom line

Established: a specific, reproduced, and now-fixed defect in a widely used open-source library silently discarded 85 to 99.6 percent of valid hardware output across five experiments, flipping accuracy from 0.94 to 0.39 on identical raw measurements and compressing training loss by 22 to 27 times; the fix (marginalisation over ancilla bits) is merged but was unreleased as of the paper. Established with narrower scope: two published studies match the trigger conditions and cannot be exonerated or implicated without their raw counts. Not established: how prevalent silent postprocessing loss is across platforms, quantum or biological; the paper is one careful case study, and its authors are explicit about that. The calibrated takeaway for the organoid field is procedural, not probabilistic: demand signal-survival accounting and raw-record retention from any platform whose middleware stands between you and the living substrate, because this paper demonstrates that the failure mode is real, silent, and capable of inverting scientific conclusions, and that its only cheap detector is a check nobody thought to run.

Frequently asked questions

What exactly was the bug?

SamplerQNN's postprocessing converts each hardware measurement bit-string to an integer and keeps it only if the value is below 2^n, where n is the number of virtual qubits in the user's circuit. On IBM hardware the bit-strings span all 100-plus physical qubits, so most valid shots exceed the threshold and are silently discarded.

How big was the effect?

Depending on qubit placement, 85 to 99.6 percent of valid shots were lost. On identical raw measurements, inference accuracy fell from 0.94 to 0.39; in on-device training the loss signal was compressed 22 to 27 times, making the optimiser's decisions effectively random.

Why did nobody catch it earlier?

Simulators return bit-strings in virtual qubit space, where the filter condition never triggers, so the defect was invisible in the environment the library was developed and tested in. It only appeared on real hardware or SamplerV2-style outputs with all qubits measured.

What was the fix?

Layout-aware marginalisation: use the circuit layout to identify the physical positions of the virtual qubits, extract only those bits from each shot, and sum over all ancilla states. Every shot contributes, ancilla noise no longer matters, and the output is a valid probability distribution by construction. It was merged as Qiskit Machine Learning pull request #1041 on 7 May 2026.

Why does this matter for organoid platforms?

The organoid stack has the same shape: classical middleware between the substrate and the user, tested under cleaner conditions than utility-scale use, capable of silently discarding or distorting the biological signal while high-level metrics look plausible. Silent loss assigns failure to the tissue instead of the pipeline, and can discard welfare-relevant events with no warning and no recovery if raw records are not kept.

What should a user or regulator ask a platform vendor?

Two things: the signal-survival rate at every preprocessing stage, reported per run, and contractual retention of raw preprocessed records so that post-hoc reanalysis is possible. The paper shows both the failure these requests guard against and the fact that the only cheap detector is whether the raw counts normalise.

References

  1. Panambalom SV, Altamura E, Chancellor N, Hance JR. Impact of Data Loss in Postprocessing on Training and Inference of Quantum Neural Networks. arXiv:2609.05060 [quant-ph]. 2026. https://arxiv.org/abs/2609.05060. Accessed 2026-11-09.