Block Encodings and QSVT
A block encoding replaces direct access to a generally nonunitary operator by a unitary whose action between two declared signal subspaces is the normalized operator. Quantum singular-value transformation (QSVT) then gives the central result: for a degree- admissible polynomial, one can transform the exposed singular values using exactly calls to the encoded unitary or its inverse. That statement is conditional on executable coherent access, a declared normalization, implementable projector phases, inverse and any controlled calls, a globally bounded parity-compatible polynomial, a synthesized and verified phase list, and an explicit output and success contract. A matrix written on paper is not a block encoding, and a block-encoding query theorem is not by itself an end-to-end runtime or advantage theorem.
Required background. Quantum Oracles supplies complete coherent interfaces, inverse and control capabilities, full-space action, and query conventions. Singular Value Decomposition supplies left and right singular vectors, zero singular subspaces, rank, and the Moore–Penrose pseudoinverse.
Helpful background. The chapter guide sets the claim discipline, Algorithmic Primitives gives a compact pattern-level preview, and Qubitization and Quantum Signal Processing owns the Hamiltonian-specialized signal chain and its phase-convention workflow.
The Projected-Unitary Encoding Problem
Section titled “The Projected-Unitary Encoding Problem”Quantum circuits are unitary, whereas matrices used in optimization, simulation, data analysis, and linear algebra may be rectangular, non-normal, rank deficient, or contractive. The access problem is therefore not merely how to write a matrix , but how to realize a coherent circuit whose declared input and output subspaces expose while specifying every operation later algorithms may call. Let act on a finite-dimensional ambient Hilbert space, and let and be orthogonal projectors onto the input and output signal spaces. The projected map is
As an ambient operator this compression is an endomorphism, but the encoding restricts and identifies it as . Because it is a compression of a unitary, . An encoding of a target declares a positive scale and arranges , exactly or approximately, under that identification. Keep the input and output roles explicit, and use distinct projectors when the declared signal spaces differ, especially for a genuinely rectangular map. Non-normality alone does not require for a square map. Replacing unequal projectors by one anonymous ancilla condition can erase the typing needed to state the odd singular-value transform.
The projectors need not have equal rank. One may describe them through isometries and , with , , and matrix representative . This makes basis choices and dimensions explicit while leaving the ambient completion of nonunique. QSVT depends only on the declared projected access and the ability to phase its signal projectors, but implementation cost can depend strongly on that completion. Two unitaries exposing the same selected matrix are therefore mathematically interchangeable for the ideal transform and operationally different once controls, inverses, and gates are counted.
The access promise must be operational. It names registers, dimensions, the full unitary or an implementing circuit, inverse access, controlled access when used, and the cost of the reflections or phase rotations about both signal spaces. It also distinguishes three outputs: an encoded operator that can be queried coherently, a heralded state proportional to , and classical estimates obtained only after measurement. The projected-unitary framework developed by Gilyén, Su, Low, and Wiebe makes those distinctions part of the theorem rather than post-processing folklore.
The Ten-Field Block-Encoding and QSVT Claim Record
Section titled “The Ten-Field Block-Encoding and QSVT Claim Record”A useful claim is short enough to audit but complete enough to reproduce. Fill every field below; write a reasoned N/A when a field genuinely does not apply. A complexity statement without the first four fields has not yet specified an input model, and one without the last four has not yet specified an algorithmic output.
- Target operator and domain. Give the linear map, its input and output dimensions, and the promised family of instances. State whether it is Hermitian, rectangular, sparse, or rank deficient when that affects the construction.
- Encoding and normalization. State whether the access is projected-unitary or a standard block encoding, give , the ancilla count, and the selected-block error in a named norm. For an exact encoding verify .
- Projectors and registers. Define and , register order, signal dimensions, and all zero padding. A diagram is optional; an unambiguous tensor-factor declaration is not.
- Oracle capabilities. List calls to , , controlled variants, PREPARE, SELECT, data access, and projector phases. Say which capabilities are supplied and which must be synthesized.
- Polynomial and spectral promise. Give the target function, degree, approximation set, transition gap, parity, global bound, and phase convention. Record any complex-completion conditions rather than checking only sample points.
- Output block and parity. Identify the selected projectors, whether the transform is right-to-left or stays in a right or left signal space, and the action on zero singular directions.
- Error and success. Separate input block error, polynomial error, phase error, full-unitary implementation error, postselection probability, and failure probability. State the metric for a normalized output state.
- Query and gate ledger. Count encoded-unitary and inverse calls, controls, reflections, rotations, gates, depth, clean and dirty ancillas, and repetitions or amplification. Never promote a query count to a gate count silently.
- Classical work and verification. Include coefficient generation, phase synthesis, precision, data loading, compilation, and numerical checks of the polynomial, phases, and selected block.
- Conclusion and boundary. State exactly what was produced and what was not. Separate an oracle-model transform from a classical-output algorithm, and separate upper bounds from evidence of comparative advantage.
The record is deliberately representation neutral. It can document a hand-built circuit, a sparse-access construction, or a theorem-level oracle, but it prevents those access models from being substituted for one another without a cost conversion.
Block Encodings, Projectors, and Normalization
Section titled “Block Encodings, Projectors, and Normalization”The common equal-projector specialization uses signal ancillas:
A unitary is an block encoding of when
Unless stated otherwise, the norm is the operator norm. Exactness means , in which case compression contractivity forces . An approximate definition supplies only ; it does not automatically make a contraction. Whenever a later robustness theorem treats as its target contraction, the additional promise must be stated. Keeping visible also reveals over-normalization: two encodings of the same can have identical query costs but very different heralding probabilities.
For an exact encoding and normalized , applying to produces a signal component
Measuring the ancillas and accepting therefore succeeds with
Conditional on success, the system is . If that numerator vanishes, there is no successful branch and hence no normalized output state. If the branch is small, repetitions or amplitude amplification must be charged separately. Neither outcome is a classical list of the entries of .
For a projected-unitary encoding of an matrix, the right signal space has dimension at least and the left signal space at least . A genuinely rectangular cannot appear literally in the standard equal-projector corner without a declared zero-padding or square embedding; otherwise one must use the two-projector definition directly. Ambient padding can be useful, but it changes which zero singular directions exist. Thus dimensions, projectors, and padding belong to the mathematical definition, not merely to circuit layout.
Constructing Encodings and Expanding Their Cost
Section titled “Constructing Encodings and Expanding Their Cost”Block-encoding constructions differ primarily in what access they assume. A supplied unitary is its own encoding. This observation is exact but does not explain how is obtained, so it is meaningful only when the input model already supplies or compiles that circuit.
For with unitary , linear combinations of unitaries use a PREPARE operation for coefficient amplitudes and a SELECT operation applying the indexed . Absorbing coefficient phases into SELECT gives the natural normalization
One invocation of the composite encoding can contain two state-preparation calls, a multiplexed selection, uncomputation, coefficient arithmetic, and controls. Consequently, “one block query” and “one elementary gate” are different currencies.
Sparse position/value access can coherently enumerate nonzero entries and load their values. In the concrete Gilyén–Su–Low–Wiebe Lemma 48 model, an -row-sparse, -column-sparse matrix with and explicit row, column, and -bit value oracles has normalization , uses ancillas, and achieves selected-block error . One encoding call makes one row-oracle call, one column-oracle call, and two value-oracle calls, in addition to precision-dependent reversible arithmetic gates and ancillas; is the declared address width. Oracle definitions, invalid-index behavior, inverses, and query conversions remain explicit. The circuits of Camps, Lin, Van Beeumen, and Yang likewise show why a verified construction is stronger than simply asserting sparse access.
Row- and column-state preparation can expose overlaps equal to normalized matrix entries. QROM-like data structures may make those preparations efficient relative to a chosen architecture, but memory construction, classical preprocessing, loading bandwidth, finite precision, and coherent uncomputation remain costs. An input already resident in a tailored quantum data structure is a different problem from an arbitrary dense matrix supplied classically.
Coherent preparations also produce Gram, density, and projector encodings. For example, two isometries whose columns prepare indexed state families can yield their overlap matrix as a selected block; tracing or projecting a purification can expose a density operator. One must still state whether the preparation is exact, whether its inverse is available, and which subsystem is selected.
Finally, structure-specific circuits exploit tensor products, symmetries, local terms, or analytic factorizations. They should be assessed by their gate decomposition, numerical selected-block check, and hardware-independent resources. Chakraborty, Gilyén, and Jeffery demonstrate the algorithmic power available once matrix powers are coherently block encoded, but that power is conditional on the stated encoding access rather than a generic promise about classically stored matrices.
A reproducible ledger expands each logical query into PREPARE/SELECT or data-oracle calls, inverses, controls, projector phases, elementary rotations, precision bits, gates, depth, and qubits. It also records classical construction and verification. These columns prevent a favorable theorem in one access model from being compared directly with an implementation cost in another.
Verification should follow the same hierarchy. First prove or numerically test that the purported circuit is unitary on its full declared space; checking only the desired corner cannot detect a nonunitary completion. Next extract the selected block in the stated register order and compare it with in operator norm. Then test inverse and controlled variants, because a compiler may implement those differently from the forward circuit. Finally expand one logical call into the primitive oracle and gate counts used by the surrounding algorithm. Small dense instances are useful regression tests for this pipeline, but they do not replace a uniform construction proof or certify asymptotic data-loading claims.
Adjoint, Product, and Linear-Combination Calculus
Section titled “Adjoint, Product, and Linear-Combination Calculus”The following table is the page’s compact calculus. Errors refer to selected blocks; implementation errors of the full unitaries, preparations, SELECT operations, and controls are additional unless explicitly absorbed into the named terms.
| operation | encoded map | normalization | signal space | leading block error | required access |
|---|---|---|---|---|---|
| adjoint | swap left and right | and swapped projectors | |||
| tensor product | tensor independent signal spaces | at most with target-norm promises | on independent ancillas | ||
| product | right space of to left space of | at most with target-norm promises | ordered calls and independent signal ancillas | ||
| LCU sum | common compatible signal spaces | exact PREPARE/SELECT plus constituent encodings | |||
| Hermitian dilation | direct sum of left and right spaces | controlled and one selector | |||
| QSVT polynomial | parity-dependent projected space | polynomial, block, phase, and oracle terms separated | alternating calls and projector phases |
For the adjoint rule, taking the adjoint of the selected block gives an encoding of in the equal-projector specialization. More generally, for becomes for : the projectors swap. For tensor products and compatible products, independent signal ancillas ensure that the intermediate projection actually occurs. If and are the selected normalized blocks, then under and ,
The same bound follows for tensor products. Without those target-norm promises, the universally safe bound is
The construction is not on the same flag. Unitarity makes that product the identity on the entire ambient space, so its selected block is the identity even when is not. Independent flags retain the two projections and prevent garbage from returning coherently to the signal branch.
For , exact PREPARE/SELECT access to constituent encodings yields normalization
and selected-block error at most . Finite PREPARE and SELECT errors must be added separately under their own norm model. Negative or complex require coherent phases; they are not represented by probabilities alone.
For rectangular , the Hermitian dilation
has nonzero eigenvalues . A controlled construction can preserve normalization while adding a selector qubit, but its controlled and inverse calls and enlarged registers remain in the ledger. Hermitianization provides a useful construction; it does not license replacing a requested singular-value function by an unrelated eigenvalue function.
Singular Subspaces of a Projected Unitary
Section titled “Singular Subspaces of a Projected Unitary”Let the normalized projected map have singular-value decomposition
The vectors occupy the right signal space and the left signal space. The SVD owner supplies the factorization and pseudoinverse theory; here the decomposition identifies the invariant two-dimensional sectors on which alternating projected-unitary phases act. Rank deficiency leaves additional right and left zero-singular subspaces, and their dimensions need not match.
For an odd function , define the right-to-left transform
Oddness makes , so right-null vectors are annihilated. For an even function, complete the right singular vectors to a basis, assign on the right null space, and define
This operator remains in the right signal space and acts as on every padded right-null direction. The corresponding left-space transform follows from the adjoint convention. One expression called merely is insufficient because it hides both the change of codomain and the action on zero singular directions.
Polynomial Admissibility and Phase Realization
Section titled “Polynomial Admissibility and Phase Realization”The safe real-polynomial theorem begins with global, not sampled, conditions. Let have degree , parity , and
Corollary 10 of Gilyén–Su–Low–Wiebe supplies a complex completion with . Their Theorem 17 gives
The raw selected block generally transforms by the complex completion , not directly by . Corollary 18 obtains the real transform with a coherent selector:
The multiplexer still uses exactly total calls to or ; it adds one selector qubit and controlled projector-phase rotations, not two independent -query sequences.
With
one explicit convention is
The displayed ordering is a convention, not a portable list of angles. A synthesis routine and circuit must agree on product order, signal convention, phase offsets, and which sequence is conjugated. Low and Chuang established the signal-processing framework and its Hamiltonian specialization; Gilyén and collaborators formulated the general singular-value transformation, while Martyn, Rossi, Tan, and Chuang organize many algorithmic uses around the same polynomial mechanism.
Lemma 19 gives the corresponding resource ledger: one work ancilla, total uses of or , uses each of controlled- NOT and controlled- NOT, and one-qubit phase gates. The real multiplexer adds its selector without doubling the count. If a separately controlled is required, its phase gates are controlled and, for odd , one occurrence of is replaced by controlled-. These controls, elementary gates, and classical phase construction remain separate from the block-query count.
The bounded real theorem deliberately avoids hiding the completion problem. In a paired complex-QSP form, has parity , has parity , their degrees are at most and , and
A prescribed complex degree- polynomial alone must satisfy the full Corollary 8 conditions: parity ,
and, for even ,
where means coefficientwise conjugation. The last quantity is not . Pointwise boundedness only on the target spectral set is insufficient.
A mixed-parity function may be split and recombined with an explicit normalization and ancilla cost, or treated by a separately stated theorem. For rectangular , the odd part maps to , whereas the even part acts within ; the two operators cannot be added until a common embedding or Hermitian dilation is declared. Theorem 56 supplies one precise Hermitian route: if is an block encoding of Hermitian , a real degree- polynomial obeys on , and , then the construction is a
block encoding of . It uses total applications of or , one controlled-, and other one- and two-qubit gates. When , the classical construction time is polynomial in and ; the existence statement also permits , without that finite-runtime assertion. The synthesis tolerance is not a spectral-gap symbol. This theorem and generalized QSP are alternatives with their own hypotheses, not silent replacements for standard QSVT.
For source traceability, Gilyén–Su–Low–Wiebe Definitions 11, 16, and 43 define projected-unitary encodings, parity-dependent singular-value transforms, and block encodings. Theorem 3 and Corollaries 8 and 10 supply paired QSP, the prescribed-complex conditions, and real completion; Theorem 17, Corollary 18, and Lemma 19 supply the raw complex transform, coherent real selector, and resources. Lemmas 47, 48, 52, and 53 cover coherent Gram, sparse-oracle, LCU, and independent-ancilla product encodings under the access and error contracts stated here. Lemmas 22 and 23 are respectively the contraction-based square-root robustness result and the separately conditioned linear result. Theorem 56 is the Hermitian arbitrary-parity construction just stated. Lemma 25 and Theorems 30, 31, 41, and 73 provide gap-dependent polynomial amplification, sign or threshold transforms, scaled pseudoinversion, and the query lower bound used below. This numbering follows the full version, arXiv:1806.01838; the bibliography records its peer-reviewed STOC publication.
Chebyshev polynomials provide finite admissible checks: , so on and has parity . More useful inverse, sign, step, and threshold approximants require a promised gap or transition band. Uniform approximation to a discontinuity on an interval containing the jump is impossible.
Polynomial completion and phase extraction are separate classical stages. Berntson and Sünderhauf give an FFT-based algorithm that constructs a complementary polynomial with explicit error and runtime guarantees; that then feeds a distinct phase-factor extraction procedure. Dong, Meng, Whaley, and Lin analyze efficient phase-factor evaluation, Haah supplies a product-factorization route, and Ying develops stable phase-factor factorization. Together these stages motivate three checks: evaluate the achieved polynomial densely over its full admissibility interval, compare the extracted phases and circuit convention, and test the selected block on finite matrices. A small completion error is not automatically a small phase error, and a phase list that works under one convention may fail under another.
Odd and Even Quantum Singular-Value Transforms
Section titled “Odd and Even Quantum Singular-Value Transforms”Parity determines both algebra and register typing. For odd degree, the selected operator
maps the right signal space to the left. For even degree,
acts within the right space, including on its declared null padding. Applying the adjoint convention yields the analogous left-space even transform. These expressions explain why an even polynomial of a rectangular map is not another rectangular map of the same shape.
For , degree is also the encoded-unitary query count: the transform uses alternating calls, regardless of how many coefficients appear when is expanded in monomials. Degree does not count projector phases, the real-part selector, phase-synthesis work, or the internal cost of . Conversely, an implementation should not charge both a controlled and its decomposition as separate oracle queries unless the chosen accounting convention explicitly reports nested currencies.
The selected block is still an encoded operator. To obtain a state, prepare an input, run the transform, and project onto the appropriate output signal space. Its success probability is the squared norm of the selected action on that input. Estimating an expectation value or printing singular values requires additional measurement, sampling, and classical processing. QSVT changes coherent spectral response; it does not perform tomography for free.
When the desired response has both parities, write with and . Synthesize the parts under their correct output-space conventions, align their types if necessary through a dilation, and combine them with an LCU or another explicitly stated theorem. The recombination scale and success probability belong in the claim.
Approximate Encodings and End-to-End Error
Section titled “Approximate Encodings and End-to-End Error”A reliable design proceeds in a fixed order:
- Rescale the encoded spectrum into and record .
- Declare the promised spectral set and any transition gap.
- Choose odd, even, or explicitly recombined mixed parity.
- Approximate the target uniformly on the promised set.
- Enforce boundedness on all of , including transition regions.
- Compute and verify a phase list under one convention.
- Allocate block, polynomial, phase, oracle, and output errors separately.
- Expand queries into gates, depth, qubits, and classical synthesis work.
Two perturbation models must remain distinct. Let and be contractions, and let be a degree- polynomial satisfying the complex-QSP admissibility conditions. The robust selected-block theorem gives
This is the unconditional square-root robustness statement of Lemma 22 once both inputs are contractions and meets complex-QSP admissibility; no spectral-margin hypothesis is added. For an block encoding, the selected unitary block is automatically a contraction and . The definition alone permits , so require explicitly before setting the target contraction to . Under that promise, a representative input-block contribution is
Lemma 22 does not justify replacing this by . A linear estimate comes instead from Lemma 23 under the separate condition
when its perturbation term is
The square-root bound is generally conservative, but the linear form cannot be used without its midpoint-norm headroom.
Separately, suppose every implemented full-unitary query differs from the nominal or by at most in operator norm. Replacing calls one at a time in a product of unitaries gives the telescoping contribution . Add projector-phase, real-part-control, and phase-synthesis errors under compatible norms. Do not charge one physical defect once as selected-block error and again as full-unitary error; choose the model supported by the implementation evidence.
If the polynomial approximates an ideal response within on the promised singular-value set, a schematic operator budget is
with only independently sourced terms included. This budget controls an encoded operator, not automatically a conditional state. If is the ideal selected operator, , and
then normalization amplifies error according to
The condition is essential: a tiny ideal branch cannot define a stable normalized output. Postselection probability, repetitions or amplitude amplification, input-state preparation, observable estimation, classical readout, and independent verification all lie outside the bare transform theorem.
Probability error also needs its own conversion. For normalized input , the reverse triangle inequality gives
Thus the success amplitude can move by at most , while the corresponding probability difference is at most when the ideal amplitude is . This does not guarantee a useful relative error when is small. An amplification schedule must be designed for a proved lower bound or use an unknown-success procedure, and its extra calls multiply the cost and can tighten the required per-call accuracy.
Applications, Outputs, and Canonical Boundaries
Section titled “Applications, Outputs, and Canonical Boundaries”QSVT is a general spectral-response engine, but each application inherits a specialized promise and output contract.
-
Polynomial functions of Hermitian operators use the eigenvalue specialization. Hamiltonian evolution, its sine/cosine signal convention, phase workflow, and fault-tolerant ledger belong to Qubitization and Quantum Signal Processing, following the signal-processing and qubitization constructions of Low and Chuang.
-
Scaled inverse and pseudoinverse filters approximate only away from zero. For Theorem 41, take , let the normalized map have promised zero-or-at-least- singular subspaces, and let and project onto their right and left parts. The reverse-direction guarantee is
It uses total calls. Call this a global operator-norm approximation only when the entire declared signal spectrum lies in . It is an encoded-operator primitive; solution-state success, conditioning, verification, readout, and classical comparison belong to Quantum Linear Algebra.
-
Singular-value threshold projectors and discrimination filters require an explicit transition band. Values inside that band are not promised to behave like an ideal discontinuous step.
-
Uniform singular-value amplification requires headroom. In Theorem 30, , , and every positive target singular value obeys . The transformed value satisfies
while zero maps to zero, using total calls. Singular values cannot be amplified uniformly through . Fixed-point and robust oblivious variants use related responses, while generic two-reflection geometry, schedules, and success accounting belong to Amplitude Amplification.
-
Noncommutative measurements and coherent spectral filters can preserve a useful operator output, but extracting classical statistics still invokes sampling and state-preparation costs.
-
Quantum Walk Algorithms owns discrete- and continuous-time walk models, graph-access contracts, spectral and hitting-time guarantees, and walk-specific search and detection algorithms. This page retains only the block-encoding and QSVT representation of walk operators, including normalization, error, and query accounting.
The block-power and regression results of Chakraborty, Gilyén, and Jeffery illustrate how encoded matrix functions can improve query-model algorithms. The unification developed by Martyn and collaborators clarifies the shared polynomial structure. In both cases, the scientific conclusion is conditional: access, normalization, precision, success probability, and output type remain part of the claim.
There is also an oracle lower-bound boundary. Let an unknown Hermitian be supplied by an exact block encoding, with . Theorem 73 states that any circuit producing a block encoding of for every promised input, using applications of , satisfies for every distinct ,
whenever the numerator is positive. This is an eigenvalue-transform oracle lower bound, not a universal gate, depth, wall-clock, or classical-comparison bound; a nonpositive numerator gives no conclusion. The proof’s hard-family encodings are reflections, hence self-inverse, so the same lower bound holds under a query convention for that family. This is the reason for the extension, rather than a silent change to the theorem’s -only wording.
Generalized quantum signal processing, developed in peer-reviewed form by Motlagh and Wiebe, uses general rotations to relax practical polynomial-family restrictions. It is an extension with a different theorem and synthesis convention, not the definition of standard QSVT. A claim invoking it must replace, rather than silently bypass, the standard parity and completion fields.
The current-literature boundary is active but separate. Laneve’s adversary characterization, Lu, Liu, and Lin’s framework, and Ito, Mori, Sakamoto, and Fujii’s constructive multivariable decision algorithm concern multivariate or higher-dimensional extensions. Berntson–Sünderhauf instead advances complementary-polynomial construction, which supplies input to separate phase extraction. These works sharpen or broaden signal processing, but they do not replace the standard univariate theorem, completion contract, or eigenvalue-transform lower bound stated here.
An end-to-end advantage claim therefore needs at least three comparisons. The quantum side must expand the encoding, transform, success management, measurement, and classical synthesis. The classical side must receive the same input representation and return an output of comparable information content and accuracy. The theorem comparison must identify whether its lower or upper bound is in queries, gates, samples, or arithmetic operations. Block encoding and QSVT can be decisive components of such an argument, but neither name supplies these missing conversions.
Two Reproducible Finite Audits
Section titled “Two Reproducible Finite Audits”Finite matrices cannot prove a uniform theorem, but they can expose projector, parity, normalization, and query-count errors before those errors enter a large application. The two audits below use exact rational values and are reproduced by the single JavaScript program following them.
Audit 1: A selected block and the same-ancilla product trap
Section titled “Audit 1: A selected block and the same-ancilla product trap”Consider
Order the basis by one signal flag followed by the two-dimensional system, so selecting the first two rows and columns means flag zero. The columns of are orthonormal. On input , the signal and garbage amplitudes are and .
| check | exact calculation | result |
|---|---|---|
| dimensions | , | compatible one-flag encoding |
| unitarity | pass | |
| selected block | top-left block | with |
| first input image | ||
| total norm | ||
| signal success | ||
| garbage probability | ||
| same-flag product | selected block of versus |
The last row is the essential counterexample. Garbage created by the first call can return to the selected space under the inverse; without an independent intermediate flag, unitary cancellation replaces the intended projected product.
Audit 2: Rectangular odd and even transforms
Section titled “Audit 2: Rectangular odd and even transforms”Let
and choose and . The two nonzero right singular vectors map to their corresponding left vectors, while the third right basis vector spans the null space.
| check | exact calculation | result |
|---|---|---|
| shape and spaces | distinct right and left projectors required | |
| singular values | diagonal rectangular entries | , , and right-null |
| even samples | ||
| even right block | right-space diagonal | |
| odd samples | ||
| odd rectangular block | right-to-left map | diagonal entries and zero third column |
| parity and bound | , | both bounded by on |
| degree and queries | , | exactly and encoded-unitary calls |
The audit supports the following repaired claim:
- Target operator and domain. The target is the displayed contraction , including its one-dimensional right null space.
- Encoding and normalization. Assume an exact projected-unitary encoding with normalization ; .
- Projectors and registers. The right projector selects a three-dimensional input space and the left projector a two-dimensional output space, with register order fixed by the implementing unitary.
- Oracle capabilities. The algorithm has , , controlled real-part selection, and both projector phase operations.
- Polynomial and spectral promise. Use or on ; each has the required parity and global unit bound.
- Output block and parity. gives the three-dimensional right-space diagonal including on the null vector; gives the displayed right-to-left map.
- Error and success. The finite algebra is exact. A state-generation claim must additionally compute the selected output norm for its chosen input.
- Query and gate ledger. The transforms use two or three calls, plus projector phases, controls, one real-part selector, and the internal implementation of .
- Classical work and verification. Evaluate the Chebyshev responses exactly, verify parity on , verify the unit bound, and compare the selected finite blocks.
- Conclusion and boundary. The audit verifies register typing and finite constants; it neither synthesizes a physical phase list nor establishes an end-to-end advantage.
The executable audit checks the matrix, norm, probability, polynomial, parity, block, and record constants. It deliberately uses no package or random input.
const tol = 1e-12;const assert = (condition, message) => { if (!condition) throw new Error(message);};const close = (x, y) => Math.abs(x - y) <= tol;const transpose = (matrix) => matrix[0].map((_, column) => matrix.map((row) => row[column]));const multiply = (left, right) => left.map((row) => right[0].map((_, column) => row.reduce((sum, value, index) => sum + value * right[index][column], 0), ), );const apply = (matrix, vector) => matrix.map((row) => row.reduce((sum, value, index) => sum + value * vector[index], 0));const normSquared = (vector) => vector.reduce((sum, value) => sum + value * value, 0);const topLeft = (matrix, rows, columns) => matrix.slice(0, rows).map((row) => row.slice(0, columns));const sameMatrix = (left, right) => left.length === right.length && left.every((row, i) => row.length === right[i].length && row.every((value, j) => close(value, right[i][j])), );
const A = [ [3 / 5, 0], [0, 0],];const U = [ [3 / 5, 0, 4 / 5, 0], [0, 0, 0, 1], [4 / 5, 0, -3 / 5, 0], [0, 1, 0, 0],];const I4 = [ [1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1],];const I2 = [ [1, 0], [0, 1],];
assert(sameMatrix(multiply(transpose(U), U), I4), 'unitarity');assert(sameMatrix(topLeft(U, 2, 2), A), 'selected block');assert(close(Math.max(Math.abs(A[0][0]), Math.abs(A[1][1])), 3 / 5), 'A norm');const image = apply(U, [1, 0, 0, 0]);assert(sameMatrix([image], [[3 / 5, 0, 4 / 5, 0]]), 'first input image');assert(close(normSquared(image), 1), 'output norm');assert(close(normSquared(image.slice(0, 2)), 9 / 25), 'success probability');assert(close(normSquared(image.slice(2)), 16 / 25), 'garbage probability');const selectedSameFlag = topLeft(multiply(transpose(U), U), 2, 2);const AdaggerA = multiply(transpose(A), A);assert(sameMatrix(selectedSameFlag, I2), 'same-flag product');assert(sameMatrix(AdaggerA, [[9 / 25, 0], [0, 0]]), 'A dagger A');assert(!sameMatrix(selectedSameFlag, AdaggerA), 'product counterexample');
const B = [ [3 / 5, 0, 0], [0, 4 / 5, 0],];const T2 = (x) => 2 * x * x - 1;const T3 = (x) => 4 * x * x * x - 3 * x;assert(close(Math.max(3 / 5, 4 / 5), 4 / 5), 'B norm');assert(close(T2(3 / 5), -7 / 25), 'T2 at 3/5');assert(close(T2(4 / 5), 7 / 25), 'T2 at 4/5');assert(close(T2(0), -1), 'T2 at zero');assert(close(T3(3 / 5), -117 / 125), 'T3 at 3/5');assert(close(T3(4 / 5), -44 / 125), 'T3 at 4/5');assert(close(T3(0), 0), 'T3 at zero');const evenBlock = [ [T2(3 / 5), 0, 0], [0, T2(4 / 5), 0], [0, 0, T2(0)],];const oddBlock = [ [T3(3 / 5), 0, 0], [0, T3(4 / 5), 0],];assert(sameMatrix(evenBlock, [[-7 / 25, 0, 0], [0, 7 / 25, 0], [0, 0, -1]]), 'even block');assert(sameMatrix(oddBlock, [[-117 / 125, 0, 0], [0, -44 / 125, 0]]), 'odd block');for (let index = 0; index <= 2000; index += 1) { const x = -1 + index / 1000; assert(close(T2(-x), T2(x)), 'even parity'); assert(close(T3(-x), -T3(x)), 'odd parity'); assert(Math.abs(T2(x)) <= 1 + tol, 'T2 bound'); assert(Math.abs(T3(x)) <= 1 + tol, 'T3 bound');}
const record = { leftDimension: 2, rightDimension: 3, alpha: 1, operatorNorm: 4 / 5, evenDegree: 2, oddDegree: 3, evenQueries: 2, oddQueries: 3, evenNullValue: -1, oddNullValue: 0,};assert(record.leftDimension === B.length, 'left dimension');assert(record.rightDimension === B[0].length, 'right dimension');assert(record.alpha >= record.operatorNorm, 'normalization record');assert(record.evenDegree === record.evenQueries, 'even query record');assert(record.oddDegree === record.oddQueries, 'odd query record');assert(close(record.evenNullValue, T2(0)), 'even null record');assert(close(record.oddNullValue, T3(0)), 'odd null record');
console.log('Block-encoding and QSVT audits: PASS');Common Block-Encoding and QSVT Claim Failures
Section titled “Common Block-Encoding and QSVT Claim Failures”Treating stored data as coherent access. A classical array does not supply reversible row preparation, inverse calls, or controlled SELECT. State the loading model and count its construction and precision costs.
Suppressing normalization. Writing only “encode ” hides both admissibility and success. Carry through composition, polynomial rescaling, and heralding, and explicitly require when must be a contraction.
Confusing same-flag multiplication with projected multiplication. The selected block of is the identity. Use independent signal flags or another construction that inserts the required intermediate projection.
Checking a polynomial only on promised eigenvalues. Accuracy on a spectral subset does not imply QSVT admissibility. Verify the parity and the unit bound on all of , along with the applicable complex-completion conditions.
Ignoring the odd/even output space. Odd transforms map right to left; even transforms remain in a chosen signal space and can act nontrivially on null padding. Declare the selected projectors and zero-singular action.
Merging error models. Robust selected-block error has a square-root bound, whereas repeated full-unitary implementation error telescopes linearly. Do not double count one defect or replace either theorem by an unsupported mnemonic.
Calling an encoded operator classical output. A selected block is coherent access. State preparation, amplification, observable estimation, tomography, and verification have their own costs and failure probabilities.
Exercises
Section titled “Exercises”Exercise 1: Normalization and heralding
Section titled “Exercise 1: Normalization and heralding”Let and suppose an exact block encoding uses . For input , compute the success probability and conditional system state. Repeat for an exact encoding with the smallest allowed normalization.
Solution
The unnormalized selected system vector is
Since , the success probability is . Conditional on success the state is . The operator norm is , so the smallest exact normalization is . It raises the success probability to but leaves the conditional state unchanged. Thus normalization affects heralding even when it does not affect the normalized mathematical answer.
Exercise 2: The product-ancilla counterexample
Section titled “Exercise 2: The product-ancilla counterexample”Use the first audit’s and . Compute the selected block of and compare it with . Explain in words how independent signal ancillas repair the product construction.
Solution
Unitarity gives , so selecting flag zero gives . In contrast,
The mismatch occurs because the inverse returns both signal and garbage amplitudes; selection only after the complete product does not insert a projection between the calls. With independent flags, one unitary writes its signal condition into one ancilla register and the other reads through a separately selected register. Projecting both external flags to zero then retains the intermediate selected block, yielding the properly normalized product rather than coherent unitary cancellation.
Exercise 3: Rectangular odd and even transforms
Section titled “Exercise 3: Rectangular odd and even transforms”For the second audit’s , derive the and singular-value transforms without referring to the audit table. State their dimensions and their actions on the third right basis vector.
Solution
The nonzero singular values are and . Even parity keeps the transform in the three-dimensional right space, and direct substitution gives
The last entry is , so the right-null vector is not discarded. Odd parity maps the right space to the two-dimensional left space:
Its third column vanishes because . The dimensions, versus , are consequences of parity rather than cosmetic padding choices.
Exercise 4: Repairing mixed parity
Section titled “Exercise 4: Repairing mixed parity”The target response is . Why can it not be inserted directly into the definite-parity theorem? Give an explicit split-and-recombine construction and its LCU normalization, assuming exact unit-normalized transforms of the constant and linear polynomials.
Solution
The constant part is even and the linear part is odd, so has neither definite parity. Write
Implement under the even convention and under the odd convention. Their output types must first be aligned, for example with a declared Hermitian dilation or selector construction. An LCU with coefficients and then has normalization
The selected block of the recombination is under that normalization. PREPARE, SELECT, the selector ancilla, alignment operations, and resulting success probability are additional resources. This is an explicit reduction, not a claim that standard QSVT directly implements mixed parity.
Exercise 5: Chebyshev degree and query count
Section titled “Exercise 5: Chebyshev degree and query count”Consider . Establish admissibility for the real theorem, evaluate , and give the encoded-unitary query count. Which costs are absent from that count?
Solution
From , for every . It is a real polynomial of degree seven and is odd, so its parity matches its degree. Since ,
The alternating QSVT sequence uses exactly seven calls to or . That number excludes projector phase operations, controlled selection between phase sequences, elementary synthesis of rotations, ancillas, classical phase computation, and the gates inside each encoded-unitary call.
Exercise 6: Separating two perturbation models
Section titled “Exercise 6: Separating two perturbation models”A degree- transform has normalized selected-block error . Independently, each full-unitary call has error at most . The polynomial and phase budgets are and . Compute the stated conservative operator budget, and explain when including both hardware terms is legitimate.
Solution
The robust selected-block contribution is
The separate telescoping contribution is . Adding the independently allocated polynomial and phase terms gives
Both hardware terms may appear only if they describe distinct imperfections: for example, a verified mismatch in the selected mathematical block and an additional implementation error affecting each otherwise nominal full-unitary call. If both numbers were derived from the same faulty gates, adding them would double count. The calculation also assumes the target and implemented selected block are contractions and that the polynomial satisfies complex-QSP admissibility.
Exercise 7: Gap-dependent inverse filtering
Section titled “Exercise 7: Gap-dependent inverse filtering”Let a contraction have singular values and , with promised lower bound . An inverse filter implements on the supported subspace. For an equal superposition of the two right singular vectors, compute the success probability, normalized amplitude ratio, characteristic approximation degree, and repetition improvement suggested by amplitude amplification.
Solution
The filter values are and . Acting on the equal superposition therefore gives an unnormalized selected state with those amplitudes divided by . Its success probability is
After normalization, the two amplitudes have ratio . A standard bounded inverse approximation on a gap has characteristic degree , with constants depending on the precise transition design. Naive repetition costs order , whereas amplitude amplification suggests order uses of the state-producing procedure, subject to the amplification owner’s schedule and error contract. The example produces a state, not the two inverse entries as classical data.
Exercise 8: Repairing a complete claim
Section titled “Exercise 8: Repairing a complete claim”Repair the statement: “Given a classical matrix, QSVT outputs all entries of its inverse in time.” Use a promised singular-value gap , a scaled pseudoinverse polynomial, and an encoded-operator or heralded-state output.
Solution
One complete repaired claim is:
- Target operator and domain. Let have nonzero singular values in after normalization, and target a bounded scaled Moore–Penrose pseudoinverse on that supported subspace.
- Encoding and normalization. Supply an block encoding with the additional promise ; the normalized target is and its nonzero singular values lie in .
- Projectors and registers. Declare the -dimensional right and -dimensional left signal spaces, ancilla order, and zero-singular padding. The inverse transform reverses the left-to-right map on the support.
- Oracle capabilities. Provide coherent , , required controlled variants, and implementable phases about both projectors. A classical array alone is insufficient.
- Polynomial and spectral promise. Choose a bounded odd polynomial approximating on , with , uniform error , definite parity, and unit bound on all of .
- Output block and parity. The odd transform is a scaled pseudoinverse block from the left signal space to the right; alternatively, postselection on a declared left-space input yields a normalized solution state when the selected norm is nonzero.
- Error and success. Combine polynomial, admissible robust-block, phase, and independently modeled full-unitary errors. For a state output report its selected norm, postselection probability, amplification schedule, and normalized-state error.
- Query and gate ledger. A typical inverse approximation uses degree and that many calls, plus projector phases, controls, encoding gates, ancillas, and any repetitions or amplification.
- Classical work and verification. Count input loading, polynomial construction, phase synthesis, precision, circuit compilation, and finite checks of global boundedness and the selected block.
- Conclusion and boundary. The result is coherent access to a scaled pseudoinverse or a heralded normalized state under explicit promises. It does not list all inverse entries, and it is not an end-to-end classical-output algorithm.
This repaired statement exposes the missing input model, gap dependence, normalization, output type, and readout cost. It also leaves solver-specific conditioning and verification with the quantum linear-algebra owner.
References
Section titled “References”- B. K. Berntson and C. Sünderhauf, “Complementary Polynomials in Quantum Signal Processing,” Communications in Mathematical Physics 406, 161 (2025), doi:10.1007/s00220-025-05302-9.
- D. Camps, L. Lin, R. Van Beeumen, and C. Yang, “Explicit Quantum Circuits for Block Encodings of Certain Sparse Matrices,” SIAM Journal on Matrix Analysis and Applications 45, 801–827 (2024), doi:10.1137/22M1484298.
- S. Chakraborty, A. Gilyén, and S. Jeffery, “The Power of Block-Encoded Matrix Powers: Improved Regression Techniques via Faster Hamiltonian Simulation,” in 46th International Colloquium on Automata, Languages, and Programming (ICALP 2019), LIPIcs 132, 33:1–33:14 (2019), doi:10.4230/LIPIcs.ICALP.2019.33.
- 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.
- Y. Ito, H. Mori, K. Sakamoto, and K. Fujii, “Polynomial Time Constructive Decision Algorithm for Multivariable Quantum Signal Processing,” Quantum 10, 2102 (2026), doi:10.22331/q-2026-05-12-2102.
- L. Laneve, “An Adversary Bound for Quantum Signal Processing,” Quantum 10, 2025 (2026), doi:10.22331/q-2026-03-13-2025.
- 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.
- X. Lu, Y. Liu, and H. Lin, “Quantum Signal Processing and Quantum Singular Value Transformation on ,” Quantum 10, 2048 (2026), doi:10.22331/q-2026-03-27-2048.
- 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.
- D. Motlagh and N. Wiebe, “Generalized Quantum Signal Processing,” PRX Quantum 5, 020368 (2024), doi:10.1103/PRXQuantum.5.020368.
- L. Ying, “Stable Factorization for Phase Factors of Quantum Signal Processing,” Quantum 6, 842 (2022), doi:10.22331/q-2022-10-20-842.