---
title: Weak Simulation of Quantum Resources
url: https://www.emergentmind.com/topics/weak-simulation-of-quantum-resources
type: topic
---

# Weak Simulation of Quantum Resources

Weak simulation of quantum resources denotes a family of sampling tasks in which a classical or restricted quantum procedure reproduces, exactly or approximately, the output distribution of a target quantum process without computing the full state or all amplitudes explicitly. In the circuit setting, the task is to output bit strings distributed according to the Born rule of a quantum computation; in resource-theoretic settings, it is to sample from the statistics of a target resource state or operation using only a restricted class of free states, free operations, or noisy surrogates. The notion is operationally distinct from strong simulation, which computes probabilities or amplitudes, and from expectation-value estimation, which need not produce samples at all [2007.15285] [2603.25358] [2501.15807].

## 1. Definitions and operational scope

For an \(n\)-qubit circuit \(C\) with output amplitudes \(\alpha_x\), weak simulation asks for a randomized classical algorithm that outputs \(x\in\{0,1\}^n\) with probability \(P_C(x)=|\alpha_x|^2\), or approximately so up to small total-variation error. A standard approximate formulation requires \(\|\mathrm{Dist}(S)-P_C\|_1\le \epsilon\), where \(S\) is the simulator’s output distribution [2007.15285].

In resource theories, the target is often a state \(\rho\notin F\), where \(F\) is a convex set of free states preparable by restricted operations \(O\). The objective is to sample bit strings \(x\) according to \(p_x=\langle x|\rho|x\rangle\) using only preparations from \(F\), operations in \(O\), and computational-basis measurements. A procedure is an \((\epsilon,\delta)\)-weak simulator of \(\rho\) if, with probability at least \(1-\delta\), it outputs samples from a distribution \(\tilde p_x\) satisfying \(d_{\mathrm{tv}}(p,\tilde p)\le \epsilon\), and its sampling cost is the total number of free-state preparations [2603.25358].

For channels, the literature distinguishes weak or local simulation from strong or generic simulation. In the weak scenario, Alice communicates finite classical information to Bob so that Bob can reproduce the outcome statistics of any POVM on the channel output alone. In the strong or generic scenario, Bob may additionally hold part of an unknown ancillary system, possibly entangled with a larger environment, and must reproduce the statistics of arbitrary joint POVMs on the output together with that ancillary system. This distinction is operationally decisive: reproducing local marginals is strictly weaker than reproducing all bipartite Born-rule probabilities, especially when entangled effects are allowed [2501.15807].

## 2. Quasiprobability methods and weak distillation

A central resource-theoretic construction begins from a quasiprobability decomposition
\[
\rho=\sum_i q_i\,\sigma_i,\qquad \sigma_i\in F,\qquad \sum_i q_i=1,\qquad q_i\in\mathbb R,
\]
with \(\gamma=\sum_i |q_i|\) and negativity \(\mathrm{Neg}(\rho)=\gamma-1\). In virtual resource distillation and related protocols, importance sampling over the \(\sigma_i\) enables estimation of expectation values, but this only yields quantities such as \(\langle M\rangle=\mathrm{Tr}[\rho M]\), not samples from the Born distribution of \(\rho\) itself [2603.25358].

Weak distillation lifts this expectation-value paradigm to a sampling protocol. The construction first estimates an acceptance-ratio table \(R_x\simeq p_x/q_x\), where
\[
q_x=\sum_i \frac{|q_i|}{\gamma}\,\langle x|\sigma_i|x\rangle,
\]
by sampling preparable states according to \(|q_i|/\gamma\), measuring in the computational basis, and forming empirical counts \(N_x^+\) and \(N_x^-\) for positive and negative coefficients. One then sets
\[
R_x=\max\!\Bigl\{\frac{N_x^+-N_x^-}{N_x^+ + N_x^-},\,0\Bigr\},
\]
draws \(x\sim q_x\), and accepts \(x\) with probability \(R_x\); rejected draws are repeated until acceptance. The accepted distribution \(\tilde p_x\) is within \(\epsilon\) of \(p_x\) in total-variation distance with high probability if the ratio table is estimated accurately and sufficiently many support samples are used [2603.25358].

