Skip to content

Menu

WorksPhysics and Astronomy

Experimental Observation of Error-Resilience Phase Transition on Superconducting Quantum Processor

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_kevwxeuc. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Random unitaries scramble quantum information into highly nonlocal degrees of freedom, thereby providing protection from local noise. However, as demonstrated by Turkeshi and Sierant (Phys. Rev. Lett. 132, 140401, 2024 and arXiv:2603.00235), this protection may fail once local noise grows sufficiently strong. These works describe a phase transition in a noisy random encoding-decoding circuit model between an error-protecting phase, in which encoded information is recoverable, and an error-vulnerable phase, in which encoded information is lost, with the transition occurring at a critical coherent noise angle αc≈1.14α_c \approx 1.14. Here, we present the first experimental observation of this transition, conducted on IBM's ibm_pittsburgh Heron r3 device for system sizes of up to N=26N = 26 qubits. We detect this transition via three order parameters: fidelity, Rényi-2 entanglement entropy, and stabilizer Rényi-2 entropy. For the latter two, we employ randomized measurement protocols to construct estimators, and for all three, we rely on zero-noise extrapolation and M3 SPAM error mitigation. We then jointly model the finite-size scaling collapse across all three order parameters with a Gaussian process regression, yielding a critical angle αc≈1.01α_c \approx 1.01, well below the theoretical value. Inputting noiseless simulated data into the same model yields αc≈1.05α_c \approx 1.05, implying that the discrepancy between experiment and theory is due to our encoding circuits, which are not deep enough to be truly Haar-random. Finally, we observe that the same model cannot adequately identify critical behavior in unmitigated, raw experimental data. This indicates that error mitigation techniques are crucial for detecting the transition on hardware.

Introduction

The interaction between unitary dynamics and environmental noise is a rich and complex topic of recent exploration in quantum information theory. On one hand, noise can dissipate information out of open quantum systems and undermine computation. On the other hand, noise can increase the complexity of quantum states [3], likewise increasing the quantity of uniquely quantum resources like entanglement and non-stabilizerness [4, 5, 6, 7].

Randomization is a powerful way to mitigate the deleterious effects of noise. Random unitaries drawn from the Haar measure are typically highly scrambling [8, 9, 10], spreading initially localized information throughout non-local degrees of freedom. Distributing information nonlocally can increase its robustness to local noise, as the non-local correlations that store information persist in spite of these perturbations; this is the idea underlying quantum error correction [11, 12, 13].

In [1, 2], Turkeshi and Sierant study the interaction between random dynamics and noise. They consider the final “logical” state of a system of qubits, some “logical” and some “ancillary,” undergoing a Haar-random encoding unitary, followed by a layer of identical single-qubit (coherent) noise on each qubit, then decoding by the encoding’s inverse, and finally post-selecting on the ancilla state Section II. This system exhibits a phase transition at a critical noise strength, expressed in the order parameters of logical fidelity with the initial state, entanglement entropy, and non-stabilizerness. Their results highlight two salient features of the interplay between noise and generic unitary dynamics. First, while scrambling protects information, the transition demonstrates that the relationship between noise strength and information is highly nontrivial, indicating a regime of protection. Second, the dual nature of noise is directly manifest. It completely destroys the fidelity past the critical point while generating extensive entanglement and non-stabilizerness in the final logical state.

Until now, these results have not been observed on existing quantum hardware. Direct experimental observation poses serious implementation challenges and also requires substantial deviations from the idealized model. In practice, while current devices can execute deep circuits, truly Haar-random circuits require exponentially many two-qubit gates [14]. Coherent gate errors prevent the encoding and decoding unitaries from being exact inverses, state preparation and measurement (SPAM) errors prevent measurement results from displaying the expected outcomes, and depolarization contracts states toward the maximally mixed state. While the results of [1, 2] are robust against some types of errors, it is not obvious how an implementation of their model behaves in the presence of correlated and site-dependent noise of current devices. Furthermore, precisely measuring entanglement and non-stabilizerness on NISQ-era devices is difficult and requires protocols with significant overhead, such as randomized measurements [4, 15, 16, 17, 18], which we implement in this work.

In spite of these difficulties, we observe a phase transition in our implementation of the encoding-decoding model as a function of noise angle α\alpha. We rely on gate error mitigation using zero-noise extrapolation (ZNE) and SPAM error mitigation using matrix-free measurement error mitigation (M3), which require additional circuit overhead, to enhance the observable signal in our data. We implement randomized protocols for measuring entanglement and non-stabilizerness, incorporating our experimental fidelity data in an importance sampling variance-reduction protocol for our entanglement entropy estimator. We then model the phase transition on our experimental data with Gaussian process regression. This yields posterior distributions for the model’s critical parameters across all three order parameters. The posteriors both validate the presence of a transition and allow us to characterize the deviations of real-device behavior from the theoretical model.

In section II we review the theoretical model and results of [1] and [2]. In section III we describe our experimental implementation of the model, and we describe the error mitigation and measurement protocols in section IV and section V, respectively. We display the experimental data in section VI and analyze it in section VII, discussing the results in section VIII.

Theoretical Model

In [1, 2], the authors consider a toy model of an encoded quantum memory protocol, depicted in Figure 1. The system consists of NN qubits, of which kk form the “logical” subsystem, denoted by XX, and the remaining N−kN-k are ancillas, denoted by Xˉ\bar{X}. The initial state ρ0\rho_0 is a product over this bipartition, i.e., ρ0=∣ψX⟩⟨ψX∣⊗∣ψXˉ⟩⟨ψXˉ∣\rho_0 = |\psi_X\rangle\langle\psi_X| \otimes|\psi_{\bar{X}}\rangle\langle\psi_{\bar{X}}|. All NN qubits are acted on by an encoding unitary UU, selected randomly from the Haar measure, followed by a layer of identical local errors E=E1⊗...⊗EN\mathcal{E} = \mathcal{E}_1 \otimes... \otimes\mathcal{E}_N acting on each qubit, and a decoding unitary U†U^\dagger. Then, a measurement is performed to “check” whether the ancilla qubits are in their initial state. The final (pure) logical state ρX\rho_X is obtained by projecting out the ancilla qubits post-selected on their being in the initial state. We consider the case of coherent noise, in which Ei(ρ)=KiρKi†=e−iαn⃗⋅σ⃗/2ρeiαn⃗⋅σ⃗/2\mathcal{E}_i(\rho) = K_i \rho K_i^\dagger= e^{-i\alpha\vec{n}\cdot\vec{\sigma}/2}\rho e^{i\alpha\vec{n}\cdot\vec{\sigma}/2}, where n⃗\vec{n} is a Bloch vector and σ⃗={X,Y,Z}\vec{\sigma} = \{X,Y,Z\}.

Figure 1. Circuit diagram of the theoretical model. Ancilla qubits are prepared in the state ∣0⟩\lvert0\rangle. A global Haar-random encoding UU is applied to all qubits. Identical single-qubit noise then acts on each qubit, followed by decoding with U†U^{\dagger} and post-selection on ancilla qubits being in their initial state.

Sampling from the Haar measure ensures that the system lacks a “preferred” basis. This means that the choices of initial ancilla state and orientation of the coherent-error rotation axis do not affect the theoretical results. For simplicity, let ∣ψXˉ⟩=∣0Xˉ⟩≡∣0⟩⊗(N−k)|\psi_{\bar{X}}\rangle= |0_{\bar{X}}\rangle\equiv|0\rangle^{\otimes(N-k)}, and let n⃗=(0,0,1)\vec{n} = (0,0,1) so that ∀i\forall i, Ki=e−iασZ/2K_i = e^{-i\alpha\sigma_Z/2}. In the following results and in experiment, we also let the initial logical state be ∣ψX⟩=∣0X⟩≡∣0⟩⊗k|\psi_X\rangle= |0_X\rangle\equiv|0\rangle^{\otimes k}.

The authors analyze three properties of the final state ρX\rho_X. First, the fidelity between the final and initial logical states: F≡⟨0X∣ρX∣0X⟩F \equiv\langle0_X|\rho_X|0_X\rangle. Second, the entanglement entropy of ρX\rho_X, quantified by the qth-order Rényi entropy

Sq(ρX)=11−qlog⁡2(Tr⁡X1[(Tr⁡X2(ρX))q]),(1)S_q(\rho_X) = \frac{1}{1-q}\log_2\left(\operatorname{Tr}_{X_1}\left[(\operatorname{Tr}_{X_2}(\rho_X))^q\right]\right), \tag*{(1)}

where (X1,X2)(X_1,X_2) is a qubit bipartition of XX.

In this work, we focus on the Rényi-2 entanglement entropy S2(ρX)=−log⁡2(Tr⁡X1[(Tr⁡X2(ρX))2])S_2(\rho_X) = -\log_2\left(\operatorname{Tr}_{X_1}\left[(\operatorname{Tr}_{X_2}(\rho_X))^2\right]\right). Finally, the non-stabilizerness of ρX\rho_X, quantified by the qth-order stabilizer Rényi entropy [4]

Mq(ρX)≡11−qlog⁡2∑P∈P∣X∣ΞPq(ρX)−Sq(ρX)−log⁡2d,(2)M_q(\rho_X) \equiv\frac{1}{1-q}\log_2\sum_{P\in\mathcal{P}_{|X|}}\Xi_P^q(\rho_X)-S_q(\rho_X)-\log_2 d, \tag*{(2)}

where d≡2∣X∣d \equiv2^{|X|}, P∣X∣\mathcal{P}_{|X|} is the set of Paulis on XX, and ΞP(ρX)≡1d[Tr⁡(PρX)]2\Xi_P(\rho_X) \equiv\frac{1}{d}[\operatorname{Tr}(P\rho_X)]^2. The qth stabilizer Rényi entropy (SRE) is a magic monotone for q≥2q \ge2 [19, 20], introduced in [4], that has been shown to be efficiently computable and measurable [21, 22, 23] and studied in a wide range of physical systems [24, 25, 26, 27, 28, 29]. We study the stabilizer Rényi-2 entropy

M2(ρX)=−log⁡2(Tr⁡(QρX⊗4))−S2(ρX)−log⁡2d,(3)M_2(\rho_X) = -\log_2\left(\operatorname{Tr}\left(Q\rho_X^{\otimes4}\right)\right)-S_2(\rho_X)-\log_2 d, \tag*{(3)}

where Q≡1d2∑P∈P∣X∣P⊗4Q \equiv\frac{1}{d^2}\sum_{P\in\mathcal{P}_{|X|}}P^{\otimes4}.

The authors study the behavior of quantities averaged over Haar-random encodings UU. To allow for tractable analytic results, we consider the “annealed” average. Let ρ^U≡⟨0X∣U†EU(ρ0)∣0X⟩\hat{\rho}_U \equiv\langle0_X|U^\dagger\mathcal{E}U(\rho_0)|0_X\rangle, the unnormalized, post-selected final state. Then ρX=ρ^UTr⁡(ρ^U)\rho_X = \frac{\hat{\rho}_U}{\operatorname{Tr}(\hat{\rho}_U)}. For a given encoding UU, each quantity of interest is a function f(Tr⁡(ρ^U)Tr⁡(ρ^U))f\left(\frac{\operatorname{Tr}(\hat{\rho}_U)}{\operatorname{Tr}(\hat{\rho}_U)}\right). The “quenched,” or exact, expectation value of each quantity is fˉ≡EUf(Tr⁡(ρ^U)Tr⁡(ρ^U))\bar{f} \equiv\mathbb{E}_U f\left(\frac{\operatorname{Tr}(\hat{\rho}_U)}{\operatorname{Tr}(\hat{\rho}_U)}\right), whereas the annealed average is f~≡f(EUTr⁡(ρ^U)EUTr⁡(ρ^U))\tilde{f} \equiv f\left(\frac{\mathbb{E}_U\operatorname{Tr}(\hat{\rho}_U)}{\mathbb{E}_U\operatorname{Tr}(\hat{\rho}_U)}\right). In [1], it is shown that the deviation between the two falls exponentially with system size, and close numerical agreement holds for system sizes as low as N=8N=8.

We now state the analytic result for F~\tilde{F}:

F~=(2N−1)(2Ncos⁡2N(α/2)+1)2Ncos⁡2N(α/2)(2N−2k)+2N+k−1,(4)\tilde{F} = \frac{(2^N-1)(2^N\cos^{2N}(\alpha/2)+1)}{2^N\cos^{2N}(\alpha/2)(2^N-2^k)+2^{N+k}-1}, \tag*{(4)}

For brevity, we omit the lengthy analytic formulas for S~2(ρX)\tilde{S}_2(\rho_X) and M~2(ρX)\tilde{M}_2(\rho_X) at finite NN. We plot finite-NN fidelities and entanglement entropies in Figure 2.

Figure 2. Analytic curves for fidelity and entanglement entropy versus RZR_Z rotation angle.

In the thermodynamic limit, N→∞N \to\infty, an “error-resilience” phase transition occurs between an “error-protecting phase” (EPP) in which the initial state ∣0X⟩|0_X\rangle is recovered with certainty, and an “error-vulnerable phase” (EVP) in which the state is entirely unrecoverable. The order parameter F~\tilde{F} behaves as a step function from 1 to 0 between the phases, transitioning at αc(r)=2arccos⁡(2(r−1)/2)\alpha_{\mathrm{c}}(r) = 2\arccos(2^{(r-1)/2}), where r≡k/Nr \equiv k/N is the code “rate.” We take r=1/2r = 1/2, for which αc(1/2)≈1.14\alpha_{\mathrm{c}}(1/2) \approx1.14.

The quantities S~2(ρX)\tilde{S}_2(\rho_X) and M~2(ρX)\tilde{M}_2(\rho_X) are also order parameters of the EPP-EVP transition, behaving in the thermodynamic limit as:

