Papers
Topics
Authors
Recent
Search
2000 character limit reached

Repeat-Until-Success (RUS) Circuits

Updated 13 January 2026
  • Repeat-Until-Success circuits are probabilistic quantum structures that use repeated measurement-driven subroutines and classical feedback to realize desired operations in expected finite time.
  • They efficiently reduce quantum resource costs by utilizing ancilla qubits and reversible corrections, outperforming traditional ancilla-free decompositions.
  • Applications include gate synthesis, nonlinear arithmetic, and quantum neural networks, underpinning fault-tolerant and universal quantum computing.

Repeat-Until-Success (RUS) circuits are a class of probabilistic quantum circuit architectures that implement a target operation by sequentially applying a measurement-driven subroutine and utilizing classical feedback to restore or correct the system state on failure. This protocol is repeated until heralded success is signaled by a classical outcome, ensuring that the desired quantum transformation is realized deterministically in expected finite time. RUS circuits are characterized by their efficient utilization of ancilla qubits, measurement, and classical control flow to reduce quantum resource costs, induce non-linear transformations, and enable practical implementations of operations otherwise prohibitively costly or non-deterministic in standard circuit models.

1. Formal Definition and Operational Structure

A Repeat-Until-Success circuit is defined by three core components: an entangling quantum unitary involving the target and one or more ancilla qubits, a projective measurement on the ancillas yielding a classical success/failure flag, and a conditional recovery step that restores the original state in the event of failure. Let a quantum register ("data") be initialized in ψ|\psi\rangle and mm ancillas in 0m|0^m\rangle. The protocol proceeds as follows:

  • A joint unitary AA acts on data+ancillas.
  • The ancillas are measured in a specified basis. On the designated "success" outcome (typically 0m|0^m\rangle), a desired unitary UU is effected on the data; on any other outcome i0i \ne 0, a reversible operator RiR_i is applied, which is known and easily invertible.
  • If failure is detected (i0i \ne 0), the recovery operation Ri1R_i^{-1} is applied and the process repeats.

This constructs a probabilistic loop where each trial implements the desired operation with fixed probability p=λ0p = \lambda_0, and guarantees eventual success almost surely with expected number of trials $1/p$ (Guerreschi, 2018). The circuit acts as an instrument, producing a coherent gate when success is signaled, and exact recovery when failure is detected.

2. Synthesis Algorithms and Gate Efficiency

RUS circuits are prominent in fault-tolerant quantum gate synthesis due to their capacity to achieve lower expected resource counts compared to deterministic, ancilla-free decompositions. For single-qubit unitaries in the Clifford+TT basis, RUS synthesis follows a multi-stage process:

  • Cyclotomic rational approximation of the target rotation using algebraic number theory (Bocharov et al., 2014).
  • Norm equation solving to embed the desired phase into a block-unitary, optimizing the one-round success probability by random search.
  • Assembling an ancilla+data block-unitary which effects the target operation on success, and a simple Clifford correction on failure.
  • Wrapping in classical control flow until the success outcome is heralded.

The expected TT-count for such protocols scales as E[T]=clog2(1/ε)+O(1)E[T] = c\log_2(1/\varepsilon)+O(1) with c1.15c\approx 1.15 for Clifford+TT (Bocharov et al., 2014, Paetznick et al., 2013), a 2.5×2.5\times improvement over the best possible ancilla-free bound of 3log2(1/ε)3\log_2(1/\varepsilon), and far exceeding the resource efficiency of Solovay-Kitaev-type compilers. This efficiency derives from the ability to perform cheap classical recovery and to "try again" without accumulating errors.

3. RUS Arithmetic, Nonlinear Functions, and Quantum Neural Modules

RUS circuits are not limited to approximating unitaries, but also form the foundation of quantum arithmetic for implementing nonlinear transformations on amplitudes. Using primitives such as the gearbox and generalized PAR circuits (Wiebe et al., 2014), one can perform non-linear operations (e.g., multiplication, squaring, Chebyshev-approximated reciprocals) on data encoded as single-qubit rotations. These primitives exploit measurement-backed nonlinearity; success signals the desired nonlinear map, while failure is corrected, consuming no quantum irreversibility.

In quantum neural networks, RUS subroutines are used to realize neurons with non-linear activation functions, a critical step in implementing quantum versions of deep learning architectures. For example, a superconducting processor can apply an RUS "conditional gearbox" circuit yielding a non-linear activation g(k)=2arctan[tan2(k/2)]g(k) = 2\arctan[\tan^2(k/2)] for input angle kk (Moreira et al., 2022), with single-shot success probability p(k)=cos4(k/2)+sin4(k/2)p(k) = \cos^4(k/2) + \sin^4(k/2) ensuring on average $1/p(k)$ repetitions per neuron.

4. Measurement-Induced Nonlinearity and Classical Simulatability

