Repository · Full text

One-Clean-Qubit Simulation of Quantum Catalytic Logspace with Measurements

Read PDF

HTML version 1 Added

Papers are listed without authors and are not intended for submission or formal publication.

Contents

One-Clean-Qubit Simulation of Quantum Catalytic Logspace with Measurements

Abstract

We prove that polynomial-time quantum catalytic logspace computations with intermediate measurements and resets can be simulated using one clean qubit and otherwise maximally mixed qubits. The source may use logarithmic-space classical control and polynomially many catalytic qubits, whose arbitrary unknown state must be restored exactly, including its correlations with an inaccessible reference. The simulator has polynomial size, is deterministic-logspace-uniform, and is unitary until a final measurement with inverse-polynomial signed acceptance bias. Thus BQCL⊆DQC1 under this bias convention, extending the unitary containment of Buhrman et al. (TQC, 2025). The main difficulty is to avoid storing a polynomial-length measurement history in initialized memory. We express the source’s acceptance bias as a normalized trace involving the inverse of a channel-history matrix. Although the history matrix can be poorly conditioned, complete positivity bounds the Frobenius norm of its inverse. A nuclear-norm regularization estimate then controls the required trace with no dependence on the exponential catalyst dimension. We implement the resulting bounded spectral filter by coherent phase estimation and extract its relevant block through a reflected unitary trace test. The logarithmic auxiliary space is included in the maximally mixed input at only an inverse-polynomial loss in bias.

Note. This paper was generated entirely by AI, including MiMo, using an automated research pipeline developed by Chenghua Liu and Hanyu Li.

1 Introduction

Catalytic space separates initialized work memory from borrowed memory whose unknown contents must be restored. In the classical setting, Buhrman et al. [1] showed that this additional memory can support computations not known to fit in the initialized workspace alone. Quantum catalytic space imposes a stronger restoration requirement: a borrowed register must be returned in its original state for every quantum input to that register. This also preserves its entanglement with any inaccessible reference. The model asks how much computation a large register can support without consuming the information it contains.

Buhrman et al. [2] introduced quantum catalytic space and proved that its unitary logspace computations admit one-clean-qubit simulations. They left open the corresponding containment when intermediate measurements are allowed. The usual deferred-measurement construction does not settle this question. It stores measurement outcomes coherently, requiring a fresh initialized register for a potentially polynomial-length history. Resets pose a related difficulty: unlike unitary conjugations, they need not be contractions in the Hilbert–Schmidt norm.

We prove the containment for the measured model. The simulator does not reproduce the source state or retain its measurement outcomes. Instead, it recovers the sign of the source’s acceptance bias from a normalized trace. Exact restoration provides an identity on the entire catalyst operator space, not merely on its diagonal coordinates. This identity supplies the trace multiplicity needed to offset the size of the catalyst.

1.1 Model and result

We use the polynomial-length, logspace-uniform general-circuit formulation of quantum catalytic space in [2, Definitions 15, 18–24 and 30]. For an input x of length n, the source has an initialized work register W of s=O⁡(log⁡n) qubits and a catalytic register C of c=poly⁡(n) qubits. Its live classical controller, including all retained measurement outcomes, counts toward the work-space bound. The computation has a worst-case polynomial time bound and may use computational-basis measurements, resets, and classically controlled constant-local gates. There is no uncharged classical transcript available for later queries. The input is classical and is available to the logspace circuit generator.

Writing Φx for the overall channel before the final output is read, we require a work state ηx such that, for every reference register R and every state ρC⁢R,

(Φx⊗idR)(|0s⟩⟨0s|W⊗ρC⁢R)=ηx⊗ρC⁢R.(1)

Lemma 2 shows that this product form follows already from exact restoration of the catalyst marginal for every catalyst state. In particular, it remains valid after the live controller is included in W. A designated work qubit is the output; its probability of being 1 is denoted by px. The bounded-error class BQCL uses px≥2/3 on yes instances and px≤1/3 on no instances; QCL is the exact version.

For DQC1 we use the signed-bias convention of [2, Definitions 49–51]. A circuit starts with one qubit in |0⟩ and polynomially many qubits in the maximally mixed state, applies a polynomial-size logspace-uniform unitary circuit, and measures the clean probe at the end. There is a polynomial q such that acceptance has probability at least 1/2+1/q⁡(n) on yes instances and at most 1/2−1/q⁡(n) on no instances. We do not assert constant bias within a single one-clean-qubit circuit.

We fix the same effective elementary-gate convention for the source and the simulator. Constant-local unitaries are described using phase and rotation gates and classical reversible gates; adjoints, complex conjugates, and controlled versions have logspace-generated descriptions. This closure requirement is part of the gate-description convention. Additional angles introduced by the simulation are computed to inverse-polynomial accuracy in logarithmic space. Exact restoration is assumed for the original source channel; approximation is used only in the target construction. This distinction is relevant to the gate-set issues discussed in [2, Section 3.3].

