CharlesCNorton commited on
Commit ·
4e9f0cc
1
Parent(s): a494ca3
Minor formatting fixes
Browse files
README.md
CHANGED
|
@@ -586,7 +586,7 @@ The `models/` directory contains:
|
|
| 586 |
|
| 587 |
### Measurement Duration Analysis
|
| 588 |
|
| 589 |
-
**measurement_duration/** —
|
| 590 |
|
| 591 |
To isolate the decoherence cost of this duration overhead, we introduce a **delay-matched control**: a standard Ry(θ)·Ry(-θ) circuit with an inserted idle delay equal to the total measurement time of the corresponding Zeno circuit. This ensures the delay-matched circuit experiences the same wall-clock decoherence as Zeno but without the measurement-based error suppression. All circuits target |0⟩ as the ideal output, following the same protocol as `zeno_gates_corrected`.
|
| 592 |
|
|
@@ -604,7 +604,7 @@ The experiment tests 6 rotation angles (I, Ry(π/8), Ry(π/4), Ry(π/2), Ry(3π/
|
|
| 604 |
| 24 | 37.44 | 32.5% | 96.6% | 57.8% | +38.8pp | 40.9 | <10⁻³⁶⁶ |
|
| 605 |
| 32 | 49.92 | 43.3% | 95.5% | 45.9% | +49.6pp | 45.6 | <10⁻⁴⁵⁴ |
|
| 606 |
|
| 607 |
-
Zeno fidelity remains flat at 95.5% ± 0.7% across all N values (linear regression slope not significantly different from zero, p = 0.17). The delay-matched circuits decay as expected from T1 decoherence. The fidelity gap between Zeno and delay-matched *widens* with increasing circuit time, reaching 49.6 percentage points at N=32 where 43% of T1 has elapsed. The answer
|
| 608 |
|
| 609 |
99 circuits, 4096 shots each, job ID d6jh8akgmsgc73bv2uu0, 113s QPU time. March 3, 2026.
|
| 610 |
|
|
|
|
| 586 |
|
| 587 |
### Measurement Duration Analysis
|
| 588 |
|
| 589 |
+
**measurement_duration/** — Motivated by a question from Dr. Philippe Lewalle (MIT Lincoln Laboratory) on whether measurement duration overhead negates Zeno's fidelity advantage in practice. On ibm_torino, measurements take 1.56 μs versus 32 ns for single-qubit gates — a 49× overhead per measurement step. A Zeno circuit with N=8 measurements accumulates 12.5 μs of measurement time, roughly 10.8% of the qubit's T1 (115.2 μs at time of experiment).
|
| 590 |
|
| 591 |
To isolate the decoherence cost of this duration overhead, we introduce a **delay-matched control**: a standard Ry(θ)·Ry(-θ) circuit with an inserted idle delay equal to the total measurement time of the corresponding Zeno circuit. This ensures the delay-matched circuit experiences the same wall-clock decoherence as Zeno but without the measurement-based error suppression. All circuits target |0⟩ as the ideal output, following the same protocol as `zeno_gates_corrected`.
|
| 592 |
|
|
|
|
| 604 |
| 24 | 37.44 | 32.5% | 96.6% | 57.8% | +38.8pp | 40.9 | <10⁻³⁶⁶ |
|
| 605 |
| 32 | 49.92 | 43.3% | 95.5% | 45.9% | +49.6pp | 45.6 | <10⁻⁴⁵⁴ |
|
| 606 |
|
| 607 |
+
Zeno fidelity remains flat at 95.5% ± 0.7% across all N values (linear regression slope not significantly different from zero, p = 0.17). The delay-matched circuits decay as expected from T1 decoherence. The fidelity gap between Zeno and delay-matched *widens* with increasing circuit time, reaching 49.6 percentage points at N=32 where 43% of T1 has elapsed. The answer is that measurement duration is not an obstacle — the longer the circuit runs, the more Zeno outperforms, because the measurements actively suppress the decoherence that the time overhead causes.
|
| 608 |
|
| 609 |
99 circuits, 4096 shots each, job ID d6jh8akgmsgc73bv2uu0, 113s QPU time. March 3, 2026.
|
| 610 |
|
measurement_duration_experiment.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
"""
|
| 2 |
-
Measurement Duration Experiment
|
| 3 |
|
| 4 |
"Does the relatively long duration of measurement compared to unitary
|
| 5 |
operations not present an obstacle for practical adoption?"
|
|
@@ -12,7 +12,7 @@ Protocol (matching zeno_gates_corrected):
|
|
| 12 |
Fidelity = P(0) for all circuits. This is a fair comparison because all
|
| 13 |
circuits target the same output state in the same measurement basis.
|
| 14 |
|
| 15 |
-
The delay-matched circuit
|
| 16 |
wall-clock decoherence as Zeno but without the measurement-based error
|
| 17 |
suppression. If Zeno > delay-matched, measurements actively help.
|
| 18 |
"""
|
|
@@ -200,7 +200,7 @@ def analyze_zeno(bitstrings, n_meas):
|
|
| 200 |
def main():
|
| 201 |
print("=" * 70)
|
| 202 |
print("MEASUREMENT DURATION EXPERIMENT")
|
| 203 |
-
print("
|
| 204 |
print("=" * 70)
|
| 205 |
|
| 206 |
service = QiskitRuntimeService(channel="ibm_cloud", instance="claude")
|
|
@@ -394,7 +394,7 @@ def main():
|
|
| 394 |
output = {
|
| 395 |
'experiment': 'measurement_duration_analysis',
|
| 396 |
'description': "Tests whether measurement duration overhead negates Zeno fidelity advantage",
|
| 397 |
-
'question': "
|
| 398 |
"unitary operations not present an obstacle for practical adoption?",
|
| 399 |
'timestamp': start_time.isoformat(),
|
| 400 |
'backend': backend.name,
|
|
|
|
| 1 |
"""
|
| 2 |
+
Measurement Duration Experiment
|
| 3 |
|
| 4 |
"Does the relatively long duration of measurement compared to unitary
|
| 5 |
operations not present an obstacle for practical adoption?"
|
|
|
|
| 12 |
Fidelity = P(0) for all circuits. This is a fair comparison because all
|
| 13 |
circuits target the same output state in the same measurement basis.
|
| 14 |
|
| 15 |
+
The delay-matched circuit isolates the decoherence cost: it experiences the same
|
| 16 |
wall-clock decoherence as Zeno but without the measurement-based error
|
| 17 |
suppression. If Zeno > delay-matched, measurements actively help.
|
| 18 |
"""
|
|
|
|
| 200 |
def main():
|
| 201 |
print("=" * 70)
|
| 202 |
print("MEASUREMENT DURATION EXPERIMENT")
|
| 203 |
+
print("Does measurement duration obstruct practical adoption?")
|
| 204 |
print("=" * 70)
|
| 205 |
|
| 206 |
service = QiskitRuntimeService(channel="ibm_cloud", instance="claude")
|
|
|
|
| 394 |
output = {
|
| 395 |
'experiment': 'measurement_duration_analysis',
|
| 396 |
'description': "Tests whether measurement duration overhead negates Zeno fidelity advantage",
|
| 397 |
+
'question': "Does the relatively long duration of measurement compared to "
|
| 398 |
"unitary operations not present an obstacle for practical adoption?",
|
| 399 |
'timestamp': start_time.isoformat(),
|
| 400 |
'backend': backend.name,
|
results/measurement_duration/extract.py
CHANGED
|
@@ -65,7 +65,7 @@ with open(base / 'zeno_vs_standard_N8.csv', 'w') as f:
|
|
| 65 |
f"{za['fidelity_weighted']:.6f},{za['success_rate']:.6f},"
|
| 66 |
f"{df:.6f},{za['fidelity_hard_ps']-sf:.6f}\n")
|
| 67 |
|
| 68 |
-
# CSV: Zeno vs delay-matched (
|
| 69 |
with open(base / 'zeno_vs_delay_matched.csv', 'w') as f:
|
| 70 |
f.write('gate,n_meas,total_time_us,t1_fraction,zeno_hard_ps,zeno_weighted,zeno_success_rate,delay_fidelity,zeno_minus_delay,z_score,p_value\n')
|
| 71 |
for gate in ['I', 'Ry_pi8', 'Ry_pi4', 'Ry_pi2', 'Ry_3pi4', 'X']:
|
|
|
|
| 65 |
f"{za['fidelity_weighted']:.6f},{za['success_rate']:.6f},"
|
| 66 |
f"{df:.6f},{za['fidelity_hard_ps']-sf:.6f}\n")
|
| 67 |
|
| 68 |
+
# CSV: Zeno vs delay-matched (duration overhead comparison)
|
| 69 |
with open(base / 'zeno_vs_delay_matched.csv', 'w') as f:
|
| 70 |
f.write('gate,n_meas,total_time_us,t1_fraction,zeno_hard_ps,zeno_weighted,zeno_success_rate,delay_fidelity,zeno_minus_delay,z_score,p_value\n')
|
| 71 |
for gate in ['I', 'Ry_pi8', 'Ry_pi4', 'Ry_pi2', 'Ry_3pi4', 'X']:
|
results/measurement_duration/measurement_duration_analysis.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"experiment": "measurement_duration_analysis",
|
| 3 |
"description": "Tests whether measurement duration overhead negates Zeno fidelity advantage",
|
| 4 |
-
"question": "
|
| 5 |
"timestamp": "2026-03-03T17:02:30.385768+00:00",
|
| 6 |
"backend": "ibm_torino",
|
| 7 |
"shots": 4096,
|
|
|
|
| 1 |
{
|
| 2 |
"experiment": "measurement_duration_analysis",
|
| 3 |
"description": "Tests whether measurement duration overhead negates Zeno fidelity advantage",
|
| 4 |
+
"question": "Does the relatively long duration of measurement compared to unitary operations not present an obstacle for practical adoption?",
|
| 5 |
"timestamp": "2026-03-03T17:02:30.385768+00:00",
|
| 6 |
"backend": "ibm_torino",
|
| 7 |
"shots": 4096,
|
results/measurement_duration/summary.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"experiment": "measurement_duration_analysis",
|
| 3 |
"description": "Tests whether measurement duration overhead negates Zeno fidelity advantage",
|
| 4 |
-
"question": "
|
| 5 |
"backend": "ibm_torino",
|
| 6 |
"timestamp": "2026-03-03T17:02:30.385768+00:00",
|
| 7 |
"job_id": "d6jh8akgmsgc73bv2uu0",
|
|
|
|
| 1 |
{
|
| 2 |
"experiment": "measurement_duration_analysis",
|
| 3 |
"description": "Tests whether measurement duration overhead negates Zeno fidelity advantage",
|
| 4 |
+
"question": "Does the relatively long duration of measurement compared to unitary operations not present an obstacle for practical adoption?",
|
| 5 |
"backend": "ibm_torino",
|
| 6 |
"timestamp": "2026-03-03T17:02:30.385768+00:00",
|
| 7 |
"job_id": "d6jh8akgmsgc73bv2uu0",
|