MethodLayer 2

Matrix product state loading

Approximate the amplitudes of a smooth function by a matrix product state of small bond dimension, then turn that state into layers of two-qubit gates, each layer growing linearly with the number of qubits. The circuit is approximate: its error is what the truncation to small bond dimension throws away.

Takes

A description of bb — an explicit list of 2n2^n amplitudes, an analytic density, a list of dd nonzero entries, or a low-bond-dimension tensor network — plus a target ε\varepsilon.

Returns

An nn-qubit circuit, possibly using ancillas, with a stated gate count, depth, ancilla count, and — where the circuit is not deterministic — a success probability.

Same contract as the slot it fills.

This one, drawn

From Vector to load to State you can prepare

A circle is an object you are holding. This method is drawn heavier, opened into its own steps; the other lines between the same two ends are the alternatives recorded for the same slot. 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

What it fills

  • Prepare an input state

    Map ∣0…0⟩|0\ldots0⟩ to a state whose amplitudes are proportional to a specified vector bb, to within ε\varepsilon. The cost is set by which description of bb you hold, not by the algorithm that consumes it.

When it applies

For functions that a matrix product state of small bond dimension approximates well. Holmes and Matsuura restrict to smooth, differentiable, real-valued functions with bounded derivatives, and in their small-system numerics on Gaussian, lognormal and Lorentzian distributions the fidelity stays above 99% down to a width σ = 0.1 but starts to fall once the width drops below about 0.12, as the distribution is squeezed (Fig. 5); their argument that the method scales rests on a conjecture, supported numerically, that bond dimension 2 stays a good approximation as qubits are added (Sec. VII C). Bohun et al. prove, for smooth functions real or complex, that the entanglement entropy across bond kk decays as O(k/4k)O(k/4^k) (Corollary 2), which covers the fine scales; across the coarsest bonds the behaviour is not universal and depends on how localised the function is.

Requires

Every step this method names moves its route along, so there is nothing it needs alongside them.

Example

Hardware, on IBM devices. Bohun et al. ran their circuits for Lévy, log-normal and Gamma distributions on ibm_torino at up to 25 qubits with 5000 shots, showing the better of their one- and two-layer circuits, and every one passed a Kolmogorov–Smirnov test at the 0.05 level with 200 samples (Fig. 9). They then built two-layer circuits by tensor cross interpolation and ran them on ibm_marrakesh at 50 qubits, where the samples no longer pass the statistical tests and the paper claims only that the qualitative features are reproduced (Fig. 10), and on ibm_kingston with 2000 shots and dynamical decoupling, for Gamma distributions on 100 qubits and a Lévy distribution on 156 (Fig. 11). So the 156-qubit figure is a hardware run, not a simulation, but no statistical test is reported for it: the paper's conclusion claims qualitative agreement up to 156 qubits and quantitative agreement up to 25.

Run on quantum hardware · Sec. V, Figs. 9 to 11 of arXiv:2412.05202

given  a smooth function f on [0, 1], N qubits, a number of layers,
       and a cutoff eps_trunc

sample f at the 2^N grid points x = 0.s1 s2 ... sN
    # past about 30 qubits, build the MPS by tensor cross interpolation
    # from calls to f instead of storing the 2^N samples
factorise the samples into a matrix product state by successive SVDs

circuit = empty
repeat for each layer:
    truncate every bond of the current MPS to its two largest singular values
    convert that bond-dimension-2 MPS exactly into one layer of two-qubit gates,
        starting from a chosen central bond, and leave out the gate on any bond
        whose discarded weight is already below eps_trunc
    apply the inverse of the layer to the untruncated MPS   # now less entangled
    put the layer in front of circuit                      # it will run first

# circuit applied to |0...0> approximates the state encoding f
# one layer's fidelity is about 1 - (sum over bonds of the discarded squared
# singular values), Eq. (20); Bohun et al. give no bound on the layers a given
# accuracy needs

Cost, as the source states it

Holmes and Matsuura (Sec. V D) turn a bond-dimension-2 matrix product state on NN qubits into N+1N + 1 unitaries, NN of them two-qubit gates, in a serial circuit of depth N+1N + 1, and state that standard decompositions give 7N+17N + 1 one-qubit and 3N3N two-qubit gates at a depth of about 6N6N. Their classical construction, Algorithm 2, takes O(Nχ3)O(N\chi^3) time, which they write as O(8N)O(8N) for χ=2\chi = 2 (Sec. VI). Bohun et al. build each disentangling layer from at most N−1N - 1 two-qubit gates, with depth as low as N/2−1N/2 - 1 when the layer starts from a central bond, and synthesise each two-qubit isometry with 2 CNOTs (Sec. IV); their two-layer circuits on 15 qubits average between 27.0 and 32.7 CNOTs across the distributions and cutoffs of Tables I and II. Bohun et al. do not bound how many layers a given accuracy needs: for one layer they estimate the fidelity from the discarded singular values, F≈1−∑k>0, i≥2Λk,i2F \approx 1 - \sum_{k>0,\, i\ge 2}\Lambda_{k,i}^{2} (Eq. 20), where Λk,i\Lambda_{k,i} is the ii-th singular value at bond kk, counted from i=0i = 0, and for more layers they report numerics only. Holmes and Matsuura extract one circuit from one compressed state, and the accuracies they report are numerical (Figs. 5 to 8).

Implementations

Neither cited paper links code for its method. Holmes and Matsuura (arXiv:2005.04351) point to no repository, and Bohun et al. (arXiv:2412.05202) name only the tools they built on, the Qiskit matrix-product-state simulator and the torchTT package, not an implementation of their algorithm.

What it needs

Nothing below this — it bottoms out here.

Other ways to fill the same slot

3

Different approaches

  • Uniformly controlled rotations

    Prepare an arbitrary state with one layer of uniformly controlled (multiplexed) Ry and Rz rotations per qubit, the angles computed analytically from the amplitude list. This is the exact, assumption-free method most software stacks emit by default.

  • Grover-Rudolph bisection preparation

    Prepare a discrete approximation to a probability density by recursive bisection: at layer kk a uniformly controlled rotation splits each current interval's probability mass between its two halves, so only nn rotation layers are needed.

  • Sparse state preparation

    When only dd of the 2n2^n amplitudes are nonzero, build the dd computational-basis strings directly instead of rotating through the whole binary tree, so the cost tracks dd and nn rather than 2n2^n.

In the Atlas

No record in the Atlas covers this yet. The catalogue is circuits and primitives; this part of the literature is not in it.

Sources

2