CoChat

$O(N^3)$ Measurement Cost for Variational Quantum Eigensolver on Molecular Hamiltonians

Open access
Gokhale, Pranav, Angiuli, Olivia, Ding, Yongshan, Gui, Kaiwen, Tomesh, Teague, Suchara, Martin, Martonosi, Margaret, Chong, Frederic T. · 2020 · IEEE Transactions on Quantum Engineering

The DOI matches its Crossref record; 88 of the 91 references it cites were found in a registry or an index, and 3 are not checked yet.

Abstract

Variational quantum eigensolver (VQE) is a promising algorithm for near-term quantum machines. It can be used to estimate the ground state energy of a molecule by performing separate measurements of O(N4) terms. This quartic scaling appears to be a significant obstacle to practical applications. However, we note that it empirically reduces to O(N3) when we partition the terms into linear-sized commuting families that can be measured simultaneously. We confirm these empirical observations by studying the MIN-COMMUTING-PARTITION problem at the level of the fermionic Hamiltonian and its encoding into qubits. Moreover, we provide a fast, precomputable procedure for creating linearly sized commuting partitions by solving a round-robin scheduling problem via flow networks. In addition, we demonstrate how to construct the quantum circuits necessary for simultaneous measurement, and we discuss the statistical implication of simultaneous measurement. Our results are experimentally validated by a ground state estimation of deuteron with low shot budget on a 20-qubit IBM machine.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1109/tqe.2020.3035814

Cites

88 of 91 references verified0 citation errors · 0 not checkable

Statistics

Figures