Theorem 1.

Every polynomial-time, deterministic-logspace-uniform quantum catalytic computation in the model above, with bounded error, O⁡(log⁡n) initialized work qubits, and polynomially many catalytic qubits, has a polynomial-size logspace-uniform simulation using one clean qubit and otherwise maximally mixed qubits. The simulation is unitary until its final measurement and has inverse-polynomial signed acceptance bias. Consequently, under the stated circuit and bias conventions,

BQCL⊆DQC1.

The containment also holds for the exact class QCL.

1.2 Method and related work

The proof uses a history-matrix inverse to represent a product of channel matrices. Its conditioning may be exponentially poor. Approximating the entire inverse in operator norm would therefore give an unsuitable simulation. What we need, however, is only a particular normalized trace. Every nonzero block of the inverse is the matrix of a channel, so complete positivity bounds the inverse’s Frobenius norm. A regularization estimate in nuclear norm then controls the trace error at an inverse-polynomial regularization scale. The catalyst dimension cancels from this bound. This use of channel structure, together with the catalytic trace identity, is the main step specific to the measured catalytic model.

Measurement elimination in ordinary space-bounded quantum computation was established by Fefferman and Remscrim [3]. For a computation using space S and time t, their construction uses O⁡(S+log⁡t) space and poly⁡(t⁢2S) time. Applying that bound with S=s+c does not provide a polynomial-time one-clean-qubit simulation when c is polynomial. The present argument instead treats the initialized and catalytic parts separately and uses exact restoration to control a normalized trace rather than the whole computation.

The circuit ingredients for processing this trace are established ones. Normalized unitary trace estimation is native to the one-clean-qubit model [4, 5]. Cade and Montanaro [6] gave one-clean-qubit algorithms for smooth spectral functions of log-local Hamiltonians. Edenhofer, Hasegawa, and Le Gall [7] treated spectral sums in a block-encoding input model, including trace extraction with logarithmically many block ancillas. More recently, Ji et al. [8] studied DQC1-completeness of normalized spectral traces under approximation-theoretic hypotheses. These results concern trace estimation once a suitable matrix representation has been obtained; the catalytic reduction and its dimension-independent regularization bound supply that representation here.

Our implementation uses linear combinations of unitaries and the compression-to-walk construction underlying qubitization and singular value transformation [9, 10]. We give a direct coherent phase-estimation implementation of the required filter to keep its logarithmic auxiliary space and deterministic logspace uniformity explicit. A reflection then extracts the desired ancillary block from a unitary trace. Thus the block ancillas need not be physically initialized in the final circuit.

2 The catalytic trace identity

We first express an adaptive computation as a fixed channel sequence. A computational-basis measurement is implemented by resetting a work bit, copying the measured basis value into it, and dephasing that bit. Later controlled gates read the resulting classical configuration. Irreversible controller updates use reversible Boolean gates and resets on logarithmic work space. By scanning the polynomially many tape addresses, the emitted schedule can be made independent of measurement outcomes. Appendix A gives the implementation, including conditional resets and the accounting for temporary work bits.

This is the mixed-state circuit formalism of Aharonov, Kitaev, and Nisan [11], with the work-space accounting made explicit. After this conversion and padding, write

Φx=ΦT∘⋯∘Φ1,T=poly(n).(2)

Each elementary map is a constant-local unitary conjugation, a one-qubit dephasing, or a one-qubit reset. In particular, it is completely positive and trace preserving (CPTP) on the whole computational Hilbert space, including controller configurations unreachable from the clean input. We may take s≥1 and T≥1 and pad their bounds as functions of n. For small inputs, all asymptotic bounds can be read with n replaced by max⁡{n,2}. Set

K=2s,D=2c,d=K⁢D.

Thus K is polynomial, whereas D may be exponential.

Lemma 2 (Exact restoration).

Let Ψ:C→W⁢C be a CPTP map such that TrW⁡Ψ⁡(ρ)=ρ for every state ρ on C. There is a state η on W such that Ψ⁡(X)=η⊗X for every operator X on C. Consequently, Ψ also preserves arbitrary correlations of C with an inaccessible reference.

Proof.

