The question
Transport the two halves of a singlet and estimate the endpoint fidelity from three correlations.
Circuit & method
Use the six-qubit physical chain 123–136–143–142–141–140. The expected outcomes disagree on X, Y and Z. Take 256 shots per axis and estimate fidelity as (1 − XX − YY − ZZ)/4.
Results
The endpoint singlet-fidelity estimate was 85.7%. The exact sampling standard error, axis correlations and all 768 observations as count distributions are retained in the record.
What this supports
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.
- Fez-selected-singlet-results.jsonQuantum Field Report.pdf / Experiment-results.zip · 94,887 bytes
backend
ibm_fez
layout
[ 123, 136, 143, 142, 141, 140 ]
setting_order
[ "X", "Y", "Z" ]
shots_per_setting
256
job_tag
fez-selected-singlet-xyz-20261119
sampler_options
{
"environment": {
"job_tags": [
"fez-selected-singlet-xyz-20261119"
]
},
"twirling": {
"enable_gates": false,
"enable_measure": false
},
"dynamical_decoupling": {
"enable": false
}
}versions
{
"qiskit": "2.6.2",
"qiskit-ibm-runtime": "0.52.1"
}created_utc
2026-11-20T00:37:01.182312+00:00
calibration_updated
2026-11-19 14:38:27-06:00
status_at_submission
{
"backend_name": "ibm_fez",
"backend_version": "",
"operational": true,
"pending_jobs": 188,
"status_msg": "active"
}stage
done
compiled_circuits
{
"X": "global phase: 3π/4\n ┌─────────┐┌────┐┌─────────┐ ┌─────────┐┌────┐┌─────────┐ ░ ┌────── ┌───┐ ───────┐ ┌────── ┌───────┐ ───────┐ ░ ┌─────────┐┌────┐┌─────────┐┌─┐ \nq_0 -> 123 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├──────░───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ If-0 ┤ X ├ End-0 ├────────────────────────┤ If-0 ┤ Rz(π) ├ End-0 ├─────────────────────────────░─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤M├───\n ├─────────┤├────┤├─────────┤ │ └─────────┘└────┘└─────────┘ ░ ┌─────────┐┌────┐┌─────────┐ ┌─────────┐┌────┐┌─────────┐┌────────────┐ └──╥─── └───┘ ───────┘ └──╥─── └───────┘ ───────┘ ░ └─────────┘└────┘└─────────┘└╥┘ \nq_1 -> 136 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■───────────────────────────────────░─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├────■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤0 ├─────────────────────────────────────────────╫─────────────────────────────────────────────╫───────────────────────────────────────────────────░──────────────────────────────╫────\n ├─────────┤├────┤├─────────┤ ┌─────────┐┌────┐┌─────────┐ ░ └─────────┘└────┘└─────────┘ │ └─────────┘└────┘└─────────┘│ │ ║ ┌────── ┌───┐ ───────┐ ║ ┌────── ┌───────┐ ───────┐ ░ ┌─────────┐┌────┐┌─────────┐ ║ ┌─┐\nq_5 -> 140 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├──────░─────────────────────────────────┼─────────────────────────────┤ ├─────────────────────────────────────────────╫───────────────────┤ If-0 ┤ X ├ End-0 ├────╫───────────────────────┤ If-0 ┤ Rz(π) ├ End-0 ├──░─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─╫─┤M├\n ├─────────┤├────┤├─────────┤ │ └─────────┘└────┘└─────────┘ ░ ┌─────────┐┌────┐┌─────────┐ │ ┌─────────┐┌────┐┌─────────┐│ │ ┌────────────┐ ║ └──╥─── └───┘ ───────┘ ║ └──╥─── └───────┘ ───────┘ ░ └─────────┘└────┘└─────────┘ ║ └╥┘\nq_4 -> 141 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■───────────────────────────────────░─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■──┼─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤ ├────────────────────────────┤0 ├───╫──────────────────────╫──────────────────────╫──────────────────────────╫────────────────────────░──────────────────────────────╫──╫─\n ├─────────┤├────┤├─────────┤ ┌─────────┐┌────┐┌─────────┐┌───┐ ░ └─────────┘└────┘└─────────┘ │ │ ├─────────┤├────┤├─────────┤│ │ ┌────────────┐│ │ ║ ║ ║ ║ ░ ║ ║ \nq_3 -> 142 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤ X ├─░──────────────────────────────■──┼─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤ Measure_2 ├──────────────┤0 ├┤ ├───╫──────────────────────╫──────────────────────╫──────────────────────────╫────────────────────────░──────────────────────────────╫──╫─\n ├─────────┤├────┤├─────────┤ │ └┬───────┬┘└────┘└─────────┘└───┘ ░ │ ├─────────┤├────┤├─────────┤│ │┌────────────┐│ ││ │ ║ ║ ║ ║ ░ ║ ║ \nq_2 -> 143 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■──┤ Rz(π) ├────────────────────────░─────────────────────────────────■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤ ├┤0 ├┤ ├┤ ├───╫──────────────────────╫──────────────────────╫──────────────────────────╫────────────────────────░──────────────────────────────╫──╫─\n └─────────┘└────┘└─────────┘ └───────┘ ░ └─────────┘└────┘└─────────┘│ ││ Measure_2 ││ ││ │ ║ ║ ║ ║ ░ ║ ║ \n c_0: ═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡ ╞╡ ╞╡ ╞╡ ╞═══╬══════════════════════╬══════════════════════╬══════════════════════════╬═══════════════════════════════════════════════════════╩══╬═\n │ ││ ││ Measure_2 ││ Measure_2 │ ║ ║ ║ ║ ║ \n c_1: ═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡0 ╞╡ ╞╡ ╞╡ ╞═══■══════════════════════╬══════════════════════╬══════════════════════════╬══════════════════════════════════════════════════════════╬═\n └────────────┘│ ││ ││ │ ║ ║ ║ ║ \n c_2: ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡0 ╞╡ ╞╡ ╞══════════════════════════╬══════════════════════■══════════════════════════╬══════════════════════════════════════════════════════════╬═\n └────────────┘│ ││ │ ║ ║ ║ \n c_3: ═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡0 ╞╡ ╞══════════════════════════╬═════════════════════════════════════════════════■══════════════════════════════════════════════════════════╬═\n └────────────┘│ │ ║ ║ \n c_4: ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡0 ╞══════════════════════════■════════════════════════════════════════════════════════════════════════════════════════════════════════════╬═\n └────────────┘ ║ \n c_5: ════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╩═\n ",
"Y": "global phase: π/4\n ┌─────────┐┌────┐┌─────────┐ ┌─────────┐┌────┐┌─────────┐ ░ ┌────── ┌───┐ ───────┐ ┌────── ┌───────┐ ───────┐ ░ ┌──────────┐┌─────────┐┌────┐┌─────────┐┌─┐ \nq_0 -> 123 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├──────░───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ If-0 ┤ X ├ End-0 ├────────────────────────┤ If-0 ┤ Rz(π) ├ End-0 ├─────────────────────────────░─┤ Rz(-π/2) ├┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤M├───\n ├─────────┤├────┤├─────────┤ │ └─────────┘└────┘└─────────┘ ░ ┌─────────┐┌────┐┌─────────┐ ┌─────────┐┌────┐┌─────────┐┌────────────┐ └──╥─── └───┘ ───────┘ └──╥─── └───────┘ ───────┘ ░ └──────────┘└─────────┘└────┘└─────────┘└╥┘ \nq_1 -> 136 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■───────────────────────────────────░─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├────■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤0 ├─────────────────────────────────────────────╫─────────────────────────────────────────────╫───────────────────────────────────────────────────░──────────────────────────────────────────╫────\n ├─────────┤├────┤├─────────┤ ┌─────────┐┌────┐┌─────────┐ ░ └─────────┘└────┘└─────────┘ │ └─────────┘└────┘└─────────┘│ │ ║ ┌────── ┌───┐ ───────┐ ║ ┌────── ┌───────┐ ───────┐ ░ ┌──────────┐┌─────────┐┌────┐┌─────────┐ ║ ┌─┐\nq_5 -> 140 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├──────░─────────────────────────────────┼─────────────────────────────┤ ├─────────────────────────────────────────────╫───────────────────┤ If-0 ┤ X ├ End-0 ├────╫───────────────────────┤ If-0 ┤ Rz(π) ├ End-0 ├──░─┤ Rz(-π/2) ├┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─╫─┤M├\n ├─────────┤├────┤├─────────┤ │ └─────────┘└────┘└─────────┘ ░ ┌─────────┐┌────┐┌─────────┐ │ ┌─────────┐┌────┐┌─────────┐│ │ ┌────────────┐ ║ └──╥─── └───┘ ───────┘ ║ └──╥─── └───────┘ ───────┘ ░ └──────────┘└─────────┘└────┘└─────────┘ ║ └╥┘\nq_4 -> 141 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■───────────────────────────────────░─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■──┼─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤ ├────────────────────────────┤0 ├───╫──────────────────────╫──────────────────────╫──────────────────────────╫────────────────────────░──────────────────────────────────────────╫──╫─\n ├─────────┤├────┤├─────────┤ ┌─────────┐┌────┐┌─────────┐┌───┐ ░ └─────────┘└────┘└─────────┘ │ │ ├─────────┤├────┤├─────────┤│ │ ┌────────────┐│ │ ║ ║ ║ ║ ░ ║ ║ \nq_3 -> 142 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤ X ├─░──────────────────────────────■──┼─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤ Measure_2 ├──────────────┤0 ├┤ ├───╫──────────────────────╫──────────────────────╫──────────────────────────╫────────────────────────░──────────────────────────────────────────╫──╫─\n ├─────────┤├────┤├─────────┤ │ └┬───────┬┘└────┘└─────────┘└───┘ ░ │ ├─────────┤├────┤├─────────┤│ │┌────────────┐│ ││ │ ║ ║ ║ ║ ░ ║ ║ \nq_2 -> 143 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■──┤ Rz(π) ├────────────────────────░─────────────────────────────────■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤ ├┤0 ├┤ ├┤ ├───╫──────────────────────╫──────────────────────╫──────────────────────────╫────────────────────────░──────────────────────────────────────────╫──╫─\n └─────────┘└────┘└─────────┘ └───────┘ ░ └─────────┘└────┘└─────────┘│ ││ Measure_2 ││ ││ │ ║ ║ ║ ║ ░ ║ ║ \n c_0: ═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡ ╞╡ ╞╡ ╞╡ ╞═══╬══════════════════════╬══════════════════════╬══════════════════════════╬═══════════════════════════════════════════════════════════════════╩══╬═\n │ ││ ││ Measure_2 ││ Measure_2 │ ║ ║ ║ ║ ║ \n c_1: ═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡0 ╞╡ ╞╡ ╞╡ ╞═══■══════════════════════╬══════════════════════╬══════════════════════════╬══════════════════════════════════════════════════════════════════════╬═\n └────────────┘│ ││ ││ │ ║ ║ ║ ║ \n c_2: ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡0 ╞╡ ╞╡ ╞══════════════════════════╬══════════════════════■══════════════════════════╬══════════════════════════════════════════════════════════════════════╬═\n └────────────┘│ ││ │ ║ ║ ║ \n c_3: ═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡0 ╞╡ ╞══════════════════════════╬═════════════════════════════════════════════════■══════════════════════════════════════════════════════════════════════╬═\n └────────────┘│ │ ║ ║ \n c_4: ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡0 ╞══════════════════════════■════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╬═\n └────────────┘ ║ \n c_5: ════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╩═\n ",
"Z": "global phase: π/4\n ┌─────────┐┌────┐┌─────────┐ ┌─────────┐┌────┐┌─────────┐ ░ ┌────── ┌───┐ ───────┐ ┌────── ┌───────┐ ───────┐ ░ ┌─┐ \nq_0 -> 123 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├──────░───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ If-0 ┤ X ├ End-0 ├────────────────────────┤ If-0 ┤ Rz(π) ├ End-0 ├─────────────────────────────░─┤M├───\n ├─────────┤├────┤├─────────┤ │ └─────────┘└────┘└─────────┘ ░ ┌─────────┐┌────┐┌─────────┐ ┌─────────┐┌────┐┌─────────┐┌────────────┐ └──╥─── └───┘ ───────┘ └──╥─── └───────┘ ───────┘ ░ └╥┘ \nq_1 -> 136 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■───────────────────────────────────░─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├────■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤0 ├─────────────────────────────────────────────╫─────────────────────────────────────────────╫───────────────────────────────────────────────────░──╫────\n ├─────────┤├────┤├─────────┤ ┌─────────┐┌────┐┌─────────┐ ░ └─────────┘└────┘└─────────┘ │ └─────────┘└────┘└─────────┘│ │ ║ ┌────── ┌───┐ ───────┐ ║ ┌────── ┌───────┐ ───────┐ ░ ║ ┌─┐\nq_5 -> 140 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├──────░─────────────────────────────────┼─────────────────────────────┤ ├─────────────────────────────────────────────╫───────────────────┤ If-0 ┤ X ├ End-0 ├────╫───────────────────────┤ If-0 ┤ Rz(π) ├ End-0 ├──░──╫─┤M├\n ├─────────┤├────┤├─────────┤ │ └─────────┘└────┘└─────────┘ ░ ┌─────────┐┌────┐┌─────────┐ │ ┌─────────┐┌────┐┌─────────┐│ │ ┌────────────┐ ║ └──╥─── └───┘ ───────┘ ║ └──╥─── └───────┘ ───────┘ ░ ║ └╥┘\nq_4 -> 141 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■───────────────────────────────────░─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■──┼─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤ ├────────────────────────────┤0 ├───╫──────────────────────╫──────────────────────╫──────────────────────────╫────────────────────────░──╫──╫─\n ├─────────┤├────┤├─────────┤ ┌─────────┐┌────┐┌─────────┐┌───┐ ░ └─────────┘└────┘└─────────┘ │ │ ├─────────┤├────┤├─────────┤│ │ ┌────────────┐│ │ ║ ║ ║ ║ ░ ║ ║ \nq_3 -> 142 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤ X ├─░──────────────────────────────■──┼─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤ Measure_2 ├──────────────┤0 ├┤ ├───╫──────────────────────╫──────────────────────╫──────────────────────────╫────────────────────────░──╫──╫─\n ├─────────┤├────┤├─────────┤ │ └┬───────┬┘└────┘└─────────┘└───┘ ░ │ ├─────────┤├────┤├─────────┤│ │┌────────────┐│ ││ │ ║ ║ ║ ║ ░ ║ ║ \nq_2 -> 143 ┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├─■──┤ Rz(π) ├────────────────────────░─────────────────────────────────■─┤ Rz(π/2) ├┤ √X ├┤ Rz(π/2) ├┤ ├┤0 ├┤ ├┤ ├───╫──────────────────────╫──────────────────────╫──────────────────────────╫────────────────────────░──╫──╫─\n └─────────┘└────┘└─────────┘ └───────┘ ░ └─────────┘└────┘└─────────┘│ ││ Measure_2 ││ ││ │ ║ ║ ║ ║ ░ ║ ║ \n c_0: ═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡ ╞╡ ╞╡ ╞╡ ╞═══╬══════════════════════╬══════════════════════╬══════════════════════════╬═══════════════════════════╩══╬═\n │ ││ ││ Measure_2 ││ Measure_2 │ ║ ║ ║ ║ ║ \n c_1: ═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡0 ╞╡ ╞╡ ╞╡ ╞═══■══════════════════════╬══════════════════════╬══════════════════════════╬══════════════════════════════╬═\n └────────────┘│ ││ ││ │ ║ ║ ║ ║ \n c_2: ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡0 ╞╡ ╞╡ ╞══════════════════════════╬══════════════════════■══════════════════════════╬══════════════════════════════╬═\n └────────────┘│ ││ │ ║ ║ ║ \n c_3: ═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡0 ╞╡ ╞══════════════════════════╬═════════════════════════════════════════════════■══════════════════════════════╬═\n └────────────┘│ │ ║ ║ \n c_4: ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡0 ╞══════════════════════════■════════════════════════════════════════════════════════════════════════════════╬═\n └────────────┘ ║ \n c_5: ════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╩═\n "
}selection
{
"chain": [
123,
136,
143,
142,
141,
140
],
"score": 0.06632994819887145,
"readouts": [
0.005615234375,
0.0050048828125,
0.011474609375,
0.0047607421875,
0.017822265625,
0.01220703125
],
"cz_errors": [
0.002436375379067268,
0.002007157479558319,
0.0016912251925176869,
0.0017624080601700565,
0.001548016462558116
],
"candidate_count": 536,
"original_score": 0.11374492712688297
}readout_at_submission
{
"123": 0.005615234375,
"136": 0.0050048828125,
"143": 0.011474609375,
"142": 0.0047607421875,
"141": 0.017822265625,
"140": 0.01220703125
}job_id
dbvpcc6q4uuc73a1iocg
joint_counts
{
"X": {
"010111": 7,
"100010": 7,
"110100": 10,
"001010": 1,
"111010": 10,
"000101": 13,
"000111": 9,
"101110": 10,
"100000": 7,
"011001": 5,
"110110": 5,
"110000": 7,
"111100": 7,
"101010": 7,
"110010": 3,
"010101": 5,
"100100": 9,
"100110": 2,
"011101": 5,
"100011": 2,
"011111": 10,
"111000": 12,
"000011": 9,
"001111": 11,
"001100": 2,
"010100": 1,
"001001": 11,
"111110": 8,
"011011": 6,
"010011": 5,
"001101": 4,
"010110": 1,
"111111": 1,
"101000": 5,
"001000": 2,
"010001": 4,
"000001": 6,
"010010": 1,
"001011": 6,
"011110": 1,
"110001": 1,
"101100": 5,
"100101": 1,
"101011": 2,
"100001": 1,
"010000": 1,
"000010": 1,
"001110": 2,
"000100": 1,
"000110": 1,
"100111": 1,
"110111": 1,
"101001": 1
},
"Y": {
"010001": 9,
"011011": 12,
"110110": 7,
"000001": 10,
"010111": 9,
"111100": 6,
"000111": 7,
"011001": 7,
"101110": 6,
"000011": 8,
"110010": 8,
"001111": 9,
"100110": 6,
"101111": 1,
"110100": 5,
"111000": 6,
"110000": 10,
"011101": 10,
"111101": 1,
"100000": 2,
"101000": 10,
"101100": 5,
"100100": 9,
"010011": 5,
"011010": 3,
"001011": 11,
"100010": 13,
"101001": 1,
"001110": 2,
"111110": 8,
"001101": 6,
"000101": 9,
"010101": 3,
"111010": 5,
"011100": 2,
"110111": 1,
"101011": 3,
"010110": 1,
"001001": 4,
"101010": 5,
"010000": 1,
"000110": 1,
"011111": 3,
"101101": 1,
"000000": 1,
"100011": 1,
"111001": 1,
"010100": 1,
"001010": 1
},
"Z": {
"110000": 8,
"011001": 5,
"011100": 2,
"100110": 9,
"001101": 9,
"001010": 3,
"111000": 7,
"011101": 4,
"010101": 9,
"000011": 11,
"101110": 4,
"001110": 1,
"110010": 11,
"101000": 10,
"100010": 7,
"110111": 3,
"110100": 13,
"011011": 6,
"000111": 6,
"011000": 1,
"110110": 10,
"010011": 11,
"010001": 7,
"001001": 6,
"000100": 4,
"001111": 6,
"001011": 10,
"111111": 1,
"111100": 8,
"111110": 8,
"110001": 1,
"111011": 1,
"111010": 4,
"011111": 8,
"010111": 7,
"101010": 3,
"100000": 6,
"000001": 3,
"100011": 1,
"101100": 4,
"001000": 1,
"100101": 1,
"000101": 5,
"100100": 7,
"010110": 1,
"000010": 1,
"111001": 1,
"111101": 1
}
}endpoint_counts_left_right
{
"X": {
"00": 15,
"01": 114,
"10": 116,
"11": 11
},
"Y": {
"00": 13,
"01": 111,
"10": 122,
"11": 10
},
"Z": {
"00": 14,
"01": 119,
"10": 113,
"11": 10
}
}expected_parity_counts
{
"X": 230,
"Y": 233,
"Z": 232
}correct
695
total
768
raw_bit_order
c5..c0 correspond to the chain in reverse order
target
Psi minus
correlations
{
"X": -0.796875,
"Y": -0.8203125,
"Z": -0.8125
}fidelity
0.857421875
fidelity_sampling_se
0.015903518746161104
metrics
{
"caller": "qiskit",
"qiskit_version": "qiskit_ibm_runtime-0.52.1,qiskit-2.6.2*,qiskit_aer-0.17.2*",
"timestamps": {
"created": "2026-11-20T00:37:04.184282Z",
"finished": "2026-11-20T02:13:47.114205Z",
"running": "2026-11-20T02:13:09.155127Z"
},
"usage": {
"qpu_charge_time_seconds": 2,
"value": 0.031769,
"unit": "resource_units",
"status": "complete",
"details": [
{
"value": 0.031769,
"unit": "resource_units",
"metric": {
"id": "caffe3ca-729c-5750-8777-df63bbf8bfd9",
"value": 2
}
}
]
},
"circuits_execution_time_ns": 200092416
}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.
- Fez-selected-singlet-simulator.jsonQuantum Field Report.pdf / Experiment-results.zip · 2,835 bytes
field-report/outputs/Fez-selected-singlet-simulator.json · full record
{
"joint_counts": {
"X": {
"010011": 5,
"101110": 10,
"110010": 7,
"000101": 8,
"011111": 8,
"000111": 9,
"110000": 9,
"000001": 9,
"101010": 6,
"110110": 13,
"111100": 7,
"100100": 8,
"001101": 7,
"111010": 5,
"100110": 10,
"001111": 16,
"000011": 7,
"110100": 3,
"101100": 7,
"011011": 7,
"011101": 11,
"001001": 12,
"011001": 8,
"100000": 8,
"111000": 15,
"100010": 7,
"001011": 8,
"111110": 4,
"101000": 5,
"010111": 7,
"010101": 7,
"010001": 3
},
"Y": {
"010101": 5,
"111100": 5,
"100100": 8,
"001101": 11,
"110100": 8,
"101100": 7,
"000011": 10,
"110010": 16,
"101110": 7,
"000101": 5,
"010011": 9,
"010111": 3,
"001111": 5,
"111010": 10,
"100110": 5,
"001011": 7,
"100010": 9,
"111110": 11,
"011001": 15,
"011011": 2,
"101000": 6,
"100000": 11,
"110110": 3,
"101010": 8,
"000001": 9,
"000111": 7,
"110000": 8,
"010001": 6,
"001001": 11,
"111000": 10,
"011111": 8,
"011101": 11
},
"Z": {
"001011": 10,
"111110": 10,
"100010": 8,
"101000": 13,
"100000": 7,
"101010": 7,
"110110": 10,
"000001": 8,
"001001": 9,
"101100": 10,
"110100": 6,
"000011": 7,
"101110": 9,
"110010": 6,
"000101": 10,
"010101": 8,
"100100": 5,
"001101": 11,
"111100": 4,
"100110": 7,
"001111": 8,
"111010": 8,
"000111": 8,
"110000": 9,
"011001": 8,
"011111": 9,
"010001": 11,
"010111": 10,
"010011": 8,
"111000": 3,
"011101": 5,
"011011": 4
}
},
"endpoint_counts_left_right": {
"X": {
"00": 0,
"01": 124,
"10": 132,
"11": 0
},
"Y": {
"00": 0,
"01": 132,
"10": 124,
"11": 0
},
"Z": {
"00": 0,
"01": 122,
"10": 134,
"11": 0
}
},
"expected_parity_counts": {
"X": 256,
"Y": 256,
"Z": 256
},
"correct": 768,
"total": 768,
"shots_per_setting": 256,
"raw_bit_order": "c5..c0 correspond to the chain in reverse order",
"target": "Psi minus",
"correlations": {
"X": -1.0,
"Y": -1.0,
"Z": -1.0
},
"fidelity": 1.0,
"fidelity_sampling_se": 0.0,
"simulator": "Qiskit Aer stabilizer",
"seed": 2126,
"versions": {
"qiskit": "2.6.2",
"qiskit-aer": "0.17.2"
}
}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.
- fez_selected_singlet.pyQuantum Field Report.pdf / Experiment-source.zip · 10,512 bytes
- compare_fez_chains.pyQuantum Field Report.pdf / Experiment-source.zip · 2,306 bytes
- compare_singlets.pyQuantum Field Report.pdf / Experiment-source.zip · 1,926 bytes
field-report/outputs/fez_selected_singlet.py · complete source
"""Six-qubit singlet teleportation: ideal dynamic simulation and one resumable Fez job."""
import getpass
import json
import logging
import sys
import time
import traceback
from datetime import datetime, timezone
from importlib.metadata import version
from pathlib import Path
from fez_singlet import circuit
from qiskit.transpiler import generate_preset_pass_manager
from qiskit_aer import AerSimulator
from qiskit_ibm_runtime import QiskitRuntimeService, SamplerV2
from collections import defaultdict
ROOT = Path(__file__).resolve().parent
LOCAL = ROOT / "Fez-selected-singlet-simulator.json"
RESULT = ROOT / "Fez-selected-singlet-results.json"
TAG = "fez-selected-singlet-xyz-20261119"
SETTINGS = ["X", "Y", "Z"]
ORIGINAL = [21, 22, 23, 24, 25, 26]
SHOTS = 256
SEED = 2126
def save(path, record):
temp = path.with_suffix(".tmp")
temp.write_text(json.dumps(record, indent=2, default=str), encoding="utf-8")
temp.replace(path)
def score(rows):
if len(rows) != len(SETTINGS):
raise ValueError("Missing circuit results")
counts, endpoints, correct = {}, {}, {}
for setting, row in zip(SETTINGS, rows):
if sum(row.values()) != SHOTS or any(len(k) != 6 or set(k) - {"0", "1"} for k in row):
raise ValueError("Unexpected outcomes or number of shots")
counts[setting] = row
pair = dict.fromkeys(("00", "01", "10", "11"), 0)
for bits, n in row.items():
pair[bits[-1] + bits[0]] += n
endpoints[setting] = pair
correct[setting] = pair["01"] + pair["10"]
correlations = {axis: 1 - 2 * n / SHOTS for axis, n in correct.items()}
fidelity = (1 - sum(correlations.values())) / 4
# Independent binomial sampling of the three signed parity means.
variance = sum((1 - c*c) / (SHOTS - 1) for c in correlations.values()) / 16
return {"joint_counts": counts, "endpoint_counts_left_right": endpoints, "expected_parity_counts": correct,
"correct": sum(correct.values()), "total": len(SETTINGS) * SHOTS, "shots_per_setting": SHOTS,
"raw_bit_order": "c5..c0 correspond to the chain in reverse order",
"target": "Psi minus", "correlations": correlations, "fidelity": fidelity,
"fidelity_sampling_se": variance**0.5}
def simulate():
sim = AerSimulator(method="stabilizer")
result = sim.run([circuit(s) for s in SETTINGS], shots=SHOTS, seed_simulator=SEED).result()
record = score(result.get_counts())
if record["correct"] != record["total"]:
raise ValueError("Ideal teleportation failed")
for row in record["joint_counts"].values():
if len({bits[1:-1] for bits, n in row.items() if n}) != 16:
raise ValueError("Simulation missed a feed-forward branch")
save(LOCAL, dict(record, simulator="Qiskit Aer stabilizer", seed=SEED,
versions={p: version(p) for p in ("qiskit", "qiskit-aer")}))
print(record["expected_parity_counts"])
def select_chain(props, faulty_qubits, faulty_gates):
rates = {}
adj = defaultdict(set)
bad = {(g["gate"], tuple(g["qubits"])) for g in faulty_gates}
for gate in props["gates"]:
name, qs = gate["gate"], tuple(gate["qubits"])
if name not in ("cz", "measure", "measure_2") or (name, qs) in bad or set(qs).intersection(faulty_qubits):
continue
rate = next((p["value"] for p in gate["parameters"] if p["name"] == "gate_error"), None)
if rate is None:
continue
rates[name, qs] = rate
if name == "cz":
adj[qs[0]].add(qs[1])
def candidates(path):
if len(path) < 6:
for q in adj[path[-1]].difference(path):
yield from candidates(path + [q])
elif path[0] < path[-1]:
gates = [rates["cz", (a,b)] for a,b in zip(path,path[1:])]
reads = [rates.get(("measure" if i in (0,5) else "measure_2", (q,))) for i,q in enumerate(path)]
if None not in reads:
yield sum(reads) + sum(gates), path, reads, gates
ranked = sorted(row for q in list(adj) for row in candidates([q]))
best, path, reads, gates = ranked[0]
original = next((row[0] for row in ranked if row[1] == ORIGINAL), None)
return {"chain": path, "score": best, "readouts": reads, "cz_errors": gates,
"candidate_count": len(ranked), "original_score": original}
def prepare(backend, layout):
fast = all(backend.target.instruction_supported("measure_2", (q,)) for q in layout[1:5])
if not fast:
raise ValueError("The replication needs the same mid-circuit measurement as Fez")
compiler = generate_preset_pass_manager(backend=backend, initial_layout=layout,
optimization_level=0, seed_transpiler=SEED)
compiled = compiler.run([circuit(s, fast) for s in SETTINGS], num_processes=1)
for qc in compiled:
backend.check_faulty(qc)
measurements, conditionals, edges = {}, [], []
for inst in qc.data:
gate = inst.operation
qubits = [qc.find_bit(q).index for q in inst.qubits]
if gate.name != "barrier" and set(qubits) - set(layout):
raise ValueError("Unexpected physical qubit")
if gate.name in ("measure", "measure_2"):
measurements[qc.find_bit(inst.clbits[0]).index] = qubits[0]
if gate.name == "cz":
edges.append(sorted(qubits))
if gate.name == "if_else":
bit, expected = gate.condition
flag = qc.find_bit(bit).index
if flag not in measurements or expected != 1:
raise ValueError("Unexpected feed-forward target or flag")
conditionals.append((flag, qubits[0]))
if (measurements != dict(enumerate(layout)) or sorted(conditionals) != [(1, layout[0]), (2, layout[0]), (3, layout[-1]), (4, layout[-1])]
or sorted(edges) != sorted(sorted(edge) for edge in zip(layout, layout[1:]))):
raise ValueError("Unexpected physical layout, gates, or measurement mapping")
return compiled
def hardware():
if json.loads(LOCAL.read_text())["correct"] != SHOTS * len(SETTINGS):
raise RuntimeError("Run the ideal simulation first")
if not sys.stdin.isatty():
raise RuntimeError("Use an interactive terminal for private key entry")
print("IBM Fez singlet teleportation | calibration-selected chain | 3 circuits, 256 shots each")
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")
if RESULT.exists():
record = json.loads(RESULT.read_text())
if record["stage"] == "done":
return
if "job_id" in record:
job = service.job(record["job_id"])
else:
matches = service.jobs(job_tags=[TAG], backend_name="ibm_fez", limit=2)
if len(matches) != 1:
raise RuntimeError("Reconcile prior submission before retry")
job = matches[0]
else:
backend = service.backend("ibm_fez", use_fractional_gates=False)
status = backend.status()
if backend.is_mock or backend.name != "ibm_fez" or not status.operational:
raise RuntimeError("Fez unavailable")
props = backend.properties(refresh=True)
selection = select_chain(props.to_dict(), props.faulty_qubits(), [g.to_dict() for g in props.faulty_gates()])
layout = selection["chain"]
compiled = prepare(backend, layout)
options = {"environment": {"job_tags": [TAG]},
"twirling": {"enable_gates": False, "enable_measure": False},
"dynamical_decoupling": {"enable": False}}
sampler = SamplerV2(mode=backend, options=options)
record = {"backend": backend.name, "layout": layout, "setting_order": SETTINGS,
"shots_per_setting": SHOTS, "job_tag": TAG, "sampler_options": options,
"versions": {p: version(p) for p in ("qiskit", "qiskit-ibm-runtime")},
"created_utc": datetime.now(timezone.utc).isoformat(),
"calibration_updated": props.last_update_date if props else None,
"status_at_submission": status.to_dict(), "stage": "submitting",
"compiled_circuits": {s: str(qc.draw("text", idle_wires=False, fold=-1))
for s, qc in zip(SETTINGS, compiled)}}
record["selection"] = selection
record["readout_at_submission"] = {
str(q): backend.target["measure" if i in (0, 5) else "measure_2"][(q,)].error
for i, q in enumerate(layout)
}
with RESULT.open("x", encoding="utf-8") as stream:
json.dump(record, stream, indent=2, default=str)
job = sampler.run(compiled, shots=SHOTS)
record.update(job_id=job.job_id(), stage="submitted")
save(RESULT, record)
results = job.result()
record.update(score([pub.data.c.get_counts() for pub in results]), stage="measured")
save(RESULT, record)
for _ in range(180):
metrics = job.metrics()
usage = metrics.get("usage", {})
if usage.get("status", "pending") != "pending" and usage.get("qpu_charge_time_seconds") is not None:
break
time.sleep(5)
record.update(stage="done", metrics=metrics)
save(RESULT, record)
print(record["expected_parity_counts"])
if __name__ == "__main__":
if sys.argv[1:] == ["simulate"]:
simulate()
elif sys.argv[1:] == ["hardware"]:
logging.disable(logging.CRITICAL)
try:
hardware()
except Exception as exc:
trace = traceback.extract_tb(exc.__traceback__)
save(ROOT.parent / "work" / "fez-selected-singlet-error.json",
{"type": type(exc).__name__,
"frames": [[Path(f.filename).name, f.lineno, f.name] for f in trace]})
print(f"Hardware step stopped ({type(exc).__name__}).")
input("Press Enter to close.")
else:
raise SystemExit("Use simulate or hardware.")
field-report/work/compare_fez_chains.py · complete source
"""Compare independent circuit shots. Effects use Selected Fez chain minus original Fez chain."""
import json
from pathlib import Path
import numpy as np
from scipy.stats import fisher_exact, norm
root = Path(__file__).resolve().parents[1] / "outputs"
axes = ["X", "Y", "Z"]
shots = 256
rates = []
for name, chain in [("Fez", list(range(21, 27))), ("Fez-selected", None)]:
record = json.loads((root / f"{name}-singlet-results.json").read_text())
assert record["stage"] == "done" and record["setting_order"] == axes
assert record["layout"] == (chain or record["selection"]["chain"])
opposite = []
for axis in axes:
row = record["joint_counts"][axis]
assert sum(row.values()) == shots and all(len(k) == 6 for k in row)
correct = sum(n for k, n in row.items() if k[0] != k[-1])
assert correct == record["expected_parity_counts"][axis]
opposite.append(correct)
p = np.array(opposite) / shots
fidelity = (sum(p) - 1) / 2
assert np.isclose(fidelity, record["fidelity"])
print(name, opposite, p, fidelity, record["fidelity_sampling_se"], record["job_id"],
record["metrics"]["usage"], record.get("readout_at_submission"))
rates.append(p)
a, b = rates
diff = b - a
variance = (a * (1 - a) + b * (1 - b)) / (shots - 1)
for label, weights in [("fidelity difference", [.5, .5, .5]), ("change in Y-minus-Z", [0, 1, -1])]:
estimate = diff @ weights
se = (variance @ np.square(weights)) ** .5
print(label, "effect, 95% interval, p", estimate, estimate + np.array([-1, 1])*norm.ppf(.975)*se,
2*norm.sf(abs(estimate)/se))
pvalues = []
for x,y in zip(a,b):
table = np.rint(np.array([[x,1-x],[y,1-y]])*shots).astype(int)
pvalues.append(fisher_exact(table).pvalue)
order = np.argsort(pvalues)
holm = np.empty(3)
holm[order] = np.minimum(1, np.maximum.accumulate(np.array(pvalues)[order] * np.array([3,2,1])))
print("per axis differences",diff,"Fisher exact Holm adjusted",holm)
new_yz = b[2] - b[1]
yz_se = np.sqrt((b[2]*(1-b[2]) + b[1]*(1-b[1]))/(shots-1))
print("new Z minus Y, 95% interval, two-sided Fisher", new_yz, new_yz+np.array([-1,1])*1.96*yz_se, fisher_exact(np.array([[b[1],1-b[1]],[b[2],1-b[2]]])*shots).pvalue)
print(record["selection"])
field-report/work/compare_singlets.py · complete source
"""Compare independent circuit shots. Effects use Marrakesh minus Fez."""
import json
from pathlib import Path
import numpy as np
from scipy.stats import fisher_exact, norm
root = Path(__file__).resolve().parents[1] / "outputs"
axes = ["X", "Y", "Z"]
shots = 256
rates = []
for name, chain in [("Fez", list(range(21, 27))), ("Marrakesh", list(range(3, 9)))]:
record = json.loads((root / f"{name}-singlet-results.json").read_text())
assert record["layout"] == chain and record["stage"] == "done" and record["setting_order"] == axes
opposite = []
for axis in axes:
row = record["joint_counts"][axis]
assert sum(row.values()) == shots and all(len(k) == 6 for k in row)
correct = sum(n for k, n in row.items() if k[0] != k[-1])
assert correct == record["expected_parity_counts"][axis]
opposite.append(correct)
p = np.array(opposite) / shots
fidelity = (sum(p) - 1) / 2
assert np.isclose(fidelity, record["fidelity"])
print(name, opposite, p, fidelity, record["fidelity_sampling_se"], record["job_id"],
record["metrics"]["usage"], record.get("readout_at_submission"))
rates.append(p)
a, b = rates
diff = b - a
variance = (a * (1 - a) + b * (1 - b)) / (shots - 1)
for label, weights in [("fidelity difference", [.5, .5, .5]), ("change in Y-minus-Z", [0, 1, -1])]:
estimate = diff @ weights
se = (variance @ np.square(weights)) ** .5
print(label, "effect, 95% interval, p", estimate, estimate + np.array([-1, 1])*norm.ppf(.975)*se,
2*norm.sf(abs(estimate)/se))
pvalues = []
for x,y in zip(a,b):
table = np.rint(np.array([[x,1-x],[y,1-y]])*shots).astype(int)
pvalues.append(fisher_exact(table).pvalue)
order = np.argsort(pvalues)
holm = np.empty(3)
holm[order] = np.minimum(1, np.maximum.accumulate(np.array(pvalues)[order] * np.array([3,2,1])))
print("per axis differences",diff,"Fisher exact Holm adjusted",holm)
Personal comments
Personal comments will be added here.