S~2(ρX)∣X1∣={0,α<αc(r)−4(log⁡2[cos⁡(α/2)]+(1−r)/2)r1,αc(r)≤α<αXent(r),1,α≥αXent(r),(5)\frac{\tilde{S}_2(\rho_X)}{\lvert X_1\rvert} = \begin{cases} 0, & \alpha< \alpha_{\mathrm{c}}(r) \\ \frac{-4\left(\log_2[\cos(\alpha/2)]+(1-r)/2\right)}{r_1}, & \alpha_{\mathrm{c}}(r) \le\alpha< \alpha_X^{\mathrm{ent}}(r), \\ 1, & \alpha\ge\alpha_X^{\mathrm{ent}}(r), \end{cases} \tag*{(5)}

and

M~2(ρX)N={0,α<αc(r)8log⁡2[cos⁡(αc(r)/2)cos⁡(α/2)],αc(r)≤α<2arccos⁡(2−r/8cos⁡(αc(r)/2)),r,α≥2arccos⁡(2−r/8cos⁡(αc(r)/2)),(6)\frac{\tilde{M}_2(\rho_X)}{N} = \begin{cases} 0, & \alpha< \alpha_{\mathrm{c}}(r) \\ 8\log_2\left[\frac{\cos(\alpha_{\mathrm{c}}(r)/2)}{\cos(\alpha/2)}\right], & \alpha_{\mathrm{c}}(r) \le\alpha< 2\arccos\left(2^{-r/8}\cos(\alpha_{\mathrm{c}}(r)/2)\right), \\ r, & \alpha\ge2\arccos\left(2^{-r/8}\cos(\alpha_{\mathrm{c}}(r)/2)\right), \end{cases} \tag*{(6)}

where X1X_1 is the smaller of the subsystems of XX, r1=∣X1∣/Nr_1 = \lvert X_1\rvert/N, and αcent(r)=2arccos⁡(2[(2(r−r1−1)+r1)/4])\alpha_{\mathrm{c}}^{\mathrm{ent}}(r) = 2\arccos\left(2^{[(2(r-r_1-1)+r_1)/4]}\right). For r=1/2r = 1/2 and r1=1/4r_1 = 1/4, αcent(1/2)≈1.27\alpha_c^{\mathrm{ent}}(1/2) \approx1.27. In the EVP, the final logical state becomes highly complex and nonlocal, transitioning from the product state ∣0X⟩|0_X\rangle to one that is extensively entangled and classically difficult to simulate. Past αc\alpha_c, the coherent noise outcompetes random encoding and fully delocalizes the state.

The phase transition universality class is determined by Taylor expanding each order parameter, at finite NN, about αc\alpha_c:

F~≈(1+exp⁡[tan⁡(αc/2)N(α−αc)])−1(7)\widetilde{F} \approx\left(1+\exp\left[\tan(\alpha_c/2)N(\alpha-\alpha_c)\right]\right)^{-1} \tag*{(7)}
S~2(ρX)≈2log⁡2(1+exp⁡[tan⁡(αc/2)N(α−αc)])(8)\widetilde{S}_2(\rho_X) \approx2\log_2\left(1+\exp\left[\tan(\alpha_c/2)N(\alpha-\alpha_c)\right]\right) \tag*{(8)}
M~2(ρX)≈4log⁡2[1+exp⁡(tan⁡(αc/2)N(α−αc))].(9)\widetilde{M}_2(\rho_X) \approx4\log_2\left[1+\exp\left(\tan(\alpha_c/2)N(\alpha-\alpha_c)\right)\right]. \tag*{(9)}

With the finite-size scaling ansatz O=f(N1/ν(α−αc))O=f(N^{1/\nu}(\alpha-\alpha_c)) for order parameter OO, the critical parameters are ν(1)=ν(2)=ν(3)=1\nu^{(1)}=\nu^{(2)}=\nu^{(3)}=1, where indices 1, 2, 3 refer to fidelity, entanglement, and non-stabilizerness respectively.

Experimental implementation of the theoretical model

The fidelity and entanglement entropy phase transitions occur in any encoding-decoding family whose encoding unitaries UU are drawn from a unitary 2-design and 4-design respectively, while the non-stabilizerness transition occurs in 8-designs. One-dimensional brickwork circuits composed of Haar-random two-qubit gates asymptotically form tt-designs in depth linear in system size NN [30]. We therefore construct linear-depth brickwork circuits for experimental implementation. To maintain circuit depths meaningfully achievable on current devices, we set the brickwork layer depth exactly equal to NN.

Existing devices natively implement highly limited sets of two-qubit gates. To approximately construct the aforementioned brickwork circuits without reaching prohibitive depth, we generate circuits in which each layer is composed of random single-qubit gates followed by a fixed, device-native two-qubit gate on alternating qubit pairs. Tailoring this to the ibm_pittsburgh Heron r3 device, whose native two-qubit gate is CZCZ [31], we implement random brickwork circuits of two-qubit-gate depth NN, in which each layer is composed of a single-qubit layer of (native) SXSX (X\sqrt{X}) and RZ(ϕ)R_Z(\phi) with uniformly random ϕ\phi on each qubits, followed by two-qubit CZCZ gates. An arbitrary single-qubit unitary U(θ,ϕ,λ)U(\theta,\phi,\lambda) can be written as RZ(ϕ)SXRZ(θ)SXRZ(λ)R_Z(\phi)S_XR_Z(\theta)S_XR_Z(\lambda) [32]. Our single-qubit gates are U(ϕ)=RZ(ϕ)SXU(\phi)=R_Z(\phi)SX, which we employ to reduce circuit depth.

Our circuits do not implement Haar-random brickwork and the aforementioned linear-depth results hold asymptotically, with constant prefactors upper bounded by values far greater than 1. Depth-NN circuits may fail to yield results consistent with the Haar average. Before implementation on a real device, we tested the consistency of our construction with the Haar average via numerical simulations. For each NN, using the above construction, we generated four circuits to implement on hardware. We use the same four encodings at each α\alpha, which reduces the effect of inter-encoding variance leading to unexpected blips between α\alpha values and makes device implementation easier. We also classically simulated these circuits under various α\alpha. Due to self-averaging, four circuits are enough to capture salient behavior of the average while remaining efficiently implementable on real devices. The simulated results are plotted in fig. 5.

To gain some insight into the large-NN behavior of this circuit ensemble, we observe the mean fidelity at the Haar-random αc≈1.1437\alpha_c \approx1.1437. In the Haar case, F~(αc)≥1/2N\widetilde{F}(\alpha_c) \ge1/2\sqrt{N} and approaches 1/21/2 as NN increases. We simulate circuits drawn from our experimental ensemble for NN from 6 to 30 and see, in Figure 3, that after an initial dip below 1/21/2, F~(αc)\widetilde{F}(\alpha_c) and F‾(αc)\overline{F}(\alpha_c) approach 1/21/2 as NN increases. This provides some evidence that the ensemble approaches the Haar-random results as N→∞N\to\infty. It is important to note, though, that since the ensemble is not truly Haar-random for any finite NN, we thereby expect the effective αc\alpha_c modeled on finitely many NN to increase towards 1.1437 as the dataset includes larger and larger NN. This helps account for the discrepancy between the Haar-random ensemble αc\alpha_c and the finite-NN effective αc\alpha_c posteriors from both the simulated and experimental data.

Annealed and quenched fidelities of the experimental circuit ensemble

Figure 3. Annealed and quenched fidelities of the experimental circuit ensemble at α=1.1437\alpha= 1.1437 plotted against NN. The Haar-random ensemble annealed fidelity plot is displayed for comparison. As NN increases, the experimental ensemble fidelities approach 1/21/2. Error bars reflect ±1\pm1 standard deviation from mean. The number of simulated circuits per NN is displayed in table I.

NN (system size)# Circuits
630,000
820,000
1010,000
125,000
142,500
161,000
18500
20150
2240
2420
265
285
303

Table 1. Number of simulated circuits per NN for the plot in Figure 3.

As discussed, the coherent noise rotation axis does not affect the theoretical phase transition for Haar-random encodings, as only the rotation angle appears in any expressions. However, IBM devices apply virtual RZ(ϕ)R_Z(\phi) gates [32], implemented by adding phase offsets ϕ\phi to the classical control frame, requiring no additional microwave pulse or increasing the circuit duration [32]. We thus inject intentional coherent noise via RZ(α)R_Z(\alpha) gates following the encoding unitary, since the error introduced by these gates is negligible. Technically, our non-Haar circuit ensemble’s average behavior likely depends on the Bloch axis of the injected coherent noise. Since our experimental setup employs a single Bloch axis regardless, we use the native ZZ axis.

Error mitigation

Zero-noise Extrapolation Implementation

Zero-noise extrapolation is a method to reduce the effects of gate noise on experimental data. Typically, some base circuit UU is implemented for multiple scaled values {λi}i=1\{\lambda_i\}_{i=1}. For each scaled value λi\lambda_i, the circuit length is extended by a factor of λi\lambda_i while the overall unitary implemented by the circuit equals UU. For example, a circuit scaled by λ=3\lambda= 3 could be implemented as UU†UUU^{\dagger}U. Without noise, this circuit implements UU, but on a real device, extending the length of the circuit exacerbates the effects of the noise on the system. Once data are collected for multiple λi\lambda_i-scaled circuits, a regression can estimate the measurement distribution of the noiseless (λ=0\lambda= 0) circuit.

There are typically two methods used to extend the length of a base circuit: global folding and local folding. In global folding, the entire circuit block, excluding measurements, is inverted and appended, to the base circuit to extend the length of the circuit. Structurally, it looks as though the circuit UU is extended by having an integer number of blocks U†UU^{\dagger}U appended onto it. Local folding takes each gate gg in UU and adds some number of sequences of g†gg^{\dagger}g after it to extend the length of UU. To integrate ZNE into our experiment, in which we only wanted to fold the encoding and decoding layers without altering the injected coherent noise, we wrote our own codebase. In our implementation, we opt for the global folding method to implement scaled circuits for λ∈{1,3,5}\lambda\in\{1,3,5\}, where λ=1\lambda= 1 represents the base encoding circuit. We then use quadratic Richardson extrapolation [33] to interpolate a set of quadratic functions to the measured bit strings at each λ\lambda. This set of quadratic functions is used to estimate the measurement distribution of each circuit in the zero-noise limit. As seen in Figure 6, our implementation of ZNE is effective at mitigating the effects of circuit noise.

Comparison of Error Mitigation Methods

Figure 6. We plot the experimental fidelity F‾\overline{F} of the system with respect to the system size NN after applying the circuit UU†=IUU^\dagger= \mathbb{I} (α=0\alpha= 0) to the input state ∣0X⟩\lvert0_X\rangle. Each error mitigation strategy alone improves the fidelity compared to the unmitigated data, and combining both M3 and ZNE leads to the best overall performance.

M3 Measurement Error Mitigation

We further utilize IBM’s M3 measurement error mitigation package to reduce the impact of SPAM errors on our experimental data [34]. Our data collection pipeline is set up such that prior to each experimental run, we first perform an M3 calibration experiment on the qubits utilized by our experiment. This serves to give us current device behavior at the time of data collection, such that the effects of the M3 package are maximized. Experimental data is then collected immediately after the M3 calibration experiment to prevent drift or device recalibration from damaging the M3 measurement error mitigation technique.

Figure 4. Connectivity graph of the ibm_pittsburgh processor, depicting the heavy-hex lattice structure employed by IBM Heron r3 devices. The embedding for the N=26N = 26 experiment is shown by orange qubits, while blue qubits were not used in the experiment. Experiments conducted for system sizes N=8N = 8 through N=24N = 24 use a 1D chain subset of the orange qubits.

Fidelity versus $R_Z$ rotation angle $\alpha$

Figure 5a. Fidelity versus RZR_Z rotation angle α\alpha.

Entanglement entropy versus $R_Z$ rotation angle $\alpha$

Figure 5b. Entanglement entropy versus RZR_Z rotation angle α\alpha.

Fidelity and entanglement entropy versus $R_Z$ rotation angle

Figure 5. Fidelity and entanglement entropy versus RZR_Z rotation angle for simulated, noiseless circuits. Each data point is the average of 4 encoding circuits.

Efficacy of Error Mitigation

A simple benchmark of ZNE and M3 efficacy in our experiments is the fidelity with ∣0X⟩\lvert0_X\rangle at noise angle α=0\alpha= 0. In a noiseless system, every encoding-decoding circuit implements UIU†=IUIU^\dagger= I, yielding F=1F = 1. Gate and SPAM noise generally reduce this value. We look at α=0\alpha= 0 fidelities at each system size NN for circuits with no error mitigation, with M3, with ZNE, and with both applied. We see in Figure 6 that the highest fidelities are achieved us- @page 6/23 starts_mid=0 ends_mid=1

Figure 4 (PDF p. 6). Connectivity graph of the ibm_pittsburgh processor, depicting the heavy-hex lattice structure employed by IBM Heron r3 devices. The embedding for the N=26N = 26 experiment is shown by orange qubits, while blue qubits were not used in the experiment. Experiments conducted for system sizes N=8N = 8 through N=24N = 24 use a 1D chain subset of the orange qubits.

Fidelity versus $R_Z$ rotation angle $\alpha$

Figure 5a (PDF p. 6). Fidelity versus RZR_Z rotation angle α\alpha.

Entanglement entropy versus $R_Z$ rotation angle $\alpha$

Figure 5b (PDF p. 6). Entanglement entropy versus RZR_Z rotation angle α\alpha.

Fidelity and entanglement entropy versus $R_Z$ rotation angle

Figure 5 (PDF p. 6). Fidelity and entanglement entropy versus RZR_Z rotation angle for simulated, noiseless circuits. Each data point is the average of 4 encoding circuits.

Efficacy of Error Mitigation

A simple benchmark of ZNE and M3 efficacy in our experiments is the fidelity with ∣0X⟩\lvert0_X\rangle at noise angle α=0\alpha= 0. In a noiseless system, every encoding-decoding circuit implements UIU†=IUIU^\dagger= I, yielding F=1F = 1. Gate and SPAM noise generally reduce this value. We look at α=0\alpha= 0 fidelities at each system size NN for circuits with no error mitigation, with M3, with ZNE, and with both applied. We see in Figure 6 that the highest fidelities are achieved using both methods. We considered dynamical decoupling (DD) to reduce correlated noise during idling, but our experiments revealed that it did not improve circuit performance. There are two primary reasons for this: first, the tunable couplers on the IBM Heron devices significantly reduce crosstalk, and second, the brickwork structure in our circuits means that only boundary qubits having very short idle periods.

Measuring the Order Parameters

The logical state fidelity with ∣0X⟩|0_X\rangle is simply the fraction of post-selected measurement outcomes which give the bit string ∣0X⟩|0_X\rangle. In our experiments, we execute 30,000 shots per circuit for fidelity measurement. The entanglement entropy and non-stabilizerness are functions of ρ∣X1∣2\rho_{|X_1|}^{2} and ρX4\rho_X^{4}, respectively. In principle, one could measure these quantities with multi-copy observables of ρ∣X1∣⊗2\rho_{|X_1|}^{\otimes2} and ρX⊗4\rho_X^{\otimes4}. However, such measurements require numerous swaps and permutations between qubits on different copies of the state and are therefore prohibitively complex for our qubit counts on NISQ (noisy intermediate-scale quantum) era superconducting devices. To quantify the entanglement entropy and non-stabilizerness, we instead employ single-copy, randomized measurement (RM) protocols.

We note that S2(ρ∣X1∣)S_2(\rho_{|X_1|}) is only a true entanglement entropy when ρX\rho_X is a pure state. Furthermore, the expression for M2(ρX)M_2(\rho_X) in eq. (3) involves subtracting S2(ρX)S_2(\rho_X), a quantity we have not experimentally observed. On the noisy devices used in our experiments, ρX\rho_X is a mixed state. Referring to S2(ρ∣X1∣)S_2(\rho_{|X_1|}) as the Rényi-2 entanglement entropy of ρX\rho_X is technically incorrect, though we continue to do so for clarity and consistency with section II; we also set S2(ρX)=0S_2(\rho_X)=0 in computing M2(ρX)M_2(\rho_X) with experimental data. We elaborate on how we partially correct for the impurity of ρX\rho_X in section VIA.

Measuring Entanglement Entropy

Protocol

Let u=⨂i=1nuiu=\bigotimes_{i=1}^{n}u_i be a random product unitary on nn qubits, where ∀i\forall i, uiu_i is independently drawn from the Haar measure. Also let s∈{0,1}ns\in\{0,1\}^n denote a bit string, and let Pu(s)≡⟨s∣uρu†∣s⟩P_u(s)\equiv\langle s|u\rho u^\dagger|s\rangle. Then, for an nn-qubit state ρ\rho,

EuXρ(u)=Tr⁡(ρ2)≡γ(ρ),(10)\mathbb{E}_u X_\rho(u)=\operatorname{Tr}(\rho^2)\equiv\gamma(\rho), \tag*{(10)}

where

Xρ(u)≡2n∑s,s′(−2)−D[s,s′]Pu(s)Pu(s′).(11)X_\rho(u)\equiv2^n\sum_{s,s'}(-2)^{-D[s,s']}P_u(s)P_u(s'). \tag*{(11)}
Approximate state ansatz

DD denotes the Hamming distance. We set n≡∣X1∣=N/4n\equiv|X_1|=N/4 and apply RMs over nn qubits, take the sample mean over these to yield an estimator of γ(ρ∣X1∣)\gamma(\rho_{|X_1|}) (represented as γ^(ρ)\hat{\gamma}(\rho)), then take S^2(ρX)≡−log⁡2(γ^(ρ∣X1∣))\hat{S}_2(\rho_X)\equiv-\log_2(\hat{\gamma}(\rho_{|X_1|})). We then, for an (N,α)(N,\alpha) pair, take our entanglement entropy estimator to be 1NU∑iS^2(i)(ρX)\frac{1}{N_U}\sum_i\hat{S}_2^{(i)}(\rho_X), averaging over encodings UU. Via Jensen’s inequality, this introduces a bias in S^2(ρX)\hat{S}_2(\rho_X), similar to the averaged average in section II, which we address in section V D.

Up to global phase, any single-qubit unitary can be realized by the parameterization ui=Rz(γi)Ry(θi)Rz(ϕi)u_i=R_z(\gamma_i)R_y(\theta_i)R_z(\phi_i) [17, 35]. The Haar measure on SU(2)SU(2) is dui=14π2sin⁡θi dθidγidϕidu_i=\frac{1}{4\pi^2}\sin\theta_i\,d\theta_i d\gamma_i d\phi_i, with θi∈[0,π]\theta_i\in[0,\pi] and γi,ϕi∈[0,2π)\gamma_i,\phi_i\in[0,2\pi). Since all measurements are performed in the computational (ZZ) basis, the final Rz(γi)R_z(\gamma_i) does not affect the observed outcomes, and we may omit it. Sampling θi\theta_i with p(θi)=12sin⁡θip(\theta_i)=\frac{1}{2}\sin\theta_i on [0,π][0,\pi] and ϕi\phi_i uniformly on [0,2π][0,2\pi] then inserting into the above parameterization gives Haar-random uiu_i.

  1. Approximate state ansatz

Incorporating prior knowledge of a quantum state can reduce the variance of the randomized measurement purity estimator. Two methods, the “common randomized measurements” approach (CRM) [36] and importance sampling (IS) [35], rely on possessing a classical description of a state σ\sigma that approximates the true state ρ\rho. For each method, the nearer σ\sigma is to ρ\rho, the lower the variance of the corresponding purity estimator. We describe each method below.

To construct our approximate state, we rely on the fact that we implement the randomized measurements following the fidelity experiments. These experiments give full computational basis empirical distributions for each circuit. However, we incorporate only the fidelity of the final logical state with ∣0X⟩|0_X\rangle into our approximate state for several reasons. Consider an approximate state σ\sigma constructed by matching the diagonal elements of ρ\rho in the computational basis. First, the computational basis distribution does not directly constrain the trace distance between the states or the relationship between their purities; rather, it merely implies that computational basis measurements cannot distinguish between σ\sigma and ρ\rho. The same cannot be said of other bases. Second, the theoretical result describes the fidelity between the initial and final state, without addressing specific elements of the orthogonal complement of the initial state. The fidelity is therefore a salient feature of the final state, unlike the computational basis probabilities. Finally, we want a simple ansatz that is computationally tractable for large system sizes, and constructing one from exponentially many bit strings would vastly increase its complexity.

With these considerations in mind, we propose an ansatz of the form σ(p)=(1−p)∣0X1⟩⟨0X1∣+pI2∣X1∣\sigma(p)=(1-p)|0_{X_1}\rangle\langle0_{X_1}|+p\frac{\mathbb{I}}{2^{|X_1|}}. For both variance reduction methods, we consider pp values ranging from 0 to 1 and numerically observe which ones provide the largest variance reduction. We then compare these to the observed fidelity of the state with the all-0 state.

Common Randomized Measurements

Inspired by [36], we consider a CRM setup specifically for purity estimation. Given an approximate state σ\sigma, we can compute both Tr⁡(σ2)\operatorname{Tr}(\sigma^2) and Xσ(u)X_\sigma(u) for any RM uu. CRM relies on the observation:

Eu[Xρ(u)−a(Xσ(u)−Tr⁡(σ2))]=Eu[Xρ(u)−aEuXσ(u)]+aTr⁡(σ2)=Tr⁡(ρ2)−aTr⁡(σ2)+aTr⁡(σ2)=Tr⁡(ρ2).(12)\mathbb{E}_u\left[X_\rho(u)-a\left(X_\sigma(u)-\operatorname{Tr}(\sigma^2)\right)\right]=\mathbb{E}_u\left[X_\rho(u)-a\mathbb{E}_uX_\sigma(u)\right]+a\operatorname{Tr}(\sigma^2)=\operatorname{Tr}(\rho^2)-a\operatorname{Tr}(\sigma^2)+a\operatorname{Tr}(\sigma^2)=\operatorname{Tr}(\rho^2). \tag*{(12)}

The estimator Xρ(u)−a(Xσ(u)−Tr⁡(σ2))X_\rho(u)-a\left(X_\sigma(u)-\operatorname{Tr}(\sigma^2)\right) is unbiased and has a variance of Var⁡(Xρ)+a2Var⁡(Xσ)−2aCov⁡(Xρ,Xσ)\operatorname{Var}(X_\rho)+a^2\operatorname{Var}(X_\sigma)-2a\operatorname{Cov}(X_\rho,X_\sigma). It is simple to see that the variance-minimizing value of aa is a∗=Cov⁡(Xρ,Xσ)/Var⁡(Xσ)a^*=\operatorname{Cov}(X_\rho,X_\sigma)/\operatorname{Var}(X_\sigma), but an XσX_\sigma highly correlated with XρX_\rho generally reduces variance for a∈(0,1]a\in(0,1]. For our experiments, we consider only a=1a=1 for two reasons. First, we expect to identify highly effective ansätze, namely ones for which XσX_\sigma is very close to XρX_\rho, which implies that Cov⁡(Xρ,Xσ)≈Var⁡(Xσ)\operatorname{Cov}(X_\rho,X_\sigma)\approx\operatorname{Var}(X_\sigma). Second, since we do not have access to a classical description of ρ\rho, we must compute the empirical Cov⁡(Xρ,Xσ)\operatorname{Cov}(X_\rho,X_\sigma) via the same randomized measurements we use to estimate Tr⁡(ρ2)\operatorname{Tr}(\rho^2). This introduces bias in the CRM estimator and the variance of the estimator a^∗\hat{a}^* can itself increase the CRM estimator’s variance.

This method has the benefit of being applicable entirely in post-processing. One can conduct the randomized measurements all at once and then retroactively decide which approximate state gives the greatest variance reduction. The division of workflows makes this method especially simple and efficient to implement.

Importance Sampling

The function XσX_\sigma is positive, taking values in the range [2−n,2n][2^{-n},2^n] for an nn-qubit state. Given that EuXσ(u)=∫uXσ(u) du=Tr⁡(σ2)\mathbb{E}_uX_\sigma(u)=\int_uX_\sigma(u)\,\mathrm{d}u=\operatorname{Tr}(\sigma^2), the normalized function

Xσ(u)∫uXσ(u) du=Xσ(u)Tr⁡(σ2)\frac{X_\sigma(u)}{\int_uX_\sigma(u)\,\mathrm{d}u}=\frac{X_\sigma(u)}{\operatorname{Tr}(\sigma^2)}

is a probability density function over uu, which we refer to as pIS(u)p_{\mathrm{IS}}(u). Straightforwardly,

∫u(Xρ(u)pIS(u))pIS(u) du=∫uXρ(u) du=Tr⁡(ρ2).(13)\int_u\left(\frac{X_\rho(u)}{p_{\mathrm{IS}}(u)}\right)p_{\mathrm{IS}}(u)\,\mathrm{d}u=\int_uX_\rho(u)\,\mathrm{d}u=\operatorname{Tr}(\rho^2). \tag*{(13)}

Over the distribution pIS(u)p_{\mathrm{IS}}(u), the function Xρ(u)pIS(u)\frac{X_\rho(u)}{p_{\mathrm{IS}}(u)} has the variance

EpIS(u)(Xρ(u)pIS(u))2−(EpIS(u)Xρ(u)pIS(u))2=∫uXρ2(u)pIS(u) du−Tr⁡(ρ2)2.(14)\mathbb{E}_{p_{IS}(u)}\left(\frac{X_{\rho}(u)}{p_{IS}(u)}\right)^2-\left(\mathbb{E}_{p_{IS}(u)}\frac{X_{\rho}(u)}{p_{IS}(u)}\right)^2=\int_u\frac{X_{\rho}^2(u)}{p_{IS}(u)}\,\mathrm{d}u-\operatorname{Tr}(\rho^2)^2. \tag*{(14)}

Note that in the case of perfect importance sampling, i.e., pIS(u)=Xρ(u)∫uXρ(u) dup_{IS}(u)=\frac{X_{\rho}(u)}{\int_u X_{\rho}(u)\,\mathrm{d}u}, the variance is

∫uXρ2(u)Xρ(u)∫uXρ(u) du du−Tr⁡(ρ2)2=0.\int_u\frac{X_{\rho}^2(u)}{\frac{X_{\rho}(u)}{\int_u X_{\rho}(u)\,\mathrm{d}u}}\,\mathrm{d}u-\operatorname{Tr}(\rho^2)^2=0.

Using Monte Carlo methods [37, 38], given an approximate state σ\sigma, one can sample from the distribution pIS(u)p_{IS}(u). The difficulty of performing such sampling depends on the complexity of Xσ(u)X_{\sigma}(u). For example, in [35], the authors demonstrate the efficacy of learning a simplified neural network approximation of pIS(u)p_{IS}(u), and then sampling from it via the Metropolis algorithm. By sampling from pIS(u)p_{IS}(u) then recording the values of pIS(u)p_{IS}(u) and empirically observing Xρ(u)X_{\rho}(u), one can construct the purity estimator 1Nu∑uX^ρ(u)pIS(u)\frac{1}{N_u}\sum_u\frac{\widehat{X}_{\rho}(u)}{p_{IS}(u)}. It was numerically observed in [35] that for certain classes of true and approximate states, this method can lead to an exponential reduction in measurement overhead, compared to uniform sampling, required to achieve a fixed variance.

Our aforementioned ansatz for σ\sigma yields an XσX_{\sigma} that is efficient to sample from directly, which we now derive. In the following, we represent vectors as kets with bolded letters and use bra-ket notation for linear algebra. Consider the form of Xσ(u)X_{\sigma}(u) in eq. (11). Let v\mathbf{v} and w\mathbf{w} be the computational basis probability vectors for the states ∣0⟩⊗N/4|0\rangle^{\otimes N/4} and (12)⊗N/4\left(\frac{1}{2}\right)^{\otimes N/4}, respectively. Let FF be the matrix defined by Fs,s′=(−2)−D[s,s′]F_{s,s'}=(-2)^{-D[s,s']}, and ff refer to the same matrix for a single qubit, so that F=f⊗N/4F=f^{\otimes N/4}. By linearity and reality of the probability vectors,

Xσ(p)(u)=2N/4(((1−p)v+pw)∣F∣((1−p)v+pw))=2N/4((1−p)2⟨v∣F∣v⟩+p2⟨w∣F∣w⟩+2p(1−p)⟨v∣F∣w⟩).(15)X_{\sigma(p)}(u)=2^{N/4}\left(\left((1-p)\mathbf{v}+p\mathbf{w}\right)|F|\left((1-p)\mathbf{v}+p\mathbf{w}\right)\right) =2^{N/4}\left((1-p)^2\langle\mathbf{v}|F|\mathbf{v}\rangle+p^2\langle\mathbf{w}|F|\mathbf{w}\rangle+2p(1-p)\langle\mathbf{v}|F|\mathbf{w}\rangle\right). \tag*{(15)}

Since I2N/4=(I2)⊗N/4\frac{I}{2^{N/4}}=\left(\frac{I}{2}\right)^{\otimes N/4}, we immediately see

⟨w∣F∣w⟩=(⟨1/2,1/2∣f∣1/2,1/2⟩)N/4=14N/4.\langle\mathbf{w}|F|\mathbf{w}\rangle=\left(\langle1/2,1/2|f|1/2,1/2\rangle\right)^{N/4}=\frac{1}{4^{N/4}}.

Again using f∣1/2,1/2⟩=(1/4,1/4)f|1/2,1/2\rangle=(1/4,1/4), we see that

2p(1−p)⟨v∣F∣w⟩=2p(1−p)∏i⟨vi∣f∣wi⟩=2p(1−p)4N/4∏i(vi0+vi1)=2p(1−p)4N/42p(1-p)\langle\mathbf{v}|F|\mathbf{w}\rangle=2p(1-p)\prod_i\langle v_i|f|w_i\rangle=\frac{2p(1-p)}{4^{N/4}}\prod_i(v_i^0+v_i^1)=\frac{2p(1-p)}{4^{N/4}}

by normalization.

Finally,

⟨v∣F∣v⟩=∏i⟨vi∣f∣vi⟩=∏i((vi0)2+(vi1)2−vi0vi1).\langle\mathbf{v}|F|\mathbf{v}\rangle=\prod_i\langle v_i|f|v_i\rangle=\prod_i\left((v_i^0)^2+(v_i^1)^2-v_i^0v_i^1\right).

Recall the random single-qubit measurement RY(θi)RZ(ϕi)R_Y(\theta_i)R_Z(\phi_i). Now, since the state

σ(p)=(1−p)∣0⟩⟨0∣⊗N/4+pI2N/4\sigma(p)=(1-p)|0\rangle\langle0|^{\otimes N/4}+\frac{pI}{2^{N/4}}

is diagonal in the ZZ basis, probabilities are invariant under application of any RZR_Z gate. The purity estimator Xσ(u)X_{\sigma}(u) depends only on the RYR_Y angles. We rewrite RY(θi)=e−iθi2YR_Y(\theta_i)=e^{-i\frac{\theta_i}{2}Y} as cos⁡(θi2)I−isin⁡(θi2)Y\cos\left(\frac{\theta_i}{2}\right)I-i\sin\left(\frac{\theta_i}{2}\right)Y. Now, we apply this unitary to the state ∣0⟩⟨0∣⊗N/4|0\rangle\langle0|^{\otimes N/4} to easily see the rotated-state bit probabilities vi0(u)=cos⁡2(θi2)v_i^0(u)=\cos^2\left(\frac{\theta_i}{2}\right) and vi1(u)=sin⁡2(θi2)v_i^1(u)=\sin^2\left(\frac{\theta_i}{2}\right). Collecting terms, we get:

Xσ(p)(u)=2N/4(1−p)2∏i=1N/4(1−34sin⁡2(θi))+1−(1−p)22N/4.(16)X_{\sigma(p)}(u)=2^{N/4}(1-p)^2\prod_{i=1}^{N/4}\left(1-\frac{3}{4}\sin^2(\theta_i)\right)+\frac{1-(1-p)^2}{2^{N/4}}. \tag*{(16)}

This is a simple analytic function of the RYR_Y rotation angles {θi}i=1N/4\{\theta_i\}_{i=1}^{N/4}. We divide Xσ(p)(u)X_{\sigma(p)}(u) by Tr⁡(σ(p)2)\operatorname{Tr}(\sigma(p)^2) to yield a probability distribution over uu. We then convert it to a distribution over {θi}i=1N/4\{\theta_i\}_{i=1}^{N/4} by multiplying by the above Jacobian ∏i12sin⁡θi\prod_i\frac{1}{2}\sin\theta_i. Since this function is simple and directly differentiable, we can easily feed it into the No-U-Turn Sampler (NUTS) algorithm [39] to approximately draw samples from this distribution. NUTS is an extremely efficient extension of the Hamiltonian Monte Carlo algorithm that allows for rapid exploration of high-density regions of the target distribution. Because the true state is not diagonal in the ZZ basis, we also apply an RZR_Z gate on each qubit with uniformly randomly sampled angles {ϕi}i=1N/4\{\phi_i\}_{i=1}^{N/4}.

Numerical comparison of CRM vs. IS

Both CRM and IS have been demonstrated to significantly reduce the variance of purity estimation. For our system, in which we lack precise knowledge of the true logical state of any particular circuit, direct analytical comparisons between the methods are not possible. Before deciding which to use, we numerically compare them on noiseless simulations of our random encoding-decoding circuits, implemented in Qiskit. For each NN, we generate 10 random encodings which we use for each RZ(α)RZ(\alpha) value. We apply RZ(α)RZ(\alpha) angles α\alpha in {0,0.7,0.8,0.9,0.933,0.967,1,1.033,1.067,1.2,1.3,π}\{0, 0.7, 0.8, 0.9, 0.933, 0.967, 1, 1.033, 1.067, 1.2, 1.3, \pi\}, concentrated in the transition region. We then plug in 100 values of pp evenly spaced between 0 and 1 (inclusive) for σ(p)\sigma(p). For each, we calculate the variance of the CRM and IS estimators, using the same number of measurements and shots per measurement as in our experiments (see section V E) and scaling shot counts by the experimental mean post-selection frequencies for each (N,α)(N,\alpha) pair in section XI. We emphasize that we do not actually perform importance sampling for these calculations, as doing so is time-intensive. Rather, we compute the “weights” pIS(u)p_{IS}(u) for uniformly sampled uu. Note that the variance of our importance sampling purity estimator function XpIS\frac{X}{p_{IS}} is:

Var⁡pISXpIS=EpISX2pIS2−(EpISXpIS)2=EuniX2pIS−(EuniXpISpIS)2=EuniX2pIS−(EuniX)2.(17)\operatorname{Var}_{p_{IS}}\frac{X}{p_{IS}} = \mathbb{E}_{p_{IS}}\frac{X^2}{p_{IS}^2} - \left(\mathbb{E}_{p_{IS}}\frac{X}{p_{IS}}\right)^2 = \mathbb{E}_{\mathrm{uni}}\frac{X^2}{p_{IS}} - \left(\mathbb{E}_{\mathrm{uni}}\frac{X}{p_{IS}}p_{IS}\right)^2 = \mathbb{E}_{\mathrm{uni}}\frac{X^2}{p_{IS}} - \left(\mathbb{E}_{\mathrm{uni}}X\right)^2. \tag*{(17)}

With the weights pISp_{IS} and our uniformly sampled uu, we compute the expression in the last line as our estimator of the IS variance.2

For each α\alpha, we record the lowest-variance pp value and corresponding variance for both CRM and IS, then plot the ratio of these variances against the true state fidelity in Figure 7. We observe that for each fidelity, the ratio is typically slightly larger than or near 1 for N∈{8,12,16}N \in\{8, 12, 16\}, meaning that the IS estimators have slightly lower variances. For N=20N = 20, there is a wide range of ratios, and the advantage of IS over CRM is marginal to nonexistent. However, to keep a streamlined workflow, we use IS for our device experiments for all NN values.

CRM/IS variance ratio versus fidelity

Figure 7. Ratio of CRM vs. IS purity estimator variances plotted against the fidelity of the underlying logical state with ∣0X⟩|0_X\rangle. For each NN, 10 encodings were simulated.

Selecting the best IS approximate state

For each NN and RZ(α)RZ(\alpha) value, we compute the average F‾\overline{F}. We also compute the average best pp value for that (N,α)(N,\alpha) pairing. We then have pairs of (F‾,pbest)(\overline{F},p_{\mathrm{best}}), on which we perform linear regression separately for each NN. The results are plotted in Figure 8.

Best ansatz p value versus fidelity

Figure 8. Lowest-variance IS ansatz pp value plotted against the fidelity of the underlying logical state with ∣0X⟩|0_X\rangle.

To account for some yy-intercepts slightly exceeding 1, and to keep the experimental workflow simple, we use σ(p)\sigma(p) with p=1−0.9F‾p = 1 - 0.9\overline{F} as our approximate states for all NN. These then get fed into the NUTS algorithm.

Comparing IS to Uniform Measurements

We now compare IS using an approximate state with σ(1−0.9F‾)\sigma(1 - 0.9\overline{F}) to selecting single-qubit measurements Haar randomly. For system sizes N∈{8,12,16}N \in\{8, 12, 16\}, we randomly select 500, 500, and 50 encodings, respectively, and exactly simulate the final logical state over the 12 aforementioned α\alpha values. We then sample measurements Haar-randomly, and sample shots from each measurement, for each NN according to section V E and the post-selection frequencies in section XI. These results give us the Haar “uniform” RM estimators for Rényi-2 entropy. With the same set of measurements, we compute the simulated IS estimators. For each (N,α)(N,\alpha) pair, we plot the IS versus uniform measurement variance ratio over the set of random encodings in Figure 9. IS reduces the intra-encoding variance of the purity estimator due to finite shot counts. However, much of the total variance of the encoding-averaged means is due to inter-encoding variance (e.g., see Figure 18), which is the same for either measurement protocol. Therefore, the total variance ratio of IS to uniform measurements is not much less than 1.

IS vs. Uniform: Entanglement Entropy Total Variance Ratio

Figure 9. IS vs. uniform measurement variance ratio of the purity estimator over different simulated encodings. Shot counts approximately match the total post-selected shot counts in experiment.

Histogram of average order parameters for N = 8 and α = 1.033

(a) Histogram of S‾2(ρX)\overline{S}_2(\rho_X) values for N=8N=8, α=1.033\alpha=1.033, generated from 500 samples of 4 values in a set of 1,000 total values.

Histogram of average order parameters for N = 12 and α = 0.967

(b) Histogram of F‾\overline{F} values for N=12N=12, α=0.967\alpha=0.967, generated from 500 samples of 4 values in a set of 1,000 total values.

Histogram of average order parameters for N = 16 and α = 1.000

(c) Histogram of S‾2(ρX)\overline{S}_2(\rho_X) values for N=16N=16, α=1.000\alpha=1.000, generated from 500 samples of 4 values in a set of 200 total values.

Figure 18. Histograms of average order parameters for various (N,α)(N,\alpha) pairs, from simulated data.

These data indicate that at shot counts matching those in our experiment, IS may provide a small improvement over uniform sampling for smaller values of α\alpha. This is in accordance with the facts that 1) IS has greater variance reduction as the number of shots increases and 2) the post-selection frequency is higher at smaller α\alpha. We note that the values above 1 in Figure 9 may be spurious, due to the variance of the variance estimator being higher for simulated IS than actual IS (see section V E); we likely do not have enough post-selected shots to consistently see meaningful signal in this ratio.

