deskmerc/ quantum

Algorithms / KINGSTON

Quantum Field Report

A shallower route to the period of 299

Move modular arithmetic to the laptop and use the chip to test coherent Fourier sampling.

IBM job ID
dbvs31qnj2vs73dd2sk0
Submitted
19 Nov 2026 · 21:41 CST
QPU charge
3 seconds
Backend
ibm_kingston
Sampling
256 shots per recorded setting/case
Provenance
Quantum Field Report, page 8.

The question

Move modular arithmetic to the laptop and use the chip to test coherent Fourier sampling.

Circuit & method

Precompute a 64-entry modular-power table with exponent stride four. Prepare six-qubit phase-table circuits and compare ordered entries against shuffled controls.

PrepareState, codeword or problem instance
Run on KingstonRecorded physical circuit and settings
Measure & checkCounts, decoding and classical verification

Results

The strongest ordered-minus-shuffled separation was at lag 33, or 132 exponent steps: 0.2604, with a recorded 95% interval of 0.2194–0.3014. Classical modular and gcd checks recover 13 and 23.

The lag was the strongest observed separation. These correlations are not shot-success fractions.
At lag 33Correlation
Ordered table0.300034
Shuffled control0.039606
Difference0.260428
Recorded 95% interval[0.21941049422232176, 0.3014446698781149]
A shallower route to the period of 299: original archived experiment figure
Original archived figure · Period299-spacing.png. Download the figure from the supporting files below.

What this supports

Precomputation embeds information about the known target. This is a hybrid interference experiment, with a selected strongest lag, rather than the full modular-arithmetic factoring circuit.

Percentages are rounded for reading. The original integer counts, physical layouts, settings and available uncertainty calculations remain in the records below. Sampling intervals do not account for drift or every systematic error.

Full experiment record

Every top-level field from the primary hardware JSON is reproduced below, including the complete saved measurement distributions where present. Field names and outcome strings retain their original order and spelling.

