Skip to main content
QUICK REVIEW

[Paper Review] Quantum compilation and circuit optimisation via energy dissipation

Tyson Jones, Simon C. Benjamin|arXiv (Cornell University)|Nov 7, 2018
Quantum Computing Algorithms and ArchitectureComputer Science27 references27 citations
TL;DR

This paper presents a quantum compilation method that recompiles a circuit into a target template using energy minimization via an imaginary-time variational principle, enabling circuit optimization with reduced two-qubit gate count and simplified gate families. It achieves approximate recompilation even for shallow templates and demonstrates scaling up to 20 qubits with adaptive timesteps.

ABSTRACT

We describe a method for automatically recompiling a quantum circuit A into a target circuit B, with the goal that both circuits have the same action on a specific input i.e. A|in> = B|in>. This is of particular relevance to hybrid, NISQ-era algorithms for dynamical simulation or eigensolving. The user initially specifies B as a blank template: a layout of parameterised unitary gates configured to the identity. The compilation then proceeds using quantum hardware to perform an isomorphic energy-minimisation task, and optionally a gate elimination phase to compress the circuit. We use a recently introduced imaginary-time technique derived from McLachlan's variational principle. If the template for B is too shallow for perfect recompilation then the method will result in an approximate solution. As a demonstration we successfully recompile a 7-qubit circuit involving 186 gates of multiple types into an alternative form with a different topology, a far lower two-qubit gate count, and a smaller family of gate types. We test the scaling of our algorithm on up to 20 qubits, recompiling into circuits with up to 400 parameterized gates, and incorporate a novel adaptive timestep technique. We note that a classical simulation of the process can be useful to optimise circuits for today's prototypes, and more generally the method may enable `blind' compilation i.e. harnessing a device whose response to control parameters is deterministic but unknown.

Motivation & Objective

  • To enable automatic recompilation of quantum circuits into a target template while preserving unitary action on a specific input state.
  • To address the challenge of optimizing quantum circuits for NISQ-era hybrid algorithms such as dynamical simulation and eigensolving.
  • To develop a method that works even when the target template is too shallow for perfect recompilation, yielding approximate but useful solutions.
  • To reduce circuit depth and two-qubit gate count through gate elimination and topology reconfiguration.
  • To support 'blind' compilation by leveraging hardware responses without requiring full knowledge of the device's internal dynamics.

Proposed method

  • The method uses a recently developed imaginary-time technique derived from McLachlan's variational principle to perform energy minimization on the quantum hardware.
  • The target circuit is specified as a blank template of parameterized unitary gates initialized to the identity, serving as a recompilation target.
  • The compilation process maps the circuit recompilation task to an isomorphic energy minimization problem on the quantum device.
  • An adaptive timestep technique is introduced to improve convergence and scalability during the optimization process.
  • A post-optimization gate elimination phase is applied to compress the circuit further by removing redundant or negligible gates.
  • Classical simulation of the process is used as a pre-optimization tool for current prototype devices.

Experimental results

Research questions

  • RQ1Can a quantum circuit be automatically recompiled into a different topology while preserving its action on a specific input state?
  • RQ2How effective is the imaginary-time variational method in minimizing energy to achieve circuit recompilation with reduced gate count?
  • RQ3To what extent can circuit optimization be achieved when the target template is too shallow for perfect recompilation?
  • RQ4How does the adaptive timestep technique improve the scalability and convergence of the compilation process on larger circuits?
  • RQ5Can this method enable 'blind' compilation by utilizing only deterministic device responses without full knowledge of the underlying dynamics?

Key findings

  • The method successfully recompiled a 7-qubit circuit with 186 gates of multiple types into an alternative form with a different topology and significantly reduced two-qubit gate count.
  • The optimized circuit used a smaller family of gate types, enhancing compatibility with current NISQ hardware constraints.
  • The algorithm scaled effectively to circuits with up to 20 qubits and up to 400 parameterized gates, demonstrating practical feasibility.
  • The adaptive timestep technique improved convergence and stability during the energy minimization process.
  • When the target template was too shallow for exact recompilation, the method still produced a high-fidelity approximate solution.
  • Classical simulation of the process proved useful for optimizing circuits on current quantum prototype devices.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.