Search arXivSearch

arXiv · 2009.02376

Verifying Results of the IBM Qiskit Quantum Circuit Compilation Flow

Abstract

Realizing a conceptual quantum algorithm on an actual physical device necessitates the algorithm's quantum circuit description to undergo certain transformations in order to adhere to all constraints imposed by the hardware. In this regard, the individual high-level circuit components are first synthesized to the supported low-level gate-set of the quantum computer, before being mapped to the target's architecture---utilizing several optimizations in order to improve the compilation result. Specialized tools for this complex task exist, e.g., IBM's Qiskit, Google's Cirq, Microsoft's QDK, or Rigetti's Forest. However, to date, the circuits resulting from these tools are hardly verified, which is mainly due to the immense complexity of checking if two quantum circuits indeed realize the same functionality. In this paper, we propose an efficient scheme for quantum circuit equivalence checking---specialized for verifying results of the IBM Qiskit quantum circuit compilation flow. To this end, we combine characteristics unique to quantum computing, e.g., its inherent reversibility, and certain knowledge about the compilation flow into a dedicated equivalence checking strategy. Experimental evaluations confirm that the proposed scheme allows to verify even large circuit instances with tens of thousands of operations within seconds or even less, whereas state-of-the-art techniques frequently time-out or require substantially more runtime. A corresponding open source implementation of the proposed method is publicly available at https://github.com/iic-jku/qcec.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Lukas Burgholzer, Rudy Raymond, Robert Wille. 2020-09-04. Verifying Results of the IBM Qiskit Quantum Circuit Compilation Flow. https://doi.org/10.1109/qce49297.2020.00051

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Roles of the Internal Coupling: From Equilibrium to Non-Equilibrium Dynamics

We identify the precise thermodynamic roles of internal coupling in quantum thermal machines by analyzing the quantum Otto cycle across thermalized Gibbs-state limit cycles (GSLC) and finite-time non-equilibrating limit cycles (NELC). By systematically comparing the internally coupled system with standard and dressed-spectrum models, we resolve previous misconceptions regarding the physical origins of performance variations. First, we establish that the internally coupled system outperforms the standard system solely due to the Hamiltonian spectrum update, which intrinsically broadens the operating regimes. Second, we reveal that time-dependent efficiency and coefficient of performance (COP) are not caused by general quantum coherence, but specifically by eigenbasis mismatch arising from the non-commutativity of Hamiltonians across different strokes. The mismatch acts as quantum internal friction, reducing efficiency and COP and generating dissipative thermal modes. This results in the power-efficiency trade-off law, which we should find in realistic engines. However, we would not find the trade-off law when coherence exists but the eigenbasis mismatch does not exist, because there would be no friction, and hence the efficiency and COP would remain completely time-independent. Third, we isolate the distinct impact of coherence on power output. Validated by the global approach of the GKSL master equation, we demonstrate that coherence inherently reduces power by suppressing kinetic thermalization rates, regardless of eigenbasis mismatch.

quant-ph

Active quantum matter from monitored pure-state dynamics

Quantum many-body systems coupled to out-of-equilibrium reservoirs can behave as active matter and exhibit signs of flocking. However, the resulting steady states are highly mixed and carry only weak quantum signatures. We show that signatures of active matter also arise in ensembles of pure states undergoing monitored quantum dynamics. We consider a spinful Luttinger liquid subject to measurement processes that shuffle spin-up particles to the left and spin-down particles to the right. For weak monitoring strengths and ferromagnetic spin interactions, we find power-law quantum correlations between spin density and charge current, which we identify as a hallmark of active quantum matter. The monitoring plays a dual role, generating the quantum active correlations for weak strengths while driving a Berezinskii-Kosterlitz-Thouless (BKT) phase transition to a shortrange correlated state at larger strengths.

quant-ph

$\mathcal{O}(n)$ alternative to Quantum Fourier Transform with efficient neural net classical post-processing

The Quantum Fourier Transform (QFT) is employed by hidden subgroup problem (HSP) algorithms, including Shor's algorithm for factoring. The circuit depth of the QFT remains challenging for near-term hardware. To find shallower alternatives we identify two properties that are exploited by the QFT to enable HSP. Firstly, the shift invariance of the QFT allows for the removal of a random overall shift. Secondly, the QFT retains information about the hidden subgroup generator accessible in the measurement outcomes. We quantify that information via the discrete Fisher information. We construct a family of shallow circuits using Hadamards and controlled-Phase gates, HP-$L$ circuits, that we prove preserve shift invariance. Numerical analysis shows these circuits retain exponentially growing Fisher information. The $\mathcal{O}(n)$ HP-$1$ is employed in place of the $\mathcal{O}(n^2)$ QFT in our numerical implementation of Shor's algorithm. An efficient neural network is used for the corresponding classical post-processing.

quant-ph