---
title: Quantum Instance Complexity
url: https://www.emergentmind.com/topics/quantum-instance-complexity
type: topic
---

# Quantum Instance Complexity

Quantum instance complexity denotes a family of instance-by-instance complexity notions in quantum information and quantum computation. In current usage, the “instance” may be a fixed classical input \(x\) to a language \(L\), a target density operator \(\sigma\) in a certification problem, or a quantum state \(\rho\) supplied directly as the input of a promise problem. Correspondingly, the quantity of interest may be the size of the shortest quantum solver description, the copy complexity of certifying that specific target state, the classical description complexity of the state itself, or the amount of information revealed when proving a property of that state [2510.01953] [2507.06010] [1503.04017] [2510.06923] [2411.03716]. This suggests that the term functions less as a single canonical invariant than as an umbrella for several related attempts to replace worst-case analysis by per-instance analysis in quantum settings.

## 1. Terminological scope and major interpretations

The literature currently exhibits several distinct but adjacent uses of the term. One line of work defines **Quantum Instance Complexity** as a description-length measure for a quantum solver on a fixed classical input \(x\): the complexity is the size of the shortest classical program that generates a quantum circuit which is globally consistent with a language \(L\) and actually decides \(x\) [2510.01953]. A second line uses the phrase in a resource-testing sense: for quantum state certification with entangled measurements, the optimal number of copies needed to certify a particular target state \(\sigma\) depends on the spectral structure of that specific \(\sigma\), not merely on ambient dimension [2507.06010]. A third line studies the complexity of describing or certifying individual quantum states themselves, most notably via **tree size**, a quantity attached to a single pure state \(\ket{\psi}\) [1503.04017]. Neighboring frameworks instead take the input instance to be a quantum state and study proof complexity, zero knowledge, or complexity-class structure without defining a single scalar “instance complexity” measure [2510.06923] [2411.03716].

| Usage | Instance object | Quantity studied |
|---|---|---|
| Descriptional quantum instance complexity | Classical string \(x\in\{0,1\}^*\) | Shortest classical description of a quantum \(L\)-consistent solver |
| Instance-optimal certification | Target state \(\sigma\) | Copy complexity of certifying that specific \(\sigma\) |
| State description complexity | Pure or mixed quantum state | Tree size \(TS\), \(TS_\epsilon\), or related state-complexity notions |
| Quantum-state-input proof theory | Quantum state \(\rho\) or \(\ket{\psi}\) | Zero-knowledge, witness, interaction, and copy-access structure |

The common theme is that complexity is attached to a particular object rather than to the worst case over all objects of a fixed size. What varies across the literature is which resource is being individualized: program length, sample complexity, description complexity of a state, or information leakage in verification.

## 2. Description-length formulations for fixed classical instances

The most explicit formalization appears in the framework of time-bounded classical and quantum instance complexity for a language \(L\subseteq\{0,1\}^*\) [2510.01953]. The classical precursor is **time-bounded instance complexity**
\[
ic^t(x:L)=|P|,
\]
where \(P\) is the shortest \(L\)-consistent program running in time \(t(n)\) such that \(P(x)\neq \bot\). Here \(L\)-consistency means that \(P(y)\in\{0,1,\bot\}\) for all \(y\), and whenever \(P(y)\neq \bot\), one has \(P(y)=\chi_L(y)\). The crucial feature is the “I don’t know” output \(\bot\): the program need not solve all inputs, only remain globally correct wherever it does answer.

The quantum version keeps the description itself classical. A program \(P_U\) outputs a classical description of a quantum circuit \(U\); the framework does not use quantum advice states in the definition. The paper first introduces time-bounded quantum Kolmogorov and distinguishing analogues, including
\[
QC^{t,\varepsilon}(x)=|P_U|
\]
for the shortest classical program that generates a circuit outputting \(x\) with probability \(>\varepsilon\), and
\[
QCD^t(x)=|P_U|
\]
for the shortest classical program generating a quantum circuit that accepts \(x\) with probability \(>1/2+\epsilon\) and every \(y\neq x\) with probability \(<1/2-\epsilon\). It then defines **quantum \(\epsilon\)-\(L\)-consistency** via two designated output qubits \(q_0,q_1\): \(q_0\) is a confidence flag, and whenever \(p(q_0=1)>1/2+\epsilon\), the answer qubit must satisfy \(p(q_1=\chi_L(x))>1/2+\epsilon\).