Since states span the operator space, TrW⁡Ψ=idC. Let |Ω⟩=D−1/2∑i=0D−1|i⟩C|i⟩R be the normalized maximally entangled vector, and put ΩC⁢R=|Ω⟩⟨Ω|. The state τ=(Ψ⊗idR)⁢(ΩC⁢R) has C⁢R marginal ΩC⁢R. Put P=IW⊗ΩC⁢R. Then Tr⁡((I−P)⁢τ)=0. Positivity implies τ1/2⁢(I−P)=0, since the squared Frobenius norm of this operator is Tr⁡((I−P)⁢τ). Hence τ=P⁢τ⁢P. The range of P is W⊗span{|Ω⟩}, so τ=η⊗ΩC⁢R for a state η. Comparing coefficients of |i⟩⟨j|R in the two Choi states gives Ψ(|i⟩⟨j|)=η⊗|i⟩⟨j| for all i,j. Linearity proves the claim, and tensoring this identity with idR proves the reference statement. ∎

Applying the lemma to Ψ(X)=Φx(|0s⟩⟨0s|⊗X) proves (1) from marginal restoration alone. It also shows why including the final controller and temporary registers in the work output does not impose an additional catalytic condition.

Vectorize operators by vec(|i⟩⟨j|)=|i⟩|j⟩, and order the doubled registers as W,W¯,C,C¯. Bars label the second operator-coordinate copy; they do not denote additional input information. A unitary conjugation by G has matrix G⊗G¯, up to this fixed reordering. Let St be the d2-dimensional Liouville matrix of Φt, and set S=ST⋯S1. Exact restoration gives

S(|ω⟩⊗ID2)=|ηx⟩⊗ID2,|ω⟩=|02⁢s⟩,|ηx⟩=vec(ηx).(3)

This is an identity on all D2 catalyst operator coordinates, including the off-diagonal ones.

Define the output observable and signed acceptance bias by

O=(|1⟩⟨1|−|0⟩⟨0|)out⊗IW∖out,ex=Tr(Oηx)=2px−1,|z⟩=vec⁡(O)K.

The vector |z⟩ is normalized because Tr⁡(O2)=K. It can be prepared by creating s Bell pairs and applying X⁢Z⁢X=−Z to the output half in the first copy, where X,Z are Pauli matrices. Retaining this sign is important in the later trace test. Equation (3) yields

1D2Tr[(|ω⟩⟨z|⊗ID2)S]=exK.(4)

Indeed, the trace over each catalyst coordinate is ⟨z∣ηx⟩=Tr⁡(O⁢ηx)/K. For a bounded-error source, ex≥1/3 on yes instances and ex≤−1/3 on no instances; for an exact source, ex∈{−1,1}.

The factor D2 in (4) is specific to restoration of the full operator space. Merely preserving the maximally mixed state does not suffice: the completely depolarizing channel has Liouville trace 1, whereas the identity channel has Liouville trace D2. Preserving only the computational-basis states similarly controls just D diagonal coordinates. The stronger multiplicity in (4) is what permits the dimension cancellation below.

3 Regularizing the channel history

We place the channel product in a corner of an inverse history matrix. The inverse need not have polynomial operator norm. Its blocks, however, satisfy a common Frobenius bound, and that is enough to approximate the trace in (4). For a matrix, ‖⋅‖ denotes operator norm, ‖⋅‖F Frobenius norm, and ‖⋅‖1 nuclear norm.

Lemma 3 (CPTP Frobenius bound).

If SΨ is the Liouville matrix of a CPTP map on a d-dimensional system, then ‖SΨ‖F2≤d2.

Proof.

The unnormalized Choi matrix J(Ψ)=∑i,jΨ(|i⟩⟨j|)⊗|i⟩⟨j| is positive semidefinite by complete positivity [12] and has trace d by trace preservation. Its entries are a reshuffling of the entries of SΨ, so the two Frobenius norms agree. If μi≥0 are its eigenvalues, then

‖SΨ‖F2=Tr⁡(J⁢(Ψ)2)=∑iμi2≤(∑iμi)2=d2.∎

Let J be the least power of two with J≥T+1. On a J-state clock and the Liouville register, define

L=∑t=1T|t⟩⟨t−1|⊗St,A=I−L,B=A−1=∑r=0TLr.(5)

The inverse formula follows from LT+1=0. In particular, BT,0=S. Apart from its J diagonal identity blocks, the only nonzero blocks of B are Bt,r=St⋯Sr+1 for 0≤r<t≤T. Each such product is the Liouville matrix of a CPTP map. Since there are at most J2 nonzero blocks, Lemma 3 gives

‖B‖F2≤J2⁢d2=J2⁢K2⁢D2.(6)

This bound does not require a polynomial lower bound on the smallest singular value of A.

Lemma 4 (Nuclear-norm regularization).

For an invertible matrix A and λ>0, put

Bλ=A†⁢(A⁢A†+λ2⁢I)−1.

Then

‖A−1−Bλ‖1≤λ2⁢‖A−1‖F2.(7)
Proof.