FIGURE 1 Z -basis (computational basis) measurement of a qubit yields | 0 〉 or | 1 〉 with a probability corresponding to the latitude of the qubit on the Bloch sphere.
FIGURE 1 Z -basis (computational basis) measurement of a qubit yields | 0 〉 or | 1 〉 with a probability corresponding to the latitude of the qubit on the Bloch sphere.CC-BY · From the PDF
FIGURE 2 Measurement of the X or Y Pauli matrices requires us to first apply a unitary rotation operation that rotates the X - or Y -axis to align with the Z -axis. Subsequently, a standard Z -basis measurement yields the outcome of the X or Y measurement.
FIGURE 2 Measurement of the X or Y Pauli matrices requires us to first apply a unitary rotation operation that rotates the X - or Y -axis to align with the Z -axis. Subsequently, a standard Z -basis measurement yields the outcome of the X or Y measurement.CC-BY · From the PDF
Image 3
CC-BY · From the PDF
Image 4
CC-BY · From the PDF
FIGURE 3 This is the commutation graph (also known as a compatibility graph [54]) for all 16 two-qubit Pauli strings. An edge appears when two Pauli strings commute. The blue edges indicate Pauli strings that commute under QWC (which is a subset of GC). The red edges commute under GC-but-not-QWC.
FIGURE 3 This is the commutation graph (also known as a compatibility graph [54]) for all 16 two-qubit Pauli strings. An edge appears when two Pauli strings commute. The blue edges indicate Pauli strings that commute under QWC (which is a subset of GC). The red edges commute under GC-but-not-QWC.CC-BY · From the PDF
FIGURE 4 Top commutation graph shows both QWC (blue) and GC-but-not-QWC commuting (red) relationships between the Pauli string's in LiH's Hamiltonian. The vertex colors in the bottom two graphs indicate MIN-CLIQUE-COVERs using only QWC edges (left) or using all edges (right). The reduction in measurement partitions from Naive (measuring each Pauli string separately) to QWC to GC is 14 → 5 → 2.
FIGURE 4 Top commutation graph shows both QWC (blue) and GC-but-not-QWC commuting (red) relationships between the Pauli string's in LiH's Hamiltonian. The vertex colors in the bottom two graphs indicate MIN-CLIQUE-COVERs using only QWC edges (left) or using all edges (right). The reduction in measurement partitions from Naive (measuring each Pauli string separately) to QWC to GC is 14 → 5 → 2.CC-BY · From the PDF
FIGURE 5 Instance of MIN-CLIQUE-COVER (top) and MIN-COMMUTING-PARTITION (bottom).
FIGURE 5 Instance of MIN-CLIQUE-COVER (top) and MIN-COMMUTING-PARTITION (bottom).CC-BY · From the PDF
Image 8
CC-BY · From the PDF
FIGURE 6 16 relevant Pauli strings in the Jordan-Wigner encoding of a † p a † q aras have a MIN-CLIQUE-COVER of size 2.
FIGURE 6 16 relevant Pauli strings in the Jordan-Wigner encoding of a † p a † q aras have a MIN-CLIQUE-COVER of size 2.CC-BY · From the PDF
Image 10
CC-BY · From the PDF
FIGURE 7 Similar to the Jordan-Wigner case, the 16 relevant Pauli strings in the parity encoding of a † p a † q aras have a MIN-CLIQUE-COVER of size 2.
FIGURE 7 Similar to the Jordan-Wigner case, the 16 relevant Pauli strings in the parity encoding of a † p a † q aras have a MIN-CLIQUE-COVER of size 2.CC-BY · From the PDF
Image 12
CC-BY · From the PDF
FIGURE 8 Pictorial representation of the Jordan-Wigner encoding of a † p a † q aras . Repeating Z s span the blue rectangles between p and q and between r and s . The other three ranges have repeating I s. At indices p , q , r , and s , which are denoted by the black vertical bars between the blue and white rectangles, we can have either X or Y . Thus, there are 2 4 = 16 Pauli strings involved in the Jordan-Wigner encoding.
FIGURE 8 Pictorial representation of the Jordan-Wigner encoding of a † p a † q aras . Repeating Z s span the blue rectangles between p and q and between r and s . The other three ranges have repeating I s. At indices p , q , r , and s , which are denoted by the black vertical bars between the blue and white rectangles, we can have either X or Y . Thus, there are 2 4 = 16 Pauli strings involved in the Jordan-Wigner encoding.CC-BY · From the PDF
FIGURE 9 Pictorial representation of the commutation on each index between two { a † a † aa } JW rectangles. All indices commute except possibly the eight indices with black bars-these indices anticommute when the black bar ( X or Y ) is vertically aligned with a blue rectangle Z . In this example, there are an even (4) number of anticommuting terms, so the two patterns commute.
FIGURE 9 Pictorial representation of the commutation on each index between two { a † a † aa } JW rectangles. All indices commute except possibly the eight indices with black bars-these indices anticommute when the black bar ( X or Y ) is vertically aligned with a blue rectangle Z . In this example, there are an even (4) number of anticommuting terms, so the two patterns commute.CC-BY · From the PDF
FIGURE 10 Four representative examples illustrating why { a † p a † q aras } JW and { a † i a † j ak a l } JW terms always commute (have an even number of anticommuting indices) when { p , q , r , s } ∩ { i , j , k , l } = ∅ . At the top, no black bars align with blue rectangles, so there are 0 anticommuting indices. Below, r > i > s > j , so there are two anticommuting indices: i and s . Below that, observe that sliding the i endpoint into the interval between q and r does not change the parity of the number of anticommuting indices. The bottom example shows a case with the maximal number of anticommuting indices, i.e., 6.
FIGURE 10 Four representative examples illustrating why { a † p a † q aras } JW and { a † i a † j ak a l } JW terms always commute (have an even number of anticommuting indices) when { p , q , r , s } ∩ { i , j , k , l } = ∅ . At the top, no black bars align with blue rectangles, so there are 0 anticommuting indices. Below, r > i > s > j , so there are two anticommuting indices: i and s . Below that, observe that sliding the i endpoint into the interval between q and r does not change the parity of the number of anticommuting indices. The bottom example shows a case with the maximal number of anticommuting indices, i.e., 6.CC-BY · From the PDF
Image 16
CC-BY · From the PDF
FIGURE 11 Bell basis measurement circuit that simultaneously measures XX , YY , and ZZ on the | ψ 〉 state. After application of these two gates, the measurements of the top and bottom qubits correspond to outcomes for XX and ZZ , respectively. The YY outcome is obtained from YY = -( XX )( ZZ ).
FIGURE 11 Bell basis measurement circuit that simultaneously measures XX , YY , and ZZ on the | ψ 〉 state. After application of these two gates, the measurements of the top and bottom qubits correspond to outcomes for XX and ZZ , respectively. The YY outcome is obtained from YY = -( XX )( ZZ ).CC-BY · From the PDF
FIGURE 12 Simultaneous measurement circuit generated by our software for the green 8-clique in Fig. 6. It transforms the measurements of XXXX , XXYY , XYXY , YXXY (which is a basis for the Pauli strings in the green eight-clique) to measurements of ZIII , IZII , IIZI , IIIZ .
FIGURE 12 Simultaneous measurement circuit generated by our software for the green 8-clique in Fig. 6. It transforms the measurements of XXXX , XXYY , XYXY , YXXY (which is a basis for the Pauli strings in the green eight-clique) to measurements of ZIII , IZII , IIZI , IIIZ .CC-BY · From the PDF
Image 19
CC-BY · From the PDF
FIGURE 13 Number of QWC and GC partitions (which we are attempting to minimize ) generated by Bron-Kerbosch for four representative molecules. AS# indicates the number of active spaces for the molecular Hamiltonian.
FIGURE 13 Number of QWC and GC partitions (which we are attempting to minimize ) generated by Bron-Kerbosch for four representative molecules. AS# indicates the number of active spaces for the molecular Hamiltonian.CC-BY · From the PDF
FIGURE 14 Number of QWC and GC partitions generated by Bron-Kerbosch for the H2 molecule, under different fermion-to-qubit encodings.
FIGURE 14 Number of QWC and GC partitions generated by Bron-Kerbosch for the H2 molecule, under different fermion-to-qubit encodings.CC-BY · From the PDF
FIGURE 15 Number of QWC and GC partitions generated by Bron-Kerbosch for the H2 molecule, under different numbers of active spaces.
FIGURE 15 Number of QWC and GC partitions generated by Bron-Kerbosch for the H2 molecule, under different numbers of active spaces.CC-BY · From the PDF
FIGURE 16 Number of partitions found for each algorithm-benchmark pair. Under Naive measurement, the number of partitions would exactly equal the Hamiltonian size (number of Pauli strings). Thus, these techniques all achieve a 4-20 × reduction in state preparations and measurements relative to the Naive strategy.
FIGURE 16 Number of partitions found for each algorithm-benchmark pair. Under Naive measurement, the number of partitions would exactly equal the Hamiltonian size (number of Pauli strings). Thus, these techniques all achieve a 4-20 × reduction in state preparations and measurements relative to the Naive strategy.CC-BY · From the PDF
Image 24
CC-BY · From the PDF
FIGURE 18 Classical computer runtimes for each partitioning algorithm + benchmark pair. Bron-Kerbosch has exponential and Boppana-Halldósson has quadratic runtime scaling. This partitioning step runs as a compilation procedure before the actual quantum invocations of VQE.
FIGURE 18 Classical computer runtimes for each partitioning algorithm + benchmark pair. Bron-Kerbosch has exponential and Boppana-Halldósson has quadratic runtime scaling. This partitioning step runs as a compilation procedure before the actual quantum invocations of VQE.CC-BY · From the PDF
FIGURE 19 Zoom-in of Fig. 18 for Hamiltonian sizes up to 630 terms.
FIGURE 19 Zoom-in of Fig. 18 for Hamiltonian sizes up to 630 terms.CC-BY · From the PDF
FIGURE 20 Deuteron energy estimation under Naive and GC partitions, as executed on IBM Q20 with a low total shot budget of 100. The energies are in MeV. Average error is 11% lower with GC simultaneous measurement than with Naive separate measurements.
FIGURE 20 Deuteron energy estimation under Naive and GC partitions, as executed on IBM Q20 with a low total shot budget of 100. The energies are in MeV. Average error is 11% lower with GC simultaneous measurement than with Naive separate measurements.CC-BY · From the PDF
Image 28
CC-BY · From the PDF
FIGURE 21 Deuteron energy estimation under Naive and GC partitions, as executed on IBM Q20 with a total shot budget of 4000. The energies are in MeV. Average error is 7% lower with Naive separate measurements than with GC simultaneous measurements.
FIGURE 21 Deuteron energy estimation under Naive and GC partitions, as executed on IBM Q20 with a total shot budget of 4000. The energies are in MeV. Average error is 7% lower with Naive separate measurements than with GC simultaneous measurements.CC-BY · From the PDF
FIGURE 22 Commuting-family partitions of H = IZ + ZI -XX -YY + ZZ with k = 2 and k = 3.
FIGURE 22 Commuting-family partitions of H = IZ + ZI -XX -YY + ZZ with k = 2 and k = 3.CC-BY · From the PDF
Image 31
CC-BY · From the PDF
FIGURE 23 Convergence of the empirical difference, ̂ Var( k = 2) -̂ Var( k = 3), to the true difference in variances under | 01 〉 . Since Var( k = 2) -Var( k = 3) is positive, this signals that the k = 3 partitioning will lead to a lower variance estimator.
FIGURE 23 Convergence of the empirical difference, ̂ Var( k = 2) -̂ Var( k = 3), to the true difference in variances under | 01 〉 . Since Var( k = 2) -Var( k = 3) is positive, this signals that the k = 3 partitioning will lead to a lower variance estimator.CC-BY · From the PDF
Image 33
CC-BY · From the PDF
FIGURE 24 Empirical difference in ̂ Var( k = 2) -̂ Var( k = 3) across ten Haar-randomly-chosen states. While the convergence value differs across states, it is negative in all ten cases. This contrasts with the atypical case of convergence to a positive value in the example of Fig. 23 under state | 01 〉 .
FIGURE 24 Empirical difference in ̂ Var( k = 2) -̂ Var( k = 3) across ten Haar-randomly-chosen states. While the convergence value differs across states, it is negative in all ten cases. This contrasts with the atypical case of convergence to a positive value in the example of Fig. 23 under state | 01 〉 .CC-BY · From the PDF

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 91 references