Measuring Non-stabilizerness

In [2], it was shown that this model undergoes a magic phase transition, in addition to the fidelity and entanglement entropy transitions, at the same αc\alpha_c, as quantified by the second and third stabilizer Rényi entropies (SREs). We restate that the second SRE of an nn-qubit state can be written as:

M2(ρ)=−log⁡2Tr⁡(Qρ⊗4)−S2(ρ)−log⁡2d,(18)M_2(\rho)=-\log_2\operatorname{Tr}(Q\rho^{\otimes4})-S_2(\rho)-\log_2 d, \tag*{(18)}

where Q≡1d2∑P∈PnP⊗4Q\equiv\frac{1}{d^2}\sum_{P\in\mathcal{P}_n}P^{\otimes4} and d≡2nd\equiv2^n.

In [4], it was proven that there exists a randomized measurement estimator of M2M_2 involving random product Clifford measurements. Let c=⨂i=1ncic=\bigotimes_{i=1}^{n}c_i. Then

−log⁡2Tr⁡(Qρ⊗4)=−log⁡2Ec[∑s1,s2,s3,s4(−2)−∥s1⊕s2⊕s3⊕s4∥Pc(s1)Pc(s2)Pc(s3)Pc(s4)],(19)-\log_2\operatorname{Tr}(Q\rho^{\otimes4})=-\log_2\mathbb{E}_c\left[\sum_{s_1,s_2,s_3,s_4}(-2)^{-\lVert s_1\oplus s_2\oplus s_3\oplus s_4\rVert}P_c(s_1)P_c(s_2)P_c(s_3)P_c(s_4)\right], \tag*{(19)}

