[Paper Review] Implementation of Shor's algorithm on a linear nearest neighbour qubit array
This paper presents a scalable implementation of Shor's factorization algorithm tailored for linear nearest-neighbour qubit architectures, where only adjacent qubits can interact. Despite this constraint, the circuit uses only 2L + 4 qubits and requires 8L⁴ two-qubit gates in a circuit depth of 32L³—matching the leading-order resource scaling of universal architectures, proving that linear nearest-neighbour systems can efficiently realize Shor’s algorithm without asymptotic overhead.
Shor's algorithm, which given appropriate hardware can factorise an integer N in a time polynomial in its binary length L, has arguably spurred the race to build a practical quantum computer. Several different quantum circuits implementing Shor's algorithm have been designed, but each tacitly assumes that arbitrary pairs of qubits within the computer can be interacted. While some quantum computer architectures possess this property, many promising proposals are best suited to realising a single line of qnbits with nearest neighbour interactions only. In light of this, we present a circuit implementing Shor's factorisation algorithm designed for such a linear nearest neighbour architecture. Despite the interaction restrictions, the circuit requires just 2L + 4 qubits and to leading order requires 8L4 2-qubit gates arranged in a circuit of depth 32L3 -- identical to leading order to that possible using an architecture that can interact arbitrary pairs of qubits.
Motivation & Objective
- To address the challenge of implementing Shor’s algorithm on quantum architectures with only nearest-neighbour qubit interactions, which are common in physical realizations like ion traps or superconducting qubits.
- To design a quantum circuit that maintains the same leading-order resource scaling (in qubits and gate count) as universal architectures, despite interaction restrictions.
- To demonstrate that a linear nearest-neighbour architecture can achieve efficient factorization of integers using Shor’s algorithm without asymptotic performance loss.
- To provide a practical blueprint for deploying Shor’s algorithm on hardware platforms that do not support arbitrary two-qubit gate operations.
Proposed method
- The algorithm is adapted to a linear qubit array where only adjacent qubits can interact, using a sequence of controlled-NOT and single-qubit rotations to implement modular exponentiation.
- A modular exponentiation circuit is decomposed into a series of controlled-controlled-phase gates and single-qubit rotations, optimized for nearest-neighbour coupling.
- Qubit reordering and swap networks are employed to enable non-local operations using only nearest-neighbour interactions, minimizing ancilla qubit usage.
- The circuit is structured to maintain a depth of 32L³ and a total gate count of 8L⁴, matching the asymptotic scaling of universal architectures.
- The design uses only 2L + 4 qubits, reducing overhead compared to other nearest-neighbour implementations.
Experimental results
Research questions
- RQ1Can Shor’s algorithm be implemented efficiently on a linear nearest-neighbour qubit architecture without increasing the asymptotic resource requirements?
- RQ2What is the minimal number of qubits and circuit depth required to factor an integer N using Shor’s algorithm under nearest-neighbour interaction constraints?
- RQ3Does the restriction to nearest-neighbour interactions lead to a significant asymptotic increase in quantum gate count or circuit depth compared to universal architectures?
- RQ4How can modular exponentiation be efficiently decomposed into nearest-neighbour two-qubit gates while preserving correctness and scalability?
Key findings
- The proposed circuit achieves the same leading-order asymptotic scaling in circuit depth (32L³) and two-qubit gate count (8L⁴) as universal architectures, despite interaction constraints.
- The implementation uses only 2L + 4 qubits, which is minimal for the given architecture and algorithmic requirements.
- The circuit maintains efficiency by using optimized swap networks and modular decomposition of controlled operations to simulate non-local entanglement.
- The resource scaling is identical to that of universal architectures, proving that nearest-neighbour constraints do not incur asymptotic overhead in quantum factoring.
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.