Hardware-tailored diagonalization circuits

Daniel Miller, Laurin E. Fischer, Kyano Levi, Eric J. Kuehnke, Igor O. Sokolov, Panagiotis Kl. Barkoutsos, Jens Eisert, Ivano Tavernelli

Abstract: A central building block of many quantum algorithms is the diagonalization of Pauli operators. Although it is always possible to construct a quantum circuit that simultaneously diagonalizes a given set of commuting Pauli operators, only resource-efficient circuits can be executed reliably on near-term quantum computers. Generic diagonalization circuits, in contrast, often lead to an unaffordable SWAP gate overhead on quantum devices with limited hardware connectivity. A common alternative is to exclude two-qubit gates altogether. However, this comes at the severe cost of restricting the class of diagonalizable sets of Pauli operators to tensor product bases (TPBs). In this article, we introduce a theoretical framework for constructing hardware-tailored (HT) diagonalization circuits. Our framework establishes a systematic and highly flexible procedure for tailoring diagonalization circuits with ultra-low gate counts. We highlight promising use cases of our framework and - as a proof-of-principle application - we devise an efficient algorithm for grouping the Pauli operators of a given Hamiltonian into jointly-HT-diagonalizable sets. For several classes of Hamiltonians, we observe that our approach requires fewer measurements than conventional TPB approaches. Finally, we experimentally demonstrate that HT circuits can improve the efficiency of estimating expectation values with cloud-based quantum computers.

Introduction

In the Noisy Intermediate-Scale Quantum (NISQ) era, minimizing gate counts is essential for algorithm reliability. A significant bottleneck in practical applications, such as the Variational Quantum Eigensolver (VQE), is the high number of measurements required to estimate the expectation value of molecular Hamiltonians. Standard techniques often force a choice between hardware-friendly but inefficient Tensor Product Basis (TPB) methods and powerful but hardware-prohibitive General Commuting (GC) circuits. This paper introduces a "middle way": Hardware-Tailored (HT) diagonalization circuits that reduce measurement overhead by respecting the unique connectivity of the quantum processor.

The Diagonalization Bottleneck

To calculate molecular energy, a Hamiltonian is represented as a sum of Pauli operators. Measuring these individually is prohibitively slow. Efficiency is gained by grouping commuting operators for simultaneous measurement.

Traditionally, researchers face two extremes:

  1. Tensor Product Basis (TPB): Uses only single-qubit gates. While hardware-friendly, it results in many small groups, requiring a high number of total measurements ("shots").
  2. General Commuting (GC): Groups many operators but requires complex circuits with high SWAP gate overhead to navigate limited hardware connectivity, often introducing too much noise for current devices.

Hardware-Tailored (HT) Framework

The proposed framework utilizes a two-step diagonalization procedure designed to bridge this gap. As illustrated in Figure 1, the process involves a layer of single-qubit Clifford rotations followed by a graph-based layer of two-qubit CZ gates.

The two-step HT diagonalization process: single-qubit rotations followed by a hardware-compatible graph-state circuit.

The "Hardware-Tailored" constraint ensures that CZ gates are only applied between physically connected qubits. To solve for these circuits, the authors developed a suite of solvers, including an Algebraic Solver that interprets the problem as finding intersections of affine subspaces in a high-dimensional binary field.

Key Results and Experimental Validation

The framework was evaluated on molecular Hamiltonians (e.g., linear hydrogen chains) and random systems. Key findings include:

  • Efficiency Gains: For an 8-qubit hydrogen chain, the HT approach reduced the number of required readout circuits from 35 (TPB) to just 10.
  • Scaling: The restricted algebraic solver successfully identified efficient circuits for systems as large as 120 qubits, where brute-force methods fail.
  • Experimental Performance: Testing on the ibm_washington processor confirmed that HT circuits outperform TPB in the "low-shot" regime, which is critical for practical NISQ applications.
Experimental data (dark) vs. simulation (bright) showing HT circuits (green) achieving lower error with fewer shots than TPB (blue).

Furthermore, the research demonstrated that groupings found for a specific molecular geometry remain effective even as parameters change (e.g., bond length variations), allowing for "grouping reuse" and avoiding expensive classical re-optimization during VQE simulations.

Conclusion

HT circuits provide a "sweet spot" for NISQ devices, offering significant shot reduction while maintaining constant circuit depth. While performance remains bounded by physical chip layout, this framework provides a systematic path toward more efficient quantum simulations. Future work may integrate these circuits with classical shadows or apply them to quantum error correction and Hamiltonian time simulation.

Summary updated

BibTeX
@inproceedings{miller2024hardware,
  author = {Daniel Miller and Laurin E. Fischer and Kyano Levi and Eric J. Kuehnke and Igor O. Sokolov and Panagiotis Kl. Barkoutsos and Jens Eisert and Ivano Tavernelli},
  title = {{Hardware-tailored diagonalization circuits}},
  booktitle = {Npj},
  year = {2024},
  doi = {10.1038/s41534-024-00901-1},
}
Figure