Abstract
Lattice gauge theories (LGTs)1,2,3,4 can be used to understand a wide range of phenomena, from elementary particle scattering in high-energy physics to effective descriptions of many-body interactions in materials5,6,7. Studying dynamical properties of emergent phases can be challenging, as it requires solving many-body problems that are generally beyond perturbative limits8,9,10. Here we investigate the dynamics of local excitations in a \({{\mathbb{Z}}}_{2}\) LGT using a two-dimensional lattice of superconducting qubits. We first construct a simple variational circuit that prepares low-energy states that have a large overlap with the ground state; then we create charge excitations with local gates and simulate their quantum dynamics by means of a discretized time evolution. As the electric field coupling constant is increased, our measurements show signatures of transitioning from deconfined to confined dynamics. For confined excitations, the electric field induces a tension in the string connecting them. Our method allows us to experimentally image string dynamics in a (2+1)D LGT, from which we uncover two distinct regimes inside the confining phase: for weak confinement, the string fluctuates strongly in the transverse direction, whereas for strong confinement, transverse fluctuations are effectively frozen11,12. We also demonstrate a resonance condition at which dynamical string breaking is facilitated. Our LGT implementation on a quantum processor presents a new set of techniques for investigating emergent excitations and string dynamics.
Similar content being viewed by others
Main
Present models for fundamental forces are formulated as gauge theories. The common element of these theories is a local symmetry action and its corresponding gauge field that mediates interaction between matter particles5. Gauge theories are not limited to high-energy physics but can also capture emergent phenomena in condensed matter physics6,7 and have seen applications in quantum information13. One of the earliest examples of the interplay between these research fields was the development of LGT, in which space is discretized to a lattice1,2,3,4. In particular, a motivation for introducing quantum LGTs was to describe a mechanism for confinement of quarks in quantum chromodynamics2. Within this framework, confined matter particles are the open ends of a string with finite tension. The discrete nature of LGTs has also been important in forming a framework for numerical calculations of equilibrium properties, for instance, using Monte Carlo or tensor-network-based methods9.
Understanding the non-equilibrium dynamics of string excitations in LGTs is of fundamental importance in various disciplines, ranging from transport properties of the quark–gluon plasma to spectral properties in correlated quantum materials. However, theoretical approaches to this problem face substantial obstacles: non-equilibrium dynamics is beyond perturbative treatments, numerical methods based on Monte Carlo run into sign problems and tensor-network approaches work only as long as entanglement remains sufficiently low8,9,10. Quantum devices have been proposed as a viable alternative for the study of LGTs (refs. 14,15,16,17,18,19,20 for early works and reviews); their experimental implementations, on the other hand, have been limited to one spatial dimension or small scales, which limits the ability to examine string fluctuations21,22,23,24,25,26,27,28,29,30,31,32,33,34,35. Because conventional LGT Hamiltonians have a constrained structure dictated by the local symmetry action, directly simulating their dynamics on quantum processors requires the ability to perform evolution generated by specific multibody local terms.
Here we realize a two-dimensional LGT on a superconducting quantum processor and use this platform to investigate and visualize the string dynamics. We consider an LGT in which the interaction between matter fields (filled circles in Fig. 1a), placed on the vertices of a square lattice, is mediated by \({{\mathbb{Z}}}_{2}\) gauge fields, located on the links that connect them3 (green diamonds in Fig. 1a). This structure is a simplification of quantum electrodynamics, in which both space and the gauge group are discretized: space becomes a lattice and the U(1) gauge group is discretized to \({{\mathbb{Z}}}_{2}\). We make use of the gauge redundancy to eliminate matter fields36,37. In the resulting ‘matter-free’ LGT, the motion and interaction of matter fields are captured by the \({{\mathbb{Z}}}_{2}\) gauge fields with the Hamiltonian:
a, A full two-dimensional LGT (top left) can be realized by placing charged matter (grey circles) on vertices of a square lattice and gauge fields on the links between them (green diamonds). The local gauge structure can be used to eliminate the matter field and arrive at an effective theory involving gauge fields only (right). The presence/absence of charge excitations (red/blue) or magnetic fluxes (yellow/purple) is then sensed through the links. b, Zero-temperature phase diagram of the LGT in equation (1). c, In the deconfined phase, charges move freely. In the confined phase, charges oscillate around an equilibrium configuration. We can picture an elastic string connecting them that fluctuates in both longitudinal and transverse directions, limiting their motion.
The vertex operators Av = ∏i∈vZi are products of local Z operators on link qubits emanating from a vertex v and represent the electric charge (red or blue tiles in Fig. 1a). The plaquette operators Bp = ∏i∈pXi are products of Pauli-X operators on link qubits encircling a plaquette and represent the presence or absence of magnetic flux (yellow or purple tiles). We consider vertex and plaquette operators of equal strength, which sets the unit of energy, JE = JM = 1. The hE terms denote an electric field on each link that creates magnetic flux excitations. The coupling terms λ generate hopping of matter fields located at adjacent vertices, as mediated by a gauge field on their connecting link.
Since the foundational work of Fradkin and Shenker, it has been known that the zero-temperature phase diagram of \({\mathcal{H}}\) has two distinct phases38,39,40,41 (Fig. 1b). One phase is the deconfined and topologically ordered phase that exists near hE, λ ≈ 0. The quantum phase transition along the λ = 0 line can be understood by a duality mapping to the transverse-field Ising model1, in which domain walls of the Ising model correspond to closed strings in \({\mathcal{H}}\). For small but non-zero λ, the duality breaks down: we must include contributions to dynamics from open strings, which cannot correspond directly to domain walls. Crossing this transition into the confining phase leads to a condensation of magnetic excitations and confinement of electric excitations. The deconfinement to confinement transition can be seen in the non-equilibrium dynamics of a pair of charge excitations. In the deconfined case, the excitations move freely, whereas in the confined case, the string between them acquires a tension and restricts their motion (Fig. 1c).
For hE = λ = 0, \({\mathcal{H}}\) reduces to the celebrated toric code Hamiltonian13, which underlies several quantum computing error-correction codes. In that limit, all terms in \({\mathcal{H}}\) commute with each other, [Av, Bp] = 0 ∀ v, p; hence \({\mathcal{H}}\) is exactly solvable. The efficient preparation of the toric code ground state is well studied and can be achieved with circuits that scale linearly with the shorter dimension of the lattice42,43,44. In the limit hE, λ ≫ 1, the ground state is a product state of the qubits with all qubits pointing in the same direction, which can be prepared with single-qubit operations. A key aspect of \({\mathcal{H}}\) at the system sizes we study is the existence of an efficient algorithm to prepare states at energy densities low enough to resolve characteristic dynamics throughout the phase diagram. We make use of a variational ansatz based on a parameterization of the gate sequence used to generate the toric code wavefunction, which we call the weight-adjustable loop ansatz (WALA)45,46 (Fig. 2a,b and Methods). To implement this ansatz, we use a grid of qubits with fourfold connectivity (diamonds) and ancilla qubits (circles; Fig. 2a) at the centre of each plaquette of the link qubits. All qubits begin in the |0⟩ state. The state-preparation sequence starts with a single-qubit rotation Ry(θ) on each of the ancilla qubits at the centre of the plaquettes. The rest of the gate sequence does not have any adjustable parameters and is composed of controlled NOT (C-NOT) gates that generate entanglement between the qubits, starting with the centre columns of plaquettes and spreading to the edges of the lattice. The final C-NOT gate disentangles the ancilla qubits, returning them to the |0⟩ state. We use a classical computer to find the optimal angle θ that minimizes the initial state energy, as a function of hE (Fig. 2b and Supplementary Information Section II). The WALA circuit is equivalent to a mean-field ansatz for the dual Ising model and has the advantage of being very easy to optimize classically even for larger system sizes, in contrast to the actual ground state45 (Methods). The resulting quantum state, |ψ0⟩, is then used as a low-energy-density initial state for simulating the dynamics. In classical simulations, the dynamics are hard to capture owing to the fast entanglement growth (Supplementary Information Section V).
a, WALA gate sequence used for a two-dimensional grid of 35 qubits, consisting of 17 link qubits (diamonds) and 18 ancilla qubits (circles). The sequence begins with applying Ry(θ) to ancilla qubits of each plaquette, followed by applying C-NOT gates to qubit pairs, starting at the centre columns and moving outwards. b, Optimized θ angle used in WALA. The green curve is based on numerical calculations for a 35-qubit grid and the grey curve shows the thermodynamic limit. c, Energy error, compared with the exact ground state, of three ansatzes: (1) WALA (green); (2) toric code, θ = π/2 (blue); and (3) product state, |0⟩⊗N (yellow), for λ = 0.25. Solid lines correspond to circuit simulations and filled circles are extracted from our experiment after readout error mitigation (Supplementary Information Section III.A). d, Experimentally measured expectation values of plaquette, vertex and Pauli-Z operators, for λ = 0.25 and hE ∈ {0, 0.3, 0.6, 1.0}, from WALA. We post-select the measured data on the ancilla being in the expected |0⟩ state to mitigate decoherence of the device for this and all other figures of the main text (Methods).
In Fig. 2c, we show the energy error for λ = 0.25 as a function of hE using the optimized angles in the WALA (green markers/line). The energy error is small for all values of hE for the WALA initial state (Supplementary Information Section III.A). Preparing instead the toric code ground state (θ = π/2) gives good overlap with the true ground state only for hE ≪ 1. Away from this limit, the energy error grows rapidly (blue markers/line). In the opposite limit, hE ≫ 1, the polarized state is the ground state of \({\mathcal{H}}\). Considering this ansatz yields acceptable energy errors for large values of hE (orange markers/line), but when reducing hE, the energy error becomes large as well. The good performance of the WALA relies on the finite size of the system. In the thermodynamic limit, the WALA reduces to the toric code ground state for hE ∈ [0, hmf], in which hmf = 0.25 is the mean-field transition point (grey line in Fig. 2b). To characterize the WALA pulse sequence, we measure the expectation values of Av and Bp and also Pauli-Z on individual qubits (diamonds in Fig. 2d). These local observables show changes of the various terms of \({\mathcal{H}}\), that is, the local energy density. Owing to the form of our ansatz, all ⟨Av⟩ (=1) and ⟨Xl⟩ (=0, not shown) terms remain constant as θ changes with increasing hE. Variations in the energy density arise from the decrease of the magnetic parity values (Bp terms) and the emergence of the Pauli-Z polarization values (Zl terms). The non-uniform Zl expectation values result from the distinct connectivity of the boundary qubits.
Having designed a circuit that approximates the ground state, we next study charge confinement by measuring the dynamics of a pair of electric excitations (Fig. 3). By using ancilla qubits at each vertex and plaquette centre, we are able to implement an efficient Suzuki–Trotter expansion of the time evolution operator generated by equation (1). Each time step has eight distinct layers, consisting of single-qubit rotations and controlled Z (CZ) gates, totalling 116 CZ gates per time step for the grid of 35 qubits (Methods). We prepare a pair of electric excitations on neighbouring sites in the centre of the system by applying a single Pauli-X on top of the WALA state (Fig. 3a). This operator creates a non-equilibrium initial state that has a notable overlap with the elementary excitations and allows us to examine the deconfinement–confinement dynamics of the charges. By measuring the average separation and the spatially resolved average position of these excitations as a function of time (Fig. 3a,b), we find that they show qualitatively distinct dynamical signatures as the electric field is tuned. Although for weak electric fields the excitations spread quickly across the whole system, at strong electric fields, the two charges stay together, as indicated by the small average separation; this observation constitutes a dynamical signature of charge confinement. Although the excitation separation increases for all values of hE, we compare with the case when we evolve under the pure toric code Hamiltonian, for which the separation is exactly stationary in theory (grey region in Fig. 3a). The increase of separation in this case indicates that decoherence of the quantum state is pushing the system towards the maximally mixed state, which has an expected separation of 7/3. By also adding depolarization mitigation (Methods), we obtain quantitative agreement with numerical results and even reveal oscillations about an average separation that is much smaller than the system size when hE = 2.0, indicative of a confining potential. These dynamical signatures support the onset of a confining potential near the Ising critical point, which—in the thermodynamic limit—is located between hE ≈ 0.33 and 0.34, depending on λ as obtained from numerical ground-state studies40,41,47,48.
a, A Pauli-X gate applied to the WALA initial state creates two electric excitations on adjacent vertices (red tiles). The coupling induces dynamics to the excitations and is set to λ = 0.25 for all data in this figure. After post-selecting bitstrings that correspond to two electric excitations, the separation of the excitations is monitored as a function of time for different electric fields hE. The grey area is bounded by the separation measured when evolving under the pure toric code Hamiltonian (λ = hE = 0). The lower panel shows the rescaled data, assuming a global depolarizing noise channel, and compares it with exact circuit simulation. b, Average density of electric excitations as measured by ⟨Av⟩ for hE = 0 (left) and hE = 2.0 (right). c, Two superposition states in which the excitations interfere constructively (|ψ+⟩) and destructively (|ψ−⟩) at short distances, respectively. d, The separation of the excitations as a function of time for different electric fields hE. Lines represent guides for the eye. All error bars in this work show standard deviation of the mean and are smaller than the markers when not visible. e, Spatial maps of the probability that an electric vertex Ai,j is excited, conditioned on the electric vertex being excited at time t = 3.5: P(i, j|
). The different columns correspond to different
, indicated by the boxed
symbols. The unconditioned probability that
is excited is written below the
symbol. The colour scale represents P(i, j|
) for all i and j. The top and bottom rows show results for hE = 0 and 2.0, respectively. We implement dynamical decoupling and randomized compiling to mitigate control errors, as well as idle dephasing (Methods).
To further accentuate the difference between confined and deconfined dynamics, we consider two other initial configurations, |ψ+⟩ and |ψ−⟩ (Fig. 3c). These are positive and negative superpositions of a pair of excitations at a lattice distance of two. The intuition for choosing these initial states comes from approximations to different angular momentum eigenstates. Their dynamics can be understood from quantum interference: at short times, hopping of electric excitations that brings the pair closer together interferes constructively for |ψ+⟩ and destructively for |ψ−⟩. In the deconfined phase, this leads to the excitations initially moving closer together for |ψ−⟩ and further apart for |ψ−⟩, as observed in Fig. 3d for hE = 0. By contrast, when hE = 2.0, the string tension dominates and the excitations remain close to their initial separation for both initial states. The excitation separation initialized in this state has the added feature of being robust against Trotter error, allowing us to increase the Trotter step from dt = 0.3 to dt = 0.5 and reach later times (Supplementary Information Section IV.C), increasing the signal strength. The confinement signatures observed in excitation separations can be further corroborated by analysing the probability of finding an excitation at a given site, conditioned on measuring another excitation somewhere else in the lattice (Fig. 3e). The data shown are for a fixed time t = 3.5 for the |ψ−⟩ configuration (see Methods for |ψ+⟩). For hE = 0, the probabilities are spread across the system, with a higher probability of the charges being found further apart than their initial separation. For hE = 2.0, there is only a substantial probability observed at separations 1, 2 and 3, indicating that the excitations tend to stay close to their initial position or hop together in a correlated fashion and demonstrating confinement of pairs of electric charges.
In the confined regime, electric charges are located at the ends of an elastic string, which—in our two-dimensional setting—can vibrate transversely, akin to a violin string. We generate the string by applying X gates that traverse the system on top of the WALA circuit from an auxiliary qubit on the left to another one on the right (Fig. 4a). By performing a Trotterized time evolution, which excludes field terms on these extra edge qubits, the so-created electric charges will remain pinned at the edges, whereas the string itself can evolve dynamically. To investigate the vibrational dynamics of the string, we measure a two-time correlator in the Z basis:
for each qubit. We measure \({{\mathcal{S}}}_{ZZ}(t)\) using a Hadamard test with an auxiliary circuit (Fig. 4b and Methods). This correlation function is a product of two terms. The first term is sensitive to whether the presence of the string has changed compared with its initial value at time zero, that is, it captures the stiffness of the string. The second term measures whether a string has been created on top of the WALA sequence initially, which is only possible in the confined regime. The combined correlation function, \({{\mathcal{S}}}_{ZZ}(t)\), allows us to determine the string dynamics. Note that, although for λ = 0 strings correspond to Ising domain walls, for finite fields λ ≠ 0, there exists no direct mapping to domain walls.
a, Schematic of the initial state preparation. Starting from the WALA initial state as vacuum, we create a pair of separated electric excitations by applying a string of X gates spanning from an extra qubit on the left (leftmost diamond) to one on the right (rightmost diamond). By not applying the local field terms of the time evolution on those two extra qubits, the excitations remain pinned, whereas the string itself can evolve dynamically. b, Circuit for measuring the unequal-time correlation function Re[⟨Z(t)Z(0)⟩]. The P gate is H(S†)b, in which b = 0/1 corresponds to measuring the real/imaginary part of ⟨Z(t)Z(0)⟩. The CZ gate entangling the auxiliary qubit (Qb) to the gauge qubit of interest (Ql) may need to be mediated by means of swaps through an ancillary qubit (Qa) and another gauge qubit (Qg). c, Spatial maps of \({{\mathcal{S}}}_{ZZ}(t)={\rm{Re}}[\langle Z(t)Z(0)\rangle ]\times \langle Z(0)\rangle \) for varying times and confining field hE, at λ = 0.25 and dt = 0.3 (the same for all data in the figure). The extra qubits on either side used for state preparation are not shown. d, Re[⟨Z(t)Z(0)⟩] and \({{\mathcal{S}}}_{ZZ}(t)\) for qubits Q1 and Q2 in the centre-top and centre-bottom respectively, as labelled in panel c. Lines are guides for the eye. The grey regions in these plots correspond to the region limited by decoherence and is bounded by \(| \langle Z(t)Z(0)\rangle {| }_{\lambda ={h}_{{\rm{E}}}=0}\).
Our measurements of \({{\mathcal{S}}}_{ZZ}(t)\) reveal three distinct regimes (Fig. 4c,d). (1) In the deconfined phase, hE = 0.1, applying an X-string on top of the WALA sequence does not create a string excitation. The correlation function Re[⟨Z(t)Z(0)⟩] experiences coherent oscillations from the energy difference between the WALA state and the first excited state, whereas the small expectation value of ⟨Z(0)⟩ suppresses \({{\mathcal{S}}}_{ZZ}(t)\). (2) In the intermediate electric field regime, hE = 0.6, the dynamics are already confining but the string tension is not too large. Thus, changes of the string length from higher-order dynamical processes are energetically accessible. Our measurements show a clear initial string along the path we prepared. Already after a short temporal evolution, the \({{\mathcal{S}}}_{ZZ}(t)\) correlations of the qubits both at the bottom and at the top of the grid quickly decay to zero and the string is equally likely found on either side of the system. In this regime, the string is floppy and fluctuates strongly, even though charges remain confined11,12. (3) Deep in the confined regime, for large hE = 1.4, we see dynamics of the initial bump at the top of the grid but very little probability that the string moves to the bottom on the timescales of the simulation. This can be understood from the large string tension in the deeply confined regime, which suppresses the flopping to the other side within experimentally accessible timescales. However, the string is still moving freely around the top qubits despite the large string tension. These length-scale-preserving moves result from the lattice discretization of our LGT, as the plaquette terms Bp of the Hamiltonian can deform the string without changing its length.
Having visualized the vibrations of the string connecting two electric charges in the confined regime, we now investigate string-breaking and pair-creation dynamics. The coupling λ can dynamically create pairs of electric excitations. When this process occurs in the ground state, the energy is increased as a result of the cost of creating an excitation pair (Fig. 5a). When, by contrast, this process occurs on a string, there is a string-energy gain that competes with the energy cost of the pair creation.
a, Schematics for pair creation from vacuum fluctuation and string breaking. b, Difference in the charge excitation values in the presence and absence of the string ⟨Av⟩string − ⟨Av⟩vacuum, for λ ∈ {0, 0.25, 0.50} at hE = 1.4 and t = 2.7, with dt = 0.3. c, Probability of a vertex excitation P(Av) on three distinct vertices A1 (gold), A2 (green) and Avac (black) for λ ∈ {0, 0.25, 0.50} and hE = 1.4. The grey ‘decoherence-limited’ region is defined by the average of P(Av) over all vertices having evolved the initial state with the X string for λ = 0, hE = 1.4. d, Dependence of P(Av) on hE, acquired at t = 2 (dt = 0.2), for λ = 0 (pluses), λ = 0.25 (crosses) and λ = 0.50 (pentagons).
To investigate string breaking in our experiment, we first measure the electric excitations through ⟨Av⟩ in the presence and absence of an initial string excitation in the confined regime hE = 1.4. In Fig. 5b, we show the difference of ⟨Av⟩ for these two initial states at time t = 2.7 for different strengths of string breaking set by the coupling λ. When λ = 0, the charge density in the presence of the string is comparable with the one in the absence of the string, ⟨Av⟩string − ⟨Av⟩vacuum ≃ 0. However, for finite λ values, the time-evolved string initial state has considerably more charges. We track the dynamics of ⟨Av⟩ for electric excitations at the top and at the bottom of the system. As demonstrated, for this confinement field hE, the string stays mainly at the top qubits within the accessible timescales. For λ = 0, both vertex operators A1 on the top and A2 at the bottom show the same trend as the vacuum state Avac (Fig. 5c), which can be understood from decoherence of the device (grey region). However, as λ is increased to 0.25 and 0.50, the electric charge A1 on the top side, at which the string has been created, shows a much higher number of excitations compared with A2, which remains indistinguishable from the vacuum. This differential measurement is evidence for excitation creation from string breaking.
In the lowest-order string-breaking process, the coupling reduces the length of the string by one, leading to an energy gain of 2hE and, at the same time, two electric excitations are created with a cost of 4JE. Therefore, we predict that this energy trade-off could enhance the probability of string breaking near hE = 2JE. We measure the probability of electric charge creation P(Av) on A1 as a function of hE (Fig. 5d). For finite couplings, we observe a maximum charge creation in the vicinity of hE ≈ 2, demonstrating that string breaking is facilitated at the resonance condition.
In this work, we imaged the dynamics of deconfined and confined excitations in a (2+1)D \({{\mathbb{Z}}}_{2}\) LGT and measured the vibrations of the string connecting them. Our work demonstrates the potential for quantum processors to study the dynamics of emergent excitations in correlated quantum matter, which are prohibitively hard to predict theoretically owing to their non-perturbative nature. The dynamical observables measured in this work are related to those measured in more conventional scattering experiments but examine complementary regimes; our approach provides insight into the microscopic nature of non-equilibrium dynamics of quasiparticles, as compared with the measurement of their spectral properties. Our space-resolved and time-resolved measurements provide a new visualization approach for characterizing the dynamics of interacting emergent excitations.
Methods
Experimental techniques and device characterization
Gate implementation
All experiments in this work can be carried out on a grid of 45 qubits with square connectivity and were implemented on a 72-qubit Google Sycamore processor, as used in ref. 49 (Extended Data Fig. 1). Dominant errors come from CZ entangling gates50 and final readout51. Qubit, coupler and readout parameters are optimized using the Snake Optimizer52,53. A smaller contribution to the total error comes from the single-qubit microwave gates. Gates are calibrated using Google’s Optimus calibration tools54,55.
To mitigate the effects of coherent noise, we implement randomized compiling56,57,58. For all observables, we average over 30 compiling instances of randomly chosen single-qubit Pauli gates sandwiching each CZ gate, such that the resulting ideal unitary is unchanged. We record approximately 400 shots per instance after post-selection. All sequential single-qubit gates are then combined into a single phased-X Z gate, such that the structure of the circuit is always alternating single-qubit and two-qubit gate layers. The use of randomized compiling to convert coherent errors to incoherent ones also supports our choice to apply simple depolarizing noise mitigation to compare experimental results with numerical simulations,
During the projective state preparation and Hadamard test experiments presented in this work, there are ancilla qubits that must sit unchanged while the rest of the system undergoes up to ten Trotter cycles, which constitute 80 single-qubit layers and 80 two-qubit layers. These long evolution times place a strict constraint on the ancilla qubit to remain highly coherent. Therefore, it is important to mitigate ancilla dephasing to ensure the highest fidelity experiments. To this end, we implement dynamical decoupling whenever a qubit would otherwise be idle. Our approach is to use a simple echo sequence of X gates during each single-qubit gate layer42,59.
In implementing circuits formulated in terms of non-native C-NOT and SWAP gates, each C-NOT gate is converted to a CZ gate, sandwiched by Hadamard gates on the target qubit. The extra Hadamard gates then get combined with other sequential single-qubit gates into a single phased-X Z gate. SWAP gates, used to initialize central qubits for the Hadamard test in Fig. 4, are broken into three C-NOT gates.
Suzuki–Trotter circuit
In implementing the WALA state and time evolution under \({\mathcal{H}}\), the fourfold connectivity of Google’s Sycamore quantum processor allows for a configuration without ancilla qubits42 or with an ancilla qubit at the centre of each vertex and plaquette49. Although the first configuration allows for a denser packing of vertex sites, it complicates the Trotter evolution because all plaquette and vertex terms cannot be executed in parallel, increasing errors from T1 and T2 decay. Instead, we use the configuration with ancilla qubits. The grid of qubits and the corresponding vertices and plaquettes are shown in Extended Data Fig. 2. The diamonds represent physical qubits on the gauge sites and the circles indicate ancilla qubits. The blue/purple tiles correspond to vertices/plaquettes, respectively.
To carry out the time evolution, we developed a circuit to implement the first-order Suzuki–Trotter expansion (Trotter errors discussed in Supplementary Information Section IV.C). The first operation of the Trotter circuit consists of a local field unitary operator:
which can be implemented by a single phased-X Z gate on each physical gauge qubit. The second operator of the Trotter circuit involves the vertex and plaquette terms:
which can be implemented in parallel for all vertices and plaquettes in eight entangling layers. With four layers of entangling gates, the commuting Av/Bp operators are transformed into single-qubit operators on the ancilla qubits, which are then rotated by an angle −2JEdt/−2JMdt about the Z axis to invoke the time evolution. The transformation of the vertex and plaquette operators is then reversed with another four layers of entangling gates, which returns the state to the physical qubits and disentangles the ancilla qubits. This algorithm gives a gate count of 16LxLy − 12(Lx + Ly) + 8 per Trotter cycle for a rectangular grid with Lx × Ly vertex sites (116 entangling gates per Trotter cycle for our experimental set-up in Extended Data Fig. 2). Executing state preparation and nine Trotter steps, our experiment uses about 1,075 total entangling gates. Because we are focusing on local observables, we measure appreciable signals in these circuits, whose depth is slightly larger than state-of-the-art random circuit sampling experiments, which focus on cross-entropy benchmarking60.
Post-selection
Decoherence is unavoidable on noisy intermediate-scale quantum (NISQ) processors. A common technique to deal with decoherence, which does not depend on any detailed knowledge of the device error model, is post-selection. Any observable that is known to be conserved by the quantum circuit is a good candidate for post-selection criteria, as long as they can be measured concurrently with the final observable of physical interest. In our case, we extract expectation values by measuring the physical qubits. However, we also measure the ancilla qubits concurrently, which would all remain in the |0⟩ state if no errors occurred (Extended Data Fig. 3). This is because circuits for state preparation and Trotterization entangle the ancilla qubits with the physical qubits to carry out the quantum operation, but always disentangle the ancilla and ideally return it to its original state. However, errors during a Trotter step can quickly propagate across the chip. Our measurements show increasing numbers of these errors as the number of Trotter steps increases (Extended Data Fig. 3a,b). Therefore, to mitigate these errors, we post-select all of our measurements presented in the main text and supplement such that all ancilla qubits are in the |0⟩ state.
Even after this first round of post-selection, residual experimental errors, Trotter errors and deviation from perfect overlap between the Av operators and dressed physical particle operators contribute to experimental measurements of a different number of excitations than initialized. Although the number of vertex parity violations is not an exactly conserved quantity, it is expected to be an approximate one. Therefore, in measurements that scrutinize the properties of a set number of electric excitations, we post-select shots that have the same number of vertex parity flips as the initialized state to further mitigate experimental errors, while also eliminating some of the spurious effects of the Trotter error (Fig. 3a,d,e, Extended Data Figs. 4 and 8 and Supplementary Figs. 3, 4 and 9). An added benefit from post-selecting on the two-charge sector is the ability to unambiguously assign the distance between two charges (Fig. 3a,d).
Although these post-selection techniques increase the accuracy of our results, they come at an exponential cost (Extended Data Fig. 3c). We find that, to obtain a constant number of post-selected shots after applying both ancilla qubit and excitation number post-selection on our standard grid of 17 physical qubits and 18 ancilla qubits, the number of shots taken on the hardware scales as Nshots ≈ 2.5n, for n Trotter steps. This procedure reduces the rate that observables of a stationary state trend towards the maximally mixed value (Extended Data Fig. 3d).
Global depolarizing channel mitigation
Taking bitstrings directly from the experimental measurements and computing the various observables in this work results in deviations from expectations. For example, results on a 2 × 3 vertex system are shown in Extended Data Fig. 4a. Although there seems to be clear separation between the hE = 0 data points (red) and the hE = 2.25 data points (blue), the excitations seem to be drifting apart quickly for all values of hE.
To estimate the effect of device noise, we perform numerical simulations with a local two-qubit depolarizing noise channel following every CZ gate in our circuit. We estimate the depolarizing probability to be 0.7%, corresponding to the mean error rate attained from cross-entropy benchmarking. The results are shown by the dashed lines in Extended Data Fig. 4a. We see that the local depolarizing error model captures the trend of the data very well for all values of hE.
To simplify the interpretation and analysis, we consider the possibility that a global depolarizing channel may capture the behaviour of our data phenomenologically61,62,63,64. To determine the correct error probability to mitigate, we consider Trotterized Hamiltonian evolution under parameters that leave the observable unchanged. For example, when measuring the vertex parity values, time evolution with λ = 0 results in no dynamics in the ideal case, because all of the vertex operators commute with the Hamiltonian. Then, by monitoring the measured charge separation as a function of Trotter cycle, the expectation value drifts from the expectation for the initial state to that of the depolarized state (Extended Data Fig. 4b). The effective depolarizing probability, peff, can be extracted for each cycle:
with \({\langle \widehat{{\mathcal{O}}}\rangle }_{{\rm{measured}}}\) being the measured expectation value, \({{\mathcal{O}}}_{{\rm{initial}}}\) being the initial value of the observable, set by the state preparation, and \({{\mathcal{O}}}_{{\rm{depolarized}}}\) being the expectation value in the completely depolarized state, that is, the maximally mixed state. Such a peff for the data shown in Extended Data Fig. 4a is shown in Extended Data Fig. 4c. The solid lines in Extended Data Fig. 4a correspond to the application of the global depolarizing channel with the effective depolarizing probability in Extended Data Fig. 4c. The agreement between experiment and the global depolarizing model is reasonable.
To compare experimental measurements of an observable \(\widehat{{\mathcal{O}}}\) with noiseless simulations, we use this global depolarizing model to rescale the experimental data:
Although our experimental data innately show robust signatures of confinement and string dynamics without any rescaling, to compare with numerical simulations, we show rescaled data (always alongside its unscaled counterpart) in Fig. 3a, Extended Data Figs. 9 and 10c and Supplementary Figs. 2, 3, 4c, 5d, 6, 7 and 8.
Two-time Pauli string correlator Hadamard test
In this work, we present two distinct two-time Pauli string correlators of the form ⟨ψ|Zl(t)Zl(t0)|ψ⟩ (Fig. 4) and \(\langle \psi | ({X}_{{Q}_{1}}{X}_{{Q}_{2}}\ldots {X}_{{Q}_{j}})(t){X}_{{Q}_{1}}({t}_{0})| \psi \rangle \) (Supplementary Information Section III.C.2). Theoretical works have outlined schemes for measuring such quantities with quantum circuits65,66 and, recently, experiments have used Hadamard tests with two controlled operations to measure two-time correlators67. Because a generic controlled-P operation, in which P is an arbitrary Pauli string, is not necessarily native to our quantum hardware, we measure correlation functions with a version of the Hadamard test with only a single controlled operation, C-A at time t0 (ref. 68). In fact, because both of these correlators are of the form ⟨ψ|B(t)A(t0)|ψ⟩ with simple operators A = Zl and \(A={X}_{{Q}_{1}}\), respectively, the implementation is straightforward and only requires C-NOT and CZ gates as controlled operations.
To measure the two-time Pauli string correlator, \({\mathcal{C}}(A({t}_{0}),B(t))\,=\) \(\langle \psi | B(t)A({t}_{0})| \psi \rangle \), we first prepare the ancilla in the state:
using an arbitrary single-qubit gate. The controlled operator we want to apply to the system to measure \({\mathcal{C}}\) is C-A. Thus, having the grid of qubits starting in state |ψ⟩, we apply C-A to the system, controlled by the ancilla, and have the following resulting state for the entire system (grid plus ancilla):
Then, it can be shown that measuring the expectation value of the Pauli string B × Xa, in which a is the ancilla qubit, results in:
By choosing the initial state of the ancilla to be \(| \eta (\frac{\pi }{2},0)\rangle \), we get ⟨ψ|B(t)Xa(t)|ψ⟩ = Re[⟨ψ|B(t)A(t0)|ψ⟩]. By choosing instead the ancilla in the state \(| \eta (\frac{\pi }{2},\frac{-\pi }{2})\rangle \), we get ⟨ψ|B(t)Xa(t)|ψ⟩ = Im[⟨ψ|B(t)A(t0)|ψ⟩]. These initial states of the ancilla correspond to the usual version of the Hadamard test in which a Hadamard gate applied to the ancilla measures the real part of the controlled unitary and a Hadamard gate times the S-adjoint gate measures the imaginary part.
Symmetry
For the measurement of ⟨Zl(t)Zl(0)⟩ on qubit l, we take advantage of the symmetry of the initial state. For this correlator, separate circuits must be run for each qubit. Thus, it is a much more demanding experiment than the measurements of ⟨Zl⟩, ⟨Av⟩ or ⟨Bp⟩. To expedite the acquisition of the data shown in Fig. 4c, we only perform the measurement on 10 out of 17 physical qubits and use the vertical mirror symmetry plane to assign the values of the other seven qubits. This is reasonable because the initial state and dynamics respect this mirror symmetry and all qubits are used in the time evolution circuits for each qubit measured. Symmetrization is not used in any other figure.
Variational quantum circuit
In this section, we discuss the variational circuit used in the main text. In recent years, there have been other theoretical proposals based on variational methods for realizing the ground state of LGTs with shallow quantum circuits69,70,71. Here we show that our protocol is equivalent to a mean-field ansatz for the dual Ising model, for which the expectation values of the local terms of the Hamiltonian can be evaluated analytically as a function of the rotation angle θ (ref. 45). Thus, the energy optimization of the variational circuit reduces to finding the minimum of a simple polynomial of trigonometric functions, which can be solved efficiently for arbitrary system sizes. The variational state, proposed in refs. 45,46, is of the form:
in which the rotation angle θ is the only variational parameter. The idea behind the ansatz is to create a weight-adjustable loop gas: starting from the initial state |0⟩⊗N, applying Bp flips all spins around this plaquette and creates a closed loop of spins in the |1⟩ state. Applying the operator \(\cos \left(\frac{\theta }{2}\right){\mathbb{1}}+\sin \left(\frac{\theta }{2}\right){B}_{p}\) on a plaquette creates a weighted superposition of a closed loop and no loop around that plaquette. In the special case in which both possibilities have the same weight, that is, \(\theta =\frac{\pi }{2}\), the circuit prepares the toric code ground state, which is an equal-weight superposition of all closed-loop configurations. Decreasing the angle to tune away from the toric code gives less weight to the configurations with flipped plaquettes—in particular, configurations with large loops are now exponentially suppressed, scaling with the area of the loop (that is, the number of enclosed plaquettes). Such a suppression of large loops is what we might expect when adding an onsite field term such as −hE∑lZl with hE > 0 to the toric code Hamiltonian, because now long loops of flipped spins have an energy cost. However, such a suppression should scale with the perimeter of the loop, not with its area. This overpenalization of long loops leads to the fact that the ansatz cannot support topological order in the thermodynamic limit when we tune the angle away from the toric code fixed point at \(\theta =\frac{\pi }{2}\). We will see this explicitly in the next section, by mapping the variational circuit to a mean-field ansatz for the dual transverse-field Ising model, in which tuning the angle away from \(\theta =\frac{\pi }{2}\) means explicitly breaking the symmetry of the Ising model and thus tuning from the symmetric into the symmetry-broken phase.
Variational circuit as a mean-field ansatz of an Ising model
In the main text, we considered a circuit using ancilla qubits to prepare the variational ansatz because the use of ancillas then reduced the depth of the circuit needed for the time evolution. Here we are only interested in the action of the circuit on the physical system, so we can ignore the ancillas. An alternative (but equivalent) circuit for constructing the state using only the physical qubits is given in Extended Data Fig. 5a,b (refs. 42,46). Extended Data Fig. 5a shows the repeating circuit element that is applied to every plaquette. It consists of two parts: first, on the top qubit of each plaquette, a y-rotation gate Ry(θ) = exp(−iθY/2) is applied. Then, three C-NOT gates are applied, in which the top qubit acts as the control qubit and the remaining qubits are the target qubits. Extended Data Fig. 5b shows one possible choice of the order of applying the repeating circuit element: the element is applied to each plaquette sequentially, starting from the bottom right, traversing each row right to left, before moving up to the next row. Such an ordering ensures that the rotation gate always acts on a qubit in the |0⟩ state and, thus, the circuit effectively implements the operator \(\cos \left(\frac{\theta }{2}\right){\mathbb{1}}+\sin \left(\frac{\theta }{2}\right){B}_{p}\) on each plaquette, which yields the state in equation (10). Within a row, the circuit elements commute and we could choose different orderings. In fact, the presented ordering is not optimal but will simplify the calculations in the following. An optimal ordering is given in ref. 42.
To better understand the state prepared by this circuit, we can transform the Hamiltonian in the main text with only the C-NOT gates of the circuit and consider the resulting transformed Hamiltonian. The expectation value of a single Pauli-X operator evaluated in the variational state is always zero, which means that the state is completely insensitive to adding an X-field and it is enough to consider the toric code Hamiltonian with Z-field only. This is because the variational state is a superposition of closed loops only and applying a single Pauli-X operator creates open-ended loops in each state of the superposition. A schematic of the Hamiltonian is shown in Extended Data Fig. 5c. There we show a 4 × 4 lattice of vertex operators. The terms in the Hamiltonian corresponding to the vertex operators are shown in orange, the plaquette terms are shown in blue and the onsite Z-field is coloured in green. Conjugating this Hamiltonian by only the C-NOT gates of the circuit, as we will show below, leads to the Hamiltonian in Extended Data Fig. 5d. There (in the bulk) the vertex terms have shrunk to two-site Ising interactions, the plaquette terms have shrunk to onsite Pauli-X operators and the onsite Z-fields have extended to two-site or three-site Pauli-Z terms. On all sites for which there are no Pauli-X operators, the transformed Hamiltonian commutes with a single-site Pauli-Z operator, so the eigenstates of the Hamiltonian are labelled by product states of |0⟩ or |1⟩ on those sites. The lowest-energy states are given by |0⟩ on all of those sites, as the field term in the Hamiltonian in the main text has a negative prefactor. Note that this is precisely the state of those qubits in the variational circuit before applying the C-NOT gates. Focusing on this subspace, in which all qubits except the top qubit on each plaquette are in the |0⟩ state, we get the Hamiltonian in Extended Data Fig. 5e, which now only lives on the sites on which the y-rotation gates act in the variational circuit. We can see that, on those sites, the Hamiltonian is a two-dimensional transverse-field Ising model. The remaining variational circuit, that is, the variational circuit without the C-NOT gates, simply describes a product state with spins rotated in the x–z plane. Such a state is a mean-field ansatz for the Ising model. In particular, if the rotation angle is \(\theta =\frac{\pi }{2}\), all spins are aligned in the x direction, which corresponds to the ground state of the transverse-field Ising model in the limit at which the strength of the Ising interaction is taken to zero. In that case, the ground state is symmetric under the global spin-flip symmetry of the Ising model, that is, under the simultaneous application of a Pauli-X gate on every site. However, if we tune the angle away from \(\theta =\frac{\pi }{2}\), the spins are no longer oriented along the x direction and the state is no longer symmetric under spin flips—there is a mean-field phase transition from the symmetric phase into the symmetry-broken phase. (Technically, the single-site Pauli-Z operators at the boundary explicitly break the global spin-flip symmetry of the Ising model in this case; however, in the thermodynamic limit, their contribution to the ground-state energy becomes negligible compared with the bulk and a transition occurs. The only effect of these boundary terms will then be to always favour the same direction of the symmetry-breaking, namely, towards the all |0⟩ state). In the original model of the toric code in a field, this phase transition corresponds to a (mean-field) transition from the topological toric code ground state to the trivial paramagnet. More generally, there is a known duality transformation between the toric code with a Z-field and the two-dimensional transverse-field Ising model on the dual lattice, which relates the topological phase of the toric code to the symmetric phase of the Ising model, and the trivial phase of the toric code with a large Z-field to the symmetry-broken phase of the Ising model1,4.
To show that the toric code Hamiltonian with a Z-field indeed transforms into an Ising model under the action of the C-NOT gates of the circuit, we first consider the action of the C-NOT gates on a single plaquette, before we then transform the full Hamiltonian plaquette by plaquette. Extended Data Fig. 6a shows all relevant operator transformations on a single plaquette. The transformation of the vertex operators on a plaquette is shown in the left column of the table. Generally, the vertex operator also includes Pauli-Z operators on neighbouring plaquettes; however, they are unaffected by the C-NOT gates applied to the selected plaquette. The right column of the table in the figure shows the transformation of the onsite Z-field. The last line at the bottom of the table shows the transformation of the plaquette operator under the C-NOT gates. Equipped with these transformation rules, we can transform the full Hamiltonian. Note that the first set of C-NOT gates that acts on the Hamiltonian is the last one that is applied to the circuit. So, to transform the Hamiltonian plaquette by plaquette, we need to proceed in the opposite order of how we constructed the circuit in Extended Data Fig. 5b. The process of the transformation is graphically depicted in Extended Data Fig. 6b. At each step, the plaquette highlighted in yellow is transformed next and each plaquette is transformed according to the rules in Extended Data Fig. 6a. The first row in Extended Data Fig. 6b shows the transformation of each plaquette in the top row of the lattice individually. In the second row, because the C-NOT gates applied on plaquettes in the same row commute, we transform a whole row in one step. The final result is the last diagram in the bottom-right corner, which is the same as the Hamiltonian in Extended Data Fig. 5d.
Classically optimizing the variational circuit
The mapping of the variational circuit to the two-dimensional Ising model also helps us to optimize the variational parameter θ in the ansatz, as the expectation values of all terms in the Hamiltonian can be evaluated analytically as a function of θ. Minimizing the energy to find the optimal θ then reduces to finding the minimum of a simple polynomial of trigonometric functions of θ.
As computed in the previous section, the vertex operators map to Ising-type interactions that only have support on sites at which the variational ansatz before the C-NOT layers is in the state |0⟩—see also Extended Data Fig. 6b. Thus, the expectation values of all vertex operators in the variational state is:
The plaquette operators map to single-site Pauli-X operators, with support on those sites at which the variational circuit has the y-rotation gates before the C-NOT layers. Thus, for the expectation values of the plaquette operators, we have:
There are two different cases for the Z-field in the original Hamiltonian; in the bulk, it maps to an Ising interaction between two qubits that are acted on with a y-rotation gate and at the boundary, it maps to a single-site Pauli-Z operator on a qubit with a y rotation. Thus, we have:
and:
As discussed in the previous section, the expectation value of single-site Pauli-X operators in the variational circuit is zero because the state is a superposition of closed loops only.
The energy of the system is then given by the sum of all terms, which for a lattice of Lx × Ly vertex operators is:
This equation can be minimized efficiently numerically for arbitrary system sizes. For this, we use the default settings of the function scipy.optimize.minimize_scalar from the Python library SciPy72, which implements Brent’s algorithm73.
In the limit Lx, Ly → ∞, we can minimize the energy density \({\mathcal{E}}=E/({L}_{x}{L}_{y})\) analytically, as was similarly done in ref. 45. We only keep terms in the energy proportional to LxLy and obtain:
Taking the derivative with respect to θ, we have:
This equation has two solutions for \(0\le \theta \le \frac{\pi }{2}\). The first is given by cos(θ) = 0 or \(\theta =\frac{\pi }{2}\), which corresponds to the toric code ground state, and the second is given by \(\sin (\theta )=\frac{{J}_{{\rm{M}}}}{4{h}_{{\rm{E}}}}\) or \(\theta =\arcsin \,\left(\frac{{J}_{{\rm{M}}}}{4{h}_{{\rm{E}}}}\right)\). Now, we only need to check in which regime which of the two solutions is energetically favourable. For \(\theta =\frac{\pi }{2}\), we find:
and for \(\theta =\arcsin \left(\frac{{J}_{{\rm{M}}}}{4{h}_{{\rm{E}}}}\right)\), we find:
Comparing the two energies, we find that they are equal when:
Thus, for hE ≤ JM/4, the variational state with the lowest energy is given by \(\theta =\frac{\pi }{2}\), that is, the toric code ground state, whereas for hE > JM/4, the optimized parameter is given by \(\theta =\arcsin \left(\frac{{J}_{{\rm{M}}}}{4{h}_{{\rm{E}}}}\right)\). This is the functional form of the grey line shown in Fig. 2b.
Further experiments
Absolute initial state energy
After carrying out an uncorrelated readout error mitigation procedure, the corrected values for each term in the Hamiltonian are extracted and plotted in Fig. 2d. Averaging equivalent vertices, plaquettes and links allows for a detailed understanding of how each term in \({\mathcal{H}}\) depends on hE (Extended Data Fig. 7).
Heatmaps for the |ψ +⟩ state
The ability to prepare the superposition states presented in Fig. 3c–e are a distinct advantage of digital quantum simulation. The procedure to create this superposition excitation only adds five C-NOT gates and uses a single ancilla qubit, Qb (Extended Data Fig. 8a). By first preparing a superposition between the physical system and the ancilla, the measurement of Qb in the Z basis projects the state onto either the |ψ+⟩ state or the |ψ−⟩ state. This measurement of Qb can be carried out concurrently with the measurements of all other physical and ancilla qubits.
The measurements of ⟨Av⟩ across the grid show similar results for the |ψ+⟩ and |ψ−⟩ states (Extended Data Fig. 8b,c). At time t = 0, electric excitations are equally measured on the four sites touched by the initial excitation, with ⟨Av⟩ ≈ 0 on each of these sites, consistent with the superposition. As time evolves, the excitations spread more for the deconfined case, hE = 0, compared with the confining hE = 2.0 measurements. The conditional location of charges show qualitatively different dynamics in the deconfined phase between the two initial states, which can be attributed to the different quantum interference, as discussed in the main text (Extended Data Fig. 8d). The confined conditional probabilities are similar between the two initial states.
Comparing the excitation separation measured on the device to numerical simulation shows qualitative but not quantitative agreement (Extended Data Fig. 8e). This is probably because of the cancellation of local errors, leading to worse rescaling using the global depolarizing model, as discussed for the distance 2 state in Supplementary Information Section III.B.
Further ⟨Z(t)Z(0)⟩ data
Although \({{\mathcal{S}}}_{ZZ}(t)\) and Re[⟨Z(t)Z(0)⟩] show the distinct behaviours of the string dynamics with the onset of confinement (Fig. 4), we may be interested in the behaviour of other closely related quantities to describe the string dynamics. Thus, in this section, we show experimental results and numerical simulations of ⟨Z(0)⟩, Im[⟨Z(t)Z(0)⟩] and ⟨Z(t)⟩.
Although ⟨Z(0)⟩ can be read from Fig. 4d as the value \({{\mathcal{S}}}_{ZZ}(0)\) (because Re[⟨Z(0)Z(0)⟩] = 1), we explicitly plot those values in Extended Data Fig. 9a. In practice, these values are extracted from the same experiment that yields Re[⟨Z(t)Z(0)⟩] by measuring ⟨Za⟩ for a being the ancilla qubit (standard Hadamard test).
To complement the Re[⟨Z(t)Z(0)⟩] shown in Fig. 4, we present the Im[⟨Z(t)Z(0)⟩] (Extended Data Fig. 9b). Oscillations are very apparent for hE ∈ {0, 0.1, 0.2} in the deconfined phase. These oscillations can be understood in the toric code limit (λ, hE = 0), in which Z couples the ground state to an excited state with +4J higher energy. This leads to ⟨Z(t)Z(0)⟩ = e−4iJt for a bulk qubit. However, for qubits on the boundary, such as Q1 and Q2, one of the magnetic excitations is outside the system and does not contribute to the energy difference, therefore ⟨Z(t)Z(0)⟩edge = e−2iJt. The imaginary part of ⟨Z(t)Z(0)⟩ is suppressed as hE is increased to hE = 1.4. This is also expected, because as hE → ∞, the ground state becomes an eigenstate of Z. Furthermore, no strong distinction between Q1 and Q2 is observed across the measured range of hE. After rescaling assuming a global depolarizing model, good agreement is observed between experiment and numerical simulations.
Motivated by the fact that the Im[⟨Z(t)Z(0)⟩] is suppressed for large hE, we also measured ⟨Z(t)⟩ to investigate whether this observable also reveals string dynamics, because the quantum state should approach an eigenstate of Z in the large hE limit. In this picture, ⟨Zl(t)⟩ = −1/+1 corresponds to the presence/absence of the Wilson string on qubit l at time t. Our results show behaviour qualitatively similar to \({{\mathcal{S}}}_{ZZ}(t)\) (Extended Data Fig. 9c). We see that, for Q1, the value of ⟨Z(t)⟩ quickly moves away from the theoretically stationary evolution (grey region) for all values of hE, which is consistent with the string always moving away from its initial configuration regardless of the degree of confinement. However, for Q2, in the most confining case, when hE = 1.4, the dynamics of ⟨Z(t)⟩ are indistinguishable from the stationary evolution, which corroborates our interpretation that the string is not able to move to the bottom qubits for large hE. After rescaling assuming a global depolarizing model, good agreement is observed between experiment and numerical simulations.
Temporal mapping of vacuum fluctuations and string breaking
Having shown that, in the strongly confining phase, when hE = 1.4, a string with an initial bump on the top is not able to move to qubits on the bottom of the grid on the experimentally accessible timescales owing to the small matrix elements, we presented signatures of string breaking by comparing the probabilities of finding a vertex excitation at sites at the top and at the bottom of the grid (Figs. 4 and 5). In Fig. 5, we present data after an evolution time of t = 2.7. Possible contributions to this late-time charge density are, for example: (1) residual energy owing to the imperfect approximation of the WALA initial state to the true ground state; (2) the disagreement between Av and the dressed particle operators for the full Hamiltonian; and (3) device decoherence.
Starting from the WALA initial state and evolving under a Hamiltonian with λ = 0, we expect no electric excitations to appear, because Av commutes with the Trotterized Hamiltonian. However, in the experiment, we see excitations developing, with the highest density on bulk sites (Extended Data Fig. 10a). This is natural for an experiment on a NISQ processor, as the noise will push the system towards the maximally mixed state, in which ⟨Av⟩ = 0 for all vertices. The qubits in the bulk take part in the most entangling gates and thus the effects of decoherence can be expected to be strongest for bulk sites. In this case of λ = 0, we observe equivalent results regardless of using an initial state with or without the string excitation, up to experimental errors (Extended Data Fig. 10b). When λ is increased to 0.25 and 0.50, the trend of increasing electric excitations takes on a faster rate for the WALA state. This indicates that the noiseless evolution begins to create pairs of electric excitations owing to reasons (1) and (2) above. In the main text, we call these ‘vacuum fluctuations’, because they are pair-creation events that spawn from evolution of the approximate ground state. When we consider non-zero λ for the string initial state, we see an increased excitation density compared with the WALA state. Indeed, the average probability of finding a vertex excitation on any site is markedly higher for the string initial state, compared with the WALA state, when λ = 0.50 (Extended Data Fig. 10c). After rescaling, assuming a global depolarizing model, we observe almost perfect agreement between our experimental data and noiseless numerical circuit simulations, indicating that this effect is not a spurious result of errors on the quantum processor.
Examining the heatmaps in Extended Data Fig. 10, we see that the extra intensity build-up is concentrated on vertices that the initial string passes through. The asymmetry between excitations on the top and on the bottom is the topic of Fig. 5c and represents strong evidence of string breaking. At the same time, the low probability of electric-charge creation in the WALA state by time t = 2.7 (about 2% for λ = 0.25 and about 5% for λ = 0.50 after depolarization mitigation) confirms that this ansatz is a good low-energy initial state with only a small amount of intrinsic dynamics.
Data availability
The data that support the findings in this study are available on Zenodo74.
Code availability
Code is available on ReCirq75.
References
Wegner, F. J. Duality in generalized Ising models and phase transitions without local order parameters. J. Math. Phys. 12, 2259–2272 (1971).
Wilson, K. G. Confinement of quarks. Phys. Rev. D 10, 2445 (1974).
Kogut, J. & Susskind, L. Hamiltonian formulation of Wilson’s lattice gauge theories. Phys. Rev. D 11, 395 (1975).
Kogut, J. B. An introduction to lattice gauge theory and spin systems. Rev. Mod. Phys. 51, 659 (1979).
Weinberg, S. The Quantum Theory of Fields (Cambridge Univ. Press, 1995).
Wen, X.-G Quantum Field Theory of Many-Body Systems: From the Origin of Sound to an Origin of Light and Electrons (Oxford Univ. Press, 2007).
Savary, L. & Balents, L. Quantum spin liquids: a review. Rep. Prog. Phys. 80, 016502 (2016).
Calzetta, E. A. & Hu, B. L. Nonequilibrium Quantum Field Theory (Cambridge Univ. Press, 2008).
Carmen Banuls, M. & Cichy, K. Review on novel methods for lattice gauge theories. Rep. Prog. Phys. 83, 024401 (2020).
Berges, J., Heller, M. P., Mazeliauskas, A. & Venugopalan, R. QCD thermalization: ab initio approaches and interdisciplinary connections. Rev. Mod. Phys. 93, 035003 (2021).
Lüscher, M. Symmetry-breaking aspects of the roughening transition in gauge theories. Nucl. Phys. B 180, 317–329 (1981).
Hasenfratz, A., Hasenfratz, E. & Hasenfratz, P. Generalized roughening transition and its effect on the string tension. Nucl. Phys. B 180, 353–367 (1981).
Kitaev, A. Fault-tolerant quantum computation by anyons. Ann. Phys. 303, 2–30 (2003).
Büchler, H. P., Hermele, M., Huber, S. D., Fisher, M. P. A. & Zoller, P. Atomic quantum simulator for lattice gauge theories and ring exchange models. Phys. Rev. Lett. 95, 040402 (2005).
Osterloh, K., Baig, M., Santos, L., Zoller, P. & Lewenstein, M. Cold atoms in non-abelian gauge potentials: From the Hofstadter “moth” to lattice gauge theory. Phys. Rev. Lett. 95, 010403 (2005).
Zohar, E., Cirac, J. I. & Reznik, B. Simulating compact quantum electrodynamics with ultracold atoms: probing confinement and nonperturbative effects. Phys. Rev. Lett. 109, 125302 (2012).
Banerjee, D. et al. Atomic quantum simulation of dynamical gauge fields coupled to fermionic matter: from string breaking to evolution after a quench. Phys. Rev. Lett. 109, 175302 (2012).
Wiese, U.-J. Ultracold quantum gases and lattice systems: quantum simulation of lattice gauge theories. Ann. Phys. 525, 777–796 (2013).
Zohar, E., Cirac, J. I. & Reznik, B. Quantum simulations of lattice gauge theories using ultracold atoms in optical lattices. Rep. Prog. Phys. 79, 014401 (2015).
Dalmonte, M. & Montangero, S. Lattice gauge theory simulations in the quantum information era. Contemp. Phys. 57, 388–412 (2016).
Martinez, E. A. et al. Real-time dynamics of lattice gauge theories with a few-qubit quantum computer. Nature 534, 516–519 (2016).
Klco, N. et al. Quantum-classical computation of Schwinger model dynamics using quantum computers. Phys. Rev. A 98, 032331 (2018).
Görg, F. et al. Realization of density-dependent Peierls phases to engineer quantized gauge fields coupled to ultracold matter. Nat. Phys. 15, 1161–1167 (2019).
Schweizer, C. et al. Floquet approach to \({{\mathbb{Z}}}_{2}\) lattice gauge theories with ultracold atoms in optical lattices. Nat. Phys. 15, 1168–1173 (2019).
Kokail, C. et al. Self-verifying variational quantum simulation of lattice models. Nature 569, 355–360 (2019).
Mil, A. et al. A scalable realization of local U(1) gauge invariance in cold atomic mixtures. Science 367, 1128–1130 (2020).
Yang, B. et al. Observation of gauge invariance in a 71-site Bose–Hubbard quantum simulator. Nature 587, 392–396 (2020).
Zhou, Z.-Y. et al. Thermalization dynamics of a gauge theory on a quantum simulator. Science 377, 311–314 (2022).
Frölian, A. et al. Realizing a 1D topological gauge theory in an optically dressed BEC. Nature 608, 293–297 (2022).
Mildenberger, J., Mruczkiewicz, W., Halimeh, J. C., Jiang, Z. & Hauke, P. Confinement in a \({{\mathbb{Z}}}_{2}\) lattice gauge theory on a quantum computer. Nat. Phys. 21, 312–317 (2025).
Zhang, W.-Y. et al. Observation of microscopic confinement dynamics by a tunable topological θ-angle. Nat. Phys. 21, 155–160 (2025).
Mueller, N., Wang, T., Katz, O., Davoudi, Z. & Cetina, M. Quantum computing universal thermalization dynamics in a (2+1)D lattice gauge theory. Preprint at https://arxiv.org/abs/2408.00069 (2024).
Farrell, R. C., Illa, M., Ciavarella, A. N. & Savage, M. J. Quantum simulations of hadron dynamics in the Schwinger model using 112 qubits. Phys. Rev. D 109, 114510 (2024).
Ciavarella, A. N. & Bauer, C. W. Quantum simulation of SU(3) lattice Yang-Mills theory at leading order in large-Nc expansion. Phys. Rev. Lett. 133, 111901 (2024).
Meth, M. et al. Simulating two-dimensional lattice gauge theories on a qudit quantum computer. Nat. Phys. 21, 570–576 (2025).
Tupitsyn, I. S., Kitaev, A., Prokof’ev, N. V. & Stamp, P. C. E. Topological multicritical point in the phase diagram of the toric code model and three-dimensional lattice gauge Higgs model. Phys. Rev. B 82, 085114 (2010).
Xu, W.-T., Rakovszky, T., Knap, M. & Pollmann, F. Entanglement properties of gauge theories from higher-form symmetries. Phys. Rev. X 15, 011001 (2025).
Fradkin, E. & Shenker, S. H. Phase diagrams of lattice gauge theories with Higgs fields. Phys. Rev. D 19, 3682 (1979).
Trebst, S., Werner, P., Troyer, M., Shtengel, K. & Nayak, C. Breakdown of a topological phase: quantum phase transition in a loop gas model with tension. Phys. Rev. Lett. 98, 070602 (2007).
Vidal, J., Dusuel, S. & Schmidt, K. P. Low-energy effective theory of the toric code model in a parallel magnetic field. Phys. Rev. B 79, 033109 (2009).
Wu, F., Deng, Y. & Prokof’ev, N. Phase diagram of the toric code model in a parallel magnetic field. Phys. Rev. B 85, 195104 (2012).
Satzinger, K. et al. Realizing topologically ordered states on a quantum processor. Science 374, 1237–1241 (2021).
Bluvstein, D. et al. A quantum processor based on coherent transport of entangled atom arrays. Nature 604, 451–456 (2022).
Liu, Y.-J., Shtengel, K., Smith, A. & Pollmann, F. Methods for simulating string-net states and anyons on a digital quantum computer. PRX Quantum 3, 040315 (2022).
Dusuel, S. & Vidal, J. Mean-field ansatz for topological phases with string tension. Phys. Rev. B 92, 125150 (2015).
Sun, R.-Y., Shirakawa, T. & Yunoki, S. Parametrized quantum circuit for weight-adjustable quantum loop gas. Phys. Rev. B 107, L041109 (2023).
Blöte, H. W. J. & Deng, Y. Cluster Monte Carlo simulation of the transverse Ising model. Phys. Rev. E 66, 066110 (2002).
Xu, W.-T., Pollmann, F. & Knap, M. Critical behavior of Fredenhagen-Marcu string order parameters at topological phase transitions with emergent higher-form symmetries. npj Quantum Inf. 11, 74 (2025).
Google Quantum AI. Suppressing quantum errors by scaling a surface code logical qubit. Nature 614, 676–681 (2023).
Foxen, B. et al. Demonstrating a continuous set of two-qubit gates for near-term quantum algorithms. Phys. Rev. Lett. 125, 120504 (2020).
White, T. et al. Readout of a quantum processor with high dynamic range Josephson parametric amplifiers. Appl. Phys. Lett. 122, 014001 (2023).
Klimov, P. V. et al. Optimizing quantum gates towards the scale of logical qubits. Nat. Commun. 15, 2442 (2024).
Bengtsson, A. et al. Model-based optimization of superconducting qubit readout. Phys. Rev. Lett. 132, 100603 (2024).
Kelly, J., O’Malley, P., Neeley, M., Neven, H. & Martinis, J. M. Physical qubit calibration on a directed acyclic graph. Preprint at https://arxiv.org/abs/1803.03226 (2018).
Arute, F. et al. Quantum supremacy using a programmable superconducting processor. Nature 574, 505–510 (2019).
Wallman, J. J. & Emerson, J. Noise tailoring for scalable quantum computation via randomized compiling. Phys. Rev. A 94, 052325 (2016).
Hashim, A. et al. Randomized compiling for scalable quantum computing on a noisy superconducting quantum processor. Phys. Rev. X 11, 041039 (2021).
Google Quantum AI team and collaborators. Gauge compiling in Cirq. https://github.com/quantumlib/Cirq/tree/main/cirq-core/cirq/transformers/gauge_compiling (2024).
Google Quantum AI team and collaborators. Dynamical decoupling in Cirq. https://github.com/quantumlib/Cirq/blob/main/cirq-core/cirq/transformers/dynamical_decoupling.py (2024).
Morvan, A. et al. Phase transitions in random circuit sampling. Nature 634, 328–333 (2024).
Czarnik, P., Arrasmith, A., Coles, P. J. & Cincio, L. Error mitigation with Clifford quantum-circuit data. Quantum 5, 592 (2021).
Vovrosh, J. et al. Simple mitigation of global depolarizing errors in quantum simulations. Phys. Rev. E 104, 035309 (2021).
Rosenberg, E., Ginsparg, P. & McMahon, P. L. Experimental error mitigation using linear rescaling for variational quantum eigensolving with up to 20 qubits. Quantum Sci. Technol. 7, 015024 (2022).
Cai, Z. et al. Quantum error mitigation. Rev. Mod. Phys. 95, 045005 (2023).
Ekert, A. K. et al. Direct estimations of linear and nonlinear functionals of a quantum state. Phys. Rev. Lett. 88, 217901 (2002).
Endo, S., Kurata, I. & Nakagawa, Y. O. Calculation of the Green’s function on near-term quantum computers. Phys. Rev. Res. 2, 033281 (2020).
Mi, X. et al. Time-crystalline eigenstate order on a quantum processor. Nature 601, 531–536 (2022).
Mitarai, K. & Fujii, K. Methodology for replacing indirect measurements with direct measurements. Phys. Rev. Res. 1, 013006 (2019).
Banuls, M. C. et al. Simulating lattice gauge theories within quantum technologies. Eur. Phys. J. D 74, 165 (2020).
Lumia, L. et al. Two-dimensional \({{\mathbb{Z}}}_{2}\) lattice gauge theory on a near-term quantum simulator: variational quantum optimization, confinement, and topological order. PRX Quantum 3, 020320 (2022).
Cobos, J., Locher, D. F., Bermudez, A., Müller, M. & Rico, E. Noise-aware variational eigensolvers: a dissipative route for lattice gauge theories. PRX Quantum 5, 030340 (2024).
scipy.optimize.minimize_scalar, SciPy v1.13.0 Manual, documentation at https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.minimize_scalar.html (2023).
Press, W. H., Teukolsky, S. A., Vetterling, W. T. & Flannery, B. P. Numerical Recipes: The Art of Scientific Computing 3rd edn (Cambridge Univ. Press, 2007).
Cochran, T. A. Visualizing dynamics of charges and strings in (2+1)D lattice gauge theories. Zenodo https://doi.org/10.5281/zenodo.15008487 (2025).
Cochran, T. A. Visualizing dynamics of charges and strings in (2+1)D lattice gauge theories. ReCirq https://quantumai.google/cirq/experiments/lattice_gauge/lattice_gauge (2025).
Acknowledgements
We acknowledge fruitful discussions with I. Aleiner and Y. Bahri. A.G.-S. acknowledges support from the Royal Commission for the Exhibition of 1851 and support from the UK Research and Innovation (UKRI) under the UK government’s Horizon Europe funding guarantee (grant number EP/Y036069/1). B.J., M.W., F.P. and M. Knap acknowledge support from the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy EXC-2111-390814868, TRR 360-492547816 and DFG grant nos. KN1254/1-2 and KN1254/2-1, the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement nos. 851161 and 771537), the European Union (grant agreement no. 101169765), as well as the Munich Quantum Valley, which is supported by the Bavarian state government with funds from the Hightech Agenda Bayern Plus. M.W. and F.P. acknowledge the support of the DFG FOR 5522 Research Unit (project ID 499180199).
Author information
Authors and Affiliations
Contributions
A.G.-S., F.P., M. Knap and P.R. conceived the project. Experimental data collection protocols were conceived and implemented by T.A.C., with assistance from B.J., E.R., G.G. and N.E. Device calibration was done by T.A.C., E.R., G.G. and N.E. Theoretical models were developed by B.J., Y.D.L., M.W., A.G.-S., F.P. and M. Knap Numerical simulations were performed by T.A.C., B.J., E.R. and A. Szasz. The manuscript was written by T.A.C., B.J., E.R., Y.D.L., A.G.-S., F.P., M. Knap and P.R., with input from all of the other authors. Hardware and software contributions necessary to maintain the quantum processor were carried out by D.A., R.A., L.A.B., T.I.A., M.A., F.A., K.A., A.A., J.A., R.B., B. Ballard, J.C.B., A. Bengtsson, A. Bilmes, A. Bourassa, J.B., M.B., D.A.B., B. Buchea, B.B.B., T.B., B. Burkett, N.B., A.C., J. Campero, H.-S.C., Z.C., B. Chiaro, J. Claes, A.Y.C., J. Cogan, R.C., P.C., W.C., A.L.C., B. C., S. Das, S. Demura, L.D.L., A.D.P., P.D., I.D., A.D., A.E., A.M.E., M.E., C.E., V.S.F., L.F.B., E.F., A.G.F., B.F., S.G., R. Gasca, É.G., W.G., D. Gilboa, R. Gosula, A.G.D., D. Graumann, A.G., J.A.G., S.H., M.H., M.P.H., S.D.H., P.H., O.H., J.H., H.-Y.H., A.H., W.H., E.J., Z.J., C. Jones, C. Joshi, P.J., D.K., H.K., A.H.K., K.K., T. Khaire, T. Khattar, M. Khezri, S.K., P.K., B.K., A.K., F.K., J. Kreikebaum, V.K., D.L., T.L.-D., B. Langley, K.-M.L., J.L., K.L., B. Lester, L.L.G., W. Li, A.T.L., W. Livingston, A. Locharla, D.L., A. Lunt, S. Madhuk, A. Maloney, S. Mandrà, L.M., O.M., C.M., J.M., M.M., S. Meeks, A. Megrant, K.M., R. Molavi., S. Molina, S. Montazeri, R. Movassagh, C.N., M. Newman, A.N., M. Nguyen, C.-H.N., K.O., A.P., R.P., O.P., C.Q., G. Ramachandran, M.R., D.R., G. Roberts, K. Sankaragomathi, K. Satzinger, H.S., M.S., A. Shorter, N.S., V. Shvarts, V. Sivak, S. Small, W.C.S., S. Springer, G.S., J.S., A. Sztein, D.T., M.T., A.V., J.V., S.V., G.V., C.V.H., S.W., S.X.W., B.W., T.W., K.W., B.W.K.W., C.X., Z.J.Y., P.Y., B.Y., J.Y., N.Y., G.Y., A.Z., Y.Z., N. Zhu and N. Zobrist, under the supervision of P.R., S.B., J. Kelly, E.L., Y.C., V. Smelyanskiy and H.N.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature thanks Michele Burrello and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Extended data figures and tables
Extended Data Fig. 1 Qubit grid and experimental fidelities.
a, Grid of 45 qubits used in this work. Green diamonds represent physical gauge qubits, grey circles are the ancilla qubits used in Trotterized time evolution and blue circles are the ancilla qubits used in projective state preparation and Hadamard test experiments. b, Representative cumulative distribution functions of relevant gate and measurement errors. Single-qubit Clifford and non-Clifford Pauli errors, determined from randomized benchmarking, are shown in red and orange with median errors of 0.100% and 0.095%, respectively. To implement non-Clifford randomized benchmarking, we replace the standard depth-n randomized benchmarking sequence, which consists of n − 1 random Clifford gates and a final Clifford gate that inverts the sequence, with \({U}_{f}{\mathrm{XU}}_{\frac{n-1}{2}}\ldots X{U}_{0}\), in which each Ui is a Haar random single-qubit unitary and Uf is computed to invert the whole sequence. The error rate thus obtained, which includes approximately equal contributions from the Clifford X gates and the non-Clifford Ui gates, is what is plotted in panel b as ‘1Q non-Clifford’. Inferred CZ Pauli errors, determined from cross-entropy benchmarking, for all pairs are shown in blue with a median error of 0.52%. |0⟩ state and |1⟩ state readout errors, determined from sampling random bitstrings, are shown in green and olive with median errors of 0.60% and 2.00%, respectively.
Extended Data Fig. 2 Suzuki–Trotter evolution circuit.
Trotterized time evolution follows initial state preparation (Fig. 2). The Trotter cycle is broken into single-qubit field terms, which act on the individual physical qubits, and plaquette terms, which involve four layers of C-NOT gates on each vertex and plaquette, single-qubit rotations on all ancilla qubits and a subsequent four layers of C-NOT gates to disentangle the ancilla qubits from the physical ones.
Extended Data Fig. 3 Post-selecting on measured ancilla state.
a, Heatmaps showing the probability of measuring the ancillas in the |1⟩ state, \(\langle {P}_{{Z}_{l}}\rangle \), at times t ∈ {0.5, 2.5, 4.5} (dt = 0.5). A representative value of hE = 0.6, λ = 0.25 was chosen. b, \(\langle {P}_{{Z}_{l}}\rangle \) traces for all qubits (transparent traces) and their average (dark-green line). c, Number of total shots collected and post-selected shots as a function of evolved time. Grey points show the number of post-selected shots based on all ancillas being measured in the |0⟩ state. The red points indicate the number of shots after also post-selecting on the two-excitation sector. The black points show the prediction of post-selected shots assuming that the system was in the maximally mixed state (negligible). The green dotted line (right axis) shows the total number of shots collected for each time step. d, Separation between two excitations, starting from the initial state shown in Fig. 3a, following evolution under the pure toric code Hamiltonian. Green markers show the separations when averaging over all bitstrings, regardless of the final state of the ancilla qubits. The red markers only average over instances when all ancilla qubits were measured in the |0⟩ state. The theoretical expectation for the distance is constant at 1 (solid black line), whereas the expectation value for the maximally mixed state is 7/3 (dotted line).
Extended Data Fig. 4 Local and global depolarization comparison with quantum processor data.
a, Separation between excitations, after starting with excitations a distance 1 apart on a 2 × 3 vertex lattice. Trotter evolution with λ = 0.25 and hE ∈ {0, 0.25, 2.25} are shown for device data (markers), simulations with local depolarizing noise (dashed lines) and with global depolarizing noise (solid lines). b, Data for evolution of the same initial state but with Trotter evolution with λ = 0, at which the vertex excitations should be stationary. The distance in the noiseless case should be 1 (solid line), whereas the expectation of distance for the maximally mixed state is 5/3 (dashed line). c, The extracted global depolarizing probability for the data in panel b.
Extended Data Fig. 5 The variational circuit ansatz and transforming the original Hamiltonian with the C-NOT gates of the variational circuit.
This circuit is equivalent to the one in the main text but does not use ancilla qubits. a, The unitary applied on each plaquette consists of two parts: First, a single-qubit y-rotation gate Ry(θ) = exp(−iθY/2) with variational parameter θ is applied to the top qubit of the plaquette. Then, three C-NOT gates are applied, with the top qubit being the control qubit and the other qubits being the targets. b, The order of the plaquette unitaries is chosen such that the y-rotation gate always acts on a |0⟩ state. Here the blue diamonds denote the gate in a; lighter coloured gates are applied first and darker coloured gates last. The order of plaquettes is also indicated by the grey arrow. c, The original Hamiltonian is drawn schematically on a lattice of 4 × 4 vertex operators. The orange terms connecting Pauli-Zs denote the different vertex operators of the Hamiltonian, the blue terms connecting Pauli-Xs denote the plaquette operators and the green Pauli-Zs denote the onsite Z-field. d, After conjugating each term in the Hamiltonian by the C-NOT layer of the circuit, we arrive at a new Hamiltonian. The orange vertex operators have been transformed to Ising terms, the blue plaquette operators have been transformed to single-site Pauli-X terms and the green Pauli-Z terms have been transformed to two-site or three-site Pauli-Z operators. On all sites at which no Pauli-X operator acts, the Hamiltonian commutes with single-site Pauli-Z operators, so on those sites, the eigenstates of the Hamiltonian are either in the |0⟩ or the |1⟩ state. e, In the subspace in which all qubits except the top qubit on each plaquette are in the |0⟩ state, the transformed Hamiltonian turns into a two-dimensional transverse-field Ising model.
Extended Data Fig. 6 Operator transformations on a single plaquette and plaquette-by-plaquette transformation of the Hamiltonian.
a, The table shows the different transformations of the operators on a plaquette when transforming them with the C-NOT gates of the variational circuit acting on that plaquette. The left side shows the transformations of the different vertex operators. Note that, when a vertex operator has some remaining Z gates not supported on this specific plaquette, they are left unchanged by the C-NOT gates. The right side shows the transformations of the different onsite Pauli-Z operators. The last diagram at the bottom shows the transformation of the plaquette operators. b, We can use the results of the table in a to transform the original Hamiltonian plaquette by plaquette. At each step, the plaquette transformed next by the C-NOT gates in the variational circuit is highlighted in yellow. Note that the plaquettes of the Hamiltonian are transformed in the opposite order of how they are applied in the quantum circuit in Extended Data Fig. 5b. Because the C-NOT gates in the circuit applied to plaquettes in the same row commute, we can transform a whole row of the Hamiltonian at the same time.
Extended Data Fig. 7 Average expectation values of terms in \(\boldsymbol{\mathcal{H}}\) for the WALA.
Expectation values of each term in the Hamiltonian, averaged over all equivalent vertices/plaquettes/links. For the expectation values of links, ⟨Zl⟩ is expected to behave differently for qubits on the edge and those in the bulk (Methods). Therefore, we plot the average expectation values for these two sets of qubits separately. The expectation values are plotted for electric vertices ⟨Av⟩ (blue markers), magnetic plaquettes ⟨Bp⟩ (purple markers), external edge links ⟨Xl⟩ext and ⟨Zl⟩ext (dark green and black markers, respectively) and internal bulk links ⟨Xl⟩int and ⟨Zl⟩int (light green and grey markers, respectively). Error bars correspond to the standard deviation over all vertices, plaquettes or links.
Extended Data Fig. 8 Average heatmaps and conditional probabilities for the superposition initial states.
a, Schematic showing the preparation of the superposition initial states. Such a circuit produces a mixed state, which can be projected on |ψ+⟩ or |ψ−⟩ depending on the measurement of the ancilla qubit Qb. Qubits defined in b. b, Temporal evolution of average heatmaps of ⟨Av⟩ for the |ψ−⟩ state, with hE ∈ {0, 2.0}. The grey value of +2/3 on the colour bar corresponds to the average value when two electric excitations are equally distributed across the entire grid. For this figure, λ = 0.25. c, Temporal evolution of average heatmaps of ⟨Av⟩ for the |ψ+⟩ state, with hE ∈ {0, 2.0}. d, Conditional excitation location probabilities for the |ψ+⟩ state, after post-selecting on the two-excitation sector, at time t = 3.5. The grey region of the colour bar corresponds to the average value when the excitation not conditioned on is equally distributed across the entire grid. The numbers inside the measurement boxes show the unconditioned probability of measuring an electric excitation on that site. e, Excitation separation for both |ψ±⟩ initial states and hE ∈ {0, 2.0}. The markers show measured data (reproduced from Fig. 3). The lines show noiseless numerical circuit simulations.
Extended Data Fig. 9 Measurements of ⟨Z(0)⟩, Im[⟨Z(t)Z(0)⟩] and ⟨Z(t)⟩.
a, Measured expectation values of ⟨Z(0)⟩ after preparing the WALA ground state with a string excitation as in Fig. 4a (top panel). The short-circuit depth for state preparation leads to excellent agreement with numerical simulations without any error mitigation (bottom panel). b, Measured expectation values of Im[⟨Z(t)Z(0)⟩] for Q1 and Q2, defined in Fig. 4 (top panels). Data points were acquired using dt = 0.3 and λ = 0.25. The grey areas on these plots correspond to the region limited by decoherence and is bounded by \(| \langle Z(t)Z(0)\rangle {| }_{\lambda ={h}_{{\rm{E}}}=0}\). This is then used to rescale the data to compare with noiseless numerical simulations using a global depolarizing model as described in Methods (bottom panels). c, Measured expectation values of ⟨Z(t)⟩ for Q1 and Q2 (top panels). The grey areas on these plots correspond to the region limited by decoherence and is bounded by ⟨Z(t)⟩ of the WALA initial state under evolution of the pure toric code Hamiltonian. This is then used to rescale the data to compare with noiseless numerical simulations using a global depolarizing model (bottom panels).
Extended Data Fig. 10 Build-up of vertex excitations with and without an initial string.
a, Spatiotemporal map of ⟨Av⟩ for three different λ ∈ {0, 0.25, 0.50} and constant hE = 1.4, starting from the WALA initial state and time evolving. b, Same as panel a but starting with an excited initial state with a string stretched across the grid, whose initial trajectory is indicated by the black qubits. c, The average probability of finding a vertex excitation on any site, for each of the columns in panels a and b (both initial states). Results from evolving the WALA initial state are shown in beige and those from evolving the string initial state are shown in dark green. Markers represent experiments with λ = 0 (pluses), λ = 0.25 (crosses) and λ = 0.50 (stars). The grey region is bounded by the average of all vertices when λ = 0 having started in the initial state (same as green pluses). The bottom panel shows the global depolarization rescaled values (markers) and the numerical noiseless circuit simulations (lines).
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Cochran, T.A., Jobst, B., Rosenberg, E. et al. Visualizing dynamics of charges and strings in (2 + 1)D lattice gauge theories. Nature 642, 315–320 (2025). https://doi.org/10.1038/s41586-025-08999-9
Received:
Accepted:
Published:
Version of record:
Issue date:
DOI: https://doi.org/10.1038/s41586-025-08999-9
This article is cited by
-
Quantum computers tackle unexplored particle physics
Nature (2025)
-
Dynamical Aharonov-Bohm cages and tight meson confinement in a \({{\mathbb{Z}}}_{2}\)-loop gauge theory
Communications Physics (2025)
-
Probing the Kitaev honeycomb model on a neutral-atom quantum computer
Nature (2025)
-
Simulation of matter–antimatter creation on quantum platforms
Nature (2025)