The central quantity is then
\[
Qic^t(x:L)=|P_U|,
\]
the size of the shortest classical program \(P_U\) that runs in time \(t(n)\), generates a quantum circuit, is quantum-\(\epsilon\)-\(L\)-consistent for some \(\epsilon>0\), and decides the chosen instance \(x\) [2510.01953]. Because the bias parameter can be amplified by repetition and majority, the dependence on \(\epsilon\) is not essential up to polynomial overhead. The task is still decision, not witness generation or search.

Several comparison inequalities organize the framework. The paper states that
\[
Qic^{t'}(x:L)\le QCD^t(x), \qquad Qic^{t'}(x:L)\le ic^t(x:L), \qquad t'=t\log t.
\]
It also emphasizes that for \(L\in \mathrm{BQP}\), there is a constant-size quantum description of the general polynomial-time quantum algorithm for all instances, so \(Qic^{\mathrm{poly}}(x:L)\) is \(O(1)\) for every \(x\). By contrast, if \(L\notin \mathrm{P}\), there cannot be a uniform constant upper bound on classical \(ic^{\mathrm{poly}}(x:L)\) for all \(x\), since a finite list of constant-size classical programs could then be searched to obtain a polynomial-time classical decider for \(L\). Under \(\mathrm{BQP}\neq \mathrm{P}\), some instances must therefore have small quantum instance complexity and nonconstant classical instance complexity.

Within this formulation, “quantum instance complexity” is not a complexity of the input string alone. It is the complexity of the shortest useful **instance-specific quantum algorithmic description** for deciding membership of that string in a language.

## 3. Queasy instances, additive gaps, and reductions from factoring to SAT