A core technical attribute of RUS circuits is that mid-circuit measurement plus classical feed-forward induces true nonlinearity in the quantum amplitude mapping, which is unattainable via strictly unitary evolution or deferred measurement. This genuine nonlinearity impacts classical simulatability: whereas unitary models with deferred measurements can be mapped to efficient Bayesian networks, RUS circuits yield output distributions that are non-linear rational functions of amplitudes, rendering classical simulation intractable under standard assumptions (Gili et al., 2023).

For instance, in Quantum Neuron Born Machine models, RUS activations result in outcome probabilities P0=iαi2cos4θi/jαj2(cos4θj+sin4θj)P_0 = \sum_i |\alpha_i|^2 \cos^4 \theta_i / \sum_j |\alpha_j|^2 (\cos^4 \theta_j + \sin^4 \theta_j), which cannot be decomposed into linear stochastic transitions. Consequently, RUS-based quantum generative models exhibit expressive power and hardness not available in linearized quantum architectures.

5. Fixed-Point Amplitude Amplification and Fidelity Distortion

RUS circuits, when conditioned on other qubits (such as in superposed control flows), are susceptible to amplitude distortion. The probability that the operation is performed faithfully depends on both the initial success probability and the entire history of measurement outcomes. This distortion can be quantified and suppressed using oblivious amplitude amplification (OAA) techniques, notably fixed-point OAA which achieves arbitrary fidelity without prior knowledge of the success probability (Guerreschi, 2018). For target threshold δ\delta, the Yoder-Low-Chuang protocol constructs multi-stage OAA sequences that guarantee ultimate success probability 1δ1-\delta with polylogarithmic overhead, and numerical studies confirm that average fidelity approaches unity as δ0\delta \to 0 across all initial conditions.

6. Practical Implementations, Resource Counts, and Compiler Integration

RUS protocols are amenable to implementation on current quantum hardware and software toolchains. AutoQ 2.0 verifies the correctness of RUS circuit families by translating loop invariants and measurement-driven control into logical specifications that are discharged via automata and SMT solving (Chen et al., 2024). Experimental demonstrations using QIR/LLVM integration on Quantinuum H1 devices show that compiler-optimized, loop-driven RUS implementations match hand-tuned circuits in fidelity and success probability (Brown et al., 2023).

Typical RUS circuits use a small number of ancillas per module, with circuit depth overhead scaling linearly in the number of trials, and resource counts (e.g. T gates, two-qubit gates) reduced by constant factors versus deterministic unitaries. Efficient state preparation routines (e.g., Walsh Series Loader) utilize RUS with mean runtime O(ε3/2)O(\varepsilon^{-3/2}) and qubit overhead independent of system size (Zylberman et al., 2023).

7. Extensions, Universality, and Generalizations

RUS architectures have been generalized in ancilla-driven quantum computation, enabling universal computation using only fixed, symmetric two-qubit interactions and measurement-driven random walks on the group manifold (Halil-Shah et al., 2014). In these models, the repeated injection of ancillae, coupled with measurement and classical control, allows for approximation of arbitrary single- and two-qubit gates via polylogarithmic numbers of trials, with universality established via Solovay-Kitaev-type arguments.

In continuous-variable quantum computation, RUS protocols enable implementation of otherwise inaccessible non-Gaussian gates (e.g., cubic phase operations) via sequential photon subtractions and Gaussian operations, offering experimentally viable paths to universality given suitable quantum memory and feed-forward capabilities (Marshall et al., 2014).

Summary Table: Resource Features Across Selected RUS Applications

Domain Target Operation Ancilla Usage Expected Gate Count Measurement/Feedback
Clifford+TT Single-qubit unitary 1–2 1.15log2(1/ε)1.15\log_2(1/\varepsilon) (Bocharov et al., 2014) Projective, classical
Arithmetic (Wiebe et al., 2014) Nonlinear function ff ≤3 O(1/ε1/d)O(1/\varepsilon^{1/d}) for degree-dd GHZ or comp. basis, corrective
CV QIP (Marshall et al., 2014) Cubic phase gate exp(iγx3)\exp(i\gamma x^3) 1 per “kick” O(1/p)O(1/p) per non-Gaussian subroutine Bucket detector, quantum memory
Quantum NN (Moreira et al., 2022) Nonlinear neuron activation 1 per neuron O(1)O(1)O(2)O(2) per activation Mid-circuit, real-time feedback
PQF (Bocharov et al., 2014) Arbitrary unitary 1–2 logb(1/ε)+O(loglog(1/ε))\log_b(1/\varepsilon)+O(\log\log(1/\varepsilon)) Finite fallback chain

RUS circuits thereby unify a broad array of quantum protocols—gate-efficient synthesis, nonlinear arithmetic, quantum generative modeling, ancilla-driven computation, and continuous-variable non-Gaussian gate construction—under a probabilistic, measurement-driven paradigm that leverages classical control for resource optimization and universality.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Repeat-Until-Success (RUS) Circuits.