backend
ibm_kingston
queues
{
  "ibm_fez": {
    "backend_name": "ibm_fez",
    "backend_version": "",
    "operational": true,
    "pending_jobs": 4,
    "status_msg": "active"
  },
  "ibm_kingston": {
    "backend_name": "ibm_kingston",
    "backend_version": "",
    "operational": true,
    "pending_jobs": 0,
    "status_msg": "active"
  },
  "ibm_marrakesh": {
    "backend_name": "ibm_marrakesh",
    "backend_version": "",
    "operational": true,
    "pending_jobs": 0,
    "status_msg": "active"
  }
}
queue_snapshot_utc
2026-11-20T03:41:58.605745+00:00
initial_layout
[
  53,
  54,
  39,
  52,
  55,
  59
]
compiled
[
  {
    "two_qubit_gates": 140,
    "two_qubit_depth": 113,
    "duration_s": 1.5460000000000042e-05
  },
  {
    "two_qubit_gates": 140,
    "two_qubit_depth": 113,
    "duration_s": 1.5332000000000042e-05
  },
  {
    "two_qubit_gates": 140,
    "two_qubit_depth": 113,
    "duration_s": 1.5428000000000043e-05
  },
  {
    "two_qubit_gates": 140,
    "two_qubit_depth": 113,
    "duration_s": 1.5108000000000036e-05
  },
  {
    "two_qubit_gates": 139,
    "two_qubit_depth": 115,
    "duration_s": 1.464000000000003e-05
  },
  {
    "two_qubit_gates": 140,
    "two_qubit_depth": 113,
    "duration_s": 1.539600000000004e-05
  },
  {
    "two_qubit_gates": 140,
    "two_qubit_depth": 113,
    "duration_s": 1.5460000000000042e-05
  },
  {
    "two_qubit_gates": 140,
    "two_qubit_depth": 113,
    "duration_s": 1.5076000000000035e-05
  },
  {
    "two_qubit_gates": 140,
    "two_qubit_depth": 113,
    "duration_s": 1.5460000000000042e-05
  },
  {
    "two_qubit_gates": 139,
    "two_qubit_depth": 115,
    "duration_s": 1.457600000000003e-05
  },
  {
    "two_qubit_gates": 140,
    "two_qubit_depth": 113,
    "duration_s": 1.530000000000004e-05
  },
  {
    "two_qubit_gates": 140,
    "two_qubit_depth": 113,
    "duration_s": 1.536400000000004e-05
  },
  {
    "two_qubit_gates": 140,
    "two_qubit_depth": 113,
    "duration_s": 1.5460000000000042e-05
  },
  {
    "two_qubit_gates": 140,
    "two_qubit_depth": 113,
    "duration_s": 1.5460000000000042e-05
  },
  {
    "two_qubit_gates": 140,
    "two_qubit_depth": 113,
    "duration_s": 1.539600000000004e-05
  },
  {
    "two_qubit_gates": 140,
    "two_qubit_depth": 113,
    "duration_s": 1.539600000000004e-05
  }
]
estimate_s
3.0956042240000006
cap_s
30
shots_per_circuit
256
settings
[
  {
    "arm": "shuffled",
    "mask": 113,
    "offset": 55.5
  },
  {
    "arm": "shuffled",
    "mask": 56,
    "offset": 23.5
  },
  {
    "arm": "ordered",
    "mask": 94,
    "offset": 45.0
  },
  {
    "arm": "shuffled",
    "mask": 171,
    "offset": 13.5
  },
  {
    "arm": "ordered",
    "mask": 171,
    "offset": 13.5
  },
  {
    "arm": "ordered",
    "mask": 113,
    "offset": 55.5
  },
  {
    "arm": "shuffled",
    "mask": 94,
    "offset": 45.5
  },
  {
    "arm": "shuffled",
    "mask": 171,
    "offset": 4.0
  },
  {
    "arm": "shuffled",
    "mask": 94,
    "offset": 45.0
  },
  {
    "arm": "ordered",
    "mask": 171,
    "offset": 4.0
  },
  {
    "arm": "shuffled",
    "mask": 56,
    "offset": 16.0
  },
  {
    "arm": "ordered",
    "mask": 56,
    "offset": 16.0
  },
  {
    "arm": "shuffled",
    "mask": 113,
    "offset": 22.0
  },
  {
    "arm": "ordered",
    "mask": 94,
    "offset": 45.5
  },
  {
    "arm": "ordered",
    "mask": 113,
    "offset": 22.0
  },
  {
    "arm": "ordered",
    "mask": 56,
    "offset": 23.5
  }
]
tag
period299-six-qubit-fourier-20261119
stage
done
job_id
dbvs31qnj2vs73dd2sk0
ibm_status
DONE
rows
[
  {
    "arm": "shuffled",
    "mask": 113,
    "offset": 55.5,
    "counts": {
      "101110": 2,
      "100011": 5,
      "001001": 9,
      "110111": 2,
      "100001": 18,
      "001111": 4,
      "101101": 3,
      "001011": 6,
      "011011": 9,
      "010100": 2,
      "011111": 4,
      "001000": 15,
      "110101": 9,
      "010101": 3,
      "100111": 5,
      "011010": 3,
      "011101": 5,
      "100101": 2,
      "010011": 7,
      "101011": 2,
      "000100": 4,
      "110010": 3,
      "010010": 4,
      "110110": 5,
      "101010": 2,
      "111101": 4,
      "010001": 4,
      "000011": 3,
      "000010": 9,
      "101001": 1,
      "110100": 9,
      "010000": 4,
      "111000": 6,
      "111010": 6,
      "100000": 4,
      "011001": 4,
      "000001": 2,
      "111100": 2,
      "011000": 3,
      "000111": 5,
      "001010": 3,
      "001110": 2,
      "001101": 4,
      "101000": 1,
      "111111": 6,
      "000101": 2,
      "001100": 3,
      "110000": 5,
      "111011": 1,
      "111110": 5,
      "000000": 3,
      "011100": 2,
      "101100": 1,
      "010110": 1,
      "100110": 4,
      "000110": 3,
      "110001": 5,
      "100100": 1,
      "101111": 1,
      "011110": 1,
      "010111": 1,
      "110011": 1,
      "111001": 1
    }
  },
  {
    "arm": "shuffled",
    "mask": 56,
    "offset": 23.5,
    "counts": {
      "010010": 2,
      "110011": 4,
      "001011": 9,
      "011001": 4,
      "011111": 3,
      "110010": 12,
      "110000": 7,
      "000110": 7,
      "010001": 9,
      "101110": 3,
      "101111": 6,
      "101001": 4,
      "111011": 4,
      "110001": 5,
      "111010": 1,
      "101100": 4,
      "000011": 5,
      "011110": 3,
      "011011": 8,
      "101011": 8,
      "100101": 5,
      "010100": 2,
      "000010": 6,
      "000000": 6,
      "100010": 7,
      "101010": 3,
      "111110": 7,
      "110110": 5,
      "001101": 5,
      "110100": 6,
      "100110": 5,
      "101000": 3,
      "010011": 5,
      "001000": 3,
      "010000": 2,
      "101101": 7,
      "111000": 3,
      "001001": 4,
      "000101": 2,
      "011100": 8,
      "010101": 2,
      "001010": 7,
      "100100": 6,
      "001111": 2,
      "100000": 2,
      "011000": 5,
      "100001": 1,
      "111111": 2,
      "111001": 4,
      "000100": 2,
      "100111": 2,
      "011101": 2,
      "111100": 1,
      "110101": 5,
      "000111": 2,
      "010110": 2,
      "110111": 1,
      "111101": 1,
      "001100": 2,
      "100011": 1,
      "000001": 2
    }
  },
  {
    "arm": "ordered",
    "mask": 94,
    "offset": 45.0,
    "counts": {
      "110101": 3,
      "001101": 27,
      "111010": 6,
      "011001": 16,
      "011111": 5,
      "001001": 13,
      "100101": 1,
      "011011": 4,
      "000001": 2,
      "000011": 6,
      "101110": 4,
      "010001": 8,
      "111110": 5,
      "000000": 4,
      "111100": 5,
      "000111": 7,
      "011100": 5,
      "100011": 2,
      "001011": 7,
      "110110": 9,
      "010011": 1,
      "100110": 2,
      "110000": 4,
      "110100": 6,
      "010101": 7,
      "100100": 6,
      "000010": 1,
      "100010": 3,
      "111011": 2,
      "101111": 2,
      "011000": 4,
      "000101": 9,
      "101010": 7,
      "111001": 2,
      "010111": 5,
      "100000": 3,
      "110001": 3,
      "100001": 6,
      "011010": 4,
      "001000": 2,
      "010010": 3,
      "111000": 3,
      "010000": 4,
      "011101": 8,
      "010110": 1,
      "001100": 2,
      "000100": 1,
      "110010": 2,
      "101000": 2,
      "101011": 4,
      "110111": 2,
      "111101": 2,
      "101100": 1,
      "000110": 1,
      "110011": 1,
      "001111": 1
    }
  },
  {
    "arm": "shuffled",
    "mask": 171,
    "offset": 13.5,
    "counts": {
      "000010": 6,
      "011001": 7,
      "111001": 10,
      "011100": 5,
      "000111": 6,
      "100000": 5,
      "100010": 3,
      "111100": 2,
      "101110": 8,
      "101001": 5,
      "000110": 9,
      "101101": 3,
      "010001": 5,
      "001111": 3,
      "010010": 6,
      "111110": 8,
      "010000": 5,
      "110010": 5,
      "101100": 5,
      "100111": 11,
      "100011": 9,
      "001011": 6,
      "011011": 9,
      "001100": 4,
      "110011": 2,
      "010011": 5,
      "111000": 5,
      "011010": 3,
      "101010": 6,
      "011000": 6,
      "100110": 3,
      "110101": 2,
      "101000": 4,
      "010101": 4,
      "100100": 1,
      "100001": 3,
      "111101": 3,
      "011101": 6,
      "011111": 6,
      "010100": 3,
      "001110": 5,
      "110000": 2,
      "110100": 3,
      "011110": 1,
      "001001": 3,
      "001010": 8,
      "000000": 3,
      "111111": 2,
      "010111": 2,
      "101111": 3,
      "111010": 3,
      "000001": 1,
      "101011": 2,
      "110111": 3,
      "001000": 2,
      "100101": 1,
      "010110": 1,
      "110110": 2,
      "111011": 1,
      "000100": 1
    }
  },
  {
    "arm": "ordered",
    "mask": 171,
    "offset": 13.5,
    "counts": {
      "010010": 9,
      "110111": 2,
      "101101": 7,
      "110000": 4,
      "010011": 5,
      "101111": 3,
      "000100": 4,
      "001010": 8,
      "101100": 2,
      "110110": 2,
      "011011": 7,
      "111011": 3,
      "101000": 1,
      "000000": 6,
      "001001": 1,
      "001100": 4,
      "111100": 13,
      "100000": 3,
      "011001": 6,
      "111111": 2,
      "001111": 4,
      "010111": 7,
      "100101": 6,
      "000001": 2,
      "011101": 7,
      "001101": 6,
      "111000": 18,
      "010000": 7,
      "011111": 6,
      "100011": 5,
      "001000": 10,
      "101010": 4,
      "000010": 5,
      "010101": 12,
      "000111": 2,
      "010001": 7,
      "101011": 1,
      "111001": 1,
      "101110": 2,
      "101001": 10,
      "000101": 2,
      "111110": 2,
      "100001": 3,
      "100111": 4,
      "110100": 2,
      "110010": 1,
      "011100": 1,
      "011010": 1,
      "100100": 4,
      "011110": 1,
      "001011": 1,
      "010100": 3,
      "110011": 3,
      "011000": 2,
      "100110": 1,
      "000110": 2,
      "001110": 3,
      "010110": 2,
      "000011": 1,
      "111101": 2,
      "100010": 1
    }
  },
  {
    "arm": "ordered",
    "mask": 113,
    "offset": 55.5,
    "counts": {
      "011010": 14,
      "010110": 2,
      "001001": 6,
      "000001": 8,
      "001000": 8,
      "001101": 3,
      "011011": 4,
      "110001": 5,
      "000101": 7,
      "101100": 3,
      "011110": 8,
      "101101": 4,
      "101001": 8,
      "100010": 6,
      "100110": 8,
      "000000": 4,
      "111101": 3,
      "111111": 1,
      "111011": 11,
      "101010": 3,
      "010100": 3,
      "101000": 6,
      "101011": 4,
      "001100": 3,
      "011111": 6,
      "011000": 1,
      "010001": 5,
      "110010": 3,
      "110011": 11,
      "001010": 5,
      "000100": 7,
      "100101": 4,
      "011100": 1,
      "110111": 11,
      "010000": 6,
      "111100": 3,
      "110110": 1,
      "100111": 7,
      "001011": 5,
      "100000": 2,
      "101110": 2,
      "000110": 5,
      "000111": 3,
      "100001": 2,
      "010010": 4,
      "000010": 3,
      "110101": 2,
      "011001": 1,
      "001110": 2,
      "000011": 2,
      "111000": 2,
      "111010": 4,
      "011101": 3,
      "110000": 4,
      "010111": 1,
      "100011": 1,
      "111001": 1,
      "100100": 1,
      "101111": 2,
      "001111": 1
    }
  },
  {
    "arm": "shuffled",
    "mask": 94,
    "offset": 45.5,
    "counts": {
      "011110": 10,
      "110100": 9,
      "010100": 2,
      "001010": 8,
      "111010": 2,
      "110101": 6,
      "011101": 3,
      "010101": 6,
      "011001": 6,
      "010110": 13,
      "000011": 7,
      "000110": 5,
      "000100": 11,
      "111000": 4,
      "001011": 8,
      "100010": 4,
      "011100": 4,
      "111111": 3,
      "001100": 7,
      "001001": 2,
      "101011": 4,
      "110111": 3,
      "000101": 4,
      "011111": 2,
      "111101": 1,
      "101010": 7,
      "000000": 3,
      "111100": 3,
      "101101": 4,
      "000111": 9,
      "100100": 3,
      "110001": 3,
      "001111": 4,
      "010000": 3,
      "011010": 8,
      "110010": 2,
      "010111": 1,
      "100011": 5,
      "100111": 3,
      "000010": 7,
      "100001": 8,
      "000001": 2,
      "100101": 4,
      "001110": 4,
      "111011": 5,
      "010010": 2,
      "101000": 1,
      "001101": 2,
      "101001": 2,
      "101100": 3,
      "101110": 3,
      "110011": 3,
      "100110": 9,
      "010011": 3,
      "001000": 1,
      "110000": 3,
      "011000": 1,
      "111110": 1
    }
  },
  {
    "arm": "shuffled",
    "mask": 171,
    "offset": 4.0,
    "counts": {
      "001011": 8,
      "000000": 9,
      "000010": 3,
      "100100": 3,
      "000001": 8,
      "000011": 5,
      "011110": 3,
      "001010": 2,
      "100000": 14,
      "010101": 4,
      "001001": 3,
      "010011": 3,
      "100011": 3,
      "001000": 4,
      "100110": 5,
      "101111": 3,
      "111011": 2,
      "101000": 7,
      "100010": 2,
      "011010": 4,
      "010010": 7,
      "100111": 4,
      "110011": 5,
      "110000": 11,
      "101101": 6,
      "110101": 4,
      "010110": 5,
      "100101": 3,
      "001110": 6,
      "000100": 6,
      "111001": 3,
      "000101": 5,
      "001100": 5,
      "110001": 7,
      "000110": 4,
      "101001": 2,
      "110110": 3,
      "001111": 4,
      "000111": 6,
      "111101": 2,
      "001101": 3,
      "011101": 4,
      "111100": 4,
      "010001": 5,
      "010100": 6,
      "010000": 1,
      "011001": 4,
      "111010": 2,
      "100001": 3,
      "011011": 2,
      "110100": 4,
      "101110": 1,
      "111111": 3,
      "101010": 4,
      "101100": 8,
      "011000": 2,
      "110111": 1,
      "010111": 1,
      "101011": 2,
      "111000": 3
    }
  },
  {
    "arm": "shuffled",
    "mask": 94,
    "offset": 45.0,
    "counts": {
      "011110": 5,
      "100011": 5,
      "011011": 13,
      "101011": 5,
      "010110": 10,
      "001100": 4,
      "011111": 10,
      "001011": 19,
      "001000": 4,
      "000111": 10,
      "000100": 9,
      "100111": 8,
      "100010": 9,
      "101110": 8,
      "101101": 3,
      "000010": 4,
      "010111": 5,
      "001101": 3,
      "011000": 2,
      "110100": 1,
      "110101": 6,
      "000110": 3,
      "111111": 8,
      "000011": 9,
      "110010": 3,
      "001111": 6,
      "000101": 4,
      "101111": 4,
      "010010": 3,
      "010000": 3,
      "111110": 2,
      "110001": 2,
      "011101": 5,
      "111011": 4,
      "011001": 5,
      "110110": 5,
      "100001": 6,
      "111000": 4,
      "110000": 1,
      "111101": 1,
      "000000": 3,
      "110111": 2,
      "101010": 3,
      "010011": 3,
      "110011": 3,
      "111001": 4,
      "010100": 1,
      "001010": 1,
      "100101": 3,
      "001110": 2,
      "000001": 1,
      "011100": 4,
      "011010": 2,
      "101100": 1,
      "101001": 1,
      "111010": 1
    }
  },
  {
    "arm": "ordered",
    "mask": 171,
    "offset": 4.0,
    "counts": {
      "000010": 13,
      "011011": 9,
      "010001": 13,
      "100110": 2,
      "000100": 7,
      "110110": 14,
      "010011": 8,
      "011010": 3,
      "100001": 2,
      "101011": 3,
      "010000": 5,
      "110000": 3,
      "011111": 12,
      "100111": 8,
      "101010": 4,
      "101000": 2,
      "101110": 7,
      "110100": 5,
      "110011": 2,
      "001100": 2,
      "110101": 3,
      "011101": 12,
      "101001": 1,
      "011001": 4,
      "000000": 5,
      "101100": 3,
      "010101": 9,
      "010111": 6,
      "000101": 4,
      "101111": 3,
      "010010": 1,
      "100011": 6,
      "100101": 11,
      "101101": 3,
      "011100": 1,
      "111000": 3,
      "001101": 2,
      "001010": 4,
      "000110": 6,
      "001000": 3,
      "001110": 2,
      "010100": 2,
      "110001": 3,
      "111100": 4,
      "110111": 2,
      "000111": 2,
      "011000": 2,
      "000001": 3,
      "001011": 5,
      "100100": 1,
      "111011": 2,
      "100010": 1,
      "111010": 3,
      "110010": 4,
      "001111": 3,
      "111111": 1,
      "010110": 1,
      "111110": 1
    }
  },
  {
    "arm": "shuffled",
    "mask": 56,
    "offset": 16.0,
    "counts": {
      "100010": 7,
      "111111": 3,
      "110000": 2,
      "001101": 12,
      "101110": 4,
      "011000": 4,
      "001111": 5,
      "111100": 14,
      "101001": 3,
      "010001": 5,
      "100100": 8,
      "110111": 6,
      "010110": 4,
      "101011": 5,
      "110001": 1,
      "100001": 5,
      "000110": 3,
      "010111": 4,
      "010010": 9,
      "110010": 2,
      "100101": 7,
      "011010": 2,
      "001010": 6,
      "110110": 12,
      "101100": 4,
      "010011": 5,
      "001110": 6,
      "011111": 6,
      "111011": 6,
      "100000": 3,
      "001000": 2,
      "000010": 4,
      "101010": 5,
      "111101": 1,
      "100110": 6,
      "000011": 2,
      "111000": 7,
      "101000": 6,
      "110011": 6,
      "011001": 1,
      "110100": 3,
      "001001": 4,
      "101101": 2,
      "011110": 2,
      "010100": 1,
      "111110": 3,
      "001100": 1,
      "100111": 1,
      "111010": 2,
      "000001": 4,
      "101111": 4,
      "000101": 2,
      "001011": 3,
      "100011": 3,
      "010101": 1,
      "110101": 2,
      "111001": 3,
      "000000": 3,
      "011011": 1,
      "011101": 1,
      "000111": 2,
      "000100": 1,
      "010000": 1,
      "011100": 3
    }
  },
  {
    "arm": "ordered",
    "mask": 56,
    "offset": 16.0,
    "counts": {
      "100001": 5,
      "000100": 2,
      "101111": 3,
      "011001": 4,
      "000111": 8,
      "001001": 7,
      "011010": 3,
      "101000": 13,
      "111101": 1,
      "001010": 4,
      "101100": 2,
      "100010": 4,
      "010101": 10,
      "010001": 5,
      "000011": 2,
      "000101": 11,
      "110111": 8,
      "101110": 9,
      "111100": 5,
      "100000": 7,
      "111111": 2,
      "110010": 13,
      "000010": 4,
      "010100": 4,
      "011111": 4,
      "010011": 3,
      "101010": 7,
      "100100": 6,
      "011101": 4,
      "101101": 4,
      "001011": 9,
      "100110": 5,
      "001110": 1,
      "110000": 2,
      "101001": 2,
      "001101": 6,
      "110110": 6,
      "010111": 10,
      "110101": 3,
      "100011": 4,
      "000110": 2,
      "111000": 5,
      "011110": 2,
      "010010": 1,
      "100111": 6,
      "100101": 2,
      "001111": 3,
      "011000": 2,
      "000001": 3,
      "111011": 3,
      "111010": 4,
      "001000": 4,
      "110001": 1,
      "110011": 1,
      "010110": 1,
      "011100": 2,
      "011011": 1,
      "000000": 1
    }
  },
  {
    "arm": "shuffled",
    "mask": 113,
    "offset": 22.0,
    "counts": {
      "110000": 6,
      "010100": 3,
      "010101": 6,
      "000010": 8,
      "111110": 2,
      "111000": 3,
      "011001": 3,
      "001110": 5,
      "111010": 5,
      "000011": 5,
      "101010": 37,
      "011110": 6,
      "100010": 9,
      "100110": 5,
      "011101": 4,
      "101110": 5,
      "000101": 6,
      "011111": 5,
      "110001": 5,
      "100101": 2,
      "101011": 7,
      "011010": 3,
      "001101": 4,
      "010010": 7,
      "110010": 1,
      "011011": 4,
      "111101": 3,
      "100011": 3,
      "110101": 2,
      "110100": 1,
      "100001": 3,
      "010001": 7,
      "010011": 2,
      "010111": 5,
      "111100": 4,
      "100111": 2,
      "101000": 4,
      "001001": 4,
      "110011": 1,
      "110111": 3,
      "000111": 2,
      "010110": 2,
      "001111": 2,
      "110110": 6,
      "001010": 4,
      "011000": 5,
      "001011": 4,
      "001100": 1,
      "101100": 5,
      "101101": 2,
      "111001": 1,
      "000100": 5,
      "100000": 2,
      "100100": 4,
      "101001": 1,
      "000001": 4,
      "011100": 2,
      "001000": 1,
      "111011": 1,
      "111111": 1,
      "010000": 1
    }
  },
  {
    "arm": "ordered",
    "mask": 94,
    "offset": 45.5,
    "counts": {
      "000010": 1,
      "011010": 5,
      "001000": 7,
      "100010": 8,
      "010110": 6,
      "011110": 4,
      "010010": 4,
      "100001": 3,
      "110101": 5,
      "001100": 16,
      "001001": 9,
      "010000": 4,
      "011000": 14,
      "011100": 14,
      "111001": 3,
      "100101": 4,
      "010011": 7,
      "110001": 4,
      "111111": 4,
      "101010": 4,
      "000000": 1,
      "111011": 4,
      "101011": 5,
      "001111": 3,
      "000101": 11,
      "000011": 10,
      "010100": 5,
      "000100": 6,
      "101001": 3,
      "100011": 2,
      "101101": 2,
      "110110": 3,
      "100100": 1,
      "000110": 3,
      "010101": 3,
      "001101": 7,
      "101110": 2,
      "001010": 2,
      "110000": 5,
      "100000": 7,
      "001011": 8,
      "011011": 2,
      "000001": 4,
      "000111": 7,
      "111000": 2,
      "110011": 4,
      "010111": 1,
      "111100": 1,
      "110100": 2,
      "011111": 2,
      "111101": 1,
      "011101": 1,
      "100110": 1,
      "111010": 2,
      "101000": 1,
      "001110": 2,
      "111110": 1,
      "110111": 3
    }
  },
  {
    "arm": "ordered",
    "mask": 113,
    "offset": 22.0,
    "counts": {
      "111011": 15,
      "100110": 4,
      "000011": 4,
      "100010": 5,
      "010011": 4,
      "101010": 24,
      "010101": 7,
      "000000": 2,
      "100100": 3,
      "001011": 17,
      "001111": 10,
      "011000": 4,
      "011110": 4,
      "110000": 3,
      "000111": 14,
      "011010": 3,
      "010111": 4,
      "010000": 4,
      "001101": 6,
      "001010": 3,
      "110111": 2,
      "100011": 2,
      "101100": 7,
      "101011": 2,
      "001001": 12,
      "001100": 4,
      "111100": 5,
      "110010": 6,
      "001110": 1,
      "000101": 4,
      "111111": 2,
      "110001": 3,
      "101000": 8,
      "110011": 2,
      "011001": 4,
      "110100": 2,
      "111000": 2,
      "101111": 4,
      "111101": 4,
      "000001": 3,
      "011011": 4,
      "111001": 2,
      "111010": 2,
      "110110": 2,
      "100000": 2,
      "010100": 5,
      "100101": 1,
      "011111": 1,
      "011100": 3,
      "110101": 4,
      "101101": 2,
      "101110": 3,
      "111110": 2,
      "000010": 1,
      "011101": 1,
      "010110": 1,
      "010001": 1
    }
  },
  {
    "arm": "ordered",
    "mask": 56,
    "offset": 23.5,
    "counts": {
      "010100": 2,
      "010111": 6,
      "000010": 10,
      "110100": 7,
      "100001": 14,
      "011101": 5,
      "100010": 13,
      "001001": 4,
      "101110": 6,
      "110010": 5,
      "001111": 8,
      "111010": 3,
      "000100": 11,
      "111000": 9,
      "110110": 6,
      "000111": 3,
      "100110": 7,
      "110000": 9,
      "101010": 8,
      "010011": 4,
      "011001": 5,
      "010001": 3,
      "111100": 6,
      "011000": 3,
      "000110": 4,
      "100000": 2,
      "001011": 3,
      "001101": 9,
      "001110": 1,
      "100100": 2,
      "111111": 3,
      "111110": 6,
      "000011": 3,
      "110011": 1,
      "000101": 3,
      "011110": 3,
      "010010": 1,
      "110101": 2,
      "101001": 4,
      "100101": 4,
      "010110": 1,
      "001100": 4,
      "000000": 5,
      "111011": 1,
      "100011": 5,
      "100111": 4,
      "011111": 1,
      "101000": 2,
      "000001": 2,
      "010000": 2,
      "110111": 1,
      "111101": 2,
      "111001": 2,
      "011100": 3,
      "101101": 1,
      "011011": 1,
      "010101": 1,
      "101011": 1,
      "011010": 1,
      "110001": 1,
      "001000": 1,
      "101111": 1,
      "101100": 2,
      "001010": 3
    }
  }
]
analysis
{
  "lag": 33,
  "ordered": 0.3000340118133182,
  "shuffled": 0.03960642976309985,
  "difference": 0.2604275820502183,
  "difference_95ci": [
    0.21941049422232176,
    0.3014446698781149
  ],
  "highest_ordered_lag": 33,
  "highest_difference_lag": 33,
  "ordered_by_lag": [
    0.020839108454701584,
    0.053462600585913504,
    -0.0484620952151159,
    -0.02906408320550062,
    -0.04697019961067443,
    -0.016893865102047614,
    -0.014434487421325713,
    0.06185298226537823,
    0.0604851720620295,
    0.015352745198469658,
    0.04416130741691488,
    0.023386504427079326,
    -0.007907558113311335,
    -0.01048945016932257,
    -0.008167765559604068,
    -0.07635133416413445,
    -0.04866693869728019,
    0.002594867625028454,
    0.00880600392257311,
    0.0042714895474343685,
    0.04610721309511158,
    0.04725069362829461,
    0.016598324082160623,
    0.025713654757817856,
    0.019799186268937688,
    0.003017736728396693,
    0.005760437905536162,
    0.00194908614374172,
    -0.03207534769733249,
    -0.013002580401208726,
    0.06164952637203655,
    -0.005859374999999017,
    0.3000340118133182,
    -0.00010033714272242832,
    0.009887407183126253,
    -0.02545476026192737,
    0.008113212335477148,
    -0.022172324333791838,
    0.00688312905939284,
    -0.00467444003390807,
    0.024063451714123378,
    0.029435992902298508,
    -0.0033290126025249667,
    -0.007411134762938873,
    0.008710590425662187,
    -0.014787748049442948,
    -0.014127061012443418,
    -0.0017736658358682364,
    -0.026638871982066863,
    -0.03080043666193042,
    -0.011437215168807864,
    0.01360963254458917,
    0.015992371384869183,
    0.013221234994335775,
    0.006072838688582454,
    0.008904678010712371,
    0.006832923252795933,
    0.011282323944195137,
    -0.009861014019868875,
    -0.004724234432474592,
    0.016755116549640764,
    0.010753546253536203,
    -0.009223764886638706
  ],
  "shuffled_by_lag": [
    0.060677189337091424,
    -0.006939125094621999,
    -0.034369406298584704,
    -0.022002751709069457,
    0.020823488145230648,
    0.008912783918759144,
    -0.004984726246700353,
    0.033752099295346186,
    0.004219754786801047,
    0.03141198447927534,
    0.04923606214830203,
    -0.0074566490965088,
    0.035093866360758966,
    -0.05889222125749899,
    0.002083277460125552,
    0.10431621597011147,
    0.10435060349453809,
    0.0031456248334023225,
    0.030287964751678744,
    -0.001111191111380543,
    0.06827214535842953,
    0.047712644593549666,
    0.011126485499074173,
    0.017599259556781065,
    -0.019239015933294787,
    0.01613393541136421,
    0.03030693535373413,
    0.020515104183176345,
    0.01687757754963473,
    0.014274559587407358,
    0.029202055500536943,
    0.07421875000000053,
    0.03960642976309985,
    -0.018103053237936713,
    0.0018770242684538092,
    -0.04430786742994103,
    -0.018972868530720808,
    0.007903886340108553,
    0.04234484579507322,
    0.009339985011214077,
    0.031170239880154042,
    0.035766705012824945,
    0.011934645484811778,
    -0.016569882921598222,
    -0.04456832740293696,
    0.030185441575102355,
    0.02159182970594304,
    0.04216815902988427,
    0.04302620813774838,
    -0.0004822050659786161,
    -0.017410973093999648,
    0.017227073653524584,
    0.007145214336806309,
    0.013002007515362905,
    0.035090152242913356,
    -0.004050718863341379,
    0.025517632943629867,
    -0.02167434962292387,
    0.02496238018797704,
    0.01854991443180451,
    -0.028251793548100958,
    -0.000796118988194195,
    0.01472310256178586
  ],
  "difference_se_by_lag": [
    0.02218511494437299,
    0.021717205623742148,
    0.02179341121514254,
    0.02244843884085841,
    0.02228097332714476,
    0.0221118460593073,
    0.021606180306859245,
    0.02216387507575005,
    0.02209587291849017,
    0.022031935244502726,
    0.02248863367095392,
    0.022295787723958172,
    0.022021249417036808,
    0.02206479816548088,
    0.02194182571905423,
    0.02214248350825565,
    0.0217481321255436,
    0.021597833822337553,
    0.021956531166239062,
    0.02206875645386742,
    0.02236730559324428,
    0.02183884592396854,
    0.02217704103131154,
    0.022262716908387697,
    0.021889168998258653,
    0.022213686740426123,
    0.022171054229154653,
    0.022055163033683996,
    0.021874986002286566,
    0.022105404991977606,
    0.020927085626477836,
    0.021892534168804236,
    0.02092708562647784,
    0.022105404991977558,
    0.021874986002286538,
    0.022055163033684003,
    0.022171054229154632,
    0.022213686740426123,
    0.021889168998258643,
    0.02226271690838773,
    0.02217704103131157,
    0.02183884592396852,
    0.022367305593244298,
    0.02206875645386743,
    0.021956531166239024,
    0.02159783382233753,
    0.02174813212554359,
    0.022142483508255602,
    0.02194182571905427,
    0.022064798165480858,
    0.022021249417036814,
    0.022295787723958165,
    0.022488633670953894,
    0.02203193524450275,
    0.022095872918490148,
    0.02216387507575009,
    0.021606180306859266,
    0.022111846059307133,
    0.022280973327144803,
    0.022448438840858415,
    0.021793411215142555,
    0.021717205623742127,
    0.022185114944372968
  ]
}
metrics
{
  "caller": "qiskit",
  "qiskit_version": "qiskit_ibm_runtime-0.52.1,qiskit-2.6.2*,qiskit_aer-0.17.2",
  "timestamps": {
    "created": "2026-11-20T03:41:59.422323Z",
    "finished": "2026-11-20T03:42:13.2236Z",
    "running": "2026-11-20T03:42:00.943295Z"
  },
  "usage": {
    "qpu_charge_time_seconds": 3,
    "value": 0.047586,
    "unit": "resource_units",
    "status": "complete",
    "details": [
      {
        "value": 0.047586,
        "unit": "resource_units",
        "metric": {
          "id": "caffe3ca-729c-5750-8777-df63bbf8bfd9",
          "value": 3
        }
      }
    ]
  },
  "circuits_execution_time_ns": 1123053824
}

