Qubitization and Quantum Signal Processing
Qubitization turns a normalized encoding of a Hermitian operator into independent rotations in subspaces of dimension at most two, one for each eigenvalue. Quantum signal processing (QSP) interleaves that signal rotation with chosen phase rotations so that a matrix element of the resulting circuit realizes a bounded polynomial of the encoded eigenvalue. For Hamiltonian simulation, the polynomial approximates
where and is the block-encoding normalization.
The resulting query complexity can be essentially linear in the magnitude of normalized time and nearly logarithmic in inverse error. That statement is conditional. It assumes coherent access to a suitable block encoding, its inverse and controlled variants; an admissible QSP polynomial; accurately synthesized phase angles; and a resource model that expands every oracle query into logical gates. A small query count does not make PREPARE, SELECT, arithmetic, data lookup, or fault tolerance inexpensive.
The derivation below follows a Hermitian signal walk through polynomial processing to evolution and spectral readout. Block Encodings and QSVT extends the construction to general projected maps and singular values.
Required background. Hamiltonian Simulation defines the target operation and its error metric; Algorithmic Primitives introduces coherent queries. The circuit model and matrix functions supply the matrix products and spectral calculus used here.
Normalized Hermitian signal encodings
Section titled “Normalized Hermitian signal encodings”Let act on system qubits, and take the energy normalization . The target may be , a controlled version, an evolved state, a correlator, or an energy estimate. These uses impose different phase, ancilla-success, and measurement requirements.
Block-encoding convention
Section titled “Block-encoding convention”Let
A unitary is an block encoding of when
or, equivalently on the enlarged space,
Here is the identity on the -qubit ancilla register. This form makes the Hilbert spaces explicit: itself is not subtracted directly from an operator acting on ancilla plus system.
Because a compression of a unitary has norm at most one,
For , the ratio measures normalization overhead. It is part of the algorithm, not a disposable constant.
Exact signal convention used below
Section titled “Exact signal convention used below”To expose the geometry, first assume
Thus is a Hermitian involution whose selected block is . Many LCU encodings have this form. A general block encoding need not be Hermitian or involutory. Standard constructions can hermitianize or qubitize more general encodings by adding controls, an ancilla, and calls to and . Those constant-factor changes must be reflected in the actual query and gate counts. Exercise 1 constructs the required involution explicitly.
Linear-Combination Encoding
Section titled “Linear-Combination Encoding”Suppose
where and each is a Hermitian unitary, as for a Pauli string. Define
For the evolution is the identity. Otherwise omit zero coefficients and complete unused index labels with a Hermitian unitary such as , rather than the nonunitary value . The coefficient-state oracle PREPARE acts as
The multiplexed operator SELECT is
The coefficient-state expectation of SELECT is , as derived in Hamiltonian Simulation.
In an all-zero ancilla convention,
is an exact block encoding. If every selected is a Hermitian involution, then SELECT and are also Hermitian involutions.
This construction explains both the power and the cost of the interface. Qubitization sees the compact parameters and “one query.” The machine must prepare an amplitude distribution, look up or compute an index, apply a selected unitary, uncompute work registers, and often control the entire operation.
Normalization is representation dependent
Section titled “Normalization is representation dependent”The same physical Hamiltonian can have several LCU decompositions with different coefficient one-norms. Low-rank factorizations, basis choices, symmetry reductions, coefficient truncation, and tensor factorizations can reduce the oracle cost or , but may introduce approximation error. The relevant optimization target is not alone:
A decomposition with smaller normalization can lose if its PREPARE and SELECT circuits are much more expensive.
The Qubitized Invariant Plane
Section titled “The Qubitized Invariant Plane”Define the reflection about the encoded subspace and the walk operator
Let
Lift the eigenstate into the encoded subspace:
Since the compression of to the encoded subspace represents ,
For , define the normalized orthogonal state
It obeys
Write . The involution property gives
Because is on and on , the walk restricted to
has matrix
Set
Then is a planar rotation with eigenvalues
One convenient pair of walk eigenstates is
with
This is qubitization: each eigenvalue of a large Hamiltonian becomes the rotation angle of an effective qubit. At , the orthogonal vector is undefined because the invariant plane collapses to one dimension; the phase relation continues by continuity with or .
Convention warning
Section titled “Convention warning”Some constructions use instead of , choose , or encode as rather than . These conventions are equivalent after appropriate basis, sign, and phase changes, but their QSP phase lists are not interchangeable. A reproducible implementation must state the signal matrix, multiplication order, reflection sign, and phase-rotation convention.
Quantum Signal Processing
Section titled “Quantum Signal Processing”The invariant plane reduces the operator problem to controlled manipulation of one real signal . A convenient signal matrix is
On each invariant plane, this convention is related to the walk above by , with . Thus the different off-diagonal phases amount to a fixed basis change.
For a real phase list
define
Here the product is written with increasing from left to right: ; the rightmost matrix acts first on a state. Each matrix element of is a polynomial in and of degree at most . In a standard form,
Unitarity imposes
for real . The degree and parity obey
For , has degree at most and the opposite parity; at it is zero. The exact reality and reciprocity conditions depend on the QSP convention.
Why arbitrary polynomial coefficients are not enough
Section titled “Why arbitrary polynomial coefficients are not enough”A proposed polynomial is not implementable merely because its degree is small. It must satisfy:
- the parity required by the sequence length;
- boundedness or a unitary completion on ;
- the convention’s reality and endpoint conditions;
- a numerically realizable phase factorization;
- sufficient coefficient and angle precision.
If a target lacks definite parity, it can often be decomposed into even and odd parts and combined coherently, or implemented in an equivalent generalized QSP convention. Hamiltonian evolution is a canonical example:
where the real part is even and the imaginary part is odd. Also, in the bare sequence written above, unitarity forces . The bounded, even polynomial cannot itself be its entire upper-left response. Extracting a real component or using extra ancillas changes which polynomial can be the selected output.
An explicit degree-two response
Section titled “An explicit degree-two response”For phases , direct multiplication gives
Thus produces a real quadratic response together with a constant imaginary part. The latter supplies the unitary completion; it cannot simply be discarded. For an initial signal basis state , the return probability is , while the probability of the complementary outcome is . This short sequence illustrates QSP admissibility; it is not a Hamiltonian-evolution approximation.
For , the real part is , the imaginary part is , and the return probability is . Amplitude and probability are different functions. At the return probability is one, as the bare-sequence endpoint condition requires.
Chebyshev interpretation
Section titled “Chebyshev interpretation”Write
Then
so repeated signal rotations naturally generate Chebyshev modes. This is the link between single-qubit phase sequences and polynomial approximation on an entire Hamiltonian spectrum. QSP does not estimate and classically compute ; it transforms all occupied spectral components coherently.
Hamiltonian Evolution as a Polynomial
Section titled “Hamiltonian Evolution as a Polynomial”The target normalized response is
Using , the Jacobi–Anger expansion gives
or equivalently
Here is a Bessel function of the first kind. Truncating at degree gives a uniform error bounded by the Bessel tail,
This bounds the unconstrained series approximation. Its truncation can slightly exceed unit modulus, and contains both parities. A usable circuit must rescale or complete the appropriate components and combine them, including any amplification and ancilla-failure error. The Bessel-tail bound alone is not a full-circuit error guarantee.
The coefficients decay rapidly once exceeds the effective bandwidth set by . This is why the degree grows approximately linearly with normalized time and only mildly with inverse precision.
Query-optimal degree
Section titled “Query-optimal degree”Let . For an exact block encoding, and , the worst-case query complexity for an -accurate block encoding of the evolution has the joint scaling (Gilyén and colleagues, Corollary 60)
A simpler but weaker summary is
The first expression captures two limits:
- for long evolution at fixed precision, ;
- for very high precision at fixed nonzero , the precision contribution is approximately .
Under the standard block-encoding query model, matching lower bounds make the joint dependence query optimal up to constants. The denominator depends on both time and error; replacing it by outside the fixed-time limit is not justified. For very short times, , so is already solved by doing nothing. Worst-case lower bounds do not become stronger merely because a particular implementation chooses an artificially large normalization.
What one query means
Section titled “What one query means”A degree- QSP sequence uses calls to its signal operation, with the exact count depending on parity, completion, and whether the sequence alternates and . Each bare degree- sequence uses phase rotations; parity combination or amplification can add sequences and gates. Query optimality therefore says nothing yet about the elementary-gate cost of one walk call.
Worked Example: Two Pauli Terms
Section titled “Worked Example: Two Pauli Terms”Consider
For , an LCU encoding has
coefficient state
and
The compression is . The physical eigenvalues are
and the qubitized walk phases obey
QSP targets
If and are both nonzero, then
For ,
The walk therefore processes a normalized time larger than the minimum spectral scale would suggest. If one coefficient vanishes, the ratio becomes one and a direct Pauli rotation is already exact. Qubitization remains valid after assigning a unitary to any zero-weight SELECT branch, but a direct rotation is simpler. If , use the identity without defining the coefficient state.
Direct Spectral Readout from the Walk
Section titled “Direct Spectral Readout from the Walk”QSP is not the only use of the qubitized walk. Controlled phase estimation on can estimate directly, then recover
The lifted state is
Phase estimation can therefore return either branch or . Both give the same energy after applying cosine. For a small phase error ,
and hence
Direct walk-based phase estimation avoids first compiling a long-time exponential, but it still requires a trial-state overlap with the desired eigenstate, controlled walk powers, the correct walk/reflection convention, and enough coherent queries to resolve the energy. Cosine is periodic, so no phase unwrapping is required for this energy conversion: either signed branch modulo gives the same answer. The block normalization again sets the natural energy scale.
Approximate Encodings and Robustness
Section titled “Approximate Encodings and Robustness”Suppose the selected block corresponds to a Hermitian effective Hamiltonian with
Duhamel’s formula gives
A general approximate block need not be Hermitian. Construct its Hermitian part as in Exercise 1 or apply a robust block-transformation theorem before invoking this generator bound. Hamiltonian Simulation gives an explicit non-Hermitian counterexample.
This contribution is separate from polynomial processing. If the realized signal query satisfies
then a degree- sequence has the coarse telescoping bound
Likewise, if the th phase rotation has operator error ,
Block error and coherent ancilla error
Section titled “Block error and coherent ancilla error”Let , and let be the complete ideal simulation circuit. The selected block is . If for a target unitary , then every input has success probability at least for . However, the stronger coherent requirement is
which also controls amplitude in the unwanted ancilla subspace. In fact, follows by expanding the squared norm and using . This square-root dependence cannot generally be improved; Exercise 8 attains it exactly. One can set a sufficiently small block tolerance or use the complete amplification theorem for the chosen construction. A successful postselection accuracy is a third, conditional statement and includes its success probability.
Once bounds the complete coherent implementation for the represented Hermitian , a consistent total estimate is
Here counts all signal calls, including combination or amplification, and covers additional coherent control/compilation errors. Avoid counting the same coefficient error both in and in the query perturbation. All terms must refer to the same ideal circuit and compatible norm. Logical failure probabilities and measurement uncertainty require their own output-level interpretation.
The cheapest allocation need not be equal: improving coefficient-state preparation can cost far more than improving an axial rotation. Optimize the implementation subject to the required total error, including ancilla behavior.
Phase Finding Is Part of the Algorithm
Section titled “Phase Finding Is Part of the Algorithm”Polynomial design and phase finding are distinct classical tasks:
- choose or compute an admissible polynomial approximating the target;
- complete it to a unitary QSP response;
- factor that response into phases ;
- verify the phases in the exact circuit convention to be used;
- round or synthesize them to the allocated precision.
High-degree phase recovery can be numerically delicate. Root-based methods may require extended precision; optimization, Prony-like, fixed-point, and structured-factorization methods have improved the stable range. A claimed degree is not yet an executable circuit if no phase list has been generated and checked.
For a computed list, reconstruct the realized response on a dense spectral grid and, when a rigorous guarantee is required, supplement sampling with an interval or coefficient-based error certificate. Grid agreement alone can miss a narrow excursion between points.
Phase precision and non-Clifford cost
Section titled “Phase precision and non-Clifford cost”If arbitrary axial rotations each receive tolerance of order , a representative fault-tolerant synthesis cost is
up to synthesis method and gate-set constants. This can be smaller than the oracle cost, but it is not zero. Phase-gradient states, repeat-until-success methods, catalysis, or native logical rotations change these costs and must be included in the comparison.
Expanding Queries into Fault-Tolerant Resources
Section titled “Expanding Queries into Fault-Tolerant Resources”For the LCU construction,
One walk call also requires the reflection . A degree- implementation therefore has a schematic logical cost
The exact constants depend on whether the sequence uses , , alternating phase conventions, parity completion, and postselection or oblivious amplification.
PREPARE
Section titled “PREPARE”PREPARE may require:
- QROM or arithmetic for coefficient data;
- alias sampling or inequality tests;
- reversible normalization and square-root approximations;
- work registers that must be uncomputed;
- precision sufficient to meet .
Its qubit and Toffoli costs can dominate. Treating an arbitrary coefficient state as one elementary gate is an oracle-model statement, not a physical resource estimate.
SELECT
Section titled “SELECT”SELECT may require:
- multiplexed Pauli strings or fermionic operations;
- address decoding and swaps;
- basis rotations and parity networks;
- reversible evaluation of sparse indices;
- additional controls for phase estimation.
Symmetry, low-rank factorization, unary iteration, and data layout can change both normalization and gate cost. The best encoding is therefore application and architecture dependent.
Reflection and controls
Section titled “Reflection and controls”The reflection
is a multi-register phase conditioned on all block ancillas being zero. Its cost depends on available clean or dirty ancillas and the fault-tolerant gate set. If the QSP simulator will be controlled, the global phase convention and every oracle control must be implemented consistently; a phase that is global for the uncontrolled unitary becomes relative between control branches.
Ancilla accounting
Section titled “Ancilla accounting”QSP and qubitization need only a small number of signal-processing ancillas beyond the block encoding. This does not mean the complete algorithm uses a constant number of ancillas. PREPARE, SELECT, QROM, arithmetic, phase estimation, error correction, and magic-state factories can require many more.
Energy Shifts and Rescaling
Section titled “Energy Shifts and Rescaling”For a known scalar ,
and
If shifting the identity reduces the available block normalization from to , it can reduce QSP degree. The scalar phase can be discarded for an uncontrolled channel, but must be restored for controlled evolution, interferometry, and absolute phase estimation.
The optimization should minimize the implemented cost
not merely the spectral radius of . An LCU decomposition may respond to the identity shift differently from an abstract optimal block encoding.
Comparison with Product Formulas
Section titled “Comparison with Product Formulas”Product formulas and qubitization consume different access primitives.
| Feature | Trotter–Suzuki | Qubitization and QSP |
|---|---|---|
| required access | exponentials of Hamiltonian terms | coherent block encoding, inverse, reflection, and controls |
| main structural parameter | nested commutators, locality, ordering | normalization and query implementation cost |
| precision dependence | polynomial for fixed order | near-logarithmic query contribution |
| ancillas | often few | few signal ancillas, potentially many oracle work qubits |
| natural setting | local/native terms, moderate precision | fault-tolerant coherent access, high precision |
| chief practical risk | many term rotations and routed depth | expensive PREPARE/SELECT and controlled oracle expansion |
Qubitization is compelling when a favorable block encoding is already known, its queries compile efficiently, and high coherent accuracy is valuable. Product formulas can win when local exponentials are native, commutators are sparse, precision is moderate, or coherent data access is expensive. The comparison must use the same Hamiltonian truncation, output, tolerance, architecture, and failure probability.
Trotter–Suzuki Methods develops the product-formula side of this comparison.
Checking the implemented response
Section titled “Checking the implemented response”For a small Hamiltonian, reconstruct the PREPARE/SELECT block, the walk’s invariant subspaces and eigenphases, and the complete phase sequence separately. Check coefficient signs, work-register cleanup, and the stated Hermitian and unitary assumptions. Include interior eigenvalues and , where the signal plane becomes one-dimensional. The full walk can also have unused subspaces; compare the spectrum reached from the selected input, not every unrelated eigenvalue of the enlarged circuit.
Verify the realized polynomial’s parity, completion identity, and approximation error in the declared convention, both before and after angle rounding. Then compare the complete circuit against exact evolution, measuring ancilla leakage as well as the selected block. A grid can expose mistakes but needs a rigorous between-point bound for a uniform certificate.
Finally compare the requested state, observable, correlator, or energy with an independent calculation in a tractable regime. Preparation, success probability, and measurement uncertainty affect that prediction even when the signal-processing subroutine is correct.
Exercises
Section titled “Exercises”1. Construct a Hermitian involution
Section titled “1. Construct a Hermitian involution”For any unitary , introduce an extra qubit and define
Show that and . If the selected block of is , what block results when the new qubit is selected in ?
Solution
Hermitian conjugation exchanges the two off-diagonal blocks, leaving unchanged. Squaring gives . Selecting the new qubit in gives , and selecting the original ancillas gives . Thus an exact Hermitian block is preserved. For a target ,
Hadamard gates convert the extra selection to an all-zero convention. The construction needs controlled access to and ; the extra qubit does not make those operations free.
2. Derive the invariant-plane matrix
Section titled “2. Derive the invariant-plane matrix”Starting from
and , derive the action of on and the matrix of .
Solution
By definition,
Apply and use :
Thus
Since and ,
in the ordered basis .
3. Recover energy from a walk phase
Section titled “3. Recover energy from a walk phase”Suppose phase estimation returns with a shortest circular angular distance at most from the true walk phase. Bound the resulting energy error for .
Solution
The mean-value theorem gives
because . Locally,
At the endpoints , the stronger bound is , since . This is a local improvement, not a uniform replacement for the linear bound across the spectrum. The same bounds apply to either signed branch modulo because cosine is periodic and even.
4. Propagate block-encoding error
Section titled “4. Propagate block-encoding error”An approximate block encoding represents a Hermitian with . For , show that choosing
allocates at most to the induced evolution error.
Solution
Duhamel’s formula and unitary invariance give
Substituting the proposed bound on yields
5. Account for phase-rotation precision
Section titled “5. Account for phase-rotation precision”A degree- sequence has phase rotations. If each realized rotation is within operator norm of its ideal value, give a sufficient per-rotation tolerance for a total phase-synthesis budget .
Solution
A telescoping product bound gives
It is therefore sufficient to choose
This uniform allocation is convenient, not necessarily cost optimal. Some angles may synthesize exactly or more cheaply than others.
6. Optimize a scalar shift
Section titled “6. Optimize a scalar shift”Explain why minimizing need not minimize the fault-tolerant cost of qubitization. What must be compared instead?
Solution
The available block normalization need not equal . It depends on the chosen decomposition and data structure. The identity shift can also change PREPARE, SELECT, arithmetic, and phase-correction costs. The relevant comparison is therefore something like
with the scalar phase restored whenever the simulation is controlled or used interferometrically.
7. Complete a real quadratic response
Section titled “7. Complete a real quadratic response”Multiply to find and . Check unitarity for . Why is the real part alone not the entire upper-left entry of a bare QSP sequence?
Solution
The diagonal entry is
and . At , and
The real part alone has magnitude at both endpoints, contradicting for the full bare response. An additional interference or ancilla construction can select a real component, but it changes the circuit and its success behavior.
8. A small block error with larger coherent leakage
Section titled “8. A small block error with larger coherent leakage”Let and let an ancilla rotation satisfy
Use to approximate the identity on the system. Find the selected-block error, success probability, and full encoded-state error. What block tolerance suffices for a coherent error in this example?
Solution
The selected block is , whose error from is . Success has probability ; conditioned on success, the system state is exact. Before measuring the ancilla, the difference from has squared norm
Hence the coherent isometry error is , for every normalized input. It is at most when . Block error, accepted-state error, failure probability, and coherent leakage are distinct accuracy statements even for this elementary circuit.
References
Section titled “References”- D. W. Berry, C. Gidney, M. Motta, J. R. McClean, and R. Babbush, “Qubitization of Arbitrary Basis Quantum Chemistry Leveraging Sparsity and Low Rank Factorization,” Quantum 3, 208 (2019), doi:10.22331/q-2019-12-02-208.
- Y. Dong, X. Meng, K. B. Whaley, and L. Lin, “Efficient Phase-Factor Evaluation in Quantum Signal Processing,” Physical Review A 103, 042419 (2021), doi:10.1103/PhysRevA.103.042419.
- A. Gilyén, Y. Su, G. H. Low, and N. 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, 193–204 (2019), doi:10.1145/3313276.3316366.
- J. Haah, “Product Decomposition of Periodic Functions in Quantum Signal Processing,” Quantum 3, 190 (2019), doi:10.22331/q-2019-10-07-190.
- L. Lin, “Lecture Notes on Quantum Algorithms for Scientific Computation,” arXiv:2201.08309 (2022), doi:10.48550/arXiv.2201.08309.
- G. H. Low and I. L. Chuang, “Optimal Hamiltonian Simulation by Quantum Signal Processing,” Physical Review Letters 118, 010501 (2017), doi:10.1103/PhysRevLett.118.010501.
- G. H. Low and I. L. Chuang, “Hamiltonian Simulation by Qubitization,” Quantum 3, 163 (2019), doi:10.22331/q-2019-07-12-163.
- G. H. Low, T. J. Yoder, and I. L. Chuang, “Methodology of Resonant Equiangular Composite Quantum Gates,” Physical Review X 6, 041067 (2016), doi:10.1103/PhysRevX.6.041067.
- J. M. Martyn, Z. M. Rossi, A. K. Tan, and I. L. Chuang, “Grand Unification of Quantum Algorithms,” PRX Quantum 2, 040203 (2021), doi:10.1103/PRXQuantum.2.040203.
- L. Ying, “Stable Factorization for Phase Factors of Quantum Signal Processing,” Quantum 6, 842 (2022), doi:10.22331/q-2022-10-20-842.