Establishing trust in quantum computations

Timothy Proctor, Stefan Seritan, Erik Nielsen, Kenneth Rudinger, Kevin Young, Robin Blume-Kohout, Mohan SarovararXiv 2022 · DOI

Abstract

Quantum computing hardware has grown sufficiently complex that it often can no longer be simulated by classical computers, but its computational power remains limited by errors. These errors corrupt the results of quantum algorithms, and it is no longer always feasible to use classical simulations to directly check the correctness of quantum computations. Without practical methods for quantifying the accuracy with which a quantum algorithm has been executed, it is difficult to establish trust in the results of a quantum computation. Here we solve this problem, by introducing a simple and efficient technique for measuring the fidelity with which an as-built quantum computer can execute an algorithm. Our technique converts the algorithm's quantum circuits into a set of closely related "mirror circuits" whose success rates can be efficiently measured. It enables measuring the fidelity of quantum algorithm executions both in the near-term, with algorithms run on hundreds or thousands of physical qubits, and into the future, with algorithms run on logical qubits protected by quantum error correction.

The Challenge of Verification in the Quantum Advantage Era

As quantum computers transition from laboratory curiosities to systems with hundreds or thousands of qubits, we are entering the era of "quantum advantage." At this scale, classical supercomputers can no longer simulate quantum systems to verify their outputs. However, these machines remain "noisy"—susceptible to environmental interference and gate imperfections that can corrupt the final answer.

This creates a fundamental trust dilemma: how can we rely on the output of a quantum algorithm if we cannot simulate it to check the answer? Existing verification methods like Quantum Process Tomography scale exponentially with the number of qubits, making them impractical for large systems. Conversely, standard benchmarks like Randomized Benchmarking are scalable but only measure performance on random noise, failing to account for the specific, structured gate sequences used in actual algorithms.

Mirror Circuit Fidelity Estimation (MCFE)

To bridge this gap, this research introduces Mirror Circuit Fidelity Estimation (MCFE). This technique measures how accurately a quantum computer executes a specific algorithm by running "mirror" versions of that algorithm with known outcomes.

Overview of the MCFE protocol, showing the construction of mirror circuits and the three-ensemble approach to isolate algorithm fidelity.

The MCFE process involves several key innovations:

  1. Mirroring: To test a target circuit $c$, researchers create a mirror circuit consisting of $c$ followed by its inverse $c^{-1}$. In an ideal, noise-free system, this sequence should return all qubits to their initial state (typically the "all zeros" bitstring).
  2. Randomized Compilation (RC): Simply inverting a circuit can lead to accidental "error cancellation," where two hardware faults mask each other, providing a false sense of accuracy. MCFE uses RC to insert random single-qubit gates that preserve the overall logic but transform systematic, coherent errors into predictable, random noise.
  3. The Three-Ensemble Approach: To isolate the error of the algorithm itself from errors in state preparation and measurement (SPAM), MCFE runs three distinct sets of circuits ($M_1, M_2, M_3$). By comparing their success rates, the researchers can mathematically subtract the SPAM noise, leaving a clean estimate of the algorithm's fidelity.
  4. Local Randomization: Instead of requiring complex global operations, MCFE utilizes local, single-qubit randomizations and a classical post-processing step based on Hamming distance to achieve rigorous fidelity estimates.

Experimental Validation and Results

The authors validated MCFE using extensive numerical simulations of the Quantum Approximate Optimization Algorithm (QAOA), a standard benchmark for quantum optimization tasks like the "MaxCut" problem.

Validation of MCFE using QAOA circuits. The plots show high correlation between predicted and true fidelity across various noise models and qubit counts.

The results demonstrated that the MCFE estimate ($\chi_F$) closely tracks the "true" process fidelity ($F$) across a variety of hardware noise models, including stochastic Pauli errors and difficult-to-handle Hamiltonian (coherent) errors. Crucially, the amount of data required to estimate fidelity remains independent of the number of qubits ($n$). For a 100-qubit QAOA circuit, the protocol required only 1,200 unique circuits and approximately 216,000 total samples—a task that could be completed in minutes on modern hardware.

Conclusion and Future Outlook

MCFE provides a scalable, algorithm-specific pathway for establishing trust in quantum computations. While the current theory assumes "Markovian" noise (where errors do not depend on past operations), the method's robustness against coherent errors makes it a powerful tool for the NISQ era. Looking forward, the authors suggest applying MCFE to logical qubits in error-corrected systems, ensuring that future fault-tolerant computers are performing as expected at the highest levels of abstraction.

Summary updated

BibTeX
@misc{proctor2022establishing,
  author = {Timothy Proctor and Stefan Seritan and Erik Nielsen and Kenneth Rudinger and Kevin Young and Robin Blume-Kohout and Mohan Sarovar},
  title = {{Establishing trust in quantum computations}},
  year = {2022},
  eprint = {2204.07568},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.07568},
}
Figure