Supporting records & original figures

Simulation & checks

These are the supplied simulator records and their preserved variants. Their model, seed, settings and results appear exactly as saved. Shared simulator references on fresh-map pages describe the ideal graph protocol, rather than a new hardware-matched calibration.

field-report/outputs/Period299-hybrid-simulator.json · full record
{
  "rows": [
    {
      "arm": "ordered",
      "mask": 113,
      "offset": 22.0,
      "counts": {
        "000000": 4,
        "000001": 9,
        "000101": 4,
        "000110": 1,
        "000111": 3,
        "001001": 29,
        "001011": 23,
        "001100": 3,
        "001101": 4,
        "001110": 1,
        "001111": 3,
        "010001": 3,
        "010011": 4,
        "010100": 4,
        "010101": 16,
        "010111": 1,
        "011000": 10,
        "011001": 12,
        "011100": 6,
        "011110": 1,
        "100000": 2,
        "100010": 7,
        "100011": 1,
        "100100": 2,
        "100110": 1,
        "101000": 8,
        "101010": 43,
        "101100": 7,
        "101110": 1,
        "110010": 11,
        "110100": 1,
        "110101": 1,
        "110111": 3,
        "111000": 7,
        "111001": 2,
        "111010": 1,
        "111011": 8,
        "111100": 2,
        "111111": 7
      }
    },
    {
      "arm": "shuffled",
      "mask": 113,
      "offset": 22.0,
      "counts": {
        "000010": 13,
        "000011": 7,
        "000100": 8,
        "000101": 2,
        "001001": 1,
        "001011": 1,
        "001111": 4,
        "010000": 4,
        "010001": 1,
        "010010": 8,
        "010101": 8,
        "010111": 13,
        "011000": 4,
        "011010": 7,
        "011100": 1,
        "011101": 5,
        "011110": 6,
        "011111": 1,
        "100000": 2,
        "100001": 2,
        "100011": 11,
        "100100": 7,
        "100101": 2,
        "100110": 1,
        "101000": 2,
        "101001": 2,
        "101010": 42,
        "101011": 1,
        "101101": 4,
        "101110": 2,
        "101111": 3,
        "110000": 7,
        "110001": 18,
        "110011": 5,
        "110100": 5,
        "110101": 1,
        "110110": 6,
        "110111": 1,
        "111010": 1,
        "111011": 2,
        "111100": 8,
        "111101": 11,
        "111110": 3,
        "111111": 13
      }
    },
    {
      "arm": "ordered",
      "mask": 113,
      "offset": 55.5,
      "counts": {
        "000000": 1,
        "000001": 7,
        "000010": 2,
        "000011": 2,
        "000100": 2,
        "000101": 3,
        "000110": 6,
        "000111": 3,
        "001000": 24,
        "001001": 8,
        "001010": 3,
        "001011": 6,
        "001100": 4,
        "001111": 2,
        "010000": 6,
        "010100": 6,
        "010110": 5,
        "011010": 22,
        "011011": 1,
        "011110": 14,
        "011111": 2,
        "100000": 4,
        "100011": 1,
        "100100": 2,
        "100110": 6,
        "100111": 9,
        "101000": 11,
        "101001": 6,
        "101010": 3,
        "101011": 13,
        "101101": 4,
        "101110": 2,
        "101111": 3,
        "110000": 1,
        "110001": 2,
        "110010": 2,
        "110011": 22,
        "110111": 20,
        "111011": 6,
        "111101": 9,
        "111110": 1
      }
    },
    {
      "arm": "shuffled",
      "mask": 113,
      "offset": 55.5,
      "counts": {
        "000000": 2,
        "000001": 1,
        "000010": 15,
        "000011": 1,
        "000100": 3,
        "000101": 2,
        "000110": 4,
        "001000": 10,
        "001001": 14,
        "001010": 6,
        "001011": 5,
        "001100": 1,
        "001101": 4,
        "001110": 1,
        "001111": 7,
        "010000": 1,
        "010001": 2,
        "010010": 1,
        "010011": 6,
        "010100": 4,
        "010111": 3,
        "011001": 9,
        "011010": 4,
        "011011": 12,
        "011100": 2,
        "011101": 9,
        "011110": 1,
        "100001": 15,
        "100011": 3,
        "100100": 4,
        "100101": 1,
        "100110": 2,
        "100111": 4,
        "101001": 3,
        "101010": 3,
        "101011": 4,
        "101100": 1,
        "101101": 5,
        "101110": 2,
        "110000": 13,
        "110001": 3,
        "110011": 1,
        "110100": 16,
        "110101": 2,
        "110110": 14,
        "111000": 12,
        "111010": 2,
        "111101": 7,
        "111110": 5,
        "111111": 4
      }
    },
    {
      "arm": "ordered",
      "mask": 56,
      "offset": 16.0,
      "counts": {
        "000000": 5,
        "000001": 2,
        "000100": 2,
        "000101": 12,
        "000110": 1,
        "000111": 8,
        "001000": 1,
        "001001": 8,
        "001010": 3,
        "001011": 23,
        "001100": 1,
        "010010": 1,
        "010011": 1,
        "010101": 8,
        "010110": 1,
        "010111": 7,
        "011001": 5,
        "011010": 1,
        "011011": 13,
        "011100": 4,
        "011111": 2,
        "100000": 2,
        "100001": 4,
        "100010": 2,
        "100011": 3,
        "100100": 3,
        "100101": 2,
        "100110": 5,
        "100111": 1,
        "101000": 15,
        "101001": 4,
        "101010": 15,
        "101110": 17,
        "110010": 12,
        "110110": 9,
        "110111": 2,
        "111000": 29,
        "111010": 6,
        "111011": 2,
        "111100": 4,
        "111101": 5,
        "111110": 1,
        "111111": 4
      }
    },
    {
      "arm": "shuffled",
      "mask": 56,
      "offset": 16.0,
      "counts": {
        "000001": 6,
        "000011": 1,
        "000100": 1,
        "000101": 4,
        "000110": 1,
        "000111": 2,
        "001000": 2,
        "001001": 2,
        "001010": 8,
        "001101": 7,
        "001110": 8,
        "001111": 1,
        "010000": 1,
        "010010": 13,
        "010011": 12,
        "010110": 4,
        "010111": 1,
        "011000": 6,
        "011001": 2,
        "011010": 1,
        "011011": 4,
        "011101": 1,
        "011111": 8,
        "100000": 1,
        "100001": 2,
        "100010": 7,
        "100011": 1,
        "100100": 22,
        "100101": 7,
        "100110": 3,
        "100111": 5,
        "101000": 2,
        "101001": 1,
        "101010": 8,
        "101011": 2,
        "101100": 3,
        "101101": 9,
        "101110": 3,
        "101111": 4,
        "110001": 1,
        "110010": 4,
        "110011": 8,
        "110100": 4,
        "110101": 3,
        "110110": 9,
        "110111": 3,
        "111000": 1,
        "111001": 6,
        "111010": 6,
        "111011": 8,
        "111100": 16,
        "111110": 7,
        "111111": 4
      }
    },
    {
      "arm": "ordered",
      "mask": 56,
      "offset": 23.5,
      "counts": {
        "000000": 4,
        "000010": 8,
        "000011": 3,
        "000100": 14,
        "000101": 5,
        "000110": 1,
        "001011": 4,
        "001100": 2,
        "001101": 22,
        "001111": 3,
        "010000": 1,
        "010001": 3,
        "010010": 1,
        "010011": 15,
        "010100": 1,
        "010101": 5,
        "010111": 7,
        "011001": 7,
        "011011": 2,
        "011101": 2,
        "011110": 1,
        "011111": 3,
        "100000": 1,
        "100001": 29,
        "100010": 6,
        "100011": 4,
        "100110": 1,
        "100111": 9,
        "101000": 3,
        "101001": 2,
        "101010": 7,
        "101011": 2,
        "101110": 3,
        "101111": 3,
        "110000": 29,
        "110010": 2,
        "110011": 1,
        "110100": 2,
        "110110": 13,
        "111000": 10,
        "111010": 1,
        "111100": 2,
        "111110": 12
      }
    },
    {
      "arm": "shuffled",
      "mask": 56,
      "offset": 23.5,
      "counts": {
        "000000": 17,
        "000001": 4,
        "000010": 4,
        "000011": 2,
        "000110": 28,
        "000111": 4,
        "001001": 1,
        "001010": 3,
        "001011": 25,
        "001100": 1,
        "001110": 4,
        "001111": 2,
        "010000": 1,
        "010001": 10,
        "010011": 2,
        "010100": 1,
        "011000": 4,
        "011001": 4,
        "011011": 14,
        "011100": 9,
        "011101": 8,
        "011111": 5,
        "100001": 1,
        "100010": 5,
        "100011": 1,
        "100100": 1,
        "100101": 6,
        "100110": 6,
        "100111": 1,
        "101001": 1,
        "101010": 3,
        "101011": 10,
        "101100": 4,
        "101101": 1,
        "101110": 3,
        "101111": 6,
        "110010": 13,
        "110011": 1,
        "110100": 8,
        "110101": 9,
        "110110": 3,
        "111000": 5,
        "111001": 5,
        "111010": 4,
        "111101": 1,
        "111110": 5
      }
    },
    {
      "arm": "ordered",
      "mask": 171,
      "offset": 4.0,
      "counts": {
        "000000": 3,
        "000001": 3,
        "000010": 21,
        "000100": 6,
        "000101": 1,
        "000110": 10,
        "000111": 1,
        "001010": 8,
        "001011": 6,
        "001100": 3,
        "001101": 6,
        "001111": 3,
        "010000": 1,
        "010001": 22,
        "010010": 3,
        "010011": 8,
        "010100": 2,
        "010101": 4,
        "010111": 8,
        "011001": 3,
        "011011": 7,
        "011101": 7,
        "011111": 8,
        "100001": 3,
        "100011": 7,
        "100100": 4,
        "100101": 9,
        "100110": 3,
        "100111": 14,
        "101000": 1,
        "101001": 3,
        "101010": 2,
        "101100": 5,
        "101101": 4,
        "101110": 10,
        "101111": 2,
        "110010": 3,
        "110011": 3,
        "110100": 3,
        "110101": 3,
        "110110": 26,
        "111000": 1,
        "111010": 2,
        "111100": 1,
        "111110": 3
      }
    },
    {
      "arm": "shuffled",
      "mask": 171,
      "offset": 4.0,
      "counts": {
        "000000": 11,
        "000001": 4,
        "000010": 14,
        "000011": 12,
        "000100": 3,
        "000101": 6,
        "000110": 1,
        "000111": 5,
        "001000": 3,
        "001001": 1,
        "001010": 1,
        "001011": 3,
        "001101": 3,
        "001110": 3,
        "001111": 3,
        "010000": 1,
        "010001": 4,
        "010010": 10,
        "010100": 10,
        "010101": 2,
        "010110": 8,
        "011000": 13,
        "011010": 1,
        "011011": 8,
        "011101": 2,
        "011110": 1,
        "100000": 13,
        "100010": 9,
        "100011": 1,
        "100100": 10,
        "100110": 9,
        "100111": 3,
        "101001": 2,
        "101010": 4,
        "101011": 3,
        "101100": 3,
        "101101": 5,
        "101110": 2,
        "101111": 1,
        "110000": 5,
        "110001": 3,
        "110010": 1,
        "110011": 4,
        "110100": 3,
        "110101": 14,
        "110110": 8,
        "110111": 2,
        "111000": 7,
        "111001": 3,
        "111011": 2,
        "111100": 1,
        "111101": 1,
        "111110": 2,
        "111111": 2
      }
    },
    {
      "arm": "ordered",
      "mask": 171,
      "offset": 13.5,
      "counts": {
        "000000": 11,
        "000010": 5,
        "000110": 5,
        "000111": 2,
        "001000": 19,
        "001010": 19,
        "001011": 1,
        "001110": 7,
        "010000": 9,
        "010001": 3,
        "010010": 5,
        "010011": 8,
        "010100": 5,
        "010101": 9,
        "010111": 2,
        "011001": 1,
        "011010": 2,
        "011011": 16,
        "011100": 1,
        "011101": 19,
        "011110": 3,
        "011111": 5,
        "100000": 1,
        "100001": 1,
        "100011": 5,
        "100101": 8,
        "101001": 11,
        "101010": 1,
        "101011": 8,
        "101100": 2,
        "101101": 14,
        "101110": 1,
        "110001": 2,
        "110010": 1,
        "110011": 1,
        "110100": 1,
        "110111": 1,
        "111000": 18,
        "111001": 2,
        "111010": 6,
        "111011": 1,
        "111100": 12,
        "111101": 2
      }
    },
    {
      "arm": "shuffled",
      "mask": 171,
      "offset": 13.5,
      "counts": {
        "000001": 6,
        "000010": 9,
        "000011": 3,
        "000101": 3,
        "000110": 7,
        "000111": 4,
        "001000": 1,
        "001001": 6,
        "001010": 2,
        "001011": 6,
        "001100": 13,
        "001101": 3,
        "001110": 4,
        "010000": 2,
        "010001": 1,
        "010010": 1,
        "010011": 2,
        "010100": 1,
        "010101": 3,
        "010110": 2,
        "010111": 9,
        "011001": 14,
        "011010": 7,
        "011011": 6,
        "011100": 5,
        "011101": 3,
        "011110": 2,
        "011111": 5,
        "100000": 3,
        "100011": 8,
        "100100": 1,
        "100101": 1,
        "100111": 16,
        "101000": 2,
        "101010": 5,
        "101011": 4,
        "101100": 9,
        "101101": 5,
        "101110": 4,
        "101111": 5,
        "110000": 4,
        "110001": 3,
        "110100": 1,
        "110101": 2,
        "110110": 4,
        "110111": 1,
        "111000": 11,
        "111001": 8,
        "111010": 1,
        "111011": 8,
        "111100": 1,
        "111101": 3,
        "111110": 15,
        "111111": 1
      }
    },
    {
      "arm": "ordered",
      "mask": 94,
      "offset": 45.0,
      "counts": {
        "000000": 1,
        "000010": 7,
        "000011": 6,
        "000100": 6,
        "000101": 4,
        "000110": 5,
        "000111": 3,
        "001001": 7,
        "001010": 4,
        "001011": 2,
        "001100": 1,
        "001101": 30,
        "001111": 2,
        "010001": 9,
        "010011": 3,
        "010101": 12,
        "010111": 4,
        "011000": 1,
        "011001": 32,
        "011010": 8,
        "011011": 1,
        "011100": 3,
        "011101": 10,
        "011111": 7,
        "100000": 3,
        "100001": 16,
        "100010": 4,
        "100011": 5,
        "100100": 4,
        "100110": 5,
        "101000": 3,
        "101001": 1,
        "101010": 1,
        "101100": 4,
        "101110": 12,
        "101111": 1,
        "110000": 6,
        "110010": 2,
        "110011": 1,
        "110100": 5,
        "110110": 3,
        "111000": 5,
        "111001": 1,
        "111010": 3,
        "111011": 1,
        "111100": 2
      }
    },
    {
      "arm": "shuffled",
      "mask": 94,
      "offset": 45.0,
      "counts": {
        "000000": 1,
        "000010": 2,
        "000011": 8,
        "000100": 17,
        "000101": 5,
        "000111": 23,
        "001000": 1,
        "001001": 1,
        "001010": 3,
        "001011": 21,
        "001101": 1,
        "001110": 2,
        "001111": 1,
        "010000": 6,
        "010010": 1,
        "010011": 2,
        "010110": 2,
        "010111": 9,
        "011000": 5,
        "011001": 3,
        "011011": 22,
        "011100": 2,
        "011101": 4,
        "011110": 5,
        "011111": 25,
        "100001": 5,
        "100010": 12,
        "100011": 9,
        "100100": 1,
        "100110": 1,
        "100111": 2,
        "101001": 6,
        "101010": 1,
        "101011": 8,
        "101100": 1,
        "101110": 8,
        "101111": 1,
        "110001": 3,
        "110101": 5,
        "110111": 1,
        "111000": 2,
        "111010": 1,
        "111011": 7,
        "111100": 1,
        "111101": 8,
        "111111": 1
      }
    },
    {
      "arm": "ordered",
      "mask": 94,
      "offset": 45.5,
      "counts": {
        "000001": 3,
        "000011": 15,
        "000101": 9,
        "000111": 1,
        "001000": 1,
        "001001": 17,
        "001010": 1,
        "001011": 19,
        "001100": 8,
        "001101": 14,
        "001110": 3,
        "001111": 6,
        "010000": 6,
        "010001": 5,
        "010010": 2,
        "010011": 1,
        "010100": 3,
        "010101": 3,
        "010110": 5,
        "011000": 15,
        "011001": 5,
        "011010": 13,
        "011100": 19,
        "011110": 1,
        "100000": 19,
        "100010": 11,
        "100100": 3,
        "100110": 1,
        "101000": 2,
        "101001": 1,
        "101010": 3,
        "101011": 1,
        "101100": 2,
        "101101": 2,
        "101110": 1,
        "110000": 7,
        "110001": 4,
        "110011": 2,
        "110100": 3,
        "110101": 2,
        "110110": 1,
        "110111": 2,
        "111000": 4,
        "111010": 1,
        "111011": 2,
        "111101": 5,
        "111111": 2
      }
    },
    {
      "arm": "shuffled",
      "mask": 94,
      "offset": 45.5,
      "counts": {
        "000000": 7,
        "000001": 1,
        "000010": 5,
        "000011": 2,
        "000100": 9,
        "000110": 6,
        "000111": 21,
        "001001": 5,
        "001010": 6,
        "001011": 6,
        "001100": 4,
        "001101": 4,
        "001110": 2,
        "001111": 6,
        "010000": 1,
        "010010": 2,
        "010011": 1,
        "010110": 7,
        "010111": 1,
        "011000": 2,
        "011001": 3,
        "011010": 16,
        "011011": 7,
        "011100": 2,
        "011101": 1,
        "011110": 17,
        "011111": 14,
        "100001": 11,
        "100010": 3,
        "100011": 8,
        "100101": 8,
        "100110": 3,
        "100111": 2,
        "101000": 5,
        "101001": 1,
        "101010": 7,
        "101011": 6,
        "101101": 3,
        "101110": 4,
        "101111": 2,
        "110000": 1,
        "110001": 3,
        "110010": 1,
        "110011": 2,
        "110100": 6,
        "110101": 1,
        "110110": 1,
        "110111": 2,
        "111000": 1,
        "111001": 1,
        "111010": 2,
        "111011": 5,
        "111101": 5,
        "111110": 1,
        "111111": 3
      }
    }
  ],
  "analysis": {
    "lag": 33,
    "ordered": 0.5034491250069297,
    "shuffled": 0.005037056284135434,
    "difference": 0.4984120687227943,
    "difference_95ci": [
      0.4617249021063823,
      0.5350992353392063
    ],
    "highest_ordered_lag": 33,
    "highest_difference_lag": 33,
    "ordered_by_lag": [
      0.06471806326296087,
      0.03306069588857491,
      -0.014431046805471498,
      -0.07190173121537587,
      -0.09993782481948116,
      0.002374773228607685,
      -0.029175707758838824,
      0.12540452841548796,
      0.22083316775102285,
      0.04341116172834521,
      0.009207614984430719,
      0.07949641289439063,
      -0.08713759484194057,
      -0.007350450481926781,
      0.001431609434042067,
      -0.11795934365417172,
      -0.09231734829209133,
      0.03625673182645995,
      0.0773527807265685,
      -0.070276940997107,
      0.08841167335229333,
      -0.005092261230303086,
      0.013804182010299444,
      0.1278773494993536,
      0.04683532772026788,
      0.009805807054973125,
      0.01754685112526329,
      -0.022430447654214997,
      -0.06724190297466458,
      0.014321804709117085,
      0.009524834401828233,
      0.029296875000000992,
      0.5034491250069297,
      0.050223931598064514,
      0.020409389499984797,
      -0.015370859893619972,
      -0.022556407654244694,
      -0.0778503070231071,
      0.00034661059920221976,
      -0.03766974891143368,
      0.08581073354705407,
      0.10152496082101273,
      0.03680622219891319,
      0.0014725278164896757,
      0.018512484515238608,
      -0.045425181986789714,
      -0.04247425198118704,
      -0.022665656345828962,
      -0.045819636379639775,
      -0.026149724677618495,
      0.015378548188600927,
      0.057119133274519486,
      -0.02150264296831606,
      0.05304959627091831,
      -0.012672540929436135,
      0.008997245996592816,
      -0.007613112882650042,
      -0.017571122210344587,
      0.01354123373379467,
      0.014548155774919368,
      0.01041368768970731,
      -0.0005279155159815237,
      0.007295878539552179
    ],
    "shuffled_by_lag": [
      0.07545211915707511,
      -0.05461907838680395,
      -0.05936567953835243,
      -0.08640783001954842,
      0.04438165651210477,
      -0.005736995726341726,
      -0.018350006405492343,
      -0.00018638766750309413,
      0.00112172457597656,
      0.05605847047992316,
      0.1180321944383133,
      -0.02719126503745628,
      0.010547689451764892,
      -0.14319630676273085,
      0.016033971185986907,
      0.09466906786811902,
      0.10606735667512711,
      0.011939536253820344,
      -0.006836797313462888,
      -0.0077544540720244776,
      0.16254540616839433,
      0.09161584721433748,
      -0.008743481273180354,
      0.01916584746999904,
      -0.10333017910915668,
      0.006985500476754646,
      0.11310592087992677,
      0.044172468949196825,
      -0.05805038967256329,
      0.014321818430217494,
      0.003451555726489487,
      0.10156250000000014,
      0.005037056284135434,
      0.02015780109035837,
      0.02809353417407153,
      -0.10741970176242234,
      0.07235983243038399,
      0.03452841987801128,
      0.03725549673356184,
      -0.01256686376601307,
      -0.002260487139352808,
      0.006057497548426723,
      0.03986287187906003,
      0.011904680206344359,
      -0.015714726764039646,
      0.03245549355076664,
      0.028219887433763236,
      0.028377807131876775,
      0.0322563472675572,
      0.04483825912806542,
      -0.029493298885143245,
      0.03549446534747239,
      -0.006259871436924027,
      0.021677801865187415,
      0.04966462658805527,
      0.015071778963518079,
      0.0007866299704893743,
      -0.01219777026382074,
      -0.0002833185404276222,
      -0.022954613611552696,
      -0.002883763046874075,
      0.007926205223831428,
      0.054796121592730423
    ],
    "difference_se_by_lag": [
      0.021555111719694472,
      0.020927119365168965,
      0.021472832559242025,
      0.02195108978933721,
      0.02241390641796974,
      0.02183175895239806,
      0.020783427793052145,
      0.021628335347021906,
      0.021649549781010288,
      0.021191531242715306,
      0.022183299336872783,
      0.022616738034437783,
      0.021659030864399995,
      0.021750137366085217,
      0.0218048200507173,
      0.022128206726597828,
      0.021910647827875086,
      0.020788055756123757,
      0.021385525367300328,
      0.02136567161265687,
      0.022183377914334126,
      0.021583947481204457,
      0.021703192600176162,
      0.021656408782954314,
      0.02172657899242968,
      0.022324985243803205,
      0.021850608831209616,
      0.021882256105936155,
      0.021391077345312957,
      0.021754602947714804,
      0.01871794215123063,
      0.021712421878828016,
      0.01871794215123062,
      0.02175460294771475,
      0.021391077345312925,
      0.02188225610593615,
      0.021850608831209605,
      0.0223249852438032,
      0.021726578992429656,
      0.021656408782954356,
      0.021703192600176203,
      0.02158394748120444,
      0.02218337791433414,
      0.02136567161265689,
      0.021385525367300293,
      0.020788055756123722,
      0.021910647827875055,
      0.022128206726597772,
      0.021804820050717325,
      0.021750137366085207,
      0.02165903086440001,
      0.022616738034437752,
      0.022183299336872766,
      0.021191531242715323,
      0.021649549781010274,
      0.02162833534702195,
      0.020783427793052145,
      0.021831758952397917,
      0.02241390641796976,
      0.02195108978933722,
      0.021472832559242053,
      0.020927119365168948,
      0.021555111719694434
    ]
  },
  "seed": 1936,
  "shots_per_circuit": 256
}
noise-wall/results/Period299-hybrid-simulator.json · full record
{
  "rows": [
    {
      "arm": "ordered",
      "mask": 113,
      "offset": 22.0,
      "counts": {
        "000000": 4,
        "000001": 9,
        "000101": 4,
        "000110": 1,
        "000111": 3,
        "001001": 29,
        "001011": 23,
        "001100": 3,
        "001101": 4,
        "001110": 1,
        "001111": 3,
        "010001": 3,
        "010011": 4,
        "010100": 4,
        "010101": 16,
        "010111": 1,
        "011000": 10,
        "011001": 12,
        "011100": 6,
        "011110": 1,
        "100000": 2,
        "100010": 7,
        "100011": 1,
        "100100": 2,
        "100110": 1,
        "101000": 8,
        "101010": 43,
        "101100": 7,
        "101110": 1,
        "110010": 11,
        "110100": 1,
        "110101": 1,
        "110111": 3,
        "111000": 7,
        "111001": 2,
        "111010": 1,
        "111011": 8,
        "111100": 2,
        "111111": 7
      }
    },
    {
      "arm": "shuffled",
      "mask": 113,
      "offset": 22.0,
      "counts": {
        "000010": 13,
        "000011": 7,
        "000100": 8,
        "000101": 2,
        "001001": 1,
        "001011": 1,
        "001111": 4,
        "010000": 4,
        "010001": 1,
        "010010": 8,
        "010101": 8,
        "010111": 13,
        "011000": 4,
        "011010": 7,
        "011100": 1,
        "011101": 5,
        "011110": 6,
        "011111": 1,
        "100000": 2,
        "100001": 2,
        "100011": 11,
        "100100": 7,
        "100101": 2,
        "100110": 1,
        "101000": 2,
        "101001": 2,
        "101010": 42,
        "101011": 1,
        "101101": 4,
        "101110": 2,
        "101111": 3,
        "110000": 7,
        "110001": 18,
        "110011": 5,
        "110100": 5,
        "110101": 1,
        "110110": 6,
        "110111": 1,
        "111010": 1,
        "111011": 2,
        "111100": 8,
        "111101": 11,
        "111110": 3,
        "111111": 13
      }
    },
    {
      "arm": "ordered",
      "mask": 113,
      "offset": 55.5,
      "counts": {
        "000000": 1,
        "000001": 7,
        "000010": 2,
        "000011": 2,
        "000100": 2,
        "000101": 3,
        "000110": 6,
        "000111": 3,
        "001000": 24,
        "001001": 8,
        "001010": 3,
        "001011": 6,
        "001100": 4,
        "001111": 2,
        "010000": 6,
        "010100": 6,
        "010110": 5,
        "011010": 22,
        "011011": 1,
        "011110": 14,
        "011111": 2,
        "100000": 4,
        "100011": 1,
        "100100": 2,
        "100110": 6,
        "100111": 9,
        "101000": 11,
        "101001": 6,
        "101010": 3,
        "101011": 13,
        "101101": 4,
        "101110": 2,
        "101111": 3,
        "110000": 1,
        "110001": 2,
        "110010": 2,
        "110011": 22,
        "110111": 20,
        "111011": 6,
        "111101": 9,
        "111110": 1
      }
    },
    {
      "arm": "shuffled",
      "mask": 113,
      "offset": 55.5,
      "counts": {
        "000000": 2,
        "000001": 1,
        "000010": 15,
        "000011": 1,
        "000100": 3,
        "000101": 2,
        "000110": 4,
        "001000": 10,
        "001001": 14,
        "001010": 6,
        "001011": 5,
        "001100": 1,
        "001101": 4,
        "001110": 1,
        "001111": 7,
        "010000": 1,
        "010001": 2,
        "010010": 1,
        "010011": 6,
        "010100": 4,
        "010111": 3,
        "011001": 9,
        "011010": 4,
        "011011": 12,
        "011100": 2,
        "011101": 9,
        "011110": 1,
        "100001": 15,
        "100011": 3,
        "100100": 4,
        "100101": 1,
        "100110": 2,
        "100111": 4,
        "101001": 3,
        "101010": 3,
        "101011": 4,
        "101100": 1,
        "101101": 5,
        "101110": 2,
        "110000": 13,
        "110001": 3,
        "110011": 1,
        "110100": 16,
        "110101": 2,
        "110110": 14,
        "111000": 12,
        "111010": 2,
        "111101": 7,
        "111110": 5,
        "111111": 4
      }
    },
    {
      "arm": "ordered",
      "mask": 56,
      "offset": 16.0,
      "counts": {
        "000000": 5,
        "000001": 2,
        "000100": 2,
        "000101": 12,
        "000110": 1,
        "000111": 8,
        "001000": 1,
        "001001": 8,
        "001010": 3,
        "001011": 23,
        "001100": 1,
        "010010": 1,
        "010011": 1,
        "010101": 8,
        "010110": 1,
        "010111": 7,
        "011001": 5,
        "011010": 1,
        "011011": 13,
        "011100": 4,
        "011111": 2,
        "100000": 2,
        "100001": 4,
        "100010": 2,
        "100011": 3,
        "100100": 3,
        "100101": 2,
        "100110": 5,
        "100111": 1,
        "101000": 15,
        "101001": 4,
        "101010": 15,
        "101110": 17,
        "110010": 12,
        "110110": 9,
        "110111": 2,
        "111000": 29,
        "111010": 6,
        "111011": 2,
        "111100": 4,
        "111101": 5,
        "111110": 1,
        "111111": 4
      }
    },
    {
      "arm": "shuffled",
      "mask": 56,
      "offset": 16.0,
      "counts": {
        "000001": 6,
        "000011": 1,
        "000100": 1,
        "000101": 4,
        "000110": 1,
        "000111": 2,
        "001000": 2,
        "001001": 2,
        "001010": 8,
        "001101": 7,
        "001110": 8,
        "001111": 1,
        "010000": 1,
        "010010": 13,
        "010011": 12,
        "010110": 4,
        "010111": 1,
        "011000": 6,
        "011001": 2,
        "011010": 1,
        "011011": 4,
        "011101": 1,
        "011111": 8,
        "100000": 1,
        "100001": 2,
        "100010": 7,
        "100011": 1,
        "100100": 22,
        "100101": 7,
        "100110": 3,
        "100111": 5,
        "101000": 2,
        "101001": 1,
        "101010": 8,
        "101011": 2,
        "101100": 3,
        "101101": 9,
        "101110": 3,
        "101111": 4,
        "110001": 1,
        "110010": 4,
        "110011": 8,
        "110100": 4,
        "110101": 3,
        "110110": 9,
        "110111": 3,
        "111000": 1,
        "111001": 6,
        "111010": 6,
        "111011": 8,
        "111100": 16,
        "111110": 7,
        "111111": 4
      }
    },
    {
      "arm": "ordered",
      "mask": 56,
      "offset": 23.5,
      "counts": {
        "000000": 4,
        "000010": 8,
        "000011": 3,
        "000100": 14,
        "000101": 5,
        "000110": 1,
        "001011": 4,
        "001100": 2,
        "001101": 22,
        "001111": 3,
        "010000": 1,
        "010001": 3,
        "010010": 1,
        "010011": 15,
        "010100": 1,
        "010101": 5,
        "010111": 7,
        "011001": 7,
        "011011": 2,
        "011101": 2,
        "011110": 1,
        "011111": 3,
        "100000": 1,
        "100001": 29,
        "100010": 6,
        "100011": 4,
        "100110": 1,
        "100111": 9,
        "101000": 3,
        "101001": 2,
        "101010": 7,
        "101011": 2,
        "101110": 3,
        "101111": 3,
        "110000": 29,
        "110010": 2,
        "110011": 1,
        "110100": 2,
        "110110": 13,
        "111000": 10,
        "111010": 1,
        "111100": 2,
        "111110": 12
      }
    },
    {
      "arm": "shuffled",
      "mask": 56,
      "offset": 23.5,
      "counts": {
        "000000": 17,
        "000001": 4,
        "000010": 4,
        "000011": 2,
        "000110": 28,
        "000111": 4,
        "001001": 1,
        "001010": 3,
        "001011": 25,
        "001100": 1,
        "001110": 4,
        "001111": 2,
        "010000": 1,
        "010001": 10,
        "010011": 2,
        "010100": 1,
        "011000": 4,
        "011001": 4,
        "011011": 14,
        "011100": 9,
        "011101": 8,
        "011111": 5,
        "100001": 1,
        "100010": 5,
        "100011": 1,
        "100100": 1,
        "100101": 6,
        "100110": 6,
        "100111": 1,
        "101001": 1,
        "101010": 3,
        "101011": 10,
        "101100": 4,
        "101101": 1,
        "101110": 3,
        "101111": 6,
        "110010": 13,
        "110011": 1,
        "110100": 8,
        "110101": 9,
        "110110": 3,
        "111000": 5,
        "111001": 5,
        "111010": 4,
        "111101": 1,
        "111110": 5
      }
    },
    {
      "arm": "ordered",
      "mask": 171,
      "offset": 4.0,
      "counts": {
        "000000": 3,
        "000001": 3,
        "000010": 21,
        "000100": 6,
        "000101": 1,
        "000110": 10,
        "000111": 1,
        "001010": 8,
        "001011": 6,
        "001100": 3,
        "001101": 6,
        "001111": 3,
        "010000": 1,
        "010001": 22,
        "010010": 3,
        "010011": 8,
        "010100": 2,
        "010101": 4,
        "010111": 8,
        "011001": 3,
        "011011": 7,
        "011101": 7,
        "011111": 8,
        "100001": 3,
        "100011": 7,
        "100100": 4,
        "100101": 9,
        "100110": 3,
        "100111": 14,
        "101000": 1,
        "101001": 3,
        "101010": 2,
        "101100": 5,
        "101101": 4,
        "101110": 10,
        "101111": 2,
        "110010": 3,
        "110011": 3,
        "110100": 3,
        "110101": 3,
        "110110": 26,
        "111000": 1,
        "111010": 2,
        "111100": 1,
        "111110": 3
      }
    },
    {
      "arm": "shuffled",
      "mask": 171,
      "offset": 4.0,
      "counts": {
        "000000": 11,
        "000001": 4,
        "000010": 14,
        "000011": 12,
        "000100": 3,
        "000101": 6,
        "000110": 1,
        "000111": 5,
        "001000": 3,
        "001001": 1,
        "001010": 1,
        "001011": 3,
        "001101": 3,
        "001110": 3,
        "001111": 3,
        "010000": 1,
        "010001": 4,
        "010010": 10,
        "010100": 10,
        "010101": 2,
        "010110": 8,
        "011000": 13,
        "011010": 1,
        "011011": 8,
        "011101": 2,
        "011110": 1,
        "100000": 13,
        "100010": 9,
        "100011": 1,
        "100100": 10,
        "100110": 9,
        "100111": 3,
        "101001": 2,
        "101010": 4,
        "101011": 3,
        "101100": 3,
        "101101": 5,
        "101110": 2,
        "101111": 1,
        "110000": 5,
        "110001": 3,
        "110010": 1,
        "110011": 4,
        "110100": 3,
        "110101": 14,
        "110110": 8,
        "110111": 2,
        "111000": 7,
        "111001": 3,
        "111011": 2,
        "111100": 1,
        "111101": 1,
        "111110": 2,
        "111111": 2
      }
    },
    {
      "arm": "ordered",
      "mask": 171,
      "offset": 13.5,
      "counts": {
        "000000": 11,
        "000010": 5,
        "000110": 5,
        "000111": 2,
        "001000": 19,
        "001010": 19,
        "001011": 1,
        "001110": 7,
        "010000": 9,
        "010001": 3,
        "010010": 5,
        "010011": 8,
        "010100": 5,
        "010101": 9,
        "010111": 2,
        "011001": 1,
        "011010": 2,
        "011011": 16,
        "011100": 1,
        "011101": 19,
        "011110": 3,
        "011111": 5,
        "100000": 1,
        "100001": 1,
        "100011": 5,
        "100101": 8,
        "101001": 11,
        "101010": 1,
        "101011": 8,
        "101100": 2,
        "101101": 14,
        "101110": 1,
        "110001": 2,
        "110010": 1,
        "110011": 1,
        "110100": 1,
        "110111": 1,
        "111000": 18,
        "111001": 2,
        "111010": 6,
        "111011": 1,
        "111100": 12,
        "111101": 2
      }
    },
    {
      "arm": "shuffled",
      "mask": 171,
      "offset": 13.5,
      "counts": {
        "000001": 6,
        "000010": 9,
        "000011": 3,
        "000101": 3,
        "000110": 7,
        "000111": 4,
        "001000": 1,
        "001001": 6,
        "001010": 2,
        "001011": 6,
        "001100": 13,
        "001101": 3,
        "001110": 4,
        "010000": 2,
        "010001": 1,
        "010010": 1,
        "010011": 2,
        "010100": 1,
        "010101": 3,
        "010110": 2,
        "010111": 9,
        "011001": 14,
        "011010": 7,
        "011011": 6,
        "011100": 5,
        "011101": 3,
        "011110": 2,
        "011111": 5,
        "100000": 3,
        "100011": 8,
        "100100": 1,
        "100101": 1,
        "100111": 16,
        "101000": 2,
        "101010": 5,
        "101011": 4,
        "101100": 9,
        "101101": 5,
        "101110": 4,
        "101111": 5,
        "110000": 4,
        "110001": 3,
        "110100": 1,
        "110101": 2,
        "110110": 4,
        "110111": 1,
        "111000": 11,
        "111001": 8,
        "111010": 1,
        "111011": 8,
        "111100": 1,
        "111101": 3,
        "111110": 15,
        "111111": 1
      }
    },
    {
      "arm": "ordered",
      "mask": 94,
      "offset": 45.0,
      "counts": {
        "000000": 1,
        "000010": 7,
        "000011": 6,
        "000100": 6,
        "000101": 4,
        "000110": 5,
        "000111": 3,
        "001001": 7,
        "001010": 4,
        "001011": 2,
        "001100": 1,
        "001101": 30,
        "001111": 2,
        "010001": 9,
        "010011": 3,
        "010101": 12,
        "010111": 4,
        "011000": 1,
        "011001": 32,
        "011010": 8,
        "011011": 1,
        "011100": 3,
        "011101": 10,
        "011111": 7,
        "100000": 3,
        "100001": 16,
        "100010": 4,
        "100011": 5,
        "100100": 4,
        "100110": 5,
        "101000": 3,
        "101001": 1,
        "101010": 1,
        "101100": 4,
        "101110": 12,
        "101111": 1,
        "110000": 6,
        "110010": 2,
        "110011": 1,
        "110100": 5,
        "110110": 3,
        "111000": 5,
        "111001": 1,
        "111010": 3,
        "111011": 1,
        "111100": 2
      }
    },
    {
      "arm": "shuffled",
      "mask": 94,
      "offset": 45.0,
      "counts": {
        "000000": 1,
        "000010": 2,
        "000011": 8,
        "000100": 17,
        "000101": 5,
        "000111": 23,
        "001000": 1,
        "001001": 1,
        "001010": 3,
        "001011": 21,
        "001101": 1,
        "001110": 2,
        "001111": 1,
        "010000": 6,
        "010010": 1,
        "010011": 2,
        "010110": 2,
        "010111": 9,
        "011000": 5,
        "011001": 3,
        "011011": 22,
        "011100": 2,
        "011101": 4,
        "011110": 5,
        "011111": 25,
        "100001": 5,
        "100010": 12,
        "100011": 9,
        "100100": 1,
        "100110": 1,
        "100111": 2,
        "101001": 6,
        "101010": 1,
        "101011": 8,
        "101100": 1,
        "101110": 8,
        "101111": 1,
        "110001": 3,
        "110101": 5,
        "110111": 1,
        "111000": 2,
        "111010": 1,
        "111011": 7,
        "111100": 1,
        "111101": 8,
        "111111": 1
      }
    },
    {
      "arm": "ordered",
      "mask": 94,
      "offset": 45.5,
      "counts": {
        "000001": 3,
        "000011": 15,
        "000101": 9,
        "000111": 1,
        "001000": 1,
        "001001": 17,
        "001010": 1,
        "001011": 19,
        "001100": 8,
        "001101": 14,
        "001110": 3,
        "001111": 6,
        "010000": 6,
        "010001": 5,
        "010010": 2,
        "010011": 1,
        "010100": 3,
        "010101": 3,
        "010110": 5,
        "011000": 15,
        "011001": 5,
        "011010": 13,
        "011100": 19,
        "011110": 1,
        "100000": 19,
        "100010": 11,
        "100100": 3,
        "100110": 1,
        "101000": 2,
        "101001": 1,
        "101010": 3,
        "101011": 1,
        "101100": 2,
        "101101": 2,
        "101110": 1,
        "110000": 7,
        "110001": 4,
        "110011": 2,
        "110100": 3,
        "110101": 2,
        "110110": 1,
        "110111": 2,
        "111000": 4,
        "111010": 1,
        "111011": 2,
        "111101": 5,
        "111111": 2
      }
    },
    {
      "arm": "shuffled",
      "mask": 94,
      "offset": 45.5,
      "counts": {
        "000000": 7,
        "000001": 1,
        "000010": 5,
        "000011": 2,
        "000100": 9,
        "000110": 6,
        "000111": 21,
        "001001": 5,
        "001010": 6,
        "001011": 6,
        "001100": 4,
        "001101": 4,
        "001110": 2,
        "001111": 6,
        "010000": 1,
        "010010": 2,
        "010011": 1,
        "010110": 7,
        "010111": 1,
        "011000": 2,
        "011001": 3,
        "011010": 16,
        "011011": 7,
        "011100": 2,
        "011101": 1,
        "011110": 17,
        "011111": 14,
        "100001": 11,
        "100010": 3,
        "100011": 8,
        "100101": 8,
        "100110": 3,
        "100111": 2,
        "101000": 5,
        "101001": 1,
        "101010": 7,
        "101011": 6,
        "101101": 3,
        "101110": 4,
        "101111": 2,
        "110000": 1,
        "110001": 3,
        "110010": 1,
        "110011": 2,
        "110100": 6,
        "110101": 1,
        "110110": 1,
        "110111": 2,
        "111000": 1,
        "111001": 1,
        "111010": 2,
        "111011": 5,
        "111101": 5,
        "111110": 1,
        "111111": 3
      }
    }
  ],
  "analysis": {
    "lag": 33,
    "ordered": 0.5034491250069297,
    "shuffled": 0.005037056284135434,
    "difference": 0.4984120687227943,
    "difference_95ci": [
      0.4617249021063823,
      0.5350992353392063
    ],
    "highest_ordered_lag": 33,
    "highest_difference_lag": 33,
    "ordered_by_lag": [
      0.06471806326296087,
      0.03306069588857491,
      -0.014431046805471498,
      -0.07190173121537587,
      -0.09993782481948116,
      0.002374773228607685,
      -0.029175707758838824,
      0.12540452841548796,
      0.22083316775102285,
      0.04341116172834521,
      0.009207614984430719,
      0.07949641289439063,
      -0.08713759484194057,
      -0.007350450481926781,
      0.001431609434042067,
      -0.11795934365417172,
      -0.09231734829209133,
      0.03625673182645995,
      0.0773527807265685,
      -0.070276940997107,
      0.08841167335229333,
      -0.005092261230303086,
      0.013804182010299444,
      0.1278773494993536,
      0.04683532772026788,
      0.009805807054973125,
      0.01754685112526329,
      -0.022430447654214997,
      -0.06724190297466458,
      0.014321804709117085,
      0.009524834401828233,
      0.029296875000000992,
      0.5034491250069297,
      0.050223931598064514,
      0.020409389499984797,
      -0.015370859893619972,
      -0.022556407654244694,
      -0.0778503070231071,
      0.00034661059920221976,
      -0.03766974891143368,
      0.08581073354705407,
      0.10152496082101273,
      0.03680622219891319,
      0.0014725278164896757,
      0.018512484515238608,
      -0.045425181986789714,
      -0.04247425198118704,
      -0.022665656345828962,
      -0.045819636379639775,
      -0.026149724677618495,
      0.015378548188600927,
      0.057119133274519486,
      -0.02150264296831606,
      0.05304959627091831,
      -0.012672540929436135,
      0.008997245996592816,
      -0.007613112882650042,
      -0.017571122210344587,
      0.01354123373379467,
      0.014548155774919368,
      0.01041368768970731,
      -0.0005279155159815237,
      0.007295878539552179
    ],
    "shuffled_by_lag": [
      0.07545211915707511,
      -0.05461907838680395,
      -0.05936567953835243,
      -0.08640783001954842,
      0.04438165651210477,
      -0.005736995726341726,
      -0.018350006405492343,
      -0.00018638766750309413,
      0.00112172457597656,
      0.05605847047992316,
      0.1180321944383133,
      -0.02719126503745628,
      0.010547689451764892,
      -0.14319630676273085,
      0.016033971185986907,
      0.09466906786811902,
      0.10606735667512711,
      0.011939536253820344,
      -0.006836797313462888,
      -0.0077544540720244776,
      0.16254540616839433,
      0.09161584721433748,
      -0.008743481273180354,
      0.01916584746999904,
      -0.10333017910915668,
      0.006985500476754646,
      0.11310592087992677,
      0.044172468949196825,
      -0.05805038967256329,
      0.014321818430217494,
      0.003451555726489487,
      0.10156250000000014,
      0.005037056284135434,
      0.02015780109035837,
      0.02809353417407153,
      -0.10741970176242234,
      0.07235983243038399,
      0.03452841987801128,
      0.03725549673356184,
      -0.01256686376601307,
      -0.002260487139352808,
      0.006057497548426723,
      0.03986287187906003,
      0.011904680206344359,
      -0.015714726764039646,
      0.03245549355076664,
      0.028219887433763236,
      0.028377807131876775,
      0.0322563472675572,
      0.04483825912806542,
      -0.029493298885143245,
      0.03549446534747239,
      -0.006259871436924027,
      0.021677801865187415,
      0.04966462658805527,
      0.015071778963518079,
      0.0007866299704893743,
      -0.01219777026382074,
      -0.0002833185404276222,
      -0.022954613611552696,
      -0.002883763046874075,
      0.007926205223831428,
      0.054796121592730423
    ],
    "difference_se_by_lag": [
      0.021555111719694472,
      0.020927119365168965,
      0.021472832559242025,
      0.02195108978933721,
      0.02241390641796974,
      0.02183175895239806,
      0.020783427793052145,
      0.021628335347021906,
      0.021649549781010288,
      0.021191531242715306,
      0.022183299336872783,
      0.022616738034437783,
      0.021659030864399995,
      0.021750137366085217,
      0.0218048200507173,
      0.022128206726597828,
      0.021910647827875086,
      0.020788055756123757,
      0.021385525367300328,
      0.02136567161265687,
      0.022183377914334126,
      0.021583947481204457,
      0.021703192600176162,
      0.021656408782954314,
      0.02172657899242968,
      0.022324985243803205,
      0.021850608831209616,
      0.021882256105936155,
      0.021391077345312957,
      0.021754602947714804,
      0.01871794215123063,
      0.021712421878828016,
      0.01871794215123062,
      0.02175460294771475,
      0.021391077345312925,
      0.02188225610593615,
      0.021850608831209605,
      0.0223249852438032,
      0.021726578992429656,
      0.021656408782954356,
      0.021703192600176203,
      0.02158394748120444,
      0.02218337791433414,
      0.02136567161265689,
      0.021385525367300293,
      0.020788055756123722,
      0.021910647827875055,
      0.022128206726597772,
      0.021804820050717325,
      0.021750137366085207,
      0.02165903086440001,
      0.022616738034437752,
      0.022183299336872766,
      0.021191531242715323,
      0.021649549781010274,
      0.02162833534702195,
      0.020783427793052145,
      0.021831758952397917,
      0.02241390641796976,
      0.02195108978933722,
      0.021472832559242053,
      0.020927119365168948,
      0.021555111719694434
    ]
  },
  "seed": 1936,
  "shots_per_circuit": 256
}

