Sign outOpen workspaceSign in

SlotLayer 2

Block-encode a matrix

Wrap an operator AA inside a larger unitary UU so that A/αA/α sits in UU's top-left block, giving every routine above it one uniform way to touch the matrix. The subnormalization αα and the ancilla count are outputs of this layer, not free parameters.

Takes

An access model for AA — sparse-access oracles, a Pauli or LCU decomposition, a purification, or an explicit arithmetic description — plus a target precision ε\varepsilon.

Returns

A unitary UU on s+as+a qubits, its subnormalization α\alpha, and its ancilla/flag count aa. Because U=1\lVert U\rVert = 1, Gilyén, Su, Low and Wiebe's Definition 43 forces Aα+ε\lVert A\rVert \le \alpha + \varepsilon.

This one, drawn

From Matrix you can query to Block-encoding

A circle is an object you are holding. Each line between the two ends is one recorded way through this slot; where a way is built from smaller slots, those are its own lines. Circles are named on hover, and each one is a link.

Nothing drawn here has a recorded way through it that this figure leaves shut. See it on the map

Why this is a layer

Downstream query counts are linear in α\alpha, so the same matrix encoded two different ways can differ in end-to-end cost by orders of magnitude: α=1\alpha = 1 for a purified density operator, c1||c||_1 for a Pauli LCU, sqrt(srsc)sqrt(s_r·s_c) for sparse access under aij1|a_ij| \leq 1, and 2n2^n for FABLE. Comparing two block-encodings without comparing their α\alpha says nothing. This is also where an exponential advantage most often dies quietly, because a construction that needs Ω(N)\Omega(N) gates to build UU erases whatever the solver above it saves — and most results at this layer are stated in queries to an oracle rather than in gates.

Records for what it handles

The catalogue's own entries for the objects on either side of this contract.

It takes: Matrix you can query

Ways to do this

4 methods recorded

  • Sparse-access oracle construction

    Given row and column index oracles OrO_r, OcO_c and an entry oracle OAO_A, prepare uniform superpositions over the sparsity pattern, rotate an ancilla by arcsin of each entry, and swap registers to leave AA in the flagged block. This is the standard construction behind the sparse-Hamiltonian line, formalized as a block-encoding by Gilyén, Su, Low and Wiebe.

  • Block-encoding from a Pauli decomposition

    Write A=ΣjcjPjA = Σ_j c_j P_j over Pauli strings; PREPARE loads amplitudes proportional to sqrt(cj)sqrt(|c_j|) into an ancilla register, SELECT applies the controlled Pauli strings, and PREPARE unprepares, leaving A/c1A/||c||_1 in the block flagged by the all-zeros ancilla. This is the input model chemistry and lattice Hamiltonians supply for free.

  • FABLE approximate circuit construction

    Build the block-encoding directly from uniformly controlled Ry (magnitude) and Rz (phase) rotations between Hadamards and a SWAP, with no oracle assumption at all, then threshold the rotation angles and cancel the resulting CNOT chains to compress the circuit.

  • Tensor hypercontraction block encoding

    Factorize the chemistry Hamiltonian's two-electron integrals into a product of much smaller matrices first, then build the block-encoding of the factorized form. The saving is not in the encoding technique but in what is being encoded — a tensor with far fewer independent entries than the one the basis handed you.

Routes that skip this layer

These do not fill the slot. They replace the span it belongs to, so this layer is not on their path at all.

  • Product-formula (Trotter-Suzuki) simulation

    Split HH into terms that can each be exponentiated directly and alternate short evolutions of them — the Lie-Trotter formula and its higher-order generalizations. No block-encoding is built and there is no all-zeros flag to amplify.

