Overview
Many quantum algorithms do the same thing in disguise: they apply a function to the eigenvalues or singular values of some matrix. Grover search amplifies one singular value, phase estimation sorts eigenphases, Hamiltonian simulation applies , and linear-system solvers apply . The quantum singular value transformation (QSVT) of Gilyén, Su, Low and Wiebe (STOC 2019) makes this explicit. If a matrix sits as a block inside a unitary — a block encoding — then alternating and with simple phase rotations applies any suitable polynomial to the singular values of , using applications of and a single extra qubit.
The cost of an algorithm then splits cleanly into two parts: the cost of block-encoding the input, and the degree of a polynomial approximating the desired function, which is a question of classical approximation theory. Martyn, Rossi, Tan and Chuang (2021) present the major algorithms in this language under the name "grand unification".
Intuition
A unitary with a block looks, from the point of view of one right singular vector of with singular value , like a single-qubit reflection: sends to times the matching left singular vector plus a component outside the block, and the projectors , tell "inside" from "outside". Each singular value thus lives in its own two-dimensional subspace, and in that subspace the whole algorithm is a quantum signal processing sequence with signal . Running the sequence on the big system runs it on all singular values in parallel, without ever computing the singular value decomposition.
Prerequisites
Quantum signal processing, the singular value decomposition, and block encodings as constructed in Hamiltonian simulation.
Mathematical Definitions
Let be a complex matrix, , and . A unitary acting on qubits is an -block encoding of if
Equivalently, in the basis where the ancilla register is listed first, with . Since a block of a unitary has norm at most 1, an exact block encoding () requires ; is the normalisation (or subnormalisation) and governs the cost of algorithms that use .
Applying to and post-selecting the ancilla on yields (for ) with probability . The term and the notation are those of Gilyén, Su, Low and Wiebe; the same object is called the standard form by Low and Chuang. Non-square matrices and different input and output projectors are handled by the more general projected unitary encoding of the same paper.
Let , , and let be a singular value decomposition: , an orthonormal basis of and one of ; set for . For a function that is odd, define
and for even,
Both are independent of the choice of decomposition (for an even polynomial of degree , when ; for an odd one, when ). For Hermitian with an odd , , the usual matrix function, because . For an even the even definition gives as well.
This is Definition 16 of Gilyén, Su, Low and Wiebe, where is the block of a unitary.
Theorems
Define the alternating phase modulation sequence
Then, with the singular value transformation of ,
Which polynomials. Phases as in the assumption exist for every degree- polynomial with parity , on , for , and, if is even, for all real (the reflection form of quantum signal processing).
Real polynomials. For every real of degree with parity and on there is such that equals the block of between and (odd ) or (even ); such can be computed classically in time to accuracy .
Cost. uses and a total of times, projector-controlled NOT gates for each of and , single-qubit rotations and one ancilla qubit.
These are Definition 15, Theorem 17, Corollary 8, Corollary 10, Corollary 18 and Lemma 19 of Gilyén, Su, Low and Wiebe.
- is a unitary on a finite-dimensional space, and are orthogonal projectors, and .
- Phases satisfy, for all , that the top-left entry of equals , where .
Proof · Proof of the QSVT theorem in the generic odd case
Scope. This proves the main identity for odd under the extra assumption that and have the same rank and every singular value of restricted to the range of lies in . The even case, singular values and (where the two-dimensional subspaces below degenerate) and unequal ranks are handled in the same way in Theorem 17 of Gilyén, Su, Low and Wiebe; the existence of phases (their Corollaries 8 and 10) is not reproduced here.
Paired subspaces. Write the singular value decomposition of as , with an orthonormal basis of the range of , one of the range of , and . Put . Since and ,
for a unit vector with . Likewise gives with . Applying to the last equation and inserting the first, , so
Hence maps onto with matrix in these ordered bases, and since is real symmetric and orthogonal, maps back onto with the same matrix.
Orthogonality. For : ; because is in the range of and in its kernel; and expanding with gives , where every term vanishes because . The same argument applies to the . So the are mutually orthogonal, and so are the .
Phases act as rotations. On , is in the basis , so acts as ; similarly acts as on .
Assembling. For odd , reading from right to left, a vector in is mapped alternately into (by ) and back into (by ), ending in . In the bases above, restricted to is
whose top-left entry is by the assumption on . Therefore and for , i.e.
The same subspace argument with an even number of factors maps to itself and gives , the even case, once the kernel of on the range of (where ) is also accounted for, as in the source.
Let be the projector onto the span of the right singular vectors of with singular value or at least , and the analogous projector for the left singular vectors. There is and an efficiently computable such that
where is the Moore–Penrose pseudoinverse and "block of " is the real-part combination of the QSVT theorem (one extra ancilla, measured in ). The circuit uses and a total of times. The polynomial behind it is an odd polynomial of degree that approximates for and is bounded by 1 on . For an invertible with condition number and , taking gives a block encoding of with uses of .
This is Theorem 41 of Gilyén, Su, Low and Wiebe.
- , , as in the QSVT theorem, , and .
- The guarantee holds on the subspaces spanned by right singular vectors with singular value or at least (and the corresponding left ones); singular values in are not controlled.
This is Corollary 60 of Gilyén, Su, Low and Wiebe: the bound is both sufficient (by approximating and with polynomials and applying them by singular value transformation) and necessary. For the first term dominates and the cost is linear in time; for very short times the second term, of order , dominates. The source notes that its statement also covers the regime and differs in some regimes from the bound stated by Low and Chuang.
- is an -block encoding of a Hermitian ; , .
- The output is a -block encoding of ; cost is the number of uses of (and its inverse and controlled versions).
Worked Examples
Grover search as a singular value transformation
Let be a state-preparation unitary with , and the projector onto good states. The block has rank one and singular value . Choosing every phase makes each factor equal to times a rotation by , so . For ,
which is exactly the amplitude after rounds of amplitude amplification (Brassard, Høyer, Mosca and Tapp). With and : at is , whose square is the success probability of two Grover iterations on eight items. The sequence uses and five times: once to prepare and twice per iteration. Other phase choices give other odd polynomials, for example the fixed-point search of Yoder, Low and Chuang, whose response stays near 1 on a whole interval of .
Inverting a well-conditioned matrix
For with and condition number , the pseudoinverse theorem with uses applications of the block encoding to produce a block encoding of . Applied to and post-selected, it yields normalised with probability , since when . Amplitude amplification reduces the expected number of repetitions from at most 400 to at most about 20, which is where the extra factor in simple QSVT-based linear solvers comes from; see quantum linear algebra for the solvers that remove it.
Applications
- Search and amplitude amplification: odd polynomials pushing one singular value toward 1 (above), including fixed-point and oblivious variants.
- Phase estimation and eigenvalue thresholding: polynomials approximating a step function decide whether a singular value is above or below a threshold; repeating this bit by bit gives phase estimation (Martyn et al.).
- Hamiltonian simulation: even and odd approximations of and give the optimal block-Hamiltonian simulation cost; see Hamiltonian simulation.
- Linear systems and least squares: approximations of away from 0 give the pseudoinverse; see quantum linear algebra.
Computational Complexity
Costs below count uses of the block encoding (with and controlled versions); each use also costs two projector-controlled NOT gates and one single-qubit rotation, and the whole sequence needs one extra ancilla qubit.
| Task | Polynomial | Uses of | Source |
|---|---|---|---|
| Amplitude amplification, rounds | up to a phase | worked example above | |
| Simulation , normalisation | truncated Jacobi–Anger series | GSLW, Corollary 60 | |
| Pseudoinverse, singular values | odd approximation of | GSLW, Theorem 41 |
The degree is the whole story: any improvement in polynomial approximation of the target function translates directly into fewer queries.
Limitations and Common Pitfalls
- The block encoding is the hard part. QSVT costs are counted in uses of ; building for classical data needs a data-loading mechanism (such as a QRAM) or structured input, and its normalisation multiplies every cost.
- Only singular values are transformed. For non-Hermitian , QSVT acts on singular values, not eigenvalues; functions of eigenvalues of non-normal matrices need other techniques.
- Parity and boundedness. Target functions must be split into even and odd parts and scaled so that ; the scaling factor reappears as a success probability.
- Polynomial degree versus function smoothness. Functions with sharp features (steps, near zero) require degree inversely proportional to the feature width, which is how the condition number enters matrix inversion.
- Phase finding is classical work. For degrees in the thousands, phases must be computed with numerically stable methods; see quantum signal processing.
Related Research
Quantum signal processing, Hamiltonian simulation, quantum linear algebra, and Grover's algorithm.