If A=U⁢Σ⁢V† is a singular value decomposition, then A−1−Bλ is V times the diagonal matrix with entries

1σ−σσ2+λ2=λ2σ⁡(σ2+λ2)≤λ2⁢σ2

times U†. The entries are nonnegative. The inequality is 2⁢λ⁢σ≤σ2+λ2; summing over the singular values proves (7). ∎

Define the contraction

Q=|0⟩⟨T|clock⊗|ω⟩⟨z|⊗ID2.(8)

Equations (4) and (5) imply

Tr⁡(Q⁢B)D2=exK.(9)

Using |Tr⁡(Q⁢M)|≤‖Q‖⁢‖M‖1, we obtain

|Tr⁡(Q⁢Bλ)D2−exK|≤‖B−Bλ‖1D2≤λ2⁢J2⁢K2.(10)

The exponential factor D2 in the Frobenius bound cancels against the trace normalization supplied by exact restoration. Hence an inverse-polynomial λ suffices even when the inverse itself is ill-conditioned. The bounded matrix λ⁢Bλ, rather than B in operator norm, is the object implemented next.

4 The one-clean-qubit simulation

A block encoding of a contraction M is a unitary UM such that (⟨0a|⊗I)UM(|0a⟩⊗I)=M. The all-zero ancillas specify a matrix block. They are not assumed to be initialized in the final simulator; the trace readout will extract that block from a maximally mixed input.

4.1 Encoding the history matrix

Every elementary channel matrix St has a three-ancilla block encoding of St/2. For a unitary channel, St=G⊗G¯ is unitary. For one-qubit dephasing, St=(I⁢I+Z⁢Z)/2, where juxtaposition denotes a tensor product of Pauli matrices. The reset X↦|0⟩⟨0|TrX has Liouville matrix

Sreset=|00⟩⟨00|+|00⟩⟨11|=14(II+IZ+ZI+ZZ+XX+iXY+iYX−YY).(11)

The eight signed Pauli terms in (11), averaged with equal weights, therefore encode Sreset/2. For a unitary St, use four copies of St and the four terms I,−I,I,−I; their average is St/2. For dephasing, use I⁢I,I⁢I,Z⁢Z,Z⁢Z,I⁢I,−I⁢I,I⁢I,−I⁢I. An inactive clock value uses four copies each of I and −I, encoding zero. The signs and factors of i are phases of the selected unitaries, not probabilities.

Preparing three selector qubits with Hadamard gates, applying the selected term, and undoing the preparation realizes each average. This is the constant-size linear-combination construction of [10, Lemma 52]. Multiplex the encoding of Sr+1/2 on clock value r<T and the encoding of zero on r≥T, then cyclically increment the clock. The resulting unitary UL encodes L/2. The zero blocks exclude both unused transitions and clock wraparound.

An additional selector, prepared in 1/3|0⟩+2/3|1⟩, selects I or −UL. Undoing this preparation gives a unitary UA with all-zero ancillary block

A/3=(I−L)/3.(12)

The multiplexers are implemented by enumerating clock values and source gate indices. Their controls act on O⁡(log⁡n) bits and admit ancilla-free polynomial-size implementations, as described in Appendix A. Thus UA has polynomial size and a logspace-uniform description. It uses only O⁡(log⁡n) qubits beyond the doubled data register.

Add a selector qubit h and form the Hermitian unitary

U=|0⟩⟨1|h⊗UA+|1⟩⟨0|h⊗UA†.

Let Π project onto the all-zero block-encoding ancillas, leaving h and the history/data register unrestricted. If their number is a, then the compression of U to this subspace is

H=(⟨0a|⊗I)U(|0a⟩⊗I)=13(0AA†0).(13)

In particular, ‖H‖≤1. This dilation turns the regularized inverse into a scalar function of a Hermitian contraction.

4.2 Coherent spectral filtering

Lemma 5 (Coherent spectral filter).

Let 0<δ,ε≤1, with δ−1 and ε−1 bounded by polynomials in n and with logspace-computable descriptions. There is a polynomial-size, logspace-uniform unitary whose all-zero ancillary block is within operator norm ε of

fδ⁢(H)=δ⁢HH2+δ2⁢I.

The ancillary register has O⁡(log⁡n) qubits.

Proof.

Put R=2⁢Π−I and V=R⁢U. Since U=U†,

V+V†2=Π⁢U⁢Π−(I−Π)⁢U⁢(I−Π).(14)

This operator is block diagonal with respect to Π, with compression H. Define the periodic function gδ⁢(θ)=fδ⁢(cos⁡θ), where fδ⁢(t)=δ⁢t/(t2+δ2). On a V-eigenvector with eigenvalue ei⁢θ, the Hermitian operator (V+V†)/2 has eigenvalue cos⁡θ. Functional calculus in (14) therefore gives

