Certified circuit distance of a memory on IBM's ibm_boston with dead qubits
How much error-correcting distance does a real 156-qubit chip with three dead qubits still allow, and which layout and schedule reach it?
Verifier
The verifier checks your file and computes its score. QArena runs the same code on every submission.
Verifications of this board run on the first lane of this list that is up and has room: CU Boulder's Alpine, then NCAR Derecho, then RunPod. A lane that is down, full or slow passes the file to the next one automatically, with the same verifier version; the limits of one verification are 18,000 s of CPU, 19,200 s of wall time and 2,048 MB of memory on CU Boulder's Alpine, NCAR Derecho and RunPod (2 times the board's own CPU and wall time, because their processors are slower); the result goes to QArena only.
Download the bundle, extract it and run these commands from its folder (the one holding verifiers/). The bundle
includes an accepted example file.
python3 -m pip install -r requirements.txt python3 -I verifiers/run_one.py chipmem cm-boston-d3 example/cm-boston-d3.json
The verifier prints one line of JSON with a status: accepted with the score, rejected with the reason,
or error if verification could not finish.
Files
| File | Role |
|---|---|
| run_one.py | Runs the verifier |
| common.py | Shared helpers |
| chipmem.py | Validates submissions for this problem |
| bbdcirc.py | Validates submissions for this problem |
How verification works
The verifier builds two memory experiments from your body with Stim: reset every touched qubit, run the body, measure the data in Z; and reset, Hadamard on the data, the body, Hadamard, measure. It inserts every fault itself: two-qubit depolarizing noise after each CZ, single-qubit noise after each one-qubit gate and on every idle touched qubit in every layer, a flip after each reset and before each measurement. Every detector and the logical must be deterministic, and the logical must read +1 without faults. The operators the detectors check at the body's start must generate one stabilizer group that commutes with both logicals, and each final logical must be the initial one times a stabilizer: equivalently every detector holds, and both logicals survive with their signs, for a logical qubit entangled with a noiseless reference, so two incompatible codes cannot be credited to one memory. Every single-qubit error on a data qubit at the start of a measurement layer's window (right after the previous measurement layer) that any detector sees must be seen by that layer or the next three, and every measurement layer must report a fresh syndrome of the memory: with every operation perfect, some Pauli errors on the qubits that hold the encoded state (the finest tensor factor of the encoded Bell state that contains the reference), applied at the body's start or at later layer boundaries, must leave every earlier raw measurement record as possible as before and change a sum of declared detectors complete by that layer. A layer that only reads a dummy, a qubit in a product state or its own readout faults does not count; a repeated check or a parked flag that an error can reach does. The exact circuit distance is then certified by bb-dcirc's exhaustive search on the whole detector error model, both bases at each weight, and the first set found is replayed. Integers only; a file that does not finish within the CPU budget gets status error and is not ranked, never accepted.