Entanglement entropy and magic of ZX-diagrams

arXiv:2610.12447 · quant-ph, cond-mat.stat-mech · Submitted 2026-10-08 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Quantum Radio. Generated commentary on the latest quantum physics and condensed matter papers.

Kai: Today's paper: "Entanglement entropy and magic of ZX-diagrams".

Mira: The gist The authors show that both entanglement and magic can be efficiently estimated directly from ZX-diagrams without contracting the represented quantum state.

Kai: First, who's behind it and why it matters.

Title and authors: Kai: Now we're looking at the core idea of this work—the "Entanglement entropy and magic of ZX-diagrams." It’s about finding a way to estimate these two quantum resources efficiently without needing the full tensor contraction that usually kills efficiency.

Mira: The central technique they use is developing a normal form for L-qubit state preparation diagrams, which is written in the form of psi> = UN · · ·U1 G>, where G is a graph state and UIs are Pauli gadgets.

Lev: So they’re essentially separating the stabilizer structure, which contributes to entanglement in a graph-theoretic way, from the non-Clifford unitaries that are just those Pauli gadgets.

Kai: That separation is what enables them to get additive upper and lower bounds on bipartite entanglement entropy using this normal form, which is a big improvement over previous methods.

Mira: They then use flow conditions to make this conversion process polynomial in the size of the ZX-diagram, which means it doesn't explode as the circuit gets bigger.

Lev: The paper also introduces an algorithm to simplify and reduce those non-Clifford gadgets that contribute to the entropy calculation, which leads to tighter theoretical estimates for both entanglement and magic.

Kai: So, in short, they’ve created a scalable method that lets you probe the complexity of a quantum state directly from its ZX-diagram without needing exponential resources.

Mira: It means we can analyze large states using structural properties of the diagram rather than brute force calculations on the state itself.

Lev: This moves us closer to characterizing complex quantum states using tools that are natively suited for how we design and describe quantum circuits.

Kai: We’re seeing this structure being used to create sharper additive bounds, which is a major win for theoretical understanding of these resources in large systems.

The paper's summary: Mira: Beyond just the method itself, the authors suggest specific improvements to make these estimates even better, focusing on how we handle those non-Clifford parts.

Kai: One improvement they focus on is that preprocessing procedure where they fuse gadgets whenever their Paulis are identical or if one differs from the state immediately before it.

Mira: That gadget fusion is designed to reduce coherent interferences, which directly leads to tighter theoretical estimates for the entanglement calculation by simplifying the diagram.

Lev: From an error correction viewpoint, if you can simplify these non-Clifford components this much, it means you could potentially design more efficient stabilizer codes based on these structural properties.

Kai: They also discuss how they handle different indices for R'enyi entropies, showing that the bounds are generally asymmetric unless the index is one.

Mira: That asymmetry is important because it means we can get different types of information from entanglement, which is useful when you're looking at more complex measures than just von Neumann entropy.

Lev: For someone interested in R'enyi entropies, that’s valuable because it shows that the method isn't just a one-size-fits-all bound but adapts to different measures.

Kai: The paper also points out that the bounds can be removed by fusing gadgets that differ by a stabilizer of the state, which is another way they tighten up those estimates.

The paper's improvements: Kai: So to wrap this up, this paper on "Entanglement entropy and magic of ZX-diagrams" shows we have a scalable way to estimate both entanglement and magic directly from ZX-diagrams without needing expensive tensor contractions.

Mira: The main implication is that we can now get additive upper and lower bounds on bipartite entanglement entropy that are tightened by preprocessing, which are also informative even for large qubit numbers.

Lev: For the simulation side, this means the cost of stabilizer-based classical simulation is better characterized through these logarithmic stabilizer extent estimates.

Kai: And for non-stabilizerness, they provide an efficient upper bound on magic that nearly saturates exact values in random circuit tests, which is very motivating for related studies.

Mira: The paper establishes a bridge between the ZX-calculus and the real-world characterization of many-body resources in a way that’s diagrammatic.

Lev: I think this work lays some solid groundwork for using these structural properties to design resource-aware cost functions in future quantum algorithm compilations.

Kai: It certainly opens up avenues for using these tight bounds to guide gate choices during circuit generation, which is a major direction moving forward.

