- Open Access
Emergent Unitary Designs for Encoded Qubits from Coherent Errors and Syndrome Measurements
PRX Quantum 6, 030333 – Published 22 August, 2025
DOI: https://doi.org/10.1103/bnld-2chd
Abstract
Unitary -designs are distributions of unitary gates that match the Haar distribution up to its statistical moment. They are a crucial resource for randomized quantum protocols. However, their implementation on encoded logical qubits is nontrivial due to the need for magic gates, which can require a large resource overhead. In this work, we propose an efficient approach to generate unitary designs for encoded qubits in surface codes by applying local unitary rotations (“coherent errors”) on the physical qubits followed by syndrome measurement and error correction. We prove that, under some conditions on the coherent errors (notably including all single-qubit unitaries) and on the error-correcting code, this process induces a unitary transformation of the logical subspace. We numerically show that the ensemble of logical unitaries (indexed by the random syndrome outcomes) converges to a unitary design in the thermodynamic limit, provided that the density or strength of coherent errors is above a finite threshold. This “unitary design” phase transition coincides with the code’s coherent error threshold under optimal decoding. Furthermore, we propose a classical algorithm to simulate the protocol based on a “staircase” implementation of the surface code encoder and decoder circuits. This enables a mapping to a -dimensional monitored circuit, where we observe an entanglement phase transition (and thus a classical complexity phase transition of the decoding algorithm) coinciding with the aforementioned unitary design phase transition. Our results provide a practical way to realize unitary designs on encoded qubits, with applications including quantum state tomography and benchmarking in error-correcting codes.
Physics Subject Headings (PhySH)
Popular Summary
Quantum randomness is an important resource in many quantum information processing tasks, such as benchmarking, tomography, and demonstrations of quantum advantage. However, on error-corrected quantum computers, the implementation of highly random unitary operations can be challenging because of the resource overhead of non-Clifford, or “magic,” gates. Our work presents a scalable approach to avoid this overhead and generate highly random distributions of unitary gates, known as unitary designs, directly on encoded logical qubits.
Our protocol is based on the intentional application of “coherent errors” to the physical qubits, followed by syndrome measurement and error correction. For wide classes of coherent errors and codes, we show that, despite the presence of measurements, the overall evolution of the logical information is unitary. We find that, in the surface code, this ensemble of unitary operations (one per possible syndrome) becomes highly random in the infinite-system limit when the coherent errors exceed a critical threshold. Remarkably, this threshold also coincides with the code’s optimal error-correction threshold and with an entanglement phase transition in an associated one-dimensional model. The latter phenomenon enables efficient classical simulation based on matrix product states below the threshold.
Our work paves the way for practical realizations of unitary designs on logical qubits, with potential applications including quantum state tomography, benchmarking, and random circuit sampling with logical qubits.
Article Text
References (93)
- B. Eastin, Restrictions on transversal encoded quantum gate sets, Phys. Rev. Lett. 102, 110502 (2009).
- E. Knill, Fault-tolerant postselected quantum computation: Schemes, ArXiv:quant-ph/0402171.
- S. Bravyi, Universal quantum computation with ideal Clifford gates and noisy ancillas, Phys. Rev. A 71, 022316 (2005).
- M. B. Hastings, Distillation with sublogarithmic overhead, Phys. Rev. Lett. 120, 050504 (2018).
- A. Wills, M.-H. Hsieh, and H. Yamasaki, Constant-overhead magic state distillation, ArXiv:2408.07764.
- J. Choi, A. L. Shaw, I. S. Madjarov, X. Xie, R. Finkelstein, J. P. Covey, J. S. Cotler, D. K. Mark, H.-Y. Huang, A. Kale, H. Pichler, F. G. S. L. Brandão, S. Choi, and M. Endres, Preparing random states and benchmarking with many-body quantum chaos, Nature 613, 468 (2023).
- J. S. Cotler, D. K. Mark, H.-Y. Huang, F. Hernández, J. Choi, A. L. Shaw, M. Endres, and S. Choi, Emergent quantum state designs from individual many-body wave functions, PRX Quantum 4, 010311 (2023).
- W. W. Ho and S. Choi, Exact emergent quantum state designs from quantum chaotic dynamics, Phys. Rev. Lett. 128, 060601 (2022).
- M. Ippoliti and W. W. Ho, Solvable model of deep thermalization with distinct design times, Quantum 6, 886 (2022).
- X. Turkeshi and P. Sierant, Error-resilience phase transitions in encoding-decoding quantum circuits, Phys. Rev. Lett. 132, 140401 (2024).
- P. Niroula, C. D. White, Q. Wang, S. Johri, D. Zhu, C. Monroe, C. Noel, and M. J. Gullans, Phase transition in magic with random quantum circuits, Nat. Phys. 20, 1786 (2024).
- J. Behrends, F. Venn, and B. Béri, Surface codes, quantum circuits, and entanglement phases, Phys. Rev. Res. 6, 013137 (2024).
- F. Venn, J. Behrends, and B. Béri, Coherent-error threshold for surface codes from Majorana delocalization, Phys. Rev. Lett. 131, 060603 (2023).
- E. Knill, Randomized benchmarking of quantum gates, Phys. Rev. A 77, 012307 (2008).
- J. R. McClean, S. Boixo, V. N. Smelyanskiy, R. Babbush, and H. Neven, Barren plateaus in quantum neural network training landscapes, Nat. Commun. 9, 4812 (2018).
- H.-Y. Huang, R. Kueng, and J. Preskill, Predicting many properties of a quantum system from very few measurements, Nat. Phys. 16, 1050 (2020).
- A. Elben, S. T. Flammia, H.-Y. Huang, R. Kueng, J. Preskill, B. Vermersch, and P. Zoller, The randomized measurement toolbox, Nat. Rev. Phys. 5, 9 (2023).
- A. A. Mele, Introduction to Haar measure tools in quantum information: A beginner’s tutorial, Quantum 8, 1340 (2024).
- A. Ambainis and J. Emerson, in Twenty-Second Annual IEEE Conference on Computational Complexity (CCC’07) (IEEE Computer Society, Los Alamitos, CA, USA, 2007), p. 129.
- C. Dankert, Exact and approximate unitary 2-designs and their application to fidelity estimation, Phys. Rev. A 80, 012304 (2009).
- D. A. Roberts and B. Yoshida, Chaos and complexity by design, J. High Energy Phys. 2017, 121 (2017).
- N. Hunter-Jones, Unitary designs from statistical mechanics in random quantum circuits, ArXiv:1905.12053.
- T. Schuster, J. Haferkamp, and H.-Y. Huang, Random unitaries in extremely low depth, Science 389, 92 (2025).
- M. Ippoliti and W. W. Ho, Dynamical purification and the emergence of quantum state designs from the projected ensemble, PRX Quantum 4, 030322 (2023).
- T. Bhore, J.-Y. Desaules, and Z. Papic, Deep thermalization in constrained quantum systems, Phys. Rev. B 108, 104317 (2023).
- D. K. Mark, F. Surace, A. Elben, A. L. Shaw, J. Choi, G. Refael, M. Endres, and S. Choi, Maximum entropy principle in deep thermalization and in Hilbert-space ergodicity, Phys. Rev. X 14, 041051 (2024).
- A. Chan and A. De Luca, Projected state ensemble of a generic model of many-body quantum chaos, J. Phys. A: Math. Theoret. 57, 405001 (2024).
- M. Lucas, L. Piroli, J. De Nardis, and A. De Luca, Generalized deep thermalization for free fermions, Phys. Rev. A 107, 032215 (2023).
- C. Liu, Q. C. Huang, and W. W. Ho, Deep thermalization in Gaussian continuous-variable quantum systems, Phys. Rev. Lett. 133, 260401 (2024).
- R.-A. Chang, H. Shrotriya, W. W. Ho, and M. Ippoliti, Deep thermalization under charge-conserving quantum dynamics, PRX Quantum 6, 020343 (2025).
- S. Bravyi, M. Englbrecht, R. König, and N. Peard, Correcting coherent errors with surface codes, npj Quantum Inf. 4, 55 (2018).
- M. P. A. Fisher, V. Khemani, A. Nahum, and S. Vijay, Random quantum circuits, Annu. Rev. Condens. Matter Phys. 14, 335 (2023).
- A. C. Potter and R. Vasseur, in Entanglement in Spin Chains: From Theory to Quantum Technology Applications, Quantum Science and Technology, edited by A. Bayat, S. Bose, and H. Johannesson (Cham, Switzerland, 2022), p. 211.
- B. Skinner, J. Ruhman, and A. Nahum, Measurement-induced phase transitions in the dynamics of entanglement, Phys. Rev. X 9, 031009 (2019).
- Y. Li, X. Chen, and M. P. A. Fisher, Quantum Zeno effect and the many-body entanglement transition, Phys. Rev. B 98, 205136 (2018).
- S. Choi, Y. Bao, X.-L. Qi, and E. Altman, Quantum error correction in scrambling dynamics and measurement-induced phase transition, Phys. Rev. Lett. 125, 030505 (2020).
- Y. Bao, S. Choi, and E. Altman, Theory of the phase transition in random unitary circuits with measurements, Phys. Rev. B 101, 104301 (2020).
- M. J. Gullans and D. A. Huse, Dynamical purification phase transition induced by quantum measurements, Phys. Rev. X 10, 041020 (2020).
- M. J. Gullans and D. A. Huse, Scalable probes of measurement-induced criticality, Phys. Rev. Lett. 125, 070606 (2020).
- R. Fan, S. Vijay, A. Vishwanath, and Y.-Z. You, Self-organized error correction in random unitary circuits with measurement, Phys. Rev. B 103, 174309 (2021).
- Y. Li and M. P. A. Fisher, Statistical mechanics of quantum error correcting codes, Phys. Rev. B 103, 104306 (2021).
- Y. Li, Y. Zou, P. Glorioso, E. Altman, and M. P. A. Fisher, Cross entropy benchmark for measurement-induced phase transitions, Phys. Rev. Lett. 130, 220404 (2023).
- C. Noel, P. Niroula, D. Zhu, A. Risinger, L. Egan, D. Biswas, M. Cetina, A. V. Gorshkov, M. J. Gullans, D. A. Huse, and C. Monroe, Measurement-induced quantum phases realized in a trapped-ion quantum computer, Nat. Phys. 18, 760 (2022).
- J. C. Hoke, et al., Measurement-induced entanglement and teleportation on a noisy quantum processor, Nature 622, 481 (2023).
- T. Vovk and H. Pichler, Entanglement-optimal trajectories of many-body quantum Markov processes, Phys. Rev. Lett. 128, 243601 (2022).
- Z. Cheng and M. Ippoliti, Efficient sampling of noisy shallow circuits via monitored unraveling, PRX Quantum 4, 040326 (2023).
- Z. Chen, Y. Bao, and S. Choi, Optimized trajectory unraveling for classical simulation of noisy quantum dynamics, Phys. Rev. Lett. 133, 230403 (2024).
- J. C. Napp, R. L. La Placa, A. M. Dalzell, F. G. S. L. Brandão, and A. W. Harrow, Efficient classical simulation of random shallow 2D quantum circuits, Phys. Rev. X 12, 021021 (2022).
- F. Venn and B. Béri, Error-correction and noise-decoherence thresholds for coherent errors in planar-graph surface codes, Phys. Rev. Res. 2, 043412 (2020).
- Since any two , commute, is a Hermitian Pauli operator; thus, , but also . Thus, . So if every element in a generating set has even Pauli weight then each element of the stabilizer group does.
- This subgroup is isomorphic to the compact symplectic group , of dimension . This is defined as with a standard symplectic form—a real antisymmetric matrix obeying and . One can rewrite as , where is real antisymmetric and obeys and . Finally, conditions (1) and (2) imply that the code size is odd (e.g., the operator commutes with all stabilizers and anticommutes with , so it is a nontrivial logical of weight ), giving .
- A. S. Darmawan, Optimal adaptation of surface-code decoders to local noise, ArXiv:2403.08706.
- E. Dennis, A. Kitaev, A. Landahl, and J. Preskill, Topological quantum memory, J. Math. Phys. 43, 4452 (2002).
- A. G. Fowler, Towards practical classical processing for the surface code, Phys. Rev. Lett. 108, 180501 (2012).
- A. Javadi-Abhari, M. Treinish, K. Krsulich, C. J. Wood, J. Lishman, J. Gacon, S. Martiel, P. D. Nation, L. S. Bishop, A. W. Cross, B. R. Johnson, and J. M. Gambetta, Quantum computing with Qiskit, ArXiv:2405.08810.
- J. Watrous, Simpler semidefinite programs for completely bounded norms, ArXiv:1207.5726.
- F. G. S. L. Brandão, A. W. Harrow, and M. Horodecki, Local random quantum circuits are approximate polynomial-designs, Commun. Math. Phys. 346, 397 (2016).
- This assumes a random decoder. With a specific decoder like MWPM we have a trivial “identity” ensemble below a decoder-dependent threshold , as shown in Fig. 1.
- T. M. Stace and S. D. Barrett, Error correction and degeneracy in surface codes suffering loss, Phys. Rev. A 81, 022317 (2010).
- J. Behrends and B. Béri, The surface code beyond Pauli channels: Logical noise coherence, information-theoretic measures, and errorfield-double phenomenology, ArXiv:2412.21055.
- Y. Suzuki, K. Fujii, and M. Koashi, Efficient simulation of quantum error correction under coherent error based on the nonunitary free-fermionic formalism, Phys. Rev. Lett. 119, 190503 (2017).
- K. J. Satzinger, et al., Realizing topologically ordered states on a quantum processor, Science 374, 1237 (2021).
- O. Higgott, M. Wilson, J. Hefford, J. Dborin, F. Hanif, S. Burton, and D. E. Browne, Optimal local unitary encoding circuits for the surface code, Quantum 5, 517 (2021).
- M. Iqbal, N. Tantivasadakarn, T. M. Gatterman, J. A. Gerber, K. Gilmore, D. Gresh, A. Hankin, N. Hewitt, C. V. Horst, M. Matheny, T. Mengle, B. Neyenhuis, A. Vishwanath, M. Foss-Feig, R. Verresen, and H. Dreyer, Topological order from measurements and feed-forward on a trapped ion quantum computer, Commun. Phys. 7, 1 (2024).
- M. Foss-Feig, A. Tikku, T.-C. Lu, K. Mayer, M. Iqbal, T. M. Gatterman, J. A. Gerber, K. Gilmore, D. Gresh, A. Hankin, N. Hewitt, C. V. Horst, M. Matheny, T. Mengle, B. Neyenhuis, H. Dreyer, D. Hayes, T. H. Hsieh, and I. H. Kim, Experimental demonstration of the advantage of adaptive quantum circuits, ArXiv:2302.03029.
- J.-P. Tillich and G. Zemor, Quantum LDPC codes with positive rate and minimum distance proportional to the square root of the blocklength, IEEE Trans. Inf. Theory 60, 1193 (2014).
- M. Foss-Feig, D. Hayes, J. M. Dreiling, C. Figgatt, J. P. Gaebler, S. A. Moses, J. M. Pino, and A. C. Potter, Holographic quantum algorithms for simulating correlated spin systems, Phys. Rev. Res. 3, 033002 (2021).
- M. Ippoliti, T. Rakovszky, and V. Khemani, Fractal, logarithmic, and volume-law entangled nonthermal steady states via spacetime duality, Phys. Rev. X 12, 011045 (2022).
- T.-C. Lu and T. Grover, Spacetime duality between localization transitions and measurement-induced transitions, PRX Quantum 2, 040319 (2021).
- S. Anand, J. Hauschild, Y. Zhang, A. C. Potter, and M. P. Zaletel, Holographic quantum simulation of entanglement renormalization circuits, PRX Quantum 4, 030334 (2023).
- N. Schuch, M. M. Wolf, F. Verstraete, and J. I. Cirac, Entropy scaling and simulability by matrix product states, Phys. Rev. Lett. 100, 030504 (2008).
- A. Zabalo, M. J. Gullans, J. H. Wilson, S. Gopalakrishnan, D. A. Huse, and J. H. Pixley, Critical properties of the measurement-induced transition in random quantum circuits, Phys. Rev. B 101, 060301(R) (2020).
- Here , refer to the linear dimensions of the surface code.
- W. Dür, M. Hein, J. I. Cirac, and H.-J. Briegel, Standard forms of noisy quantum operations via depolarization, Phys. Rev. A 72, 052326 (2005).
- Z. Cai and S. C. Benjamin, Constructing smaller Pauli twirling sets for arbitrary error channels, Sci. Rep. 9, 11281 (2019).
- B. J. Brown, K. Laubscher, M. S. Kesselring, and J. R. Wootton, Poking holes and cutting corners to achieve Clifford gates with the surface code, Phys. Rev. X 7, 021029 (2017).
- Y. Nakata, D. Zhao, T. Okuda, E. Bannai, Y. Suzuki, S. Tamiya, K. Heya, Z. Yan, K. Zuo, S. Tamate, Y. Tabuchi, and Y. Nakamura, Quantum circuits for exact unitary -designs and applications to higher-order randomized benchmarking, PRX Quantum 2, 030339 (2021).
- J. Hines, D. Hothem, R. Blume-Kohout, B. Whaley, and T. Proctor, Fully scalable randomized benchmarking without motion reversal, PRX Quantum 5, 030334 (2024).
- S. Boixo, S. V. Isakov, V. N. Smelyanskiy, R. Babbush, N. Ding, Z. Jiang, M. J. Bremner, J. M. Martinis, and H. Neven, Characterizing quantum supremacy in near-term devices, Nat. Phys. 14, 595 (2018).
- F. Arute, et al., Quantum supremacy using a programmable superconducting processor, Nature 574, 505 (2019).
- C. Lancien and C. Majenz, Weak approximate unitary designs and applications to quantum encryption, Quantum 4, 313 (2020).
- Z. Ji, Y.-K. Liu, and F. Song, in Advances in Cryptology—CRYPTO 2018, edited by H. Shacham and A. Boldyreva (Cham, 2018), p. 126.
- T. Begusic and G. K.-L. Chan, Real-time operator evolution in two and three dimensions via sparse Pauli dynamics, PRX Quantum 6, 020302 (2025).
- G. González-García, J. I. Cirac, and R. Trivedi, Pauli path simulations of noisy quantum circuits beyond average case, Quantum 9, 1730 (2025).
- X. Mi, et al., Information scrambling in quantum circuits, Science 374, 1479 (2021).
- A. S. Darmawan and D. Poulin, Tensor-network simulations of the surface code under realistic noise, Phys. Rev. Lett. 119, 040502 (2017).
- N. P. Breuckmann and J. N. Eberhardt, Quantum low-density parity-check codes, PRX Quantum 2, 040101 (2021).
- S. Bravyi and B. Terhal, A no-go theorem for a two-dimensional self-correcting quantum memory based on stabilizer codes, New J. Phys. 11, 043029 (2009).
- T. Rakovszky and V. Khemani, The physics of (good) LDPC codes II. Product constructions, ArXiv:2402.16831.
- J. Behrends and B. Beri, Statistical mechanical mapping and maximum-likelihood thresholds for the surface code under generic single-qubit coherent errors, ArXiv:2410.22436.
- Y. Bao and S. Anand, Phases of decodability in the surface code with unitary errors, ArXiv:2411.05785.
- S. Aaronson and D. Gottesman, Improved simulation of stabilizer circuits, Phys. Rev. A 70, 052328 (2004).
- S. Krastanov, F. Ahmad, P. Viswanathan, S. Pardis, A. Micciche, J. Lapeyre, Rabqubit, Gsommers, T. Hofmann, A. Bhatt, A. Meligrana, Benzillaist, C. Zhao, IsaacP1234, L. Göttgens, ShuGe-MIT, T. Holy, T. Dang, Adrianariton, and Ismoldayev, Quantumsavory/quantumclifford.jl: v0.9.12, 2024, https://doi.org/10.5281/zenodo.13950271.
