Table of Contents
Fetching ...

Spacetime-Efficient Low-Depth Quantum State Preparation with Applications

Kaiwen Gui, Alexander M. Dalzell, Alessandro Achille, Martin Suchara, Frederic T. Chong

TL;DR

The paper introduces SP+CSP, a deterministic, garbage-free quantum state-preparation method that achieves logarithmic depth and linear spacetime usage when compiled to U(2) and CNOT gates, with near-optimal performance in the H,S,T,CNOT discrete gate set. By partitioning the amplitude encoding into an SP stage followed by a CSP stage, it attains depth Θ(n) with spacetime Θ(2^n) in the exact sense, while enabling SA as low as Θ(2^n) for practical, approximate gate sets. A key innovation is the LOADF, SPF, and FLAG subroutines, which allow efficient parallel angle injection and disentanglement, dramatically reducing the effective ancilla footprint over time and enabling rapid repetition and batching of state preparation. The framework supports preparing multiple copies of independent states with a shared ancilla pool, achieving near-constant per-state depth in multi-copy regimes and enabling applications in quantum machine learning, Hamiltonian simulation via LCU, and quantum linear system solvers with block-encodings. The authors provide gate-level circuit descriptions, pseudocode, Braket implementations, and public-code resources to facilitate adoption and benchmarking across fault-tolerant and near-term architectures.

Abstract

We propose a novel deterministic method for preparing arbitrary quantum states. When our protocol is compiled into CNOT and arbitrary single-qubit gates, it prepares an $N$-dimensional state in depth $O(\log(N))$ and spacetime allocation (a metric that accounts for the fact that oftentimes some ancilla qubits need not be active for the entire circuit) $O(N)$, which are both optimal. When compiled into the $\{\mathrm{H,S,T,CNOT}\}$ gate set, we show that it requires asymptotically fewer quantum resources than previous methods. Specifically, it prepares an arbitrary state up to error $ε$ with optimal depth of $O(\log(N) + \log (1/ε))$ and spacetime allocation $O(N\log(\log(N)/ε))$, improving over $O(\log(N)\log(\log (N)/ε))$ and $O(N\log(N/ε))$, respectively. We illustrate how the reduced spacetime allocation of our protocol enables rapid preparation of many disjoint states with only constant-factor ancilla overhead -- $O(N)$ ancilla qubits are reused efficiently to prepare a product state of $w$ $N$-dimensional states in depth $O(w + \log(N))$ rather than $O(w\log(N))$, achieving effectively constant depth per state. We highlight several applications where this ability would be useful, including quantum machine learning, Hamiltonian simulation, and solving linear systems of equations. We provide quantum circuit descriptions of our protocol, detailed pseudocode, and gate-level implementation examples using Braket.

Spacetime-Efficient Low-Depth Quantum State Preparation with Applications

TL;DR

The paper introduces SP+CSP, a deterministic, garbage-free quantum state-preparation method that achieves logarithmic depth and linear spacetime usage when compiled to U(2) and CNOT gates, with near-optimal performance in the H,S,T,CNOT discrete gate set. By partitioning the amplitude encoding into an SP stage followed by a CSP stage, it attains depth Θ(n) with spacetime Θ(2^n) in the exact sense, while enabling SA as low as Θ(2^n) for practical, approximate gate sets. A key innovation is the LOADF, SPF, and FLAG subroutines, which allow efficient parallel angle injection and disentanglement, dramatically reducing the effective ancilla footprint over time and enabling rapid repetition and batching of state preparation. The framework supports preparing multiple copies of independent states with a shared ancilla pool, achieving near-constant per-state depth in multi-copy regimes and enabling applications in quantum machine learning, Hamiltonian simulation via LCU, and quantum linear system solvers with block-encodings. The authors provide gate-level circuit descriptions, pseudocode, Braket implementations, and public-code resources to facilitate adoption and benchmarking across fault-tolerant and near-term architectures.

Abstract

We propose a novel deterministic method for preparing arbitrary quantum states. When our protocol is compiled into CNOT and arbitrary single-qubit gates, it prepares an -dimensional state in depth and spacetime allocation (a metric that accounts for the fact that oftentimes some ancilla qubits need not be active for the entire circuit) , which are both optimal. When compiled into the gate set, we show that it requires asymptotically fewer quantum resources than previous methods. Specifically, it prepares an arbitrary state up to error with optimal depth of and spacetime allocation , improving over and , respectively. We illustrate how the reduced spacetime allocation of our protocol enables rapid preparation of many disjoint states with only constant-factor ancilla overhead -- ancilla qubits are reused efficiently to prepare a product state of -dimensional states in depth rather than , achieving effectively constant depth per state. We highlight several applications where this ability would be useful, including quantum machine learning, Hamiltonian simulation, and solving linear systems of equations. We provide quantum circuit descriptions of our protocol, detailed pseudocode, and gate-level implementation examples using Braket.
Paper Structure (32 sections, 7 theorems, 43 equations, 21 figures, 3 tables, 8 algorithms)

This paper contains 32 sections, 7 theorems, 43 equations, 21 figures, 3 tables, 8 algorithms.

Key Result

Lemma 2.1

If a quantum circuit has circuit size $\mathrm{C}$, its spacetime allocation must be at least $\mathrm{C}$.

Figures (21)

  • Figure 1: Illustration of spacetime allocation in our state preparation method (SP+CSP) vs. previous methods. Green regions correspond to spacetime allocated for arbitrary single-qubit rotations. Orange regions correspond to spacetime allocated to qubits that are active (i.e., not in $\ket{0}$) without single-qubit rotations; they might experience, e.g., CNOT or Toffoli gates or might be idling while entangled with other qubits. In our method, the spacetime allocation is asymptotically smaller than the product of qubit count and depth.
  • Figure 2: SWAP Gate Decomposition Using CNOT
  • Figure 3: Toffoli (CCNOT) Gate Decomposition Using H, T, CNOT shende2008cnot
  • Figure 4: Fredkin (CSWAP) Gate Decomposition Using CNOT, Toffoli smolin1996five
  • Figure 5: Controlled Rotation Gates (C$\mathrm{R}_y$ and CC$\mathrm{R}_y$) Decomposition Using $\mathrm{R}_y$, CNOT, Toffoli
  • ...and 16 more figures

Theorems & Definitions (9)

  • Lemma 2.1
  • Lemma 2.2: Section II of plesch2012quantum
  • Corollary 2.2.1
  • Lemma 2.3
  • proof
  • Corollary 2.3.1
  • Lemma 2.4: Theorem 3 of sun2023asymptotically
  • Lemma 2.5
  • proof