[Paper Review] Generalized swap networks for near-term quantum computing
The paper introduces generalized swap networks to routier quantum circuits on linearly connected qubits, achieving optimal O(n^{k-1}) depth for routing all k-qubit gates among n logical qubits, with applications to QAOA and fermionic Hamiltonian simulation.
The practical use of many types of near-term quantum computers requires accounting for their limited connectivity. One way of overcoming limited connectivity is to insert swaps in the circuit so that logical operations can be performed on physically adjacent qubits, which we refer to as solving the `routing via matchings' problem. We address the routing problem for families of quantum circuits defined by a hypergraph wherein each hyperedge corresponds to a potential gate. Our main result is that any unordered set of $k$-qubit gates on distinct $k$-qubit subsets of $n$ logical qubits can be ordered and parallelized in $O(n^{k-1})$ depth using a linear arrangement of $n$ physical qubits; the construction is completely general and achieves optimal scaling in the case where gates acting on all $\binom{n}{k}$ sets of $k$ qubits are desired. We highlight two classes of problems for which our method is particularly useful. First, it applies to sets of mutually commuting gates, as in the (diagonal) phase separators of Quantum Alternating Operator Ansatz (Quantum Approximate Optimization Algorithm) circuits. For example, a single level of a QAOA circuit for Maximum Cut can be implemented in linear depth, and a single level for $3$-SAT in quadratic depth. Second, it applies to sets of gates that do not commute but for which compilation efficiency is the dominant criterion in their ordering. In particular, it can be adapted to Trotterized time-evolution of fermionic Hamiltonians under the Jordan-Wigner transformation, and also to non-standard mixers in QAOA. Using our method, a single Trotter step of the electronic structure Hamiltonian in an arbitrary basis of $n$ orbitals can be done in $O(n^3)$ depth while a Trotter step of the unitary coupled cluster singles and doubles method can be implemented in $O(n^2 η)$ depth, where $η$ is the number of electrons.
Motivation & Objective
- Address limited hardware connectivity in near-term quantum devices.
- Develop instance- and problem-family-agnostic routing methods for k-qubit gates.
- Achieve depth-optimal routing for complete k-qubit gate sets on n qubits using swap networks.
Proposed method
- Model hardware as a line of n qubits with the ability to implement any k-qubit gate on adjacent qubits in time τ_k.
- Define and construct k-complete swap networks via recursive use of complete P-swap networks to acquaint every set of k qubits.
- Generalize swap networks to (k1,k2)-swap gates and partition-based swapping to reduce depth and gate counts.
- Prove that routing a complete set of k-qubit gates can be done in depth O(n^{k-1}) using linear connectivity.
- Apply the framework to fermionic Hamiltonians (Trotter steps) and QAOA (k-CSP and UCC variants).
- Provide constructions that yield, for example, O(n^{3}) depth for Trotter steps and O(n^{2}η) depth for UCCSD steps (η = number of electrons).
Experimental results
Research questions
- RQ1How can one systematically route a complete set of k-qubit gates on n qubits with limited (linear) connectivity?
- RQ2What depth scaling is achievable for routing k-qubit gates in generic and structured problem families (e.g., fermionic Hamiltonians and QAOA)?
- RQ3Can swap networks be extended to general k-qubit gates while preserving optimal depth scaling?
- RQ4How do these routing schemes impact practical quantum chemistry simulations and QAOA implementations on near-term devices?
Key findings
- Any unordered set of k-qubit gates on distinct k-qubit subsets of n logical qubits can be ordered and parallelized in O(n^{k-1}) depth on a linear qubit layout.
- The method achieves optimal scaling in the case where gates acting on all binomial(n,k) sets are desired.
- For fermionic Hamiltonians, a single Trotter step can be done in O(n^{3}) depth (arbitrary basis).
- For UCCGSD, a Trotter step can be implemented in O(n^{2}η) depth, with η the number of electrons.
- A single level of QAOA for Maximum Cut can be implemented in linear depth; a single level for 3-SAT can be done in quadratic depth.
- The framework provides instance-independent constructions and tools to lower-bound routing depth via acquaintance time and graph minor arguments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.