Source code

Original experiment and verification programs are preserved byte for byte. These are historical listings; dependencies, authentication prompts and machine-specific input paths may need adjustment before a rerun.

field-report/outputs/period299_hybrid.py · complete source
"""Six-qubit Fourier sampling of a classically compiled modular-power table."""
import argparse
import json
from pathlib import Path

import numpy as np
from qiskit import QuantumCircuit
from qiskit.circuit.library import DiagonalGate, QFTGate
from qiskit.quantum_info import Statevector

ROOT = Path(__file__).resolve().parent
SHOTS, WIDTH, N, STRIDE, SEED = 256, 6, 299, 4, 1936
SIZE = 1 << WIDTH
PRIMARY_LAG = 33  # Used only in analysis of the known-target experiment.


def build():
    rng = np.random.default_rng(SEED)
    residues = [pow(2, STRIDE*j, N) for j in range(SIZE)]
    masks = rng.choice(np.arange(1, 512), size=4, replace=False)
    shuffle = rng.permutation(SIZE)
    experiments = []
    for m in masks:
        signs = np.array([(-1)**(int(m & r).bit_count()) for r in residues])
        for shift in (0., 0.5):
            # A known random integer shift moves features away from fixed readout bins.
            offset = float(rng.integers(SIZE)) + shift
            for arm, phase_signs in (("ordered", signs), ("shuffled", signs[shuffle])):
                q = QuantumCircuit(WIDTH, WIDTH)
                q.h(range(WIDTH))
                q.append(DiagonalGate(phase_signs.astype(complex)), range(WIDTH))
                for bit in range(WIDTH):
                    q.p(-2*np.pi*offset*(1<<bit)/SIZE, bit)
                q.append(QFTGate(WIDTH).inverse(), range(WIDTH))
                q.measure(range(WIDTH), range(WIDTH))
                reference = abs(np.fft.fft(phase_signs*np.exp(-2j*np.pi*offset*np.arange(SIZE)/SIZE))/SIZE)**2
                experiments.append(({"arm":arm, "mask":int(m), "offset":offset},q,reference))
    return experiments