This is a step inside

  • QSVT matrix inversion

    Block-encode AA, apply the quantum singular value transformation with an odd polynomial approximating a scaled 1/x1/x away from the origin, then amplify. Because it acts on singular values, AA need not be Hermitian or sparse — only block-encodable.

  • Discrete adiabatic inversion

    Encode the solution as the null eigenstate of a Hamiltonian path built from AA and b>|b>, follow that path with a sequence of qubitization walk operators to fixed precision, then finish with an eigenstate filter implemented as a linear combination of walk operators rather than by quantum signal processing. Costa and co-authors prove an adiabatic theorem for intrinsically discrete-time evolutions, which removes the residual log(κ)\log(κ) that continuous adiabatic treatments carried.

  • Eigenstate filtering inversion

    Construct the minimax-optimal polynomial that is 1 at a target eigenvalue and uniformly small outside a spectral gap, and apply it through quantum signal processing. For a linear system x>|x> is the null eigenstate of a Hamiltonian built from AA and b>|b>, so one application of the filter solves it once a starting state with non-trivial overlap is supplied.

  • Quantum singular value transformation

    Interleave the block-encoding UU, its inverse, and projector-controlled phase shifts eiφ(2ΠI)e^{iφ(2Π-I)} so that the designated block becomes PP applied to the singular values of AA. The phase sequence is the compiled form of the polynomial, and a single ancilla qubit carries the phase shifts.

  • Chebyshev series by linear combination of unitaries

    Write the target function as a Chebyshev series, then implement that series as a linear combination of walk-operator powers using a PREPARE/SELECT pair on an ancilla register, and post-select. No phase factors are computed — the polynomial enters through the coefficients of the combination instead.

  • Truncated-Taylor LCU simulation

    Truncate the Taylor series of eiHte^{-iHt} over short segments and implement the truncated sum as a linear combination of unitaries — PREPARE loads the coefficients, SELECT applies the terms, PREPARE unprepares — with the all-zeros ancilla flag amplified.

  • Qubitization walk simulation

    From a block-encoding pair (U,G)(U, |G⟩) with H=(GI)U(GI)H = (⟨G|⊗I)U(|G⟩⊗I), build a walk operator WW that splits the Hilbert space into invariant two-dimensional SU(2)SU(2) subspaces, one per eigenvalue of HH, with eigenvalues e±iarccos(H/α)e^{±i·arccos(H/α)}. Quantum signal processing phases applied to WW then produce eiHte^{-iHt}.

Routes that run this slot many times

For these routes this slot is inside a loop, so its cost is multiplied rather than paid once. That multiplier is usually the largest single term in what the route costs.

  • QSVT matrix inversion runs m = O((1/δ) log(1/ε)) applications of U and U†

    The loop stays coherent: nothing is measured between turns. The preparation may still be reapplied every turn — what the loop never pays is a readout and a restart from classical data. The price is depth, and a success probability that multiplies down the chain.

  • Quantum singular value transformation runs n uses of U and n of U†, for a degree-n transform

    The loop stays coherent: nothing is measured between turns. The preparation may still be reapplied every turn — what the loop never pays is a readout and a restart from classical data. The price is depth, and a success probability that multiplies down the chain.

No multiplicity recorded

These routes take this step and no source we have read says how often. That is an absence, not a claim that they take it once.

  • Discrete adiabatic inversion

    Encode the solution as the null eigenstate of a Hamiltonian path built from AA and b>|b>, follow that path with a sequence of qubitization walk operators to fixed precision, then finish with an eigenstate filter implemented as a linear combination of walk operators rather than by quantum signal processing. Costa and co-authors prove an adiabatic theorem for intrinsically discrete-time evolutions, which removes the residual log(κ)\log(κ) that continuous adiabatic treatments carried.

  • Eigenstate filtering inversion

    Construct the minimax-optimal polynomial that is 1 at a target eigenvalue and uniformly small outside a spectral gap, and apply it through quantum signal processing. For a linear system x>|x> is the null eigenstate of a Hamiltonian built from AA and b>|b>, so one application of the filter solves it once a starting state with non-trivial overlap is supplied.

  • Chebyshev series by linear combination of unitaries

    Write the target function as a Chebyshev series, then implement that series as a linear combination of walk-operator powers using a PREPARE/SELECT pair on an ancilla register, and post-select. No phase factors are computed — the polynomial enters through the coefficients of the combination instead.

  • Truncated-Taylor LCU simulation

    Truncate the Taylor series of eiHte^{-iHt} over short segments and implement the truncated sum as a linear combination of unitaries — PREPARE loads the coefficients, SELECT applies the terms, PREPARE unprepares — with the all-zeros ancilla flag amplified.

  • Qubitization walk simulation

    From a block-encoding pair (U,G)(U, |G⟩) with H=(GI)U(GI)H = (⟨G|⊗I)U(|G⟩⊗I), build a walk operator WW that splits the Hilbert space into invariant two-dimensional SU(2)SU(2) subspaces, one per eigenvalue of HH, with eigenvalues e±iarccos(H/α)e^{±i·arccos(H/α)}. Quantum signal processing phases applied to WW then produce eiHte^{-iHt}.

In the Atlas