Defining Standard Strategies for Quantum Benchmarks
Mirko Amico, Helena Zhang, Petar Jurcevic, Lev S. Bishop, Paul Nation, Andrew Wack, and David C. McKay
IBM Quantum, Yorktown Heights, NY 10598 USA
https://arxiv.org/abs/2303.02108
Journal club presented by Nathan Shammah, nathan@unitary.fund
Quantum Wednesday Journal Club, discord.unitary.fund
April 12, 2023
Outline
Outline
Previous & related work: defining benchmarks
Quantum 6, 707 (2022) https://doi.org/10.22331/q-2022-05-09-707
Phys Rev A 100, 032328 (2019)
Unitary Fund related work & projects
Metriq: Community-driven Quantum Benchmarks
Submissions show performance of methods on platforms against tasks
arXiv (2022), under review
https://arxiv.org/abs/2210.07194
https://github.com/unitaryfund/research/tree/main/qem-on-hardware
Quantum Hardware Performance
Quantum Error Mitigation: Generally trading quality for speed (sampling overhead)
Exception: Dynamical decoupling, limited overhead
Benchmarks
Benchmarks vs. Diagnostics
Diagnostics
Algorithms (e.g., application-oriented algorithms)
Randomized/aggregated
Algorithmic-based toolkits for benchmarking
Proposed Criteria for Benchmarks
Metriq project motivation and criteria
Answer the question:
“How does QC Platform X running Software Stack Y perform on Workload Z and how has that changed over time?”
1Dasgupta, Samudra, and Travis S. Humble. "Characterizing the stability of nisq devices." 2020 IEEE International Conference on Quantum Computing and Engineering (QCE). IEEE, 2020.�2Martiel, Simon, Thomas Ayral, and Cyril Allouche. "Benchmarking quantum co-processors in an application-centric, hardware-agnostic and scalable way." arXiv preprint arXiv:2102.12973 (2021).
Proposed Criteria for Benchmarks (comparison with Metriq)
1Dasgupta, Samudra, and Travis S. Humble. "Characterizing the stability of nisq devices." 2020 IEEE International Conference on QCE. IEEE, 2020.�2Martiel, Simon, Thomas Ayral, and Cyril Allouche. "Benchmarking quantum co-processors in an application-centric, hardware-agnostic and scalable way." arXiv preprint arXiv:2102.12973 (2021).
More details on diagnostics
This is the case for most application- inspired methods, which can give a precise indication of expected performance on specific tasks (or similarly structured tasks). However, because of their specificity, diagnostic methods are not good standards. Even when collecting together a suite of diagnostic methods, it is hard to determine whether these will cover all aspects of a device’s performance and so benchmark suites must be carefully constructed.
Also, in the context of getting the maximum performance out of quantum hardware in a specific application, it may be desirable to use compilation and mitigation techniques, thus making diagnostic methods good candidates for including such techniques in their execution.”
Outline
Outline
Quantum volume
Quantum volume
Ref. [2]: Quantum 6, 707 (2022) doi.org/10.22331/q-2022-05-09-707
Quantum volume
Dos and Dont’s for quantum volume
CLOPS
Circuit Layer Operations per Second (CLOPS)
Informally: Somewhat equivalent to clock-time for standard computers
Mirror circuits
Mirror circuits are scalable.
Novel proposal: Mirror QV circuits (bypass QV sampling overhead)
Mirror QV circuit: QC circuit with permutation and SU(4) layers that are inverted about the dashed line of symmetry.
Mirror QV success probabilities vs standard QV HOP
Mirror QV circuits seem a good proxy
Mirror circuit from a QV circuit: Mirror QV circuit
Application suites
Outline
Outline
Proposed rules for optimization (and quantum error mitigation)
Rule 1: Constant time optimizations are allowed and encouraged. Examples:
Rule 2: Mitigation must be reported along with the incurred overhead.
“At one extreme, we could imagine even replacing the run on the device by a fully classical simulator.”
“The results of benchmarking methods that include error mitigation may not be directly comparable to those that do not. Therefore, when comparing results from different devices or different versions of the same device, it’s important to take into account the different error mitigation techniques that have been applied.”
Rule 3: Optimizations based on the output of a circuit are forbidden.
“No optimization of the result or the output based on the knowledge of the what the output of the circuit is expected to be. For example, replacing the circuit with a much simpler version that still obtains the right output and/or post-selecting only the correct outputs.”
Variability of benchmark results over quantum error mitigation
“Example of how the polarization fidelity is affected by dropping low-frequency bit-strings. “
“By sacrificing a moderate amount of shots, we can improve the polarization fidelity up to a perfect value, giving the false impression of a well-performing hardware.”
Variability of QEDC application-oriented benchmarks on optimization and QEM for hardware benchmarks
“Layout selection”: See mapomatic and:
P. D. Nation and M. Treinish, “Suppressing quantum circuit errors due to system variability”, arXiv:2209.15512 (2022).
Executed with default parameters
Executed by adding layout selection
Layout selection and dynamic decoupling
Layout selection, dynamic decoupling and measurement error mitigation
Discussion and conclusions
28
Community-driven quantum computing benchmarks, metriq.info
result
submission
URL
Web UI
result
github.com/unitaryfund/metriq-client
github.com/unitaryfund/metriq-api
benchmarks
Automatic
API
Reducing the overheads to apply error mitigation
Sampling cost
Probabilistic Error Cancellation (PEC)
Noise characterization
Error Mitigation
Gate Set Tomography (GST)
Pauli-Noise Tomography (PNT)
Overhead Reduction
B. McDonough, et al., Proc.IEEE QCE 2020 arxiv:2210.08611
E. van den Berg, et al., arxiv:2201.09866
Noise scaling factor
NEPEC Technique:
Probabilistic Error Reduction (PER)
Overhead Reduction
Circuit depth
A. Mari, N. Shammah, and W. J. Zeng, Phys. Rev. A 104, 052607 (2021). arXiv:2108.02237
Benchmarking quantum error mitigation on hardware: Task
30
Vincent Russo, Andrea Mari, Nathan Shammah, Ryan LaRose, William J. Zeng
arXiv:2210.07194
IBMQ Kolkata
2 QEM techniques
ZNE and PEC
2 Benchmarks
RB and Mirror circuits
3 Backends
IBM, Rigetti, IonQ
Benchmarking quantum error mitigation on hardware: Results
31
Vincent Russo, Andrea Mari, Nathan Shammah, Ryan LaRose, William J. Zeng
arXiv:2210.07194
Improvement factor: Ratio of Sq. root mean errors wo/w mitigation for fair benchmarking
Conclusions