def analyze(rows):
    lags = np.arange(1, SIZE)
    scores, variances = {}, {}
    for arm in ("ordered","shuffled"):
        group = [r for r in rows if r["arm"]==arm]
        means, mean_vars = [], []
        for row in group:
            counts = np.array([row["counts"].get(format(y,"06b"),0) for y in range(SIZE)])
            assert counts.sum()==SHOTS
            p = counts/SHOTS
            values = np.cos(2*np.pi*(np.arange(SIZE)[:,None]+row["offset"])*lags/SIZE)
            mean = p @ values
            means.append(mean)
            mean_vars.append(np.maximum(0,p @ (values**2) - mean**2)/(SHOTS-1))
        scores[arm] = np.mean(means,axis=0)
        variances[arm] = np.sum(mean_vars,axis=0)/len(group)**2
    delta = scores["ordered"] - scores["shuffled"]
    se = np.sqrt(variances["ordered"]+variances["shuffled"])
    i = PRIMARY_LAG-1
    return {"lag":PRIMARY_LAG,"ordered":float(scores["ordered"][i]), "shuffled":float(scores["shuffled"][i]),
            "difference":float(delta[i]), "difference_95ci":(delta[i]+np.array([-1,1])*1.96*se[i]).tolist(),
            "highest_ordered_lag":int(lags[np.argmax(scores["ordered"])]),
            "highest_difference_lag":int(lags[np.argmax(delta)]),
            "ordered_by_lag":scores["ordered"].tolist(),"shuffled_by_lag":scores["shuffled"].tolist(),
            "difference_se_by_lag":se.tolist()}