(⟨0a|⊗I)gδ(V)(|0a⟩⊗I)=fδ(H),(15)

where gδ⁢(V) denotes the operator taking value gδ⁢(θ) at eigenphase θ. The scalar bounds

|gδ⁢(θ)|≤12,|gδ′⁢(θ)|≤1δ

follow from 2⁢δ⁢|t|≤t2+δ2 and |fδ′⁢(t)|=δ⁢|δ2−t2|/(t2+δ2)2≤1/δ.

Apply coherent phase estimation to V with an m-qubit phase register. For phase label j, apply to another qubit the real rotation whose zero-to-zero amplitude is gδ⁢(2⁢π⁢j/2m), and then uncompute phase estimation. Such a rotation is Ry⁢(2⁢arccos⁡gδ⁢(2⁢π⁢j/2m)), with Ry(α)=e−iαY/2. For a V-eigenvector of phase θ, the resulting all-zero phase/rotation block has amplitude

∑j=02m−1Pr⁡[j∣θ]⁢gδ⁢(2⁢π⁢j/2m).(16)

The probabilities appear because phase estimation is uncomputed; no measurement or postselection is used.

Choose circular phase error O⁡(ε⁢δ) and failure probability O⁡(ε). The Lipschitz and range bounds imply a uniform O⁡(ε) error in (16). The explicit estimate in Appendix B gives error at most ε/8 with

m=O⁡(log⁡1δ⁢ε2).

Phase estimation uses 2m−1 calls to V when controlled powers are expanded into repetitions, hence polynomially many calls. Approximating the label-dependent rotations and elementary target operations within the remaining error budget gives operator-norm error at most ε: the phase-average estimate holds uniformly on every eigenspace of V, and compression cannot increase operator norm.

For uniformity, enumerate the 2m phase labels in the classical circuit description. The rotation amplitudes are

δ⁢cos⁡(2⁢π⁢j/2m)cos2⁡(2⁢π⁢j/2m)+δ2.

The denominator is at least δ2 and the amplitude has magnitude at most 1/2. Computing cosine, this quotient, and its inverse cosine to sufficient fixed precision takes logarithmic space and polynomial time; Appendix A gives explicit series and precision bounds. The circuit itself needs no arithmetic workspace for these values: it contains one classically specified, label-controlled rotation for each j. All its large controls have logarithmic length. Finally compress the original a block ancillas as in (15). The total ancillary space is O⁡(log⁡n). ∎

Set δ=λ/3. Squaring the block matrix in (13) shows that the lower-left selector block of the filter is

⟨1|hfλ/3(H)|0⟩h=λA†(AA†+λ2I)−1=λBλ.(17)

Thus one inverse-polynomial scaling factor suffices for the whole channel product, rather than one such factor per channel.

4.3 Trace extraction and decision bias

Let Uf be the filter circuit from Lemma 5. Separate its D2-dimensional register C⁢C¯ from all the remaining registers. The latter have k=O⁡(log⁡n) qubits, including the doubled work register, clock, selector h, and every block, phase, and rotation ancilla. There is an explicitly specified unitary F on these small registers satisfying

F|0k⟩=|1⟩h|T⟩clock|z⟩W⁢W¯|0⟩block/phase/rotation⁢ancillas.

It uses basis-state preparation and the Bell-pair preparation of |z⟩. Define W∗=F†⁢Uf and

ax=1D2ReTr[(⟨0k|⊗I)W∗(|0k⟩⊗I)].(18)

The selected input is |0⟩h|0⟩clock|ω⟩ and the selected output is |1⟩h|T⟩clock|z⟩. Consequently, (17) and (10) imply

|ax−λ⁢exK|≤λ22⁢J2⁢K2+ε.(19)

Here the filter error remains at most ε after taking the selected block, and a D2-dimensional matrix of operator norm at most ε has normalized trace of magnitude at most ε.

The following trace cancellation is a direct block-readout construction. It gives the logarithmic-ancilla trace reduction used in one-clean-qubit spectral estimation, without initializing those ancillas; compare [7, Theorem 4.6].

Lemma 6 (Ancillary-block trace readout).

For W∗ and ax as above, a one-clean-qubit circuit has final probe expectation ax/2k. Its other qubits are maximally mixed.

Proof.

Let P=|0k⟩⟨0k|⊗ID2. Introduce a maximally mixed qubit b and define the unitary

V=|0⟩⟨0|b⊗W∗+|1⟩⟨1|b⊗(2P−I)W∗.

Its normalized trace satisfies