where ∥⋅∥\lVert\cdot\rVert denotes Hamming weight, Pc(s)≡⟨s∣cρc†∣s⟩P_c(s)\equiv\langle s|c\rho c^\dagger|s\rangle, and each cic_i is drawn uniformly from the single-qubit Clifford group. We define Wc(ρ)W_c(\rho) as the bracketed expression inside the expectation.

The single-qubit Clifford group has 24 elements. Every element acts on the Pauli basis by permuting the non-identity Paulis and flipping up to two of their signs [40]. Flipping the sign of a Pauli operator just reassigns which eigenstates are labeled +1+1 and −1-1. The RM estimator in eq. (19) depends only on the Hamming weight of a binary sum of four bit flips, and the binary sum of an even number of bit flips is 0. This leaves at most 6 distinct single-qubit Cliffords (the Pauli permutations) for this protocol. Furthermore, following the application of the random product Clifford, the device performs a ZZ measurement on each qubit. This means that permutations can only affect the protocol insofar as they map ZZ to different Paulis, leaving just 3 distinct choices of single-qubit Cliffords: namely, we select the class representatives II, HH, and HS†HS^\dagger, mapping ZZ to ZZ, XX, and YY respectively. We uniformly sample from this set for the hardware experiment.

U-statistics

The above RM estimator formulas for purity and non-stabilizerness assume access to the true probabilities Pu(s)P_u(s) for RM uu and bit string ss. In real experiments, however, we can only access the observed frequencies P^u(s)\hat{P}_u(s). Let NMN_M be the number of measurement shots for an RM uu, and let mm and m′m' refer to two particular shot indices. Both the purity and non-stabilizerness estimators are expectations of symmetric “kernel” functions over 2-tuples and 4-tuples of bit strings, respectively. The minimum-variance unbiased estimator of each quantity, given NMN_M shots, is obtained by averaging this kernel over all distinct shot tuples, which is precisely the U-statistic.