Mira: We'll keep an eye on how this method extends beyond pure state preparation diagrams into mixed states or monitored dynamics, because that could be where the real physics gets interesting.

Lev: Yeah, I think that’s where we should focus next if we want to see these resources show distinct dynamical behavior over time.

Conclusion: Kai: So, to recap, these authors took ZX diagrams and used flow criteria to get efficient bounds on both entanglement entropy and magic without needing that heavy tensor contraction you usually have to do.

Mira: Exactly. They found a way to separate the stabilizer backbone from the non-Clifford parts of a state preparation diagram in a normal form, which lets them derive additive bounds for both resources.

Lev: From an error correction standpoint, having those additive bounds is useful because it means you get better estimates for the cost of simulating these states on actual hardware.

Kai: It’s really about making estimation scalable. They showed that this method works even as you look at large qubit numbers and deep circuits where brute-force methods just break down.

Mira: And they introduced preprocessing steps—like gadget fusion—to clean up the diagram, which makes those bounds even tighter by removing redundant noise.

Lev: I think that gadget fusion is key for implementation because it reduces the complexity of what a real quantum computer has to deal with when trying to measure these resources.

Kai: So what does this mean practically? It means we can now probe the entanglement and non-stabilizerness of large quantum circuits directly from their description, not just from the final state itself.

Mira: It’s a structural way to understand quantum complexity, moving away from just looking at the resulting numbers and focusing on how the circuit is built.

Lev: For someone who deals with error correction, this gives us a new tool to analyze resource costs in compiling algorithms that use these types of states.

Kai: It’s a solid paper on "Entanglement entropy and magic of ZX-diagrams," showing that diagrammatic analysis can be a powerful way to quantify quantum resources.

Mira: It really shows how the ZX-calculus structure maps onto the actual physical resources in a very concrete way.

Lev: Next up, we’re going to look at how these kinds of structural insights might apply to characterizing dynamics in monitored circuits, which is something they hinted at in their future directions.

Department of Computer Science, University of Oxford

quant-ph, cond-mat.stat-mech

Submitted: 2026-10-08

Updated: 2026-10-08

Comments: 6+6 pages, 3+2 figures

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 89/100

The gist: The gist The authors show that both entanglement and magic can be efficiently estimated directly from ZX-diagrams without contracting the represented quantum state.

Key concepts

ZX-calculus
A diagrammatic approach to quantum computation that represents qubit linear maps using Z-spiders and X-spiders. It is used here to represent the quantum state preparation and its associated resources, allowing for structural analysis without explicit matrix multiplication.
Normal Form / Flow
A structural decomposition technique that separates a complex ZX-diagram into a graph state backbone and non-Clifford Pauli gadgets. This separation is achieved via 'flow criteria,' which makes the conversion polynomial in size, enabling efficient resource estimation.
Entanglement Entropy Bounds
Mathematical limits derived from the normal form that provide additive upper and lower bounds on bipartite entanglement entropy. These bounds are calculated based on the structure of crossing Pauli gadgets and are exact in the Clifford limit, offering scalable probes for quantum state complexity.
Magic / Log Stabilizer Extent
A measure quantifying non-stabilizerness, defined as log2 ξ(|ψ⟩). It represents the cost of simulating a quantum state using only stabilizer circuits. The paper provides an efficient diagrammatic upper bound on this resource, showing how much non-Clifford complexity is present.

Terminology

Summary

The gist The authors show that both entanglement and magic can be efficiently estimated directly from ZX-diagrams without contracting the represented quantum state.

Entanglement and Magic in ZX-Diagrams

The core contribution of this work is developing scalable methods for estimating entanglement and magic directly from ZX-diagrams without tensor contraction (Page 2). Flow enables efficient extraction of a normal form that separates the stabilizer part from the non-Clifford unitaries, which allows for upper- and lower-bounding bipartite entanglement entropy (Page 2). This structure yields additive upper and lower bounds on bipartite entanglement entropy, which are further tightened through a preprocessing procedure that removes or merges redundant non-Clifford contributions (Page 2). The same normal form gives an upper bound on logarithmic stabilizer extent (Page 2).

Flow Criteria and Normal Form