Research works printed but not linked: 3

  1. Z. Baranyai, "On the factorization of the complete uniform hypergraphs," in Infinite and Finite Sets, A. Hanaj, R. Rado, and V. T. Sós, Eds., Colloq. Math. Soc. Janos Bolyai, 1974, pp. 91-108.
  2. N. Deo and P. Micikevicius, "On one-factorization of complete 3-uniform hypergraphs," Congressus Numerantium, vol. 158, pp. 153-162, 2002.
  3. B. Moseley, M. Osborne, and S. Benjamin, "Bayesian optimisation for variational quantum eigensolvers," Quantum, vol. 3, pp. 4-5, 2018.

Cited by

Items 101–105 of 105

Metadata

Authors
Gokhale, P., Angiuli, O., Ding, Y., Gui, K., Tomesh, T., Suchara, M., Martonosi, M., & Chong, F. T.
Affiliations
  • University of Chicago (US)
  • University of California, Berkeley (US)
  • Princeton University (US)
  • Argonne National Laboratory (US)
Venue
IEEE Transactions on Quantum Engineering
Published
2020
Volume
1
Pages
1-24
ISSN
2689-1808 (ISSN-L)
OpenAlex
W2971147839
Cited by
104
References
89
Citations by year
2026: 9 · 2025: 18 · 2024: 19 · 2023: 13 · 2022: 21 · 2021: 17 · 2020: 7
FWCI
5.70
Type
journal article
Language
en
Open access
Locations
  • IEEE Transactions on Quantum Engineering (publishedVersion, cc-by)
  • arXiv (Cornell University) (submittedVersion)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
  • OSTI OAI (U.S. Department of Energy Office of Scientific and Technical Information) (submittedVersion)
  • arXiv (Cornell University)
Funders
  • National Science Foundation (CCF-1730449/1730082)
  • STAQ (Phy-1818914)
  • U.S. Department of Energy (DE-AC02-06CH11357)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Quantum Computing Algorithms and Architecture
  • Physical Sciences › Physics and Astronomy › Atomic and Molecular Physics, and Optics › Quantum many-body systems
  • Physical Sciences › Physics and Astronomy › Atomic and Molecular Physics, and Optics › Quantum Mechanics and Applications
Keywords
variational quantum eigensolver, measurement cost, fermionic Hamiltonians, round robin scheduling, flow networks, simultaneous measurement, ground state energy estimation, deuteron, molecular Hamiltonian, quantum circuit construction

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.