def simulate():
    rng = np.random.default_rng(SEED+1)
    rows = []
    for info,q,reference in build():
        p = Statevector.from_instruction(q.remove_final_measurements(inplace=False)).probabilities()
        assert np.allclose(p, reference, atol=1e-10)
        sampled = rng.multinomial(SHOTS,p/p.sum())
        rows.append(dict(info, counts={format(i,"06b"):int(n) for i,n in enumerate(sampled) if n}))
    out = {"rows":rows,"analysis":analyze(rows),"seed":SEED,"shots_per_circuit":SHOTS}
    (ROOT/"Period299-hybrid-simulator.json").write_text(json.dumps(out,indent=2))
    print({k:v for k,v in out["analysis"].items() if "by_lag" not in k})


if __name__=="__main__":
    simulate()
field-report/outputs/run_period299_hybrid.py · complete source
"""Run the ordered and shuffled Fourier circuits together under a 30-second cap."""
import getpass
import json
import logging
import math
import sys
import time
import traceback
from datetime import datetime, timezone
from pathlib import Path

import numpy as np
from qiskit import transpile
from qiskit_ibm_runtime import QiskitRuntimeService, SamplerV2
from period299_hybrid import ROOT, SHOTS, WIDTH, SEED, build, analyze

RESULT = ROOT/"Period299-hybrid-hardware.json"
TAG = "period299-six-qubit-fourier-20261119"
LIMIT = 30


