Magic states can be used as a resource to circumvent the restrictions due to stabilizer-preserving operations, and magic-state conversion has not been studied in the single-copy regime thus far. Here we solve the question of whether a stabilizer-preserving quantum operation exists that can convert between two given magic states in the single-shot regime. We first phrase this question as a feasibility problem for a semidefinite program, which provides a procedure for constructing a stabilizer-preserving quantum operation (free channel) if it exists. Then we employ a variant of the Farkas lemma to derive necessary and sufficient conditions for existence, and this method is used to construct a complete set of magic monotones.
Magic states can be used as a resource to circumvent the restrictions due to stabilizer-preserving operations, and magic-state conversion has not been studied in the single-copy regime thus far. Here we solve the question of whether a stabilizer-preserving quantum operation exists that can convert between two given magic states in the single-shot regime. We first phrase this question as a feasibility problem for a semidefinite program, which provides a procedure for constructing a stabilizer-preserving quantum operation (free channel) if it exists. Then we employ a variant of the Farkas lemma to derive necessary and sufficient conditions for existence, and this method is used to construct a complete set of magic monotones.
In this paper we extend the resource theory of magic states to the channel domain by considering completely stabilizer-preserving operations (CSPOs) as free. We introduce and characterize the set of CSPO-preserving and completely CSPO-preserving superchannels. We quantify magic channels by extending the generalized robustness and the min-relative entropy defined for magic states to channels and show that they bound the single-shot dynamical magic cost and distillation. We also provide analytical conditions for qubit interconversion under CSPOs and show that it is a linear programming feasibility problem and hence can be efficiently solved. Lastly, we give a classical simulation algorithm whose runtime is related to the generalized robustness of magic channels. Our algorithm depends on some predefined precision, and if there is no bound on the desired precision then it achieves a constant runtime.
Magic plays a dual role in quantum computation: it promotes stabilizer dynamics from efficient classical simulability to computational universality, but also challenges fault-tolerant architectures, since non-stabilizer operations are harder to protect against noise. Magic state distillation addresses this issue, yet existing protocols remain largely tailored to specific assumptions about the input or noise model and, more fundamentally, no general information-theoretic theory of optimal magic-state conversion currently exists. Here we develop such a characterization for pure qubit states through universal magic state concentration: a fixed stabilizer protocol that converts a few copies of an unknown pure non-stabilizer qubit state into an exact target magic state. Motivated by the impossibility of exact T-state concentration, we build six- and eight-copy protocols producing an exact CCZ state, with six copies being minimal. Their success probabilities are governed by the linearized order-three stabilizer Rényi entropy M3lin. We show that this connection is structural: for up to nine input copies, M3lin fully determines the success probability of every universal Clifford-invariant stabilizer protocol. Remarkably, this characterization persists asymptotically: our constructions achieve optimal rates among universal single-output protocols and remain optimal up to logarithmic factors among arbitrary stabilizer protocols. As a corollary, we show that any unknown pure non-stabilizer state suffices for universal quantum computation via probabilistic CCZ-state injection. Together, these results identify the stabilizer Rényi entropy as a fundamental operational quantity in magic state distillation.
Abstract Resource theory of imaginarity provides a useful framework to understand the role of complex numbers, which are essential in the formulation of quantum mechanics, in a mathematically rigorous way. In the first part of this article, we study the properties of ‘real’ (quantum) operations both in single-party and bipartite settings. As a consequence, we provide necessary and sufficient conditions for state transformations under real operations and show the existence of ‘real entanglement’ monotones. In the second part of this article, we focus on the problem of single copy state transformation via real quantum operations. When starting from pure initial states, we completely solve this problem by finding an analytical expression for the optimal fidelity of transformation, for a given probability of transformation and vice versa. Moreover, for state transformations involving arbitrary initial states and pure final states, we provide a semidefinite program to compute the optimal achievable fidelity, for a given probability of transformation.
Magic-state resource theory is a fundamental framework with far-reaching applications in quantum error correction and the classical simulation of quantum systems. Recent advances have significantly deepened our understanding of magic as a resource across diverse domains, including many-body physics, nuclear and particle physics, and quantum chemistry. Central to this progress is the stabilizer Rényi entropy, a computable and experimentally accessible magic monotone. Despite its widespread adoption, a rigorous operational interpretation of the stabilizer entropy has remained an open problem. In this work, we provide such an interpretation in the context of quantum property testing. By showing that the stabilizer entropy is the most robust measurable magic monotone, we demonstrate that the Clifford orbit of a quantum state becomes exponentially indistinguishable from Haar-random states, at a rate governed by the stabilizer entropy M α ( ψ ) and the number of available copies. This implies that the Clifford orbit forms an approximate state k -design, with an approximation error exp ( − Θ ( M α ( ψ ) ) ) for α ≥ 2 . Conversely, we establish that the optimal probability of distinguishing a given quantum state from the set of stabilizer states is also governed by its stabilizer entropy. These results reveal that the stabilizer entropy quantitatively characterizes the transition from stabilizer states to universal quantum states, thereby offering a comprehensive operational perspective of the stabilizer entropy as a quantum resource.
The development of a framework for quantifying ‘non-stabilizerness’ of quantum operations is motivated by the magic state model of fault-tolerant quantum computation and by the need to estimate classical simulation cost for noisy intermediate-scale quantum (NISQ) devices. The robustness of magic was recently proposed as a well-behaved magic monotone for multi-qubit states and quantifies the simulation overhead of circuits composed of Clifford + T gates, or circuits using other gates from the Clifford hierarchy. Here we present a general theory of the ‘non-stabilizerness’ of quantum operations rather than states, which are useful for classical simulation of more general circuits. We introduce two magic monotones, called channel robustness and magic capacity, which are well-defined for general n -qubit channels and treat all stabilizer-preserving CPTP maps as free operations. We present two complementary Monte Carlo-type classical simulation algorithms with sample complexity given by these quantities and provide examples of channels where the complexity of our algorithms is exponentially better than previously known simulators. We present additional techniques that ease the difficulty of calculating our monotones for special classes of channels.
The partition function is statistical mechanics' answer to an exponentially large spectrum, distilling it into a single analytic object whose temperature dependence resolves the full structure of the underlying ensemble. We show that magic, the resource separating universal quantum computation from classically simulable stabilizer dynamics, admits precisely such a description. Mapping the Pauli spectrum of a quantum state onto the energy levels of a fictitious many-body system, the Pauli gas, we construct its canonical partition function, the stabilizer partition function, and from its associated free energy a magic monotone that we call the stabilizer work. Both these objects are analytic functions of an inverse-temperature-like parameter and are efficiently estimable via Bell sampling. The framework is analytically tractable. We derive exact ensemble-averaged partition functions for Haar-random, ν-compressible, and pseudomagic states, together with concentration guarantees. We show that for every value of its parameter, the stabilizer work is a faithful, Subadditive magic monotone, while remaining efficiently accessible on quantum hardware and admitting an operational interpretation. Unlike measures that probe a single moment of the Pauli distribution, the stabilizer work is intrinsically moment-generating. As the temperature is tuned from high to low, it interpolates continuously between the stabilizer 2-Rényi entropy and the stabilizer nullity, revealing two previously disconnected monotones as limiting cases of a single object. We demonstrate the framework on low-rank stabilizer simulation, resource interconversion, molecular ground states, and quantum many-body systems. A thermodynamics of magic is therefore not merely an analogy but a working toolkit, opening a statistical-mechanical route to magic properties of quantum systems that no single measure can access.