The authors introduce the notation for ZX-diagrams, which represent qubit linear maps in the ZX-calculus, generated by Z-spiders and X-spiders (Page 2). They seek a normal form of an L-qubit state preparation diagram in the form ψ⟩ = UN · · ·U1 G⟩, where G⟩ is a graph state and Ui are Pauli gadgets (Pauli exponentials) (Page 2). This form separates the stabilizer backbone, whose entanglement contribution is graph-theoretic, from the non-Clifford deformations encoded by arbitrary-angle Pauli exponentials (Page 2). Flow criteria provide a structural condition that makes this conversion polynomial in the size of the ZX-diagram (Page 2). ZX-flow extends this notion to arbitrary ZX-diagrams and is equivalent, up to Clifford rewrites, to Pauli flow on a graph-like diagram (Page 2). Crucially here, diagrams with flow can be turned into a Clifford isometry followed by a sequence of Pauli exponentials, providing a polynomial-time route to Eq. (1) for states and the subsequent entanglement and magic bounds (Page 2).

Entanglement Entropy Bounds

The authors derive sharper additive bounds on von Neumann entanglement entropy S for a bipartition AB using the normal form from Eq. (1) (Page 3). The upper bound is given by S ≤ rankF2 ΓAB + X i∈C h2(sin2 φi 2), and the lower bound is given by S ≥ rankF2 ΓAB − X i∈C h2(sin2 φi 2), where C is a set of gadgets crossing the bipartition (Page 3). These bounds are additive w.r.t. Pauli gadgets and become exact in the Clifford limit (Page 3). The authors introduce a preprocessing procedure to reduce coherent interferences, which includes fusing gadgets whenever circuit commutation exposes identical Pauli supports and fusing two gadgets whose Paulis differ by a stabilizer of the state immediately before that region (Page 3). Numerical tests show that these bounds remain informative even when the underlying graph state has extensive entanglement (Page 3).

Magic Bounds and Log Stabilizer Extent

Magic, or non-stabilizerness, is quantified using the logarithmic stabilizer extent M(ψ⟩) = log2 ξ(ψ⟩), which characterizes the cost of stabilizer-based classical simulation (Page 4). The decomposition in Eq. (1) naturally separates the stabilizer resource from non-stabilizerness and allows upper-bounding M, yielding M(ψ⟩) ≤ 2 X i∈O log2 hp1−sin φi + q1− cos φi (Page 8). This expression is an efficient, diagrammatic upper bound on the corresponding non-stabilizerness (Page 8). The authors benchmark Eq. (4) against exact M computed using Ref. [80] and its accompanying code, finding that it nearly saturates the bound for random circuits (Page 9).

Numerical Benchmarking

The research benchmarks these methods in random unitary and monitored circuits, as well as a circuit combining Trotterized Hamiltonian evolution with Clifford layers (Page 1). For the random circuit with Clifford gates and small-phase Z-rotations, the entropy bound from Eq. (2) remains close to the exact entropy while generic entangling-capacity bounds broaden rapidly (Page 3). For the monitored circuit, Eq. (4) is shown to nearly saturate the exact magic for random ensembles, motivating its use to investigate magic survival and purification in related monitored circuits (Page 9). The results provide scalable probes of entanglement and non-stabilizerness of ZX-diagrams and establish a bridge between ZX-calculus and quantum many-body resource characterization (Page 1).

Future Directions

The research opens up many future research directions across different related disciplines, including using efficient estimates for entanglement and magic in ZX-based compilation for resource-aware cost functions (Page 5). Further improvements could be made to preprocessing using methods to remove higher-order gadget fusions, perhaps formulated as low-weight dependencies in the quotient of the Pauli group by the state stabilizer (Page 5). The construction could potentially be generalized beyond pure state-preparation diagrams with flow to mixed states or trajectories of monitored dynamics (Page 5). This would be particularly interesting in measurement-induced entanglement and magic transitions where these two resources can display distinct dynamical behavior (Page 5). Related work has already shown that ZX-calculus can yield exact stabilizer R´enyi entropies in special many-body circuits and reveal hidden structure in monitored Clifford transitions (Page 5).

Appendix Details