Tr⁡V2k+1⁢D2=Tr⁡(W∗)+Tr⁡((2⁢P−I)⁢W∗)2k+1⁢D2=Tr⁡(P⁢W∗)2k⁢D2.(20)

Prepare the clean probe in |+⟩, apply controlled-V, and apply a Hadamard to the probe. For a maximally mixed target of dimension N=2k+1⁢D2, the off-diagonal entry of the probe state before the last Hadamard is Tr⁡(V†)/(2⁢N). Its final Pauli-Z expectation is therefore Re⁡Tr⁡(V)/N, which is ax/2k by (20). This is the one-clean-qubit trace test [4].

The reflection involves only the k small-register qubits. Write

P0=|0k⟩⟨0k|=2−k∑S⊆[k]ZS,ZS=∏j∈SZj,

where Zj acts on the jth small-register qubit and Z∅=I. Since P0 is a projector, 2⁢P0−I=−ei⁢π⁢P0. The exponential factors into 2k commuting Pauli rotations. Each Pauli-string rotation has an ancilla-free implementation, and 2k=poly⁡(n). In a controlled implementation, the leading minus sign is retained as a phase on the control; the empty-set term is also retained. Adding the controls on b and the probe leaves polynomial size and logarithmic-space uniformity unchanged, as detailed in Appendix A. ∎

Choose

λ=1100⁢J2⁢K3,δ=λ/3,ε=λ200⁢K.(21)

All three reciprocals are polynomially bounded. Equation (19) then gives

|ax−λ⁢exK|≤λ100⁢K≤λ100⁢K.(22)

As 1/3−1/100>1/4, we have

ax≥λ4⁢Kon yes instances,ax≤−λ4⁢Kon no instances.

Accepting when the final probe is 0, Lemma 6 gives

pyes≥12+γ,pno≤12−γ,γ=λ2k+3⁢K.(23)

A final NOT converts this to the convention that output 1 means acceptance, without another qubit.

For completeness, the construction tolerates further approximation of target gates. Let Ng=poly⁡(n) bound the number of elementary gates in the complete unitary trace circuit, and put ξ=λ/(2k+6⁢K). Approximate each gate requiring numerical synthesis in operator norm by at most ξ/Ng, retaining any exact source primitives as such. Telescoping products bounds the total unitary error by ξ. For any input state, the change in a measurement probability is at most 2⁢ξ≤γ/4. Thus the weaker gap γ/2 is valid for the synthesized circuit as well. Every required accuracy is still inverse-polynomial. Approximating these target operations does not alter the source channel to which the exact restoration hypothesis was applied.

The final circuit has one clean probe and 2⁢c+k+1 maximally mixed qubits. The k small-register qubits include every auxiliary register used for block encoding and filtering; the additional mixed qubit is b. No initialized measurement record or hidden clean workspace is used. All operations before the final probe measurement are unitary. The channel multiplexer, the repeated walk calls in phase estimation, the phase-label rotations, and the small-register reflections each have polynomial size. Their gate descriptions are generated with logarithmic-space counters and arithmetic, as justified in Appendix A. Padding the source and target register bounds as functions of n gives a fixed reciprocal-polynomial lower bound on the bias. This proves Theorem 1; exact source acceptance probabilities satisfy the same separation from 1/2.