The same framework introduces **queasy instances** as a formal notion of single-instance quantum advantage [2510.01953]. An instance \(x\) is queasy with respect to \(L\) when the shortest efficient quantum description is significantly smaller than the shortest efficient classical \(L\)-consistent description, with the time bounds taken asymmetrically:
\[
t'=\mathrm{poly}(n), \qquad t<\exp(n).
\]
The additive amount of queasiness is
\[
\Delta ic^{t,t'}(x:L):=ic^t(x:L)-Qic^{t'}(x:L),
\]
and the normalized **queasiness factor** is
\[
Ric^{t,t'}(x:L)=1-\frac{Qic^{t'}(x:L)}{ic^t(x:L)}\in[0,1).
\]
The paper further defines an instance to be **maximally queasy** when the upper bound
\[
\Delta ic^{t,t'}(x:L)\lesssim CD^t(x)
\]
is saturated up to constants.

A key structural theorem states that low instance complexity implies wide algorithmic utility. If \(P\) is a shortest \(L\)-consistent program deciding \(x\), and
\[
CD^{t'}(x)-ic^t(x:L)=d,
\]
then for the set \(S=\{y\mid P(y)\neq \bot\}\) one has
\[
|S|\ge 2^{(d/2)-c}-O(n^{c'})
\]
for some constants \(c,c'\). The paper states that the same proof works quantumly with \(QCD\) in place of \(CD\). This is the sense in which queasiness yields “exponential algorithmic utility”: a short instance-specific solver that is much shorter than a distinguisher must also answer on exponentially many other inputs.

The headline application uses a factoring-derived language
\[
FAC=\{\,\{x,a\} : \text{ the largest prime factor of }x\text{ has }a\text{ as prefix}\,\}.
\]
Because factoring is in BQP via Shor, \(FAC\in \mathrm{NP}\cap \mathrm{coNP}\cap \mathrm{BQP}\). Under the assumption that factoring on \(n\)-bit instances requires \(\Omega(2^{n^\epsilon})\) time for some \(\epsilon>0\), the paper proves the existence of \(z\in FAC\) such that
\[
\Delta ic^{t,n^3}(z:FAC)\ge n^\delta
\]
for \(\delta<\epsilon\) and \(t(n)\in O(2^{n^\delta})\). It then transfers this gap to SAT via an invertible one-to-one polynomial-time reduction, yielding SAT formulas \(\phi\) such that
\[
\Delta ic^{t,n^3}(\phi:SAT)\ge n^\delta
\]
for some \(\delta>0\) and \(t(n)\in O(2^{n^\delta})\).

This application does not place SAT in BQP. Rather, it identifies individual formulas whose structure is inherited from factoring through an invertible Cook–Levin-type reduction. Quantumly, these formulas are easy because a constant-size description can invoke the factoring routine; classically, short \(SAT\)-consistent deciders for too many such formulas would imply an unexpectedly strong classical factoring algorithm. The paper discusses these SAT instances as close to being maximally queasy, while the explicit theorem in the body provides a polynomial-versus-subexponential additive gap.

## 4. Instance-optimal quantum state certification and copy complexity

A different meaning of quantum instance complexity arises in quantum state certification with collective entangled measurements [2507.06010]. The task is: given an explicit description of a \(d\)-dimensional hypothesis state \(\sigma\) and \(n\) identical copies of an unknown state \(\rho\), decide with constant success probability between
\[
H_0:\ \rho=\sigma
\qquad\text{and}\qquad
H_1:\ \|\rho-\sigma\|_1\ge \varepsilon.
\]
The only counted resource is the number of copies \(n\), and the tester may perform fully entangled measurements over all copies. Prior work established a worst-case copy complexity \(\Theta(d/\varepsilon^2)\), with the lower bound coming from the maximally mixed instance \(\sigma=I/d\). The paper resolves the open question of the correct **instance-by-instance** dependence when measurements are unrestricted.

The main result is a nearly instance-optimal upper/lower characterization in terms of the fidelity with the maximally mixed state, equivalently the Schatten-\(\tfrac12\) quasinorm. In informal form, for \(0<\varepsilon\le 1/24\),
\[
\widetilde{\Omega}\!\left(\frac{d\cdot F(\underline{\sigma},I/d)}{\varepsilon^2}\right)
\;\le\;
n
\;\le\;
\widetilde{O}\!\left(\frac{d\cdot F(\overline{\sigma},I/d)}{\varepsilon^2}\right),
\]
where \(\underline{\sigma}\) and \(\overline{\sigma}\) are trimmed-and-renormalized versions of \(\sigma\). The lower bound removes \(O(\varepsilon)\) eigenvalue mass, while the upper bound removes \(O(\varepsilon^2)\) small mass. In the formal theorem statements, the lower bound uses a state \(\sigma^*\) obtained by zeroing out at most \(12\varepsilon\) eigenvalue mass, and the upper bound uses a \(\sigma^*\) obtained by zeroing out the lowest \(\varepsilon^2/20\) total eigenvalue mass.

If \(\sigma=\sum_i \lambda_i |i\rangle\langle i|\), then
\[
F(\sigma,I/d)=\frac1d\bigl(\operatorname{Tr}\sqrt{\sigma}\bigr)^2
=\frac{1}{d}\left(\sum_i \sqrt{\lambda_i}\right)^2
=\frac{\|\sigma\|_{1/2}}{d},
\]
so the governing parameter is
\[
d\,F(\sigma,I/d)=\|\sigma\|_{1/2}
=\left(\sum_i \sqrt{\lambda_i}\right)^2.
\]
Up to polylogarithmic factors and the trimming mismatch, the copy complexity is therefore
\[
\widetilde{\Theta}\!\left(\frac{\|\sigma\|_{1/2}}{\varepsilon^2}\right).
\]

This interpolation is sharp across basic spectral regimes. If \(\sigma\) is pure, then \(\|\sigma\|_{1/2}=1\), giving
\[
n=\widetilde{\Theta}(1/\varepsilon^2).
\]
If \(\sigma=I/d\), then \(\|\sigma\|_{1/2}=d\), giving
\[
n=\widetilde{\Theta}(d/\varepsilon^2).
\]
More generally, if \(\sigma\) is close to maximally mixed on an \(r\)-dimensional support with nonzero eigenvalues all \(\Theta(1/r)\), then \(\|\sigma\|_{1/2}=\Theta(r)\), so
\[
n=\widetilde{\Theta}(r/\varepsilon^2).
\]
Lower-rank or more peaked states are therefore easier to certify; states closer to maximally mixed are hardest.

The upper bound modifies the unentangled instance-optimal algorithm of Chen et al. by diagonalizing \(\sigma\), bucketing eigenvalues into dyadic ranges
\[
S_j=\{i:\lambda_i\in (2^{-j-1},2^{-j}]\},
\]
removing a tail of total mass at most \(\varepsilon^2/20\), and then replacing the previous unentangled Hilbert–Schmidt tester with the entangled-measurement tester \(\mathsf{HSCertify}\), which distinguishes \(\rho=\sigma\) from \(\|\rho-\sigma\|_2>\eta\) using \(O(1/\eta^2)\) copies. The lower bound introduces a quantum analogue of the Ingster–Suslina method based on the largest quantum \(\chi^2\)-divergence
\[
D(\rho\|\sigma)=\operatorname{Tr}\bigl(\sigma^{-1}(\rho-\sigma)^2\bigr),
\]
together with the inequality
\[
d_{\mathrm{tr}}(\rho,\sigma)\le \frac12\sqrt{D(\rho\|\sigma)}.
\]
For mixedness testing, Haar-random perturbations yield directly
\[
D\!\left(\mathbb E_U \rho_U^{\otimes n}\,\middle\|\,(I/d)^{\otimes n}\right)=O\!\left(\frac{n^2\varepsilon^4}{d^2}\right),
\]
recovering the lower bound \(n=\Omega(d/\varepsilon^2)\) by a proof the paper describes as surprisingly simple relative to earlier representation-theoretic arguments.

This is a strong form of quantum instance complexity because the optimal sample requirement is controlled by the fine spectral profile of the specific target state, not by dimension alone. The result is nevertheless only **nearly** instance-optimal: the bounds differ by polylogarithmic factors, and the lower and upper theorems use slightly different trimming procedures.

## 5. State-instance complexity via tree size

A third notion attaches complexity directly to an individual quantum state by asking how economically it can be written in a restricted classical syntax [1503.04017]. For a pure \(n\)-qubit state
\[
\ket{\psi}=\sum_{x\in\{0,1\}^n} c_x \ket{x},
\]
a **tree representation** is a rooted tree whose internal nodes are labeled by \(+\) or \(\otimes\), and whose leaves are labeled by single-qubit states of the form \(\alpha\ket{0}+\beta\ket{1}\). The **tree size** \(TS(\ket{\psi})\) is the minimum number of leaves over all such trees. The approximate version is
\[
TS_\epsilon(\ket{\psi})=
\min_{|\braket{\phi|\psi}|^2\ge 1-\epsilon} TS(\ket{\phi}),
\]
and the paper also discusses a mixed-state extension
\[
TS(\rho)=\min \left\{ \max_i TS(\ket{\psi_i}) \right\},
\qquad
\rho=\sum_i p_i \ket{\psi_i}\bra{\psi_i}.
\]

Tree size is presented as a complexity measure for **individual state instances**. A family is simple if \(TS\) grows polynomially in \(n\), and complex if \(TS\) grows superpolynomially. Two properties are emphasized: tree size is computable in principle, and nontrivial lower bounds can be proved. The paper contrasts this with quantum Kolmogorov complexity, which is based on the shortest generating program and is not computable.

For small systems, the measure is exact and structurally informative. Two-qubit separable states have \(TS=2\), entangled states have \(TS=4\). For three qubits, the canonical representatives satisfy
\[
TS(\ket{\mathrm{P}})=3,\qquad
TS(\ket{\mathrm{B}})=5,\qquad
TS(\ket{\mathrm{GHZ}})=6,\qquad
TS(\ket{\mathrm{W}})=8.
\]
Thus the \(W\) class attains maximal exact three-qubit tree size, but \(TS_\epsilon(\ket{\mathrm{W}})=6\) for arbitrarily small \(\epsilon>0\), because \(\ket{\mathrm W}\) can be approximated arbitrarily well by GHZ-class states. For four qubits, the maximal exact tree size is \(16\), while for \(0<\epsilon<1/12\) the maximal approximate tree size drops to \(14\).

The principal lower-bound mechanism is a reduction to **multilinear formula size**. To a state \(\ket{\psi}\), the paper associates the function
\[
f_\psi(x)=\braket{x|\psi},
\]
and proves
\[
\mathrm{MFS}(f_\psi)\le TS(\ket{\psi}).
\]
Raz’s theorem on multilinear formulas then yields superpolynomial lower bounds from rank growth across random bipartitions. In state language, if the Schmidt rank across a random equal bipartition is sufficiently large with probability \(n^{-o(\log n)}\), then
\[
TS=n^{\Omega(\log n)}.
\]

This machinery gives explicit superpolynomial lower bounds for several families. If all coefficients in an immanant are nonzero, then the corresponding immanant state has
\[
TS(\ket{\mathrm{Imm}_n})=n^{\Omega(\log n)}.
\]
Subgroup states \(\ket{S}=\frac{1}{\sqrt{|S|}}\sum_{x\in S}\ket{x}\) have the same bound under an invertibility condition on random bipartition submatrices, and also satisfy an approximate lower bound
\[
TS_\epsilon(\ket{S})=n^{\Omega(\log n)}
\quad\text{for}\quad
\epsilon\le 1-\mu_n,
\qquad
\mu_n = 2^{-(n/2)^{1/8}/2}.
\]
Most prominently, the 2D cluster state has
\[
TS=N^{\Omega(\log N)},
\qquad
TS_\epsilon(\mathrm{2D\ cluster})=N^{\Omega(\log N)}
\ \text{for}\ \epsilon\le 1/2.
\]

The operational relevance comes from measurement-based quantum computation. The paper proves that if an MBQC resource state has polynomial tree size, then the computation can be simulated efficiently classically. Superpolynomial tree size is therefore necessary for universal MBQC. At the same time, large tree size is not sufficient for computational advantage: subgroup states can have superpolynomial tree size while still being classically simulable by Gottesman–Knill methods. The paper also shows that large tree size can be certified efficiently for subgroup states and 2D cluster states via stabilizer witnesses such as
\[
W=\frac12\mathds{1}-\ket{S_C}\bra{S_C},
\qquad
W'=(n-1)\mathds{1}-\sum_{i=1}^n g_i.
\]

## 6. Quantum-state-input complexity, zero knowledge, and neighboring frameworks

A neighboring body of work takes the instance itself to be a quantum state and studies class structure, proof systems, and knowledge leakage rather than a scalar instance-complexity measure [2510.06923] [2411.03716]. In this setting, a quantum decision problem is a promise problem
\[
X=(X^{\mathrm{yes}},X^{\mathrm{no}})
\]
whose instances are states \(\rho\) or \(\ket{\psi}\). The verifier receives copies of the state itself, not a classical description. The classes \(p/mBQP\), \(p/mQMA\), \(p/mQCMA\), \(p/mQSZK_{\mathrm{hv}}\), \(p/mQIP\), and \(p/mPSPACE\) formalize the resulting complexity landscape for pure and mixed quantum inputs.

Several structural facts are relevant to the broader theme of instance-specific quantum complexity. One paper proves the containments
\[
pBQP \subseteq pQCMA \subseteq pQMA \subseteq pPSPACE,
\qquad
mBQP \subseteq mQCMA \subseteq mQMA \subseteq mPSPACE,
\]
but also establishes unconditional separations
\[
p/mQIP \neq p/mPSPACE
\qquad\text{and}\qquad
p/mBQP/qpoly \neq p/mBQP/poly.
\]
It further shows that interaction can reduce the effective difficulty of some state-property testing tasks by exponentially many samples relative to single-party models, using mixedness testing and maximally entangled state testing as examples [2411.03716]. A natural implication is that access structure to the particular state instance—polynomial copies, unlimited copies, witnesses, or interaction—is itself part of the instance-specific complexity.

Another paper studies **knowledge complexity** for decision problems with quantum-state inputs. It emphasizes that this is not classical instance complexity in the Kolmogorov or partial-program sense. Instead, it asks how much additional information about a concrete quantum-state instance is revealed when one proves membership in a yes-set. Its main theorem shows that, assuming EFI pairs exist,
\[
\mathrm{pQIP}\subseteq \mathrm{pQIPzk},
\]
so every pure-state-input quantum interactive proof can be transformed into a computational zero-knowledge proof with unconditional soundness against malicious verifiers. It also proves
\[
\mathrm{pQMA}\subseteq \mathrm{pQMAzk},
\]
while showing a limitation for mixed-state instances: under LWE hardness, there exist problems in mQMA without an efficient zero-knowledge protocol [2510.06923]. The same paper gives a protocol for the Uhlmann transformation problem in which the simulator uses exactly one oracle query to the Uhlmann unitary.

These frameworks clarify an important distinction. In description-length approaches, quantum instance complexity is the size of the shortest useful quantum solver description for a fixed classical input. In copy-complexity approaches, it is the optimal number of state copies needed for a particular target. In tree-size approaches, it is the classical expression complexity of a specific state. By contrast, in quantum-state-input proof theory, the central issue is often whether a property of a given state can be verified with limited copies, specific witness models, or zero additional knowledge leakage. The notions are adjacent, and they increasingly interact, but they are not interchangeable.

Across these usages, several unresolved themes recur: the dependence of complexity on copy access to the instance, the pure-versus-mixed distinction, the gap between exact and approximate notions, and the lack of a single universally adopted scalar measure covering all these settings. The present literature therefore supports a plural rather than singular understanding of quantum instance complexity.

Source: https://www.emergentmind.com/topics/quantum-instance-complexity