---
title: Robustness of Magic in Quantum States
url: https://www.emergentmind.com/topics/robustness-of-magic
type: topic
---

# Robustness of Magic in Quantum States

Magic, in the context of quantum information theory, refers to the nonstabilizerness of quantum states—i.e., the property of a quantum state that is not a convex mixture of stabilizer states, and thus is essential for enabling quantum speedup and universal fault-tolerant quantum computation. The robustness of magic (RoM) is a class of monotonic resource measures quantifying how much a given quantum state or operation deviates from the stabilizer set. Robustness encapsulates the persistence of nonstabilizerness under various physical and computational processes, particularly in the presence of noise, decoherence, and other resource-degrading mechanisms. Recent developments reveal that magic exhibits remarkable resilience, closely linked to both quantum computational power and structural aspects of quantum many-body systems.

## 1. Formal Definitions and Magic Witnesses

The gold standard quantitative measure is the robustness of magic, defined for an $n$-qubit state $\rho$ as the solution to the convex program:
\[
R(\rho) = \min \left\{ \sum_i |x_i| : \rho = \sum_i x_i |S_i\rangle\langle S_i|,\, \sum_i x_i = 1 \right\},
\]
where the $|S_i\rangle$ are pure stabilizer states spanning a superexponentially large set [1609.07488, 2311.01362, 2507.12902]. The value $R(\rho)=1$ iff $\rho$ is a stabilizer mixture; $R(\rho)>1$ signals magic.

Because RoM is computationally intractable for large $n$, efficient witnesses based on the stabilizer Rényi entropy, $\mathcal{M}_\alpha$, are employed. For example, for $\alpha \ge 1/2$,
\[
\mathcal{M}_\alpha(\rho) = \frac{ \ln A_\alpha(\rho) - (1-2\alpha)S_2(\rho)}{1-\alpha},\quad
A_\alpha(\rho) = 2^{-n}\sum_{P}|\operatorname{Tr}(\rho P)|^{2\alpha},
\]
where $S_2(\rho)$ is the $2$-Rényi entropy. $\mathcal{M}_\alpha(\rho)>0$ certifies nonstabilizerness [2504.18098].

Further, log-free robustness $LR(\rho) = \ln R(\rho)$ offers an operationally significant lower bound on simulation cost and is closely tied to the stabilizer fidelity monotone $D_F(\rho) = \min_{\sigma\in\mathrm{STAB}} (-\ln F(\rho,\sigma))$; $D_F(\rho) \le LR(\rho)$.

## 2. Robustness of Magic Under Noise

Magic is generically robust to several classes of noise. Under global depolarizing noise,
\[
\rho_p = (1-p)|\psi\rangle\langle\psi| + p\, I/2^n,
\]
for $|\psi\rangle$ Haar random, the filtered witness $\widetilde{\mathcal{W}}_\alpha(\rho_p)$ remains $>0$ as long as $p < 1 - 2^{-n/2}$: even as the depolarizing rate approaches $1$ exponentially quickly with system size, detectable magic persists for sub-exponential (in $n$) noise strengths. For local depolarizing noise, circuit depth, rather than system size, determines the critical threshold: in random local circuits, a critical depth $d_c \sim O(p^{-1})$ exists such that observable magic survives up to $d = d_c$, independent of $n$ [2504.18098].

In many-body systems, hypergraph states with high-degree interactions feature vanishing magic thresholds as $O(1/n)$, but families with "global" magic support can have non-vanishing thresholds independent of $n$, indicating noise-resilient macroscopic magic [2410.21215]. This decouples robust global magic from locality: even if all $K$-qubit marginals are nearly stabilizer, the global state can retain substantial magic.

## 3. Computational and Experimental Methodologies

Computing or detecting magic for large systems necessitates scalable algorithms and reliable proxies. For moderate $n$, column-generation and fast Walsh–Hadamard transform subroutines compute RoM exactly or approximately up to $n=8$, leveraging symmetries, overlap-based screening, and permutation reductions to avoid storing or enumerating the superexponential stabilizer set [2311.01362]. For larger subsystems or matrix product states, stabilizer Rényi entropy witnesses and property-testing protocols provide efficiently computable, sample-optimal means for magic detection and quantification [2504.18098].

Experiments, such as those on IonQ hardware, employ two-copy Bell measurements to access $\mathcal{M}_3$, demonstrating persistent mixed-state magic even when the global depolarizing fidelity is as low as $p=0.2$. These methods allow robust certification in realistic, noisy, and shallow-circuit regimes [2504.18098].