References

  • [1] Harry Buhrman, Richard Cleve, Michal Koucký, Bruno Loff, and Florian Speelman. Computing with a full memory: Catalytic space. In Proceedings of the 46th Annual ACM Symposium on Theory of Computing (STOC 2014), pp. 857–866, 2014. doi:10.1145/2591796.2591874.
  • [2] Harry Buhrman, Marten Folkertsma, Ian Mertz, Florian Speelman, Sergii Strelchuk, Sathyawageeswar Subramanian, and Quinten Tupker. Quantum catalytic space. In 20th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2025), LIPIcs 350, pp. 11:1–11:24, 2025. doi:10.4230/LIPIcs.TQC.2025.11.
  • [3] Bill Fefferman and Zachary Remscrim. Eliminating intermediate measurements in space-bounded quantum computation. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing (STOC 2021), pp. 1343–1356, 2021. doi:10.1145/3406325.3451051. Full version: arXiv:2006.03530.
  • [4] E. Knill and R. Laflamme. Power of one bit of quantum information. Physical Review Letters 81(25), 5672–5675, 1998. doi:10.1103/PhysRevLett.81.5672.
  • [5] Dan Shepherd. Computation with unitaries and one pure qubit. arXiv:quant-ph/0608132, 2006. arXiv:quant-ph/0608132.
  • [6] Chris Cade and Ashley Montanaro. The quantum complexity of computing Schatten p-norms. In 13th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2018), LIPIcs 111, pp. 4:1–4:20, 2018. doi:10.4230/LIPIcs.TQC.2018.4.
  • [7] Roman Edenhofer, Atsuya Hasegawa, and François Le Gall. Dequantization and hardness of spectral sum estimation. arXiv:2509.20183v1, 2025. arXiv:2509.20183v1.
  • [8] Zhengfeng Ji, Tongyang Li, Changpeng Shao, Xinzhao Wang, and Yuxin Zhang. DQC1-completeness of normalized trace estimation for functions of log-local Hamiltonians. Accepted to the 67th IEEE Symposium on Foundations of Computer Science (FOCS 2026). Preprint, arXiv:2604.01519, 2026. arXiv:2604.01519.
  • [9] Guang Hao Low and Isaac L. Chuang. Hamiltonian simulation by qubitization. Quantum 3, 163, 2019. doi:10.22331/q-2019-07-12-163.
  • [10] András Gilyén, Yuan Su, Guang Hao Low, and Nathan Wiebe. Quantum singular value transformation and beyond: exponential improvements for quantum matrix arithmetics. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing (STOC 2019), pp. 193–204, 2019. arXiv:1806.01838.
  • [11] Dorit Aharonov, Alexei Kitaev, and Noam Nisan. Quantum circuits with mixed states. In Proceedings of the 30th Annual ACM Symposium on Theory of Computing (STOC 1998), pp. 20–30, 1998. doi:10.1145/276698.276708.
  • [12] Man-Duen Choi. Completely positive linear maps on complex matrices. Linear Algebra and its Applications 10(3), 285–290, 1975. doi:10.1016/0024-3795(75)90075-0.

Appendix A Uniform implementation

A.1 Compiling the adaptive source

A computational-basis measurement of a qubit q with a retained outcome is the channel obtained by resetting a work bit b to 0, applying CNOTq→b, and dephasing b. On an input operator X this gives ∑u∈{0,1}PuXPu⊗|u⟩⟨u|b, where Pu=|u⟩⟨u|q⊗I on the measured system and its other registers. This is exactly the measurement instrument, including its effect on correlations. Overwriting an outcome is a reset on its work bit.

A logspace classical controller has polynomially many configurations. Its live tape, internal state, and input and quantum-tape head positions occupy O⁡(log⁡n) bits. During one simulated transition, keep its old configuration fixed. Scan all relevant gate types and tape addresses, using equality tests on the old configuration to select the prescribed operation. The addresses occupy logarithmic space because the input and catalytic tape lengths are polynomial. Exactly the selected operation acts on each classical branch; the configuration is not updated midway through the scan.

Conditional measurements are handled by conditionally copying the addressed basis value into a zero work bit and then dephasing that bit. For a conditional reset, first reset a temporary work qubit to 0, conditionally swap it with the addressed qubit, and reset the temporary qubit again. On the inactive branch the addressed qubit is unchanged; on the active branch it is reset. The condition is classical on all reachable configurations. These implementations are nevertheless compositions of unitaries, dephasings, and resets on the entire Hilbert space, so they define CPTP maps even on unreachable inputs.

Compute the new classical configuration into a second logarithmic register using reversible Boolean gates, the old configuration, the outcome bits, and the read-only input. Uncompute the temporary equality flags, reset the old configuration and expired outcomes, and exchange the roles of the two configuration registers. Invalid encodings may be assigned a fixed halting transition. Halting configurations use identity operations, permitting padding to the worst-case polynomial time bound. All temporary registers are logarithmic and can be reset and reused in the source. The scan, the controller transition, and their local-gate decompositions have logspace-generated polynomial-length descriptions. This proves the fixed-channel representation (2) without assuming any initialized history outside the work-space bound.

A.2 Controls and circuit generation

The target construction can implement all its controls without initialized scratch qubits. For a specified ℓ-bit control string, let

Pctrl=∏j=1ℓI+σj⁢Zj2,σj∈{−1,1}.

A rotation conditioned on this string has generator Pctrl⊗A, where A is a one-qubit Pauli matrix. Expanding the product gives 2ℓ mutually commuting Pauli strings, so exponentiating the sum gives a product of Pauli-string rotations. Each such rotation is implemented by changing the Pauli bases to Z, computing parity onto one of its participating qubits with CNOT gates, rotating that qubit, and undoing the parity computation and basis changes. This uses no extra qubit. Purely diagonal phase gates are treated by the same expansion. In particular, a controlled NOT is exactly

exp[−i⁢π2Pctrl⊗(X−I)],

which keeps the relative phase that would be lost by replacing X with a Pauli rotation alone.