The complexity gain over naive estimation can be substantial. For an optimal two-term decomposition \(\rho=c_+\sigma_+ - c_-\sigma_-\), the rejection-based weak simulator has sampling cost \(O(c_-\gamma/\epsilon^2)\) when \(\mathrm{Neg}(\rho)=c_-\ll 1\), whereas naive estimation scales as \(O(\gamma^2/\epsilon^2)\) even as the negativity approaches zero. In the limit \(c_-\to 0\), the rejection-based cost approaches \(1\), recovering direct single-sample behavior on free states. Numerical examples on \(n\approx 4\)–\(10\) qubits show that error mitigation under local depolarizing noise \(p=0.005\), entanglement distillation of isotropic states with noise \(p=0.01\), and magic-state injection for a 5-qubit IQP circuit with dephasing \(p=0.1\) can all reach target TVD \(\lesssim 10^{-1}\) with \(\lesssim 10^3\) samples, whereas estimation-based methods require \(\gtrsim 10^4\)–\(10^5\) samples for comparable accuracy [2603.25358].

This framework introduces a notion of distillation that remains entirely virtual: it does not physically produce the target resource state, uses only single-copy preparations and no joint operations, and removes the restriction that only expectation values are accessible. A plausible implication is that quasiprobability negativity functions simultaneously as a resource monotone and as a direct predictor of weak-simulation overhead.

## 3. Approximate weak simulation of noisy and compressible circuits

One major line of work studies weak simulation by compressing many-body states that arise in noisy or imperfect devices. For random circuits on \(N\) qubits and two-qubit gate depth \(D\), matrix product state compression represents the wavefunction with bond dimension \(\chi\) and induces an effective per-gate error \(\epsilon\) defined through the fidelity relation
\[
\mathcal F \simeq (1-\epsilon)^{ND}.
\]
Single-qubit gates update the MPS exactly at \(O(\chi^2)\) cost, while neighboring two-qubit gates require an SVD truncated to the top \(\chi\) singular values and cost \(O(\chi^3)\). The total simulation time is \(O(ND\chi^3)\) and the memory footprint is \(O(N\chi^2)\) [2002.07730].

The compression error is controlled by entanglement. Across a bipartition, the entanglement entropy satisfies \(S\le \ln\chi\), so exact representation of target entropy \(S\) requires \(\chi\gtrsim e^S\). After each two-qubit gate, the retained singular values determine a local fidelity
\[
f_n=\sum_{\mu=1}^{\chi} S_\mu^2,
\]
and empirically the local error \(\epsilon_n(\chi)=1-f_n\) decreases toward a nonzero floor \(\epsilon_\infty\) as \(\chi\to\infty\). For \(\epsilon>\epsilon_\infty\), one finds \(\epsilon_{\rm av}(\chi)-\epsilon_\infty\sim \chi^{-p}\) with \(p\approx 1\)–\(2\), so the time cost remains polynomial in \(1/(\epsilon-\epsilon_\infty)\). By contrast, pushing below \(\epsilon_\infty\) requires exponentially growing \(\chi\) and hence exponential time. In 1D random circuits with nearest-neighbor \(CZ\) gates, \(N\gtrsim 100\), and \(D\gtrsim N\), the observed floor is \(\epsilon_\infty\approx 1.2\%\)–\(1.5\%\) with \(\chi\sim O(10^2)\). For a 2D \(54\)-qubit layout of depth \(D=20\), grouping strategies such as \([4,2,2,4]\) reach \(\epsilon_{\rm av}\approx 1.4\%\) in a few hours on one core with \(4.5\) GB memory; more complex iSWAP+\(R_z\) gates require a split-and-merge scheme and reach roughly \(95\%\) per-gate fidelity in a few hours [2002.07730].

A different compression route uses edge-weighted quantum decision diagrams. A state on \(n\) qubits is stored as a rooted DAG whose paths encode amplitudes via products of complex edge weights. Weak simulation then proceeds by computing downstream probabilities
\[
D(v)=\sum_{\pi:v\to t}\left|\prod_{e\in \pi}\omega(e)\right|^2
\]
for all nodes in \(O(N)\) time and space, where \(N\) is the number of DD nodes, normalizing local choice probabilities at each node, and descending from the root by sampling one bit per qubit. The precomputation cost is \(O(N)\), each sample costs \(O(n)\), and in practical instances \(N\ll 2^n\). By comparison, the state-vector plus prefix-sum approach requires \(\Theta(2^n)\) time and space before sampling, though each sample still costs \(O(n)\). Benchmarks reported for generating \(10^6\) samples include \(qft_{32}\), where the vector-based method is out of memory while the DD size is approximately \(2^5=32\), and \(grover_{30}\), where vector-based sampling takes \(994\) seconds versus \(0.29\) seconds for DD-based sampling [2007.15285].