def save(record):
    tmp = RESULT.with_suffix(".tmp")
    tmp.write_text(json.dumps(record,indent=2))
    tmp.replace(RESULT)


def compile_set(backend, experiments):
    options = dict(backend=backend,optimization_level=3,seed_transpiler=SEED)
    pilot = transpile(experiments[0][1], **options)
    layout = pilot.layout.initial_index_layout(filter_ancillas=True)
    circuits = transpile([q for _,q,_ in experiments], initial_layout=layout,num_processes=1,**options)
    details = []
    total = 2.
    for q in circuits:
        backend.check_faulty(q)
        duration = q.estimate_duration(backend.target)
        reset = max(backend.target["reset"][i,].duration for i in layout)
        total += SHOTS*(duration+backend.default_rep_delay+reset)
        details.append({"two_qubit_gates":sum(n for k,n in q.count_ops().items() if k in ("cz","cx","ecr")),
                        "two_qubit_depth":q.depth(lambda op:len(op.qubits)==2),"duration_s":duration})
    return circuits, list(layout), details, total


def run():
    if not sys.stdin.isatty():
        raise RuntimeError("Use a private interactive console")
    rec = json.loads(RESULT.read_text()) if RESULT.exists() else {}
    if rec.get("stage") in ("done","over_budget","terminal_error"):
        return
    key = getpass.getpass("IBM Cloud API key (hidden): ").strip()
    if not key:
        return
    service = QiskitRuntimeService(channel="ibm_quantum_platform", token=key,
                                   plans_preference=["open"],region="us-east")
    ex = build()
    order = np.random.default_rng(SEED+2).permutation(len(ex))
    ex = [ex[i] for i in order]
    if "job_id" in rec:
        job = service.job(rec["job_id"])
    elif rec.get("stage")=="submitting":
        jobs = service.jobs(job_tags=[TAG],limit=2)
        if len(jobs)!=1:
            raise RuntimeError("Reconcile prior submission")
        job=jobs[0]
    else:
        devices={b.name:b for b in service.backends(simulator=False,min_num_qubits=WIDTH) if not b.is_mock}
        compiled={}
        while True:
            queues={k:b.status().to_dict() for k,b in devices.items()}
            active=[k for k,s in queues.items() if s["operational"] and s["status_msg"].lower()=="active"]
            name=min(active,key=lambda k:(queues[k]["pending_jobs"],k))
            if name in compiled:
                break
            compiled[name]=compile_set(devices[name],ex)
        circuits,layout,details,estimate=compiled[name]
        rec={"backend":name,"queues":queues,"queue_snapshot_utc":datetime.now(timezone.utc).isoformat(),
             "initial_layout":layout,"compiled":details,"estimate_s":estimate,"cap_s":LIMIT,
             "shots_per_circuit":SHOTS,"settings":[x[0] for x in ex],"tag":TAG}
        if math.ceil(estimate)>LIMIT:
            rec["stage"]="over_budget"
            save(rec)
            return
        sampler=SamplerV2(mode=devices[name],options={"max_execution_time":LIMIT,
                          "environment":{"job_tags":[TAG]},"twirling":{"enable_measure":False,"enable_gates":False},
                          "dynamical_decoupling":{"enable":False}})
        rec["stage"]="submitting"
        save(rec)
        job=sampler.run(circuits,shots=SHOTS)
    rec.update(job_id=job.job_id(),stage="submitted")
    save(rec)
    while True:
        status=str(job.status())
        if status!=rec.get("ibm_status"):
            rec["ibm_status"]=status
            save(rec)
        if status in ("DONE","ERROR","CANCELLED"):
            break
        time.sleep(5)
    if status=="DONE":
        pubs=job.result()
        assert len(pubs)==len(ex)
        rows=[dict(info,counts=pub.data.c.get_counts()) for info,pub in zip(rec["settings"],pubs)]
        rec.update(rows=rows,analysis=analyze(rows),stage="measured")
        save(rec)
    else:
        rec["ibm_error"]=str(job.error_message())[:1200]
    for _ in range(120):
        metrics=job.metrics()
        if metrics.get("usage",{}).get("status")=="complete":
            break
        time.sleep(5)
    rec.update(stage="done" if status=="DONE" else "terminal_error",metrics=metrics)
    save(rec)