For instance, the purity “kernel” 2n(−2)−D[sm,sm′]2^n(-2)^{-D[s_m,s_{m'}]} is an unbiased estimator of Xρ(u)X_\rho(u) for an nn-qubit ρ\rho. The U-statistic of Xρ(u)X_\rho(u) given NMN_M shots is:

X^ρ(u)=2n(NM2)−1∑m,m′=1m>m′NM(−2)−D[sm,sm′].(20)\widehat{X}_\rho(u)=2^n\binom{N_M}{2}^{-1}\sum_{\substack{m,m'=1\\m>m'}}^{N_M}(-2)^{-D[s_m,s_{m'}]}. \tag*{(20)}

The non-stabilizerness U-statistic is:

W^c(ρ)=(NM4)−1∑m1,m2,m3,m4=1m1>m2>m3>m4NM(−2)−∥sm1⊕sm2⊕sm3⊕sm4∥.(21)\widehat{W}_c(\rho)=\binom{N_M}{4}^{-1}\sum_{\substack{m_1,m_2,m_3,m_4=1\\m_1>m_2>m_3>m_4}}^{N_M}(-2)^{-\lVert s_{m_1}\oplus s_{m_2}\oplus s_{m_3}\oplus s_{m_4}\rVert}. \tag*{(21)}

The entanglement entropy and stabilizer Rényi entropy values throughout this manuscript are computed via the corresponding U-statistics.

Comparison Between Averages

The specific analytic formulas in section II hold for annealed averages. However, our experimental averages are not of this form. Our fidelity averages are simple averages of the form 1NU∑i=1NUF(i)\frac{1}{N_U}\sum_{i=1}^{N_U}F^{(i)}, where F(i)F^{(i)} is the observed fidelity given the encoding UiU_i. This is an unbiased estimator of EUF(Tr⁡(ρ^U)Tr⁡(ρU))=F‾\mathbb{E}_U F\left(\frac{\operatorname{Tr}(\hat{\rho}_U)}{\operatorname{Tr}(\rho_U)}\right)=\overline{F}, the quenched average. Our estimators of S2S_2 and M2M_2 correspond to neither the quenched nor annealed averages. Since we are estimating quantities of the post-selected state and then taking the logarithm, we are introducing bias relative to the quenched average via Jensen’s inequality. Since we are not separately averaging the numerator and denominator inside the logarithm, we are not estimating the annealed average either. As discussed in [1], however, the discrepancies between our averages and the annealed averages are exponentially small, with extremely close agreement even at present experimental system sizes. We keep the tilde notation for our entanglement entropy and non-stabilizerness estimators.

Number of Randomized Measurements

Due to constraints of the quantum device platform, it was most efficient to submit circuits for a single NN at a time. To then maximize the number of shots per circuit within the platform shot limit, we allocated a budget of 300,000 shots per (N,α)(N,\alpha) pair per circuit over all randomized measurements.3

In [17], it was numerically demonstrated that, given a fixed shot budget, the optimal ratio of number of random measurements (NUN_U) to shots per random measurement (NMN_M), NUNM\frac{N_U}{N_M}, decreases exponentially in system size NN for estimating the purity of the reduced state on half of the qubits of a random pure state. Our final logical state is not Haar-random, but it is pure and random, highly dependent on the encoding circuit. We select a measurement scheme in which we decrease NUN_U and increase NMN_M as NN increases. Per-job platform limits prevent further optimization of this ratio.

It was also shown in [17] that the total shot budget NUNMN_U N_M required to achieve a fixed variance increases with system size NN. NMN_M is fixed for all α\alpha of a given NN and is applied before post-selection. The fraction of shots that are post-selected decreases with increasing α\alpha section XI. These two facts mean that our standard deviations for our entanglement entropy estimators (and empirically, non-stabilizerness estimators) increase with increasing α\alpha and NN.

NN (system size)# RMNMN_M
8407,500
12407,500
161030,000
201030,000

Table II. Entanglement entropy measurement settings for each system size.

NN (system size)# RMNMN_M
81502,000
101003,000
12803,750
14605,000
162015,000
18865,000

Table 3. Non-stabilizerness measurement settings for each system size.

Experimental Data

To restate, for each order parameter, we execute circuits with twelve α\alpha values: {0,0.7,0.8,0.9,0.933,0.967,1,1.033,1.067,1.2,1.3,π}\{0, 0.7, 0.8, 0.9, 0.933, 0.967, 1, 1.033, 1.067, 1.2, 1.3, \pi\}. For each (N,α,i)(N,\alpha,i) triple, with ii indexing the order parameter, we sample four random encodings and execute each at three ZNE levels (λ=1,3,5\lambda= 1, 3, 5). Thus, for each (N,i)(N,i) pair, we execute 144 distinct encoding-λ\lambda circuits. For fidelity measurements, the shot count per each circuit is 30,000. For entanglement entropy and non-stabilizerness, over the RM for each circuit, the shot count is 300,000.3 The total number of executed shots across all three order parameters, excluding M3 calibration jobs, is 5.0688×1085.0688 \times10^8.

We plot the raw experimental data in Figure 10. For each order parameter, the error bars and shaded regions at each (N,α)(N,\alpha) display ±1\pm1 standard error from the mean over the four encodings. Each encoding’s estimator of each parameter is generated from finite-shot, error-mitigated data, meaning that the standard error reflects both inter-encoding variance and intra-encoding variance due to finite shot counts and error-mitigation noise.

Three-panel plots of fidelity, Rényi-2 entanglement entropy, and stabilizer Rényi-2 entropy

Figure 10. Error-mitigated experimental data without normalization by α=0\alpha= 0 values. Left: Fidelity vs. angle; inset zooms in on the critical region. Center: Rényi-2 entanglement entropy S~2(ρX)\widetilde{S}_2(\rho_X) vs. α\alpha; shaded regions span one standard deviation. Right: Stabilizer Rényi-2 entropy M~2(ρX)\widetilde{M}_2(\rho_X) vs. α\alpha.

Data “Normalization”

The finite size scaling functional forms in eq. (7), eq. (8), and eq. (9) hold in the vicinity of αc\alpha_c. To avoid fitting our statistical model, described in § 3, to regions in which such forms are not expected to hold, we omit α∈{0,π}\alpha\in\{0,\pi\} data points from the model.

We do not want the decrease in fidelity as a function of NN (and corresponding increases in entanglement entropy and non-stabilizerness) to be spuriously incorporated into the critical parameter posteriors. We account for this by dividing each Fˉ\bar{F} data point by the α=0\alpha= 0 Fˉ\bar{F} at the same NN. Analogously, we subtract from each S~2\tilde{S}_2 and M~2\tilde{M}_2 point the values at α=0\alpha= 0 for the same NN. In other words, we normalize so that Fˉ\bar{F} at α=0\alpha= 0 is 1, and S~2\tilde{S}_2 and M~2\tilde{M}_2 at α=0\alpha= 0 are 0. This is effectively another layer of error mitigation. At a given NN, each α\alpha just affects the virtual RzR_z layer. The attenuation of order parameters at α=0\alpha= 0 is due to gate and readout noise that we expect to apply equally at each α\alpha, and conveniently, at α=0\alpha= 0 we know what the noiseless values of each order parameter would be. We plot the normalized order parameters in Figure 11.

Three-panel normalized plots of fidelity, Rényi-2 entanglement entropy, and stabilizer Rényi-2 entropy

Figure 11. Normalized experimental data (by α=0\alpha= 0 values). Left: Fidelity vs. angle; inset zooms in on the critical region. Center: Rényi-2 entanglement entropy S~2(ρX)\widetilde{S}_2(\rho_X) vs. α\alpha; shaded regions span one standard deviation. Right: Stabilizer Rényi-2 entropy M~2(ρX)\widetilde{M}_2(\rho_X) vs. α\alpha.

Gaussian Process Regression

Model Selection

There are multitudinous methods to extract critical parameters via finite size scaling. We have three criteria we want our model of choice to satisfy. First, we want it to yield posterior distributions for the critical parameters. Given that there is no simple hypothesis test to detect the presence of a phase transition in this system, information about the distributions of the critical parameter estimates can indirectly convey confidence about the underlying supposition of a transition. Second, since each order parameter theoretically shares the same αc\alpha_c, we want a model that allows us to jointly use all three sets of experimental data to model the finite-size scaling. Third, we want a model expressive enough to capture the behavior of the functions in eq. (7), eq. (8), and eq. (9); for instance, a low-order polynomial expansion about αc\alpha_c, as done in [41], would not suffice.

Inspired by [42], we model the phase transition jointly over the three order parameters as three separate Gaussian processes (GPs), each sharing the same αc\alpha_c and having its own ν(i)\nu^{(i)}. Monte Carlo sampling from the posteriors of the critical parameters gives information about their distributions. Sharing αc\alpha_c over the three GPs constrains our estimate of it using all of our experimental data. Finally, using a Gaussian process prior over each scaling collapse function allows us to avoid specifying a precise functional form of the scaling collapse function while constraining this function to be smooth and making inference tractable.

In the noiseless theory, each order parameter should share the same ν=1\nu= 1, as all three are functions of exp⁡[tan⁡(αc/2)N(α−αc)]\exp[\tan(\alpha_c/2)N(\alpha-\alpha_c)] near αc\alpha_c section II. We model each ν(i)\nu^{(i)} independently to account for finite-size effects. Since each order parameter is a different function of exp⁡[tan⁡(αc/2)N(α−αc)]\exp[\tan(\alpha_c/2)N(\alpha-\alpha_c)], they each have different sub-leading terms in their Taylor expansions. Our data span small values of NN, which means their apparent NN-dependence on this dataset will vary. Fixing a shared ν\nu could lead to the model accounting for this by shifting αc\alpha_c. Additionally, allowing them to differ provides a test for the theoretical model of section II: agreement between independent critical exponents is evidence for underlying universal behavior, rather than a forced assumption.

Gaussian Process Regression Details

Because our three measurements share the same critical angle αc\alpha_c, we use an explicit likelihood-based approach to finite size scaling estimation that estimates a single αc\alpha_c by pooling information across order parameter measurement outcomes Y(1)Y^{(1)}, Y(2)Y^{(2)}, and Y(3)Y^{(3)}, corresponding to fidelity, Rényi-2 entanglement entropy, and stabilizer Rényi-2 entropy respectively. Here each Y(i)\mathbf{Y}^{(i)} is a ni×10n_i \times10 matrix, where for order parameter ii, Yjk(i)Y_{jk}^{(i)} is the measurement outcome for the jjth system size and the kkth α\alpha value (≡αk\equiv\alpha_k). This requires jointly modeling the likelihood of Y(1)\mathbf{Y}^{(1)}, Y(2)\mathbf{Y}^{(2)}, and Y(3)\mathbf{Y}^{(3)} as a function of the critical angle αc\alpha_c and critical exponents ν(1)\nu^{(1)}, ν(2)\nu^{(2)}, and ν(3)\nu^{(3)}. Because our measurements of these phenomena are physically independent, we assume statistical independence of Y(1)\mathbf{Y}^{(1)}, Y(2)\mathbf{Y}^{(2)}, and Y(3)\mathbf{Y}^{(3)} conditional on the critical parameters and scaling collapse functions. That is, we assume

p(Y(1),Y(2),Y(3)∣αc,Θ)=∏i=13p(Y(i)∣αc,θ(i))p\left(\mathbf{Y}^{(1)},\mathbf{Y}^{(2)},\mathbf{Y}^{(3)} \mid\alpha_c,\Theta\right)=\prod_{i=1}^{3}p\left(\mathbf{Y}^{(i)} \mid\alpha_c,\boldsymbol{\theta}^{(i)}\right)

where Θ=(θ(1),θ(2),θ(3))\Theta= \left(\boldsymbol{\theta}^{(1)},\boldsymbol{\theta}^{(2)},\boldsymbol{\theta}^{(3)}\right), and each θ(i)=(ν(i),f(i),β(i),η(i))\boldsymbol{\theta}^{(i)} = \left(\nu^{(i)},f^{(i)},\beta^{(i)},\eta^{(i)}\right), where f(i)f^{(i)} is the scaling collapse function for observable ii, and β(i)\beta^{(i)}, η(i)\eta^{(i)} are additional parameters necessary for inference but without a physical interpretation, as explained below.

To arrive at a likelihood for the measurements of the individual observables p(Y(i)∣αc,θ(i))p\left(\mathbf{Y}^{(i)} \mid\alpha_c,\boldsymbol{\theta}^{(i)}\right), we note that our observations over system sizes NjN_j are physically independent. Letting ϕ(x;μ,σ2)\phi(x;\mu,\sigma^2) denote the density of the normal distribution with mean μ\mu and variance σ2\sigma^2 evaluated at xx, we assume

p(Y(i)∣αc,θ(i))=∏j=1ni∏k=110ϕ(Yjk(i);Mjk(i),Σjk(i))p\left(\mathbf{Y}^{(i)} \mid\alpha_c,\boldsymbol{\theta}^{(i)}\right)=\prod_{j=1}^{n_i}\prod_{k=1}^{10}\phi\left(Y_{jk}^{(i)};M_{jk}^{(i)},\Sigma_{jk}^{(i)}\right)
Mjk(i)=β(i)+f(i)((αk−αc)Nj1/ν(i))M_{jk}^{(i)}=\beta^{(i)}+f^{(i)}\left((\alpha_k-\alpha_c)N_j^{1/\nu^{(i)}}\right)
Σjk(i)=(Sjk(i))2+(η(i))2,\Sigma_{jk}^{(i)}=\left(S_{jk}^{(i)}\right)^2+\left(\eta^{(i)}\right)^2,

where β(i)\beta^{(i)} is an intercept term that shifts the location of the curve, Sjk(i)S_{jk}^{(i)} is our estimate of the empirical standard error of Yjk(i)Y_{jk}^{(i)}, and (η(i))2\left(\eta^{(i)}\right)^2 is an additional variance parameter that accounts for the fact that the scaling collapse ansatz holds only asymptotically, so even noiseless data would not fall exactly on the scaling collapse curve. Here, we have assumed a normal distribution for modeling simplicity; we provide numerical justification for this in § 3.3 B.

While the scaling collapse functions f(i)f^{(i)} have been derived theoretically in [1, 2], our present goal is to infer if the empirical data conform to these theoretical results. Thus, instead of assuming a particular functional form of the scaling collapse functions, we instead model each f(i)f^{(i)} as an unknown random variable, which allows us to reflect our a posteriori uncertainty about the form of the scaling collapse function given the observable data. As argued in [42], we expect each scaling collapse function to be smooth, and thus we assume as a prior distribution that each f(i)f^{(i)} is drawn from a mean 0 Gaussian process with a squared-exponential covariance that decays with the squared distance between scaled data points. That is, we assume

f(i)∼GP(0,C(i)(⋅,⋅))f^{(i)} \sim\mathcal{GP}\left(\mathbf{0}, C^{(i)}(\cdot,\cdot)\right)

where

C(i)(Xjk(i),Xmp(i))=(σ(i))2exp⁡(−(Xjk(i)−Xmp(i))22(ℓ(i))2)C^{(i)}\left(\mathbf{X}^{(i)}_{jk},\mathbf{X}^{(i)}_{mp}\right)=\left(\sigma^{(i)}\right)^2\exp\left(-\frac{\left(\mathbf{X}^{(i)}_{jk}-\mathbf{X}^{(i)}_{mp}\right)^2}{2\left(\ell^{(i)}\right)^2}\right)

expresses the covariance between points Xjk(i)=(αk−αc)Nj1/ν(i)\mathbf{X}^{(i)}_{jk}=(\alpha_k-\alpha_c)N_j^{1/\nu^{(i)}} and Xmp(i)=(αp−αc)Nm1/ν(i)\mathbf{X}^{(i)}_{mp}=(\alpha_p-\alpha_c)N_m^{1/\nu^{(i)}}. We further assume priors on the marginal standard deviation σ(i)\sigma^{(i)} and lengthscale ℓ(i)\ell^{(i)} for each scaling collapse function ii as well as on the critical parameters themselves as described in the appendix.

Given our measurements Y(1)\mathbf{Y}^{(1)}, Y(2)\mathbf{Y}^{(2)}, and Y(3)\mathbf{Y}^{(3)}, we wish to infer a joint posterior distribution over the scaling collapse functions f(1)f^{(1)}, f(2)f^{(2)}, and f(3)f^{(3)} together with the critical parameters αc\alpha_c, ν(1)\nu^{(1)}, ν(2)\nu^{(2)}, and ν(3)\nu^{(3)}. While the scaling collapse functions themselves are infinite-dimensional objects, practically we must restrict our sampling over the posterior to a finite set of points. Since each Gaussian process enters the likelihood only through its values at the observed scaled locations X(i)\mathbf{X}^{(i)}, we choose to evaluate the posteriors over the scaling collapse functions only at the ni×10n_i \times10 matrices F(i)\mathbf{F}^{(i)}, where

Fjk(i)=f(i)(Xjk(i)).F^{(i)}_{jk}=f^{(i)}\left(X^{(i)}_{jk}\right).

While the resulting posterior is analytically intractable, we draw approximate samples from it using the No-U-Turn Sampler [39]. Additional details on the Gaussian process are given in the appendix, along with Table IV that describes the notation of this section.

SymbolTypeDescription
Indices and data
iiindexObservable label, i∈{1,2,3}i \in\{1,2,3\}
jjindexSystem-size label, j∈{1,…,ni}j \in\{1,\ldots,n_i\}
kkindexAngle-value label, k∈{1,…,10}k \in\{1,\ldots,10\}
nin_iintegerNumber of system sizes available for observable ii
NjN_jscalarLinear system size for row jj
Y(i)\mathbf{Y}^{(i)}ni×10n_i \times10 matrixMeasured outcomes for observable ii
Yjk(i)Y_{jk}^{(i)}scalarMeasurement at system size jj, angle kk
αk\alpha_kscalarkkth angle value on the (shared) grid, excluding 00 and π\pi
Sjk(i)S_{jk}^{(i)}scalarEmpirical standard error of Yjk(i)Y_{jk}^{(i)}
Critical parameters (of physical interest)
αc\alpha_cscalarCritical angle, shared across all observables
ν(i)\nu^{(i)}scalarCritical exponent for observable ii
c(i)c^{(i)}scalarSampled reparametrization of the exponent, c(i)=1/ν(i)c^{(i)}=1/\nu^{(i)}
Scaling-collapse functions
f(i)f^{(i)}functionScaling-collapse function for observable ii
Xjk(i)X_{jk}^{(i)}scalarScaled coordinate (αk−αc)Nj1/ν(i)(\alpha_k-\alpha_c)N_j^{1/\nu^{(i)}}
F(i)\mathbf{F}^{(i)}ni×10n_i \times10 matrixValues of f(i)(Xjk(i))f^{(i)}(X_{jk}^{(i)})
F⃗(i)\vec{\mathbf{F}}^{(i)}length 10ni10n_i vectorValues of F(i)\mathbf{F}^{(i)} stacked by column
Likelihood
Mjk(i)M_{jk}^{(i)}scalarLikelihood mean, β(i)+Fjk(i)\beta^{(i)}+\mathbf{F}_{jk}^{(i)}
Σjk(i)\Sigma_{jk}^{(i)}scalarLikelihood variance, (Sjk(i))2+(η(i))2(S_{jk}^{(i)})^2+(\eta^{(i)})^2
θ(i)\theta^{(i)}collectionParameters for observable ii, (ν(i),f(i),β(i),η(i))(\nu^{(i)},f^{(i)},\beta^{(i)},\eta^{(i)})
Θ\ThetacollectionAll observables’ parameters, (θ(1),θ(2),θ(3))(\theta^{(1)},\theta^{(2)},\theta^{(3)})
Nuisance hyper-parameters
β(i)\beta^{(i)}scalarIntercept shifting the collapse curve vertically
η(i)\eta^{(i)}scalarExcess-noise std. dev.
σ(i)\sigma^{(i)}scalarGP marginal standard deviation
ℓ(i)\ell^{(i)}scalarGP lengthscale
C(i)\mathbf{C}^{(i)}functionGP kernel for observable ii
C~(i)\widetilde{\mathbf{C}}^{(i)}10ni×10ni10n_i \times10n_i matrixCovariance of F⃗(i)\vec{\mathbf{F}}^{(i)} induced by C(i)\mathbf{C}^{(i)}

Table IV. Summary of symbols used in the finite-size-scaling model.

GP Regression Results and Evidence for Phase Transition

We display histograms of the critical parameter posteriors in Figure 12. The critical angle distribution αc\alpha_c is concentrated tightly around 1.011, indicating the model is “confident” about that value. The relative variance of the posteriors increases from αc\alpha_c to ν(3)\nu^{(3)}. This behavior is expected. Each order parameter tightens the estimate of the shared parameter αc\alpha_c. Furthermore, fidelity, entanglement entropy, and non-stabilizerness depend on ascending moments of the underlying state ρX\rho_X, with each successive order parameter thereby requiring more measurement shots to achieve the same relative variance. Our experimental data reflect our constrained shot budget, providing greater confidence for lower-moment order-parameter critical exponents.

Histograms reflecting posteriors of the critical parameters

Figure 12. Histograms reflecting posteriors of the critical parameters αc\alpha_c, ν(1)\nu^{(1)} (fidelity), ν(2)\nu^{(2)} (entanglement entropy), ν(3)\nu^{(3)} (non-stabilizerness). Each is generated from 1,000 samples.

In Figure 13, we display the joint posteriors for each of the three order parameters. For each, the semi-major and semi-minor axes of the high-density ellipses are reasonably well-aligned with the critical parameter axes, indicating that the values of αc\alpha_c and ν(i)\nu^{(i)} are not strongly correlated for any ii. This implies that our model is not spuriously constraining αc\alpha_c to account for underdetermined critical exponents.

Joint posteriors of critical parameters

Figure 13. (a) Joint posterior of αc\alpha_c and ν(1)\nu^{(1)} for the F‾\overline{F} transition. (b) Joint posterior of αc\alpha_c and ν(2)\nu^{(2)} for the S~2(ρX)\widetilde{S}_2(\rho_X) transition. (c) Joint posterior of αc\alpha_c and ν(3)\nu^{(3)} for the M~2(ρX)\widetilde{M}_2(\rho_X) transition. Joint posteriors of αc\alpha_c and critical exponent for each of the three order parameters.

We plot the scaled data collapses in Figure 14. The black curves are the GP means at each scaled coordinate. In each plot, the largest-NN points exhibit the biggest deviations from the GP curves. This is less a reflection of parameter drift in NN than of the fact that raw data variances grow strongly in NN. Since the total shot budget per (N,α)(N,\alpha) pair is fixed and the post-selection probability decays strongly in NN seen XI, the total number of post-selected shots also decays strongly in NN, and the variance thereby increases. The GP “penalizes” deviations at low-variance points more, so it is expected that the largest deviations in the scaled collapse curves correspond to the highest-variance data.

Scaling collapses for experimental data of all three order parameters

Figure 14. Scaling collapses for experimental data of all three order parameters.

Analysis of Critical Parameters

We observe a deviation in αc\alpha_c between the posterior in Figure 12 and the theoretical result in section II. It has two main potential sources: first, differences between our random circuit ensemble and the Haar measure, and second, real device noise. To accurately determine the extent to which each source explains the discrepancy, we look to the simulated data in fig. 5. Plugging the simulated data into a joint Gaussian process regression for fidelity and entanglement entropy, using the same priors as the experimental data model, yields the posteriors in Figure 15. The simulated αc\alpha_c falls very close to the experimental αc\alpha_c, with overlapping 95% credible intervals. Both ν(1)\nu^{(1)} estimates fall near 1, and the ν(2)\nu^{(2)} 95% credible intervals overlap. These results indicate that after error mitigation, real device noise does not substantially shift the critical parameters.

Histograms reflecting posteriors of the critical parameters

Figure 15. Histograms reflecting posteriors of the critical parameters αc\alpha_c, ν(1)\nu^{(1)} (fidelity), ν(2)\nu^{(2)} (entanglement entropy) from simulated data. Each is generated from 1,000 samples.

The circuit ensemble therefore seems to account for the lower αc\alpha_c. This has a clear intuitive explanation: at low NN values, our circuits use a limited single-qubit gate family and are not deep enough to be truly Haar-random, thereby generally scrambling information less strongly. Information scrambling counteracts the effect of local noise in this system, so less scrambling leads to a lower threshold at which noise destroys information recoverability, corresponding to a lower critical angle.

In the absence of an obvious hypothesis test for the existence of a phase transition in our experiment, the above results provide evidence for one. The Gaussian process does indeed assume the form of the scaling ansatz O(i)=f(N1/ν(i)(α−αc))O^{(i)}=f\left(N^{1/\nu^{(i)}}(\alpha-\alpha_c)\right). However, the visual collapse of the experimental data in Figure 14 onto roughly single curves, the agreement between the critical-parameter posteriors of simulated and experimental data, and the tightness of the posterior distributions are all phenomena that would not be expected to manifest in the absence of transition-like behavior. These jointly lend credence to the ansatz itself and thereby to the existence of a transition in our circuit ensemble.

Effect of Error Mitigation on Phase Transition Observation

We have seen in section IV that error mitigation substantially increases the logical state fidelity at α=0\alpha= 0. We now see that error mitigation is crucial for observing the error-resilience transition at all.

To demonstrate this, we take unmitigated experimental data, apply to them the same “normalization” as described in section VI A, and input them into the same Gaussian process model as the mitigated data. The individual posteriors are plotted in Figure 16, and the joint posteriors for each order parameter are plotted in Figure 17.

Histograms reflecting posteriors of the critical parameters

Figure 16. Histograms reflecting posteriors of the critical parameters αc\alpha_c, ν(1)\nu^{(1)} (fidelity), ν(2)\nu^{(2)} (entanglement entropy), ν(3)\nu^{(3)} (non-stabilizerness) from unmitigated experimental data. Each is generated from 1,000 samples.

Joint posteriors of $\alpha_c$ and critical exponent for each of the three order parameters

Figure 17. Joint posteriors of αc\alpha_c and critical exponent for each of the three order parameters using unmitigated experimental data.

The model is unable to accurately identify αc\alpha_c, and its mean deviates strongly from both simulated and error-mitigated results. The αc\alpha_c credible interval is far wider as well, indicating the model’s inability to constrain the parameter. The relative lack of confidence in ν(1)\nu^{(1)} compared to ν(2)\nu^{(2)} and ν(3)\nu^{(3)}, even though there are far more fidelity data than there are for other order parameters, indicates the model is struggling to jointly fit the critical parameters. This is further evident in the joint posterior plots of Figure 17, whose noticeably diagonal high-density regions for each order parameter indicate the model is determining αc\alpha_c to constrain the underdetermined critical exponents. Overall, these observations point to a poor fit and do not give credence to genuine critical behavior.

One possible objection is that the model priors are to blame for these posteriors. However, the strong consistency in αc\alpha_c between the simulated and error-mitigated data, and visual consistency of the order parameter plots with αc\alpha_c, indicates that the priors are set reasonably. It appears far more likely that error mitigation allows the statistical model to accurately identify the critical behavior. We have accounted for NN-dependent noise in offsetting by the α=0\alpha= 0 order parameter values, but the effects of device noise display an α\alpha-dependence that grows more pernicious as NN increases, leading larger-NN curves to steepen in the critical region more quickly than smaller ones. Intuitively device noise both affects baseline fidelity, entropy, and non-stabilizerness, while also reducing the error-resilience of the circuit ensembles, phenomena that intensify as NN increases. This prevents the order-parameter curves from crossing at the critical point, as described in section II (F‾=1/2\overline{F} = 1/2, S~2(ρX1)=2\widetilde{S}_2(\rho_{X_1}) = 2, M~2(ρ)=4\widetilde{M}_2(\rho) = 4). Error mitigation ameliorates some of this, bringing the observed curves closer together in the critical region.

Scaling collapse for the normalized fidelity

Figure 14a. Scaling collapse for the normalized fidelity.

Scaling collapse for shifted Rényi-2 entanglement entropy

Figure 14b. Scaling collapse for shifted Rényi-2 entanglement entropy.

Scaling collapse for shifted stabilizer Rényi-2 entropy

Figure 14c. Scaling collapse for shifted stabilizer Rényi-2 entropy.

Evidence for Observation of Phase Transition

We now summarize the evidence that our experiment displays signatures of the error-resilience phase transition. First, we have a strong prior expectation that our hardware circuits would display such critical behavior. The theoretical model in section II has an error-resilience transition, and our experimental, “approximate” circuit model section III displays similar behavior, appearing to converge to the same αc\alpha_c as N→∞N \to\infty. The experimental question is whether or not device noise undermines this phenomenon.

Our foremost experimental evidence is the set of plots in Figure 11. The fidelity and entanglement entropy plots both display behavior expected for finite-sized circuit ensembles whose large-NN behavior displays the transition in section II, while the statistically much noisier nonstabilizerness plot is consistent with it. Namely, we see plots of ascending NN values roughly crossing each other at similar α\alpha values, as expected via section II and section III.

We classically simulate the noiseless transition using the same circuit ensemble as our device experiments. We then pass our classical simulation data, error-mitigated experimental data, and unmitigated experimental data through the same statistical model. We observe that the

simulated and error-mitigated experimental data yield similar effective αc\alpha_c and ν(1)\nu^{(1)} values. This provides numerical evidence that the error-mitigated experimental data captures the predicted transition. The shape of the marginal (αc,ν)(\alpha_c, \nu) posteriors further bolsters our confidence in the statistical fit, as it indicates that the model is able to fairly independently constrain the parameter without them compensating against each other. Independence reflects the model’s capacity to precisely pinpoint the critical behavior rather than forcing the ansatz to hold by trading off values in a degenerate parameter space.

One may object that the above evidence presupposes the validity of the finite-size scaling ansatz and priors of the GP model. The unmitigated experimental data addresses this concern by acting as a sort of negative control. By a wide margin, it fails to converge to posteriors matching the simulated data, indicating that our model does not “force” the effective critical parameters to the simulated values.

We reiterate that the effective αc\alpha_c we observe experimentally differs from the αc\alpha_c in the Haar-random model of section II and the likely large-NN αc\alpha_c of our experimentally implemented circuit ensemble. We believe that this ensemble approaches the behavior of the Haar-random model as NN increases, which the simulations seem to indicate. However, our observed αc\alpha_c reflects the behavior of this ensemble at small NN values, consistent with simulation. Thus, while not capturing the exact αc\alpha_c of thermodynamic limit, our experiments display empirical signatures of the transition.

Conclusion

In this work, we have demonstrated the first experimental observation of the error-resilience phase transition in noisy encoding-decoding circuits described in [1, 2]. Using IBM’s ibm-pittsburgh Heron r3 device, we have measured fidelity, entanglement entropy, and non-stabilizerness in systems of up to N=26N = 26 qubits. Detecting meaningful signal in the latter two quantities has required the use of single-copy randomized measurement protocols, variance reduction methods, and large shot budgets. This experimental overhead allows our Gaussian process model to identify critical parameters for finite-size scaling data collapse.

We observe a critical angle αc∼1.01\alpha_c \sim1.01 as opposed to the Haar-random αc≈1.14\alpha_c \approx1.14. To understand this deviation, we simulate noiseless encoding-decoding circuits from the same random circuit ensemble as in our experiments and input the data into the same Gaussian process regression. The simulated data yields αc≈1.05\alpha_c \approx1.05, indicating close agreement between simulation and experiment.

This locates the source of the deviation in the encoding circuit ensemble, which generates circuits not deep enough to truly be Haar-random, which thereby scramble less and are less noise-resilient. With error mitigation, transition is therefore seen to be robust enough to persist in spite of real device noise.

We also see that our use of the error mitigation methods ZNE and M3 is essential for detecting critical behavior. The Gaussian process regression applied to unmitigated experimental data gives critical parameter posteriors that are highly correlated and inconsistent with the observed order parameter curves, indicating a failure to identify criticality.

Our model most tightly constrains the fidelity critical parameters, followed by entanglement entropy, then non-stabilizerness. As order parameters depend on increasing moments nn of the state (ρXn)(\rho_X^n), a greater experimental budget is required to constrain their critical parameters. Across all three, our data are consistent with and informative about the same error-resilience transition. However, to further constrain the critical parameters given a finite resource budget, further refinement of the techniques used in this work is required. For instance, strategically allocating our total shot budget across all three order parameters could increase our credence in the overall error-resilience transition. Furthermore, more precise optimization over the tradeoff between number of random measurements and shots per measurement, as well as better approximate state ansätze, could significantly reduce the variance of our estimators.

Nonetheless, the suite of techniques deployed in conjunction can inform experimental design and data processing for the observation of critical phenomena on NISQ-era devices. We incorporate experimental data into our variance reduction method scalably, apply error mitigation, employ a statistical model that allows joint finite-size scaling collapse across order parameters, and benchmark our results against simulation and raw data. These methods extend easily to the investigation of other information-theoretic phase transitions, enabling more extensive experiments on NISQ-era devices.

Appendix - GP

Model Specification

While the scaling collapse functions f(1)f^{(1)}, f(2)f^{(2)}, and f(3)f^{(3)} are infinite-dimensional objects, the likelihood of our observables only depends upon the values of these functions at the finite set of points for which we observe the (scaled) data. Collecting these values into the ni×10n_i \times10 matrices F(i)\mathbf{F}^{(i)} with Fjk(i)=f(i)(Xjk(i))F_{jk}^{(i)} = f^{(i)}(\mathbf{X}_{jk}^{(i)}), and writing F⃗(i)=vec⁡(F(i))\vec{\mathbf{F}}^{(i)} = \operatorname{vec}(\mathbf{F}^{(i)}) for the vector obtained by stacking the entries of F(i)\mathbf{F}^{(i)} by column, we can equivalently write our model as

Yjk(i)∣Mjk(i),Σjk(i)∼N(Mjk(i),Σjk(i))Y_{jk}^{(i)} \mid M_{jk}^{(i)}, \Sigma_{jk}^{(i)} \sim\mathcal{N}\left(M_{jk}^{(i)}, \Sigma_{jk}^{(i)}\right)
Mjk(i)=β(i)+Fjk(i)M_{jk}^{(i)} = \beta^{(i)} + F_{jk}^{(i)}
Σjk(i)=(Sjk(i))2+(η(i))2\Sigma_{jk}^{(i)} = \left(S_{jk}^{(i)}\right)^2 + \left(\eta^{(i)}\right)^2
F⃗(i)∣C~(i)∼N(0,C~(i)),\vec{\mathbf{F}}^{(i)} \mid\widetilde{\mathbf{C}}^{(i)} \sim\mathcal{N}\left(0,\widetilde{\mathbf{C}}^{(i)}\right),
C~(jk),(mp)(i)=(σ(i))2exp⁡(−(Xjk(i)−Xmp(i))22(ℓ(i))2),\widetilde{C}_{(jk),(mp)}^{(i)} = \left(\sigma^{(i)}\right)^2 \exp\left(-\frac{\left(X_{jk}^{(i)}-X_{mp}^{(i)}\right)^2}{2\left(\ell^{(i)}\right)^2}\right),
Xjk(i)=(αk−αc)Nj1/ν(i),X_{jk}^{(i)} = \left(\alpha_k-\alpha_c\right)N_j^{1/\nu^{(i)}},
β(1),β(2),β(3)∼p(β(i)),\beta^{(1)},\beta^{(2)},\beta^{(3)} \sim p\left(\beta^{(i)}\right),
σ(1),σ(2),σ(3)∼p(σ(i)),\sigma^{(1)},\sigma^{(2)},\sigma^{(3)} \sim p\left(\sigma^{(i)}\right),
ℓ(1),ℓ(2),ℓ(3)∼p(ℓ(i)),\ell^{(1)},\ell^{(2)},\ell^{(3)} \sim p\left(\ell^{(i)}\right),
η(1),η(2),η(3)∼p(η(i)),\eta^{(1)},\eta^{(2)},\eta^{(3)} \sim p\left(\eta^{(i)}\right),
c(i)=1/ν(i)c^{(i)} = 1/\nu^{(i)}
c(1),c(2),c(3)∼p(c(i)),c^{(1)},c^{(2)},c^{(3)} \sim p\left(c^{(i)}\right),
αc∼p(αc),\alpha_c \sim p(\alpha_c),

where the priors for each of these terms are specified in tbl:5.

Numerics for Model Normality Assumption

In § 3 B, we explain that our model assumes observed data are normally distributed about the GP mean at each scaled data point. We state that we make this assumption for modeling simplicity. Here, we provide some numerical evidence that this assumption approximately holds.

We simulate circuits of 1,000 encoding unitaries for N=8N = 8, 1,000 for N=12N = 12, and 200 for N=16N = 16, with the 10 α\alpha values excluding 00, π\pi. For each, we compute the true FF and S2(ρX)S_2(\rho_X). Then, for each (N,α)(N,\alpha) pair, we randomly select 4 values and average them, matching what we implemented experimentally. Repeating this averaging 500 times for each NN gives histograms of FF and S2(ρX)S_2(\rho_X) whose distributions approximate the expected distributions of our experimental data. We plot some representative histograms in Figure 18. Each looks roughly normally distributed, indicating our assumption is reasonably accurate in addition to simple for modeling purposes.

Appendix - Post-selection Frequency

It is reasonable to wonder what shot overhead this protocol has, even within the EPP. In other words, for a given (N,α)(N,\alpha), what is the probability that the ancillary measurement returns ∣0X⟩\lvert0_X\rangle? The first derive this analytically for the model in section II then compare with experimental data. We see that the post-selection probabilities falls exponentially in NN, and the experimental data aligns closely with the theory.

For generic E\mathcal{E} and U\mathcal{U}, the post-selection probability ppp_p is

pp=Tr⁡[(IX⊗∣0X⟩⟨0X∣)U†E⊗NU(∣0X⟩⟨0X∣⊗∣0X⟩⟨0X∣)].(22)p_p = \operatorname{Tr}\left[\left(I_X \otimes\lvert0_X\rangle\langle0_X\rvert\right)\mathcal{U}^{\dagger}\mathcal{E}^{\otimes N}\mathcal{U}\left(\lvert0_X\rangle\langle0_X\rvert\otimes\lvert0_X\rangle\langle0_X\rvert\right)\right]. \tag*{(22)}

Expanding with E(⋅)=∑iKi(⋅)Ki†\mathcal{E}(\cdot)=\sum_i K_i(\cdot)K_i^\dagger gives:

pp=Tr⁡[(IX⊗∣0X⟩⟨0X∣)∑iU†KiU(∣0X⟩⟨0X∣⊗∣0X⟩⟨0X∣)U†Ki†U].(23)p_p=\operatorname{Tr}\left[\left(\mathbb{I}_X\otimes\lvert0_X\rangle\langle0_X\rvert\right)\sum_i U^\dagger K_i U\left(\lvert0_X\rangle\langle0_X\rvert\otimes\lvert0_X\rangle\langle0_X\rvert\right)U^\dagger K_i^\dagger U\right]. \tag*{(23)}
ParameterDescriptionSupportPrior
Shared critical parameter
αc\alpha_cCritical angle (shared)R\mathbb{R}N(1,0.52)\mathcal{N}(1, 0.5^2)
Critical exponents (c(i)=1/ν(i)c^{(i)} = 1/\nu^{(i)})
c(1)c^{(1)}Fidelity exponent[0.1,3][0.1, 3]N[0.1,3](0.75,0.52)\mathcal{N}_{[0.1,3]}(0.75, 0.5^2)
c(2)c^{(2)}Entropy exponent[0.1,3][0.1, 3]N[0.1,3](0.75,0.52)\mathcal{N}_{[0.1,3]}(0.75, 0.5^2)
c(3)c^{(3)}Magic exponent[0.1,3][0.1, 3]N[0.1,3](0.75,0.52)\mathcal{N}_{[0.1,3]}(0.75, 0.5^2)
Curve intercepts
β(1)\beta^{(1)}Fidelity interceptR\mathbb{R}N(0.5,0.52)\mathcal{N}(0.5, 0.5^2)
β(2)\beta^{(2)}Entropy interceptR\mathbb{R}N(1,22)\mathcal{N}(1, 2^2)
β(3)\beta^{(3)}Magic interceptR\mathbb{R}N(1,22)\mathcal{N}(1, 2^2)
GP marginal standard deviation
σ(1)\sigma^{(1)}Fidelity GP amplitude(10−3,∞)(10^{-3}, \infty)N+(0,0.52)\mathcal{N}^{+}(0, 0.5^2)
σ(2)\sigma^{(2)}Entropy GP amplitude(10−3,∞)(10^{-3}, \infty)N+(0,22)\mathcal{N}^{+}(0, 2^2)
σ(3)\sigma^{(3)}Magic GP amplitude(10−3,∞)(10^{-3}, \infty)N+(0,22)\mathcal{N}^{+}(0, 2^2)
GP lengthscale
ℓ(1)\ell^{(1)}Fidelity GP lengthscale(0,∞)(0, \infty)LogNormal⁡(0,1)\operatorname{LogNormal}(0, 1)
ℓ(2)\ell^{(2)}Entropy GP lengthscale(0,∞)(0, \infty)LogNormal⁡(0,1)\operatorname{LogNormal}(0, 1)
ℓ(3)\ell^{(3)}Magic GP lengthscale(0,∞)(0, \infty)LogNormal⁡(0,1)\operatorname{LogNormal}(0, 1)
Excess (unmodeled) noise
η(1)\eta^{(1)}Fidelity nugget (std. dev.)(0,∞)(0, \infty)N+(0,0.52)\mathcal{N}^{+}(0, 0.5^2)
η(2)\eta^{(2)}Entropy nugget (std. dev.)(0,∞)(0, \infty)N+(0,1)\mathcal{N}^{+}(0, 1)
η(3)\eta^{(3)}Magic nugget (std. dev.)(0,∞)(0, \infty)N+(0,1)\mathcal{N}^{+}(0, 1)

Table V. TABLE V: Prior distributions for all model parameters. The index i∈{1,2,3}i \in\{1, 2, 3\} runs over the three observables (fidelity, Rényi-2 entanglement entropy, stabilizer Rényi-2 entropy). N(μ,σ2)\mathcal{N}(\mu, \sigma^2) denotes a normal distribution; N+\mathcal{N}^{+} a half-normal (a normal truncated to the positive half-line, further restricted to the support listed); N[a,b]\mathcal{N}_{[a,b]} a normal truncated to [a,b][a,b]; LogNormal⁡(μ,σ2)\operatorname{LogNormal}(\mu, \sigma^2) a log-normal whose logarithm has mean μ\mu and variance σ2\sigma^2.

Using the swap trick yields:

pp=∑iTr⁡[SU†⊗2Ki⊗Ki†U⊗2(∣0X⟩⟨0X∣⊗∣0X‾⟩⟨0X‾∣)⊗(IX⊗∣0X‾⟩⟨0X‾∣)].(24)p_p = \sum_i \operatorname{Tr}\left[S U^{\dagger\otimes2} K_i \otimes K_i^\dagger U^{\otimes2} \left(\lvert0_X\rangle\langle0_X\rvert\otimes\lvert0_{\overline{X}}\rangle\langle0_{\overline{X}}\rvert\right) \otimes\left(I_X \otimes\lvert0_{\overline{X}}\rangle\langle0_{\overline{X}}\rvert\right)\right]. \tag*{(24)}

where SS is the swap between HX⊗HX‾\mathcal{H}_X \otimes\mathcal{H}_{\overline{X}} and a second copy of the Hilbert space, HX′⊗HX′‾\mathcal{H}_{X'} \otimes\mathcal{H}_{\overline{X'}}. Now, to get pp‾\overline{p_p}, we can take the Haar average (see, e.g. [43]), which projects onto 1+S2\frac{1+S}{2} and 1−S2\frac{1-S}{2}:

EU(U†⊗2Ki⊗Ki†U⊗2)=12[∣Tr⁡(Ki)∣2+Tr⁡(KiKi†)]1+Sd(d+1)+12[Tr⁡(Ki)2−Tr⁡(KiKi†)]1−Sd(d−1).(25)\mathbb{E}_U\left(U^{\dagger\otimes2}K_i\otimes K_i^\dagger U^{\otimes2}\right)=\frac{1}{2}\left[\lvert\operatorname{Tr}(K_i)\rvert^2+\operatorname{Tr}(K_iK_i^\dagger)\right]\frac{1+S}{d(d+1)}+\frac{1}{2}\left[\operatorname{Tr}(K_i)^2-\operatorname{Tr}(K_iK_i^\dagger)\right]\frac{1-S}{d(d-1)}. \tag*{(25)}

where d≡2Nd \equiv2^N. In the model, Ki=∏je−iZjα/2K_i=\prod_j e^{-iZ_j\alpha/2}, meaning Tr⁡(KiKi†)=Tr⁡(I)=d\operatorname{Tr}(K_iK_i^\dagger)=\operatorname{Tr}(I)=d and Ki=∏jcos⁡(α/2)I+isin⁡(α/2)ZjK_i=\prod_j\cos(\alpha/2)I+i\sin(\alpha/2)Z_j, so that Tr⁡(Ki)2=d2cos⁡2N(α/2)\operatorname{Tr}(K_i)^2=d^2\cos^{2N}(\alpha/2). Plugging this back into eq. (24) and simplifying gives:

pp‾(N,α)=(d3/2−1)+(d2−d3/2)cos⁡2N(α/2)d2−1.(26)\overline{p_p}(N,\alpha)=\frac{(d^{3/2}-1)+(d^2-d^{3/2})\cos^{2N}(\alpha/2)}{d^2-1}. \tag*{(26)}

The dashed lines in Figure 19 plot this function for the NN we experimentally run fidelity experiments over. The experimental and theoretical probabilities closely match.

Post-Selection Acceptance Rate vs. $\alpha$ (Mitigated)

Figure 19. Solid lines) Experimental frequency of observing ∣0Xˉ⟩\lvert0_{\bar{X}}\rangle in ancilla measurement Dashed) Theoretical probability of same outcome for model in section II.

References

References

  1. [1]Xhek Turkeshi and Piotr Sierant. Error-resilience phase transitions in encoding-decoding quantum circuits. Phys. Rev. Lett., 132:140401, Apr 2024.DOI
  2. [2]Piotr Sierant and Xhek Turkeshi. Theory of magic phase transitions in encoding-decoding circuits, 2026.arxiv.org/abs/2603.00235
  3. [3]Frank Verstraete, Michael M. Wolf, and J. Ignacio Cirac. Quantum computation and quantum-state engineering driven by dissipation. Nature Physics, 5(9):633–636, 2009.DOI
  4. [4]Lorenzo Leone, Salvatore F. E. Oliviero, and Aloscia Hamma. Stabilizer rényi entropy. Phys. Rev. Lett., 128:050402, Feb 2022.
  5. [5]Fabio Benatti, Roberto Floreanini, and Marco Piani. Environment induced entanglement in markovian dissipative dynamics. Phys. Rev. Lett., 91:070402, Aug 2003.DOI
  6. [6]Cristiano Muzzi, Mikheil Tsitsishvili, and Giuliano Chiriacò. Entanglement enhancement induced by noise in inhomogeneously monitored systems. Phys. Rev. B, 111:014312, Jan 2025.DOI
  7. [7]Fabian Ballar Trigueros and José Antonio Marín Guzmán. Nonstabilizerness and error resilience in noisy quantum circuits. Phys. Rev. Lett., May 2026.DOI
  8. [8]Daniel A. Roberts and Beni Yoshida. Chaos and complexity by design. Journal of High Energy Physics, 2017(04):121, 2017.DOI
  9. [9]Patrick Hayden and John Preskill. Black holes as mirrors: quantum information in random subsystems. Journal of High Energy Physics, 2007(09):120, 2007.
  10. [10]Yasuhiro Sekino and Leonard Susskind. Fast scramblers. Journal of High Energy Physics, 2008(10):065, 2008.
  11. [11]Peter W. Shor. Scheme for reducing decoherence in quantum computer memory. 52(4):R2493–R2496, October 1995.pubmed.ncbi.nlm.nih.gov/9912632
  12. [12]A. M. Steane. Error correcting codes in quantum theory. Phys. Rev. Lett., 77(5):793–797, 07 1996.pubmed.ncbi.nlm.nih.gov/10062908
  13. [13]D.A. Lidar and T.A. Brun, editors. Quantum Error Correction. Cambridge University Press, Cambridge, UK, 2013.
  14. [14]Emanuel Knill. Approximation by quantum circuits. Technical Report LAUR-95-2225, Los Alamos National Laboratory, 1995. arXiv:quant-ph/9508006.arxiv.org/abs/quant-ph/9508006
  15. [15]Andreas Elben, Steven T. Flammia, Hsin-Yuan Huang, Richard Kueng, John Preskill, Benoît Vermersch, and Peter Zoller. The randomized measurement toolbox. Nature Reviews Physics, 5(1):9–24, 2023.
  16. [16]A. Elben, B. Vermersch, C. F. Roos, and P. Zoller. Statistical correlations between locally randomized measurements: A toolbox for probing entanglement in many-body quantum states. Phys. Rev. A, 99:052323, May 2019.DOI
  17. [17]Tiff Brydges, Andreas Elben, Petar Jurcevic, Benoît Vermersch, Christine Maier, Ben P. Lanyon, Peter Zoller, Rainer Blatt, and Christian F. Roos. Probing rényi entanglement entropy via randomized measurements. Science, 364(6437):260–263, 2019.DOI
  18. [18]Salvatore F. E. Oliviero, Lorenzo Leone, Alioscia Hamma, and Seth Lloyd. Measuring magic on a quantum processor. npj Quantum Information, 8(1):148, 2022.
  19. [19]Tobias Haug and Lorenzo Piroli. Stabilizer entropies and nonstabilizerness monotones. Quantum, 7:1092, August 2023.
  20. [20]Lorenzo Leone and Lennart Bittel. Stabilizer entropies are monotones for magic-state resource theory. Phys. Rev. A, 110:L040403, Oct 2024.
  21. [21]Tobias Haug, Soovin Lee, and M. S. Kim. Efficient quantum algorithms for stabilizer entropies. Phys. Rev. Lett., 132:240602, Jun 2024.DOI
  22. [22]Poetri Sonya Tarabunga, Emanuele Tirrito, Titas Chanda, and Marcello Dalmonte. Many-body magic via pauli-markov chains—from criticality to gauge theories. PRX Quantum, 4:040317, Oct 2023.DOI
  23. [23]Guglielmo Lami and Mario Collura. Nonstabilizerness via perfect pauli sampling of matrix product states. Phys. Rev. Lett., 131:180401, Oct 2023.DOI
  24. [24]Salvatore F. E. Oliviero, Lorenzo Leone, and Alioscia Hamma. Magic-state resource theory for the ground state of the transverse-field ising model. Phys. Rev. A, 106:042426, Oct 2022.DOI
  25. [25]ChunJun Cao, Gong Cheng, Alioscia Hamma, Lorenzo Leone, William Munizzi, and Salvatore F.E. Oliviero. Gravitational backreaction is magical. PRX Quantum, 6:040375, Dec 2025.
  26. [26]Martina Frau, Poetri Sonya Tarabunga, Mario Collura, Emanuele Tirrito, and Marcello Dalmonte. Stabilizer disentangling of conformal field theories. SciPost Phys., 18(5):165, 2025.DOI
  27. [27]Pedro R. N. Nıcı́cio Falcão, Poetri Sonya Tarabunga, Martina Frau, Emanuele Tirrito, Jakub Zakrzewski, and Marcello Dalmonte. Nonstabilizerness in u(1) lattice gauge theory. Phys. Rev. B, 111:L081102, Feb 2025.DOI
  28. [28]Barbara Jasser, Johan Odavić, and Alioscia Hamma. Stabilizer entropy and entanglement complexity in the sachdev-ye-kitaev model. Phys. Rev. B, 112:174204, Nov 2025.DOI
  29. [29]Ryan Smith, Zlatko Papić, and Andrew Hallam. Nonstabilizerness in kinetically constrained rydberg atom arrays. Phys. Rev. B, 111:245148, Jun 2025.DOI
  30. [30]Jonas Haferkamp. Random quantum circuits are approximate unitary t-designs in depth O (nt^{5+o(1)}). Quantum, 6:795, September 2022.DOI
  31. [31]IBM Quantum. Compute resources: ibm_pittsburgh. https://quantum.cloud.ibm.com/computers?system=ibm_pittsburgh. Accessed 16 June 2026.
  32. [32]David C. McKay, Christopher J. Wood, Sarah Sheldon, Jerry M. Chow, and Jay M. Gambetta. Efficient z gates for quantum computing. Phys. Rev. A, 96:022330, Aug 2017.DOI
  33. [33]Kristan Temme, Sergey Bravyi, and Jay M. Gambetta. Error mitigation for short-depth quantum circuits. Physical Review Letters, 119(18), November 2017.DOI
  34. [34]Paul D. Nation, HwaJung Kang, Neeraj Sundaresan, and Jay M. Gambetta. Scalable mitigation of measurement errors on quantum computers. PRX Quantum, 2(4), November 2021.DOI
  35. [35]Aniket Rath, Rick van Bijnen, Andreas Elben, Peter Zoller, and Benoît Vermersch. Importance sampling of randomized measurements for probing entanglement. Phys. Rev. Lett., 127:200503, Nov 2021.DOI
  36. [36]Benoît Vermersch, Aniket Rath, Bharathan Sundar, Cyril Branciard, John Preskill, and Andreas Elben. Enhanced estimation of quantum properties with common randomized measurements. PRX Quantum, 5:010352, Mar 2024.DOI
  37. [37]Nicholas Metropolis and Stanislaw Ulam. The Monte Carlo method. Journal of the American Statistical Association, 44(247):335–341, 1949.
  38. [38]Reuven Y. Rubinstein and Dirk P. Kroese. Simulation and the Monte Carlo Method. Wiley, Hoboken, NJ, 3 edition, 2016.
  39. [39]Matthew D. Hoffman and Andrew Gelman. The no-u-turn sampler: Adaptively setting path lengths in hamiltonian monte carlo. Journal of Machine Learning Research, 15(47):1593–1623, 2014.DOI
  40. [40]Nathan Claudet. Local Equivalences of Graph States. Ph.d. thesis, Université de Lorraine, November 2025. Defended 17 November 2025.
  41. [41]Pradeep Niroula, Christopher David White, Qingfeng Wang, Sonika Johri, Daiwei Zhu, Christopher Monroe, Crystal Noel, and Michael J. Gullans. Phase transition in magic with random quantum circuits. Nature Physics, 20:1786–1792, 11 2024.
  42. [42]Kenji Harada. Bayesian inference in the scaling analysis of critical phenomena. Phys. Rev. E, 84:056704, Nov 2011.DOI
  43. [43]Antonio Anna Mele. Introduction to Haar Measure Tools in Quantum Information: A Beginner’s Tutorial. Quantum, 8:1340, May 2024.DOI

AI tools statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Pick where to look, or just type