Together, these results show that weak simulators can exploit structural compressibility even when strong simulation by explicit amplitude storage is prohibitive. This suggests a recurrent principle: practical weak simulation is governed less by Hilbert-space dimension itself than by whether the relevant probability distribution can be accessed through low-entanglement or graph-compressed state representations.

## 4. Complexity frontiers for structured and noisy-resource models

For matchgate computations, weak simulability depends sharply on supplementary resources. Exact polynomial-time weak simulation holds for \( \mathrm{MG}, \mathrm{IN(PROD)}, \mathrm{ADAPT}, \mathrm{OUT(1)} \), for \( \mathrm{MG}, \mathrm{IN(MAGIC)}, \mathrm{NONADAPT}, \mathrm{OUT(1)} \), and for \( \mathrm{MG}, \mathrm{IN(PROD)}, \mathrm{ADAPT}, \mathrm{OUT(MANY)} \). When only a few adaptive measurements are allowed and the input is a tensor product of blocks of at most \(O(\log n)\) qubits, the runtime is
\[
T=O(\mathrm{poly}(n)\,(2n)^{4k}),
\]
so \(k=O(1)\) gives polynomial time and \(k=O(\log n)\) gives \(n^{O(\log n)}\). When the input is otherwise product except for one \(O(k)\)-qubit entangled block, the runtime is
\[
T=O(\mathrm{poly}(n)\,2^{2k}),
\]
which is again polynomial for \(k=O(1)\) or \(O(\log n)\). With unrestricted polynomial supplies of magic states plus arbitrary adaptive measurements, or magic states plus many-line final measurement, the model becomes QC-hard or \(\#P\)-hard in the strong sense, and there is strong evidence that \( \mathrm{MG}, \mathrm{IN(MAGIC)}, \mathrm{NONADAPT}, \mathrm{OUT(MANY)} \) is not even weakly simulable [2007.08231].

For universal Clifford+\(T\) circuits, weak simulation to additive error \(\delta\) is \(\mathrm{BQP}\)-complete and is expected to scale exponentially in the number \(t\) of \(T\) gates. Approximate stabilizer decomposition of \(|T\rangle^{\otimes t}\) yields stabilizer extent \(\xi^t=2^{\tilde 0.228\, t}\), and the standard SPARSIFY approach gives cost \(O(\xi^t\delta^{-2})\) when \(\delta^2\gg \xi^{-t}\). Correlated \(L_1\) sampling replaces i.i.d. sampling by blockwise correlated samples constructed from highly separated bit strings, reducing the worst-case bound to
\[
O((\xi^t-t)\,\delta^{-2})
\]
when \(\delta^2\gg (\xi^t-t)^{-1}\). The leading exponential behavior remains, but the finite-\(t\) correction shows that the approximate stabilizer decomposition is not multiplicative at finite \(t\), despite multiplicativity of stabilizer extent [2104.07250].

A related transition appears when only the injected magic resources are noisy. In the resource-centric noise model, a free backbone \(U\) is augmented by \(t\) noisy magic inputs \(\rho=\mathcal N(|\psi\rangle\langle\psi|)\), and the simulator targets TVD \(\delta=O(1/\mathrm{poly}(n))\). The algorithm samples an ensemble decomposition of \(\rho\), truncates trajectories with too many genuinely magic draws using a Chernoff/KL bound, and approximates the remaining state by a superposition of at most
\[
R\le 4\,\nu^{-2m}/\delta_2
\]
free basis states, where \(m\) is the number of magic draws and \(\delta_2=\delta^2/4\). Runtime is \(O(R\,\mathrm{poly}(n))\). In the qubit dephasing case there is an exact stabilizer-only regime at
\[
p_*= \frac{1-\tan(\pi/8)}{2}\approx 0.2929,
\]
where \(k=0\) and \(R=1\). More generally, polynomial time holds when the effective magic contribution is \(O(\log n/t)\). For fermion-loss and fermion-dephasing channels, the paper gives corresponding polynomial-time regions in terms of \(g_1(p)\) and \(g_2(p)\), with thresholds \(p=O(\sqrt{\log n/t})\) and \(|1/2-p|=O((\log n/t)^{1/4})\), respectively. Numerical estimates show sharp drops in the worst-case free rank \(R^*\) near these thresholds, with qubit \(t=100\) instances falling from \(>10^6\) to \(<10^3\) as the dephasing strength increases, and \(R^*=1\) exactly beyond the stabilizer threshold [2601.10111].

These results identify several distinct mechanisms by which weak simulation becomes tractable: bounded adaptivity, limited entangled support, correlated sampling over stabilizer decompositions, and noise-induced suppression of non-free trajectories. A plausible implication is that “hard” quantum resources are often best understood not as binary features but as quantities with threshold behavior under operational restrictions.

## 5. Channels, instruments, and the boundary between local and generic simulation

For quantum channels, the gap between weak and generic simulation is explicit. A perfect qubit channel can be weakly simulated in the local sense, but any finite-bit classical protocol fails for generic simulation if Bob must reproduce the statistics of all joint bipartite POVMs on the output together with an unknown ancillary qubit. The obstruction already appears for the singlet-projection measurement \(M_{\psi^-}=\{P_{\psi^-},I-P_{\psi^-}\}\), whose Born probability on a product input \(\psi\otimes \phi\) is
\[
p(\psi^-|\psi,\phi)=\frac14(1-\hat \psi\cdot \hat \phi).
\]
The no-go theorem shows that exact generic simulation of the identity qubit channel requires infinite one-shot communication complexity \(C_{\min}^G(\Lambda_{\mathrm{id}})\). By contrast, if joint effects are restricted to product or separable measurements, finite-bit simulation is possible. Noisy depolarizing channels \(D_\eta(\rho)=\eta\rho+(1-\eta)I/2\) are also generically simulable with finite communication, and the exact strong-simulation cost satisfies
\[
C_{\min}^G(D_\eta)=O(\log[1/(1-\eta)])
\]
as \(\eta\to 1\), diverging only in the perfect-channel limit [2501.15807].

Quantum instruments generalize measurements by specifying both the classical outcome and the post-measurement state. Projective simulation of instruments asks whether an instrument \(\{\mathcal I_a\}\) can be realized by sampling a classical label \(\lambda\), performing a projective measurement \(\{E_{a|\lambda}\}\), and then applying a trace-preserving channel \(\Lambda_{a,\lambda}\) to the post-measurement state:
\[
\mathcal I_a(\rho)=\sum_\lambda q_\lambda\,\Lambda_{a,\lambda}\!\bigl[E_{a|\lambda}\rho E_{a|\lambda}\bigr].
\]
In the Choi representation, simulability is linked to Schmidt-rank constraints. The resulting criterion gives a computationally efficient necessary condition for generic instruments and, for qubits, a complete characterization: qubit-instrument simulability is equivalent to the existence of a decomposition into rank-vector sectors \(\vec s=(2,0,\dots)\) and \(\vec t=(1,1,0,\dots)\), with the \(\vec t\) sector satisfying Schmidt number at most \(1\), which for qubits is equivalent to PPT and hence SDP-testable [2503.00956].

The operational consequences are concrete. Standard qubit unsharp Lüders instruments are non-projective except for \(\gamma=0,1\), even though the induced binary qubit POVM is always projective-simulable. Closed-form critical visibilities are obtained for dephasing noise and worst-case noise, while \(v_{\rm white}^*\) is characterized as the largest real root of an explicit octic polynomial in \(\gamma\). Projective-simulable qubit instruments obey the linear information-disturbance bound
\[
F_{\rm PI}=\frac{5-4p_{\rm win}}{3},\qquad p_{\rm win}\in\left[\frac12,\frac34\right],
\]
whereas the optimal Lüders instrument achieves the strictly better curve
\[
F_Q=\frac{2+\sqrt{16p_{\rm win}(1-p_{\rm win})-3}}{3}.
\]
In sequential CHSH scenarios, projective-simulable instruments yield a Pareto frontier for \((\mathcal S_{AB},\mathcal S_{AC})\), with numerically accessible violations up to approximately \(2.07\) on one leg [2503.00956].

Taken together, these results show that weak simulation becomes substantially more restrictive once one includes post-measurement states, unknown ancillas, or entangled measurement effects. This suggests that “sampling the right distribution” is not a unique notion but a hierarchy whose strength depends on which operational interfaces of the quantum process must be preserved.

## 6. Resource measures beyond runtime: non-locality, memory, and energy

Weak simulation by quasiprobability sampling can also be phrased at the level of channels. For a non-local channel \(\boldsymbol\Phi\), the channel robustness of non-locality is defined as
\[
R(\boldsymbol\Phi)=\min_{\boldsymbol\Phi=\sum_i c_i \boldsymbol L_i,\ \boldsymbol L_i\in \mathcal L}\sum_i |c_i|,
\]
where \(\mathcal L\) is the set of local channels built from single-qubit unitaries, projective measurements, and their tensor products. A one-shot simulator applies \(\boldsymbol L_i\) with probability \(|c_i|/R\) and records the phase of \(c_i\), so that \(\mathbb E[R\hat{\boldsymbol\Phi}]=\boldsymbol\Phi\). The robustness is submultiplicative under composition. For arbitrary two-qubit unitaries, an explicit Cartan-based decomposition gives a fully general analytic upper bound, and numerical exploration of the Cartan tetrahedron yields worst-case overhead around \(R\approx 8.87\), far below the naive concatenated estimate \(27\). Estimating an observable to precision \(\epsilon\) with confidence \(1-\delta\) requires
\[
S\gtrsim 2\,(R\,o_{\max}/\epsilon)^2 \ln(2/\delta),
\]
so the sampling overhead is quadratic in \(R\) [2006.11174].

Classical simulation cost can also be cast as memory. In the Peres–Mermin contextuality scenario, a classical simulator is modeled as a finite-state Mealy machine whose internal state stores the memory required to reproduce sequential measurement statistics. For the six Peres–Mermin contexts alone, no automaton with \(k=1\) or \(k=2\) states can obey all quantum-certain constraints, while a \(k=3\) automaton exists, giving memory cost \(\log_2 3\approx 1.58\) bits. Adding compatibility constraints raises the optimum to \(k=4\), i.e. \(2\) bits. For the 15-context extended Peres–Mermin square, one needs \(k\ge 5\), so the memory cost exceeds \(2\) bits, surpassing the Holevo bound for two qubits [1007.3650].

In continuous-variable and hybrid models, weak simulation induces a trade-off between physical size and energy. An \(n\)-qubit circuit of polynomial size can be approximately weakly simulated by a unitary circuit in a hybrid qubit-oscillator architecture that encodes logical qubits into \(m\) bosonic modes using approximate GKP codewords. The simulator outputs a distribution \(q(x)\) satisfying \(\|p-q\|_1\le \varepsilon\), and the asymptotic mode-energy regimes are
\[
(m,E)=\bigl(\Theta(n),\mathrm{poly}(n)\bigr),\qquad
\bigl(\Theta(n^\alpha),2^{O(n^{1-\alpha})}\bigr),\qquad
\bigl(O(1),2^{\Omega(n)}\bigr).
\]
With \(m=\Theta(n)\), polynomial energy suffices; with sublinear \(m\), subexponential energy is required; with constant \(m\), the energy becomes exponential. The analysis is based on truncated-comb approximate GKP encodings, preparation error \(\varepsilon_{\rm prep}\), logical-gate error \(\varepsilon_{\rm gate}\), and explicit energy bounds for the preparation and compiled simulation circuits [2509.18854].

These examples show that weak simulation of quantum resources is not characterized by a single universal cost parameter. Depending on the operational model, the critical resource may be quasiprobability negativity, bond dimension, stabilizer extent, communication, memory, Schmidt number, or bosonic energy. This suggests that the subject is best understood as a collection of closely related sampling problems whose common feature is operational fidelity to quantum output statistics, but whose limiting classical resource depends on which quantum capability is being emulated.

Source: https://www.emergentmind.com/topics/weak-simulation-of-quantum-resources