if __name__=="__main__":
    logging.disable(logging.CRITICAL)
    try:
        run()
    except Exception as exc:
        frames=[[Path(f.filename).name,f.lineno,f.name] for f in traceback.extract_tb(exc.__traceback__)]
        (ROOT.parent/"work"/"hybrid299-error.json").write_text(json.dumps({"type":type(exc).__name__,"frames":frames}))
        print(type(exc).__name__)
    input("Press Enter to close.")
field-report/work/check_period299.py · complete source
import json
from pathlib import Path

import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt
import numpy as np

root = Path(__file__).resolve().parents[1]/"outputs"
hw = json.loads((root/"Period299-hybrid-hardware.json").read_text())
sim = json.loads((root/"Period299-hybrid-simulator.json").read_text())
print(hw["backend"], hw["job_id"], hw.get("metrics",{}).get("usage"), hw["estimate_s"])
print("CZ", [x["two_qubit_gates"] for x in hw["compiled"]])
print("depth", [x["two_qubit_depth"] for x in hw["compiled"]])
print("queues", {k:v["pending_jobs"] for k,v in hw["queues"].items()})
lags = np.arange(1,64)
for rec in (sim,hw):
    a = rec["analysis"]
    print({k:v for k,v in a.items() if "by_lag" not in k})
    for arm in ("ordered","shuffled"):
        spectrum = []
        for row in rec["rows"]:
            if row["arm"] == arm:
                phase = np.repeat([int(k,2)+row["offset"] for k in row["counts"]],list(row["counts"].values()))
                assert len(phase)==256
                spectrum.append(np.exp(2j*np.pi*np.outer(phase,lags)/64).mean(axis=0).real)
        assert np.allclose(np.mean(spectrum,axis=0),a[arm+"_by_lag"])
fig, axes = plt.subplots(2,1,sharex=True,sharey=True,figsize=(8.8,5.2),layout="constrained")
for ax, rec, name in zip(axes,(sim,hw),("Ideal simulator",hw["backend"])):
    a = rec["analysis"]
    ax.axhline(0,color="#818990",linewidth=.7)
    ax.axvline(33,color="#737c83",ls=":",lw=.9)
    for arm, col in (("shuffled","#b57156"),("ordered","#18648d")):
        ax.plot(lags,a[arm+"_by_lag"],marker="o",ms=2.7,lw=1.25,color=col,label=arm.capitalize())
    ax.set(ylabel="Correlation",title=name)
axes[0].legend(loc="upper right",frameon=False,ncol=2)
axes[-1].set(xlabel="Spacing in the table (one step advances the exponent by four)",
             xticks=[1,8,16,24,33,40,48,56,63],xlim=(0,64))
fig.savefig(root/"Period299-spacing.png",dpi=160)
noise-wall/source/period299_hybrid.py · complete source
"""Six-qubit Fourier sampling of a classically compiled modular-power table."""
import argparse
import json
from pathlib import Path

import numpy as np
from qiskit import QuantumCircuit
from qiskit.circuit.library import DiagonalGate, QFTGate
from qiskit.quantum_info import Statevector

ROOT = Path(__file__).resolve().parent
SHOTS, WIDTH, N, STRIDE, SEED = 256, 6, 299, 4, 1936
SIZE = 1 << WIDTH
PRIMARY_LAG = 33  # Used only in analysis of the known-target experiment.


def build():
    rng = np.random.default_rng(SEED)
    residues = [pow(2, STRIDE*j, N) for j in range(SIZE)]
    masks = rng.choice(np.arange(1, 512), size=4, replace=False)
    shuffle = rng.permutation(SIZE)
    experiments = []
    for m in masks:
        signs = np.array([(-1)**(int(m & r).bit_count()) for r in residues])
        for shift in (0., 0.5):
            # A known random integer shift moves features away from fixed readout bins.
            offset = float(rng.integers(SIZE)) + shift
            for arm, phase_signs in (("ordered", signs), ("shuffled", signs[shuffle])):
                q = QuantumCircuit(WIDTH, WIDTH)
                q.h(range(WIDTH))
                q.append(DiagonalGate(phase_signs.astype(complex)), range(WIDTH))
                for bit in range(WIDTH):
                    q.p(-2*np.pi*offset*(1<<bit)/SIZE, bit)
                q.append(QFTGate(WIDTH).inverse(), range(WIDTH))
                q.measure(range(WIDTH), range(WIDTH))
                reference = abs(np.fft.fft(phase_signs*np.exp(-2j*np.pi*offset*np.arange(SIZE)/SIZE))/SIZE)**2
                experiments.append(({"arm":arm, "mask":int(m), "offset":offset},q,reference))
    return experiments


def analyze(rows):
    lags = np.arange(1, SIZE)
    scores, variances = {}, {}
    for arm in ("ordered","shuffled"):
        group = [r for r in rows if r["arm"]==arm]
        means, mean_vars = [], []
        for row in group:
            counts = np.array([row["counts"].get(format(y,"06b"),0) for y in range(SIZE)])
            assert counts.sum()==SHOTS
            p = counts/SHOTS
            values = np.cos(2*np.pi*(np.arange(SIZE)[:,None]+row["offset"])*lags/SIZE)
            mean = p @ values
            means.append(mean)
            mean_vars.append(np.maximum(0,p @ (values**2) - mean**2)/(SHOTS-1))
        scores[arm] = np.mean(means,axis=0)
        variances[arm] = np.sum(mean_vars,axis=0)/len(group)**2
    delta = scores["ordered"] - scores["shuffled"]
    se = np.sqrt(variances["ordered"]+variances["shuffled"])
    i = PRIMARY_LAG-1
    return {"lag":PRIMARY_LAG,"ordered":float(scores["ordered"][i]), "shuffled":float(scores["shuffled"][i]),
            "difference":float(delta[i]), "difference_95ci":(delta[i]+np.array([-1,1])*1.96*se[i]).tolist(),
            "highest_ordered_lag":int(lags[np.argmax(scores["ordered"])]),
            "highest_difference_lag":int(lags[np.argmax(delta)]),
            "ordered_by_lag":scores["ordered"].tolist(),"shuffled_by_lag":scores["shuffled"].tolist(),
            "difference_se_by_lag":se.tolist()}


def simulate():
    rng = np.random.default_rng(SEED+1)
    rows = []
    for info,q,reference in build():
        p = Statevector.from_instruction(q.remove_final_measurements(inplace=False)).probabilities()
        assert np.allclose(p, reference, atol=1e-10)
        sampled = rng.multinomial(SHOTS,p/p.sum())
        rows.append(dict(info, counts={format(i,"06b"):int(n) for i,n in enumerate(sampled) if n}))
    out = {"rows":rows,"analysis":analyze(rows),"seed":SEED,"shots_per_circuit":SHOTS}
    (ROOT/"Period299-hybrid-simulator.json").write_text(json.dumps(out,indent=2))
    print({k:v for k,v in out["analysis"].items() if "by_lag" not in k})


if __name__=="__main__":
    simulate()
noise-wall/source/run_period299_hybrid.py · complete source
"""Run the ordered and shuffled Fourier circuits together under a 30-second cap."""
import getpass
import json
import logging
import math
import sys
import time
import traceback
from datetime import datetime, timezone
from pathlib import Path

import numpy as np
from qiskit import transpile
from qiskit_ibm_runtime import QiskitRuntimeService, SamplerV2
from period299_hybrid import ROOT, SHOTS, WIDTH, SEED, build, analyze

RESULT = ROOT/"Period299-hybrid-hardware.json"
TAG = "period299-six-qubit-fourier-20261119"
LIMIT = 30


def save(record):
    tmp = RESULT.with_suffix(".tmp")
    tmp.write_text(json.dumps(record,indent=2))
    tmp.replace(RESULT)


def compile_set(backend, experiments):
    options = dict(backend=backend,optimization_level=3,seed_transpiler=SEED)
    pilot = transpile(experiments[0][1], **options)
    layout = pilot.layout.initial_index_layout(filter_ancillas=True)
    circuits = transpile([q for _,q,_ in experiments], initial_layout=layout,num_processes=1,**options)
    details = []
    total = 2.
    for q in circuits:
        backend.check_faulty(q)
        duration = q.estimate_duration(backend.target)
        reset = max(backend.target["reset"][i,].duration for i in layout)
        total += SHOTS*(duration+backend.default_rep_delay+reset)
        details.append({"two_qubit_gates":sum(n for k,n in q.count_ops().items() if k in ("cz","cx","ecr")),
                        "two_qubit_depth":q.depth(lambda op:len(op.qubits)==2),"duration_s":duration})
    return circuits, list(layout), details, total


def run():
    if not sys.stdin.isatty():
        raise RuntimeError("Use a private interactive console")
    rec = json.loads(RESULT.read_text()) if RESULT.exists() else {}
    if rec.get("stage") in ("done","over_budget","terminal_error"):
        return
    key = getpass.getpass("IBM Cloud API key (hidden): ").strip()
    if not key:
        return
    service = QiskitRuntimeService(channel="ibm_quantum_platform", token=key,
                                   plans_preference=["open"],region="us-east")
    ex = build()
    order = np.random.default_rng(SEED+2).permutation(len(ex))
    ex = [ex[i] for i in order]
    if "job_id" in rec:
        job = service.job(rec["job_id"])
    elif rec.get("stage")=="submitting":
        jobs = service.jobs(job_tags=[TAG],limit=2)
        if len(jobs)!=1:
            raise RuntimeError("Reconcile prior submission")
        job=jobs[0]
    else:
        devices={b.name:b for b in service.backends(simulator=False,min_num_qubits=WIDTH) if not b.is_mock}
        compiled={}
        while True:
            queues={k:b.status().to_dict() for k,b in devices.items()}
            active=[k for k,s in queues.items() if s["operational"] and s["status_msg"].lower()=="active"]
            name=min(active,key=lambda k:(queues[k]["pending_jobs"],k))
            if name in compiled:
                break
            compiled[name]=compile_set(devices[name],ex)
        circuits,layout,details,estimate=compiled[name]
        rec={"backend":name,"queues":queues,"queue_snapshot_utc":datetime.now(timezone.utc).isoformat(),
             "initial_layout":layout,"compiled":details,"estimate_s":estimate,"cap_s":LIMIT,
             "shots_per_circuit":SHOTS,"settings":[x[0] for x in ex],"tag":TAG}
        if math.ceil(estimate)>LIMIT:
            rec["stage"]="over_budget"
            save(rec)
            return
        sampler=SamplerV2(mode=devices[name],options={"max_execution_time":LIMIT,
                          "environment":{"job_tags":[TAG]},"twirling":{"enable_measure":False,"enable_gates":False},
                          "dynamical_decoupling":{"enable":False}})
        rec["stage"]="submitting"
        save(rec)
        job=sampler.run(circuits,shots=SHOTS)
    rec.update(job_id=job.job_id(),stage="submitted")
    save(rec)
    while True:
        status=str(job.status())
        if status!=rec.get("ibm_status"):
            rec["ibm_status"]=status
            save(rec)
        if status in ("DONE","ERROR","CANCELLED"):
            break
        time.sleep(5)
    if status=="DONE":
        pubs=job.result()
        assert len(pubs)==len(ex)
        rows=[dict(info,counts=pub.data.c.get_counts()) for info,pub in zip(rec["settings"],pubs)]
        rec.update(rows=rows,analysis=analyze(rows),stage="measured")
        save(rec)
    else:
        rec["ibm_error"]=str(job.error_message())[:1200]
    for _ in range(120):
        metrics=job.metrics()
        if metrics.get("usage",{}).get("status")=="complete":
            break
        time.sleep(5)
    rec.update(stage="done" if status=="DONE" else "terminal_error",metrics=metrics)
    save(rec)


if __name__=="__main__":
    logging.disable(logging.CRITICAL)
    try:
        run()
    except Exception as exc:
        frames=[[Path(f.filename).name,f.lineno,f.name] for f in traceback.extract_tb(exc.__traceback__)]
        (ROOT.parent/"work"/"hybrid299-error.json").write_text(json.dumps({"type":type(exc).__name__,"frames":frames}))
        print(type(exc).__name__)
    input("Press Enter to close.")

Personal comments

Personal comments will be added here.