Appendix A details the maximum entanglement entropy change for a Pauli gadget on an arbitrary state, showing that the largest possible entropy change is bounded by ∆S ≤ max θ h2 S(θ + 2ϕ) − S(θ) (Page 7). Appendix B shows how two gadgets can generate up to 23 distinct forms of entanglement entropy, and the upper bound derived from dephasing is S ≤ S0 + X i h2 sin squared φi 2 (Page 9). The lower bound is given by S ≥ S0 − X i h2 sin squared φi 2 (Page 10). Appendix C provides an additive upper bound for the log stabilizer extent M(ψ⟩) as M(ψ⟩) ≤ 2 X j∈O log2 q1−sin φj + q1− cos φj (Page 12). The R´enyi bounds are asymmetric, given by S0 − X i hα′2 sin squared φi 2 ≤ Sα ≤ S0 + X i hα2 sin squared φi 2, where 1/α+1/α′= 2 (Page 11). The paper concludes that the bounds are additive over gadgets and remain informative for large qubit numbers and circuit depths (Page 5). The final discussion notes that many violations of the entropy bound in Eq. (S16) can be removed by fusing gadgets that differ by a stabilizer of the state, corresponding to gadget fusion scenarios in the ZX-calculus (Page 10).

How it works

The key step is provided by flow conditions, giving an efficient decomposition into a graphstate backbone dressed by Pauli gadgets, which separates two distinct sources of quantum complexity: the graph state may carry extensive entanglement while remaining entirely stabilizer, whereas non-Clifford gadgets encode deviations from stabilizer structure (Page 2). This separation allows for additive bounds on entanglement entropy and magic (Page 2).

Entanglement Entropy Bounds

The authors derive sharper additive bounds on von Neumann entanglement entropy S for a bipartition AB using the normal form from Eq. (1) (Page 3). The upper bound is given by S ≤ rankF2 ΓAB + X i∈C h2(sin2 φi 2), and the lower bound is given by S ≥ rankF2 ΓAB − X i∈C h2(sin squared φi 2), where C is a set of gadgets crossing the bipartition (Page 3). These bounds are additive w.r.t. Pauli gadgets and become exact in the Clifford limit (Page 3).

Magic Bounds and Log Stabilizer Extent

Magic, or non-stabilizerness, is quantified using the logarithmic stabilizer extent M(ψ⟩) = log2 ξ(ψ⟩), which characterizes the cost of stabilizer-based classical simulation (Page 4). The decomposition in Eq.

Improvements for AI systems

  1. textbfIncrease Scalable Resource Estimation for Quantum Circuits with ZX-Calculus: Improved Entanglement Bounds and Magic Estimates via Flow Criteria in Normal Form (Eq. 2a, 2b, Eq. 4). This allows AI systems to efficiently estimate bipartite entanglement entropy and the logarithmic stabilizer extent of large quantum circuits directly from their ZX-diagrams without requiring tensor contraction, providing scalable probes of entanglement and non-stabilizerness even for large qubit numbers, circuit depths, or internal spider counts.

  2. textbfResource-Aware Quantum Algorithm Compilation: Implementation of Resource Cost Functions. AI systems can use the tight bounds derived from the paper to implement resource-aware cost functions in ZX-based compilation pipelines to guide gate choices toward states that minimize entanglement and magic overhead during circuit generation.

  3. textbf Enhanced Circuit Optimization for Non-Clifford Unitaries: Improved Pauli Gadget Simplification. The algorithm can employ a preprocessing procedure involving gadget fusion to reduce coherent interferences, leading to tighter bounds, which informs the optimization of non-Clifford gate sequences in quantum computation workflows.

  4. textbf Dynamic Characterization of Quantum Dynamics: Probing Magic Survival and Purification in Monitored Circuits. The scalable estimate for magic can be used to investigate magic survival and purification, allowing AI systems to detect signatures of measurement-induced magic transitions in monitored quantum dynamics by tracking the evolution of the log stabilizer extent over time.

  5. textbf Optimized Quantum State Representation: Normal Form Decomposition for Complex States. The transformation into the normal form ψ⟩ = UN · · ·U1 G⟩ separates the stabilizer part from the non-Clifford deformations, enabling AI systems to efficiently characterize complex quantum states by treating their graph state backbone and Pauli gadgets as distinct, quantifiable components.

Sources

Related papers