In every application, ℓ=O⁡(log⁡n), so enumerating the subsets and their signed coefficients costs polynomial time and logarithmic space. Cyclic clock increments can be decomposed into successive controlled bit flips. Phase-label controls, the history selectors, and the reflections use the same construction. All scalar phases are retained when a unitary is subsequently controlled. Additional constant-local source primitives are handled under the gate-description closure convention stated in the introduction. Their controls from the clock, selectors, and phase estimation together still have logarithmic length.

An indexed source gate can be recovered by replaying the source’s logspace generator with a gate counter. The inverse of a polynomial gate list is generated by replaying this procedure in reverse index order and taking each gate’s adjoint. Complex conjugation is gatewise. Nested loops for the clock multiplexer and the phase-estimation powers require only a fixed number of polynomially bounded counters. They therefore preserve deterministic logspace uniformity.

A.3 Angles and precision

Only the extra target angles require numerical evaluation by the compiler. The fixed selector weights, the Fourier phases, the reflection phases, and the phase-filter rotations can all be evaluated with O⁡(log⁡n) bits of precision. To make the latter claim explicit, reduce the argument of cosine to [−π,π] and use its Taylor series. After r terms the error is at most π2⁢r/(2⁢r)!. For inverse-polynomial error, r=O⁡(log⁡n) suffices. The terms can be generated one at a time by their recurrence, maintaining only the current term and partial sum. A logspace-computable value of π can be obtained, for example, from π=16⁢arctan⁡(1/5)−4⁢arctan⁡(1/239) and the geometrically convergent arctangent series.

If t=cos⁡θ is perturbed by ν, the filter value δ⁢t/(t2+δ2) changes by at most |ν|/δ. The quotient can also be evaluated directly with guard bits, since its denominator is at least δ2. Both losses are polynomial. After evaluating the quotient, clip its approximation to [−1/2,1/2]; this does not increase its error relative to the exact filter value. On this interval, |dd⁢u⁢arccos⁡u|≤2/3. Evaluate arccos⁡u=π/2−arcsin⁡u using

arcsin⁡u=∑r=0∞(2⁢rr)4r⁢(2⁢r+1)⁢u2⁢r+1.

For |u|≤1/2, the absolute tail after r terms is bounded by a constant times 4−r. Again logarithmically many terms suffice, and the summands ar obey ar+1=ar⁢u2⁢(2⁢r+1)2/[2⁢(r+1)⁢(2⁢r+3)] with a0=u. Thus only the previous summand, the partial sum, and an index are needed.

Fixed-precision addition, multiplication, and division on O⁡(log⁡n)-bit registers can be performed by schoolbook algorithms using O⁡(log⁡n) work bits and polynomial time. The series require only a constant number of such registers and a logarithmic counter. Polynomial error amplification and logarithmically many rounding steps are absorbed by choosing a sufficiently large constant in the O⁡(log⁡n) precision bound. The number of controlled rotations emitted is polynomial, so allocating reciprocal-polynomial error to each gate also keeps the aggregate error within Lemma 5 and the budget following (23). This numerical work is performed by the classical circuit generator, not by a hidden clean quantum register. No eigenvalue computation or phase-finding procedure on a classically supplied matrix is needed.

Appendix B A phase-estimation error bound

For an eigenphase 2⁢π⁢φ of V, phase estimation with M=2m labels has amplitudes

αj⁢(φ)=1M⁢∑r=0M−1e2⁢π⁢i⁢r⁢(φ−j/M).

If the circular distance between φ and j/M is 0<Δ≤1/2, the geometric-sum formula and |sin⁡(π⁢Δ)|≥2⁢Δ give

|αj⁢(φ)|2≤14⁢M2⁢Δ2.

Fix 0<ζ≤1/2 with M⁢ζ≥1. On either side of φ around the circle, the quantities M⁢Δ for labels with Δ>ζ form a truncated sequence whose successive terms differ by 1 and whose first term is at least M⁢ζ. Thus the failure probability is at most

12⁢∑r=0∞1(M⁢ζ+r)2≤12⁢(1(M⁢ζ)2+1M⁢ζ)≤1M⁢ζ.

The middle inequality follows by bounding the sum after its first term by the integral of u↦(M⁢ζ+u)−2 over [0,∞).

Take ζ=ε⁢δ/(32⁢π) and let M be the least power of two at least 4096/(δ⁢ε2). On the event of circular error at most ζ, the change in gδ is at most 2⁢π⁢ζ/δ=ε/16. On the complementary event it is at most 1, while that event has probability at most 1/(M⁢ζ)≤π⁢ε/128<ε/16. The error in the ideal phase average (16) is therefore at most ε/8, uniformly over all eigenphases. This leaves room for the rotation and elementary-gate errors in Lemma 5. The choices give m=O⁡(log⁡(1/(δ⁢ε2))) and polynomially many walk calls.