## 4. Phase Transitions and Many-Body Scaling

Random stabilizer codes with coherent errors display a phase transition in their magic content as a function of error strength: below a critical threshold, syndrome measurements eliminate circuit-accumulated magic, while above it magic accumulates in a "concentrated" manner [2304.10481, 2410.21215]. This parallels the behavior of entanglement and order parameters in quantum phases but is governed by constraints of the stabilizer polytope rather than solely by local observables.

In quantum critical systems such as the transverse-field Ising chain, the mutual robustness of magic between partitions exhibits power-law decay at criticality and an algebraic scaling of critical temperature with subsystem size. Notably, magic correlations persist at finite temperature and do not undergo "sudden death" like entanglement measures—magic provides a more robust diagnostic of quantum criticality [2507.12902].

## 5. Operational Significance and Cryptographic Aspects

Robustness of magic directly quantifies the overhead for classical simulation of near-Clifford circuits: the sample complexity of Monte Carlo schemes scales quadratically with $R(\rho)$ [1609.07488, 1901.03322]. Efficient property-testing of $\mathcal{M}_\alpha$ distinguishes low-magic versus high-magic states with poly$(n)$ samples provided $S_2(\rho)=O(\log n)$. States with high entropy $S_2(\rho)\gg \log n$ are provably hard to distinguish using any poly-copy protocol [2504.18098].

The interplay of magic and entropy underpins cryptographic security: so-called "pseudomagic" ensembles can only hide extensive magic when the entropy is also extensive—entropy is a necessary resource to conceal magic from any adversary. Thus the capacity to mimic high-magic states using low-magic states requires an extensive entropy budget, establishing entropy as a cryptographic resource analogous to magic [2504.18098].

## 6. Connections to Fault Tolerance and Quantum Resource Theories

Resource theories of magic treat the stabilizer convex hull and stabilizer-preserving operations as free. Robustness measures inherit properties such as faithfulness (zero iff stabilizer), convexity, monotonicity under free operations, and often submultiplicativity [1609.07488, 2409.18570]. Channels and many-body extensions can be analyzed by their channel robustness and capacity, providing compositional bounds for simulation and synthesis [1901.03322, 2202.07867].

Geometric approaches, such as the Minkowski-function magic monotone, provide computationally efficient, necessary, and sufficient criteria using integer hyperplane optimizations [2409.18570].

## 7. Summary Table: Core Quantitative Findings

| Regime / Observable                      | Robustness Threshold / Scaling Law                       | Paper              |
|-------------------------------------------|---------------------------------------------------------|--------------------|
| Global depolarizing noise ($n$ qubits)    | Magic persists if $p < 1 - 2^{-n/2}$                    | [2504.18098]       |
| Local depolarizing, random circuits       | Critical depth $d_c \sim O(p^{-1})$; $d_c$ independent of $n$ | [2504.18098] |
| C$^{n-1}$Z hypergraph states (noise)      | Magic threshold scales as $\Theta(1/n)$                 | [2410.21215]       |
| 3-complete hypergraph states (global)     | Nonvanishing threshold $\lambda^*_0 > 0$ as $n\to\infty$ | [2410.21215]      |
| Ising chain, mutual RoM at $T>0$          | No sudden death; robust for all $T<T_c$                 | [2507.12902]       |
| Random circuits (IonQ experiments)        | Magic detectable for single T-gate even at $p=0.2$      | [2504.18098]       |

## References

- [1609.07488] Application of a resource theory for magic states to fault-tolerant quantum computing
- [1901.03322] Quantifying magic for multi-qubit operations
- [1807.10296] Robustness of Magic and Symmetries of the Stabiliser Polytope
- [2311.01362] Handbook for Quantifying Robustness of Magic
- [2410.21215] Noise robustness and threshold of many-body quantum magic
- [2409.18570] A magic monotone for faithful detection of non-stabilizerness in mixed states
- [2504.18098] Efficient witnessing and testing of magic in mixed quantum states
- [2507.12902] Robustness of Magic in the quantum Ising chain via Quantum Monte Carlo tomography
- [2202.07867] Quantifying dynamical magic with completely stabilizer preserving operations as free
- [2304.10481] Phase transition in magic with random quantum circuits

For a comprehensive treatment of the operational, computational, and physical aspects of magic robustness—including rigorous thresholds, experimental validation, property testing, and resource-theoretic structures—see [2504.18098], [2311.01362], and [2410.21215].

Source: https://www.emergentmind.com/topics/robustness-of-magic