betaFeedback

WorksPhysics and Astronomy

Petz Recovery through a Single Polar Transformation for Approximate Quantum Error Correction

Abstract

The Petz recovery map provides a near optimal decoder for approximate quantum error correction, but its inverse square-root normalization complicates circuit implementation. We use the polar structure of the Petz recovery isometry to implement recovery through a single quantum singular value transformation (QSVT). We give explicit block-encoding circuits and an extended recovery isometry that yields approximate Petz recovery without postselection. We bound the diamond distance between the approximate and ideal Petz encoding-recovery channels in terms of a spectrum-weighted loss, which provides a channel specific objective for optimizing the QSVT angles. Uniform polynomial approximation yields an asymptotic error bound that decays exponentially with the number of QSVT iterations, at a rate controlled by the smallest nonzero scaled singular value. Applications to Haar-random encoding and the Hayden-Preskill protocol illustrate the tradeoff between circuit depth and recovery accuracy and place existing scrambling decoders within a common Petz recovery framework.

Introduction

Quantum error correction (QEC) protects quantum information by encoding it into a larger physical system and recovering it after noise acts [1, 2]. A successful recovery must preserve arbitrary logical superpositions and entanglement with external systems, rather than only restore classical populations. In exact QEC, the Knill–Laflamme condition characterize when every state in a code can be recovered perfectly and allow errors to be diagnosed without revealing the encoded information [2]. Approximate quantum error correction (AQEC) allows a controlled recovery error, relaxing the requirement of perfect reversibility and admitting a broader class of codes [3, 4, 5]. For a general noise channel E\mathcal{E}, a closed-form expression for the optimal recovery channel Ropt\mathcal{R}^{\mathrm{opt}} is generally unavailable, but the channel can be computed numerically using semidefinite programming [6]. The Petz recovery map provides a near-optimal analytical construction [7, 8]:

RPetz(⋅)=σ12E†[E(σ)−12(⋅)E(σ)−12]σ12,(1)\mathcal{R}^{\mathrm{Petz}}(\cdot)=\sigma^{\frac{1}{2}}\mathcal{E}^{\dagger}\left[\mathcal{E}(\sigma)^{-\frac{1}{2}}(\cdot)\mathcal{E}(\sigma)^{-\frac{1}{2}}\right]\sigma^{\frac{1}{2}}, \tag*{(1)}

which is determined by the noise channel E\mathcal{E} and a reference state σ\sigma. For a maximally mixed reference on the code space, it gives the transpose-channel recovery. The performance of the Petz recovery map is controlled by near-optimality guarantees for entanglement fidelity [4, 9]. Conditions under which Petz recovery is optimal beyond exact QEC have also been characterized [10]. Beyond AQEC, Petz recovery has applications in different fields. The pretty-good measurement [11], which is a special case of Petz recovery, plays an important role in quantum state discrimination. In the context of quantum many-body physics, Petz recovery and its rotated or twirled variants [12, 13, 14] also appear in decoding scrambled information [15], controlling noisy dynamics [16], diagnosing quantum many-body phases through recovery fidelity [17], and establishing the stability of mixed-state phases through local recoverability and finite Markov length [18]. In holography, both the twirled and ordinary Petz maps have been used for entanglement-wedge reconstruction in AdS/CFT [19, 20, 21].

The near-optimality of Petz recovery makes it a promising target for decoder construction. Recently, single-qubit recovery has been proposed for trapped ions [22] and demonstrated in NMR and photonic systems [23, 24]. A modified Petz recovery for a four-qubit code has also been demonstrated in logical-state lifetime experiments on IBM hardware [25]. For small systems, circuits for Petz recovery can be synthesized from classically computed recovery Kraus operators and unitary completion [25, 26]. When explicit classical computation becomes impractical, quantum algorithms offer an alternative. Their implementation must nevertheless handle the nonunitary factors E(σ)−1/2\mathcal{E}(\sigma)^{-1/2} and σ1/2\sigma^{1/2} and the adjoint map E†\mathcal{E}^{\dagger}. Quantum singular value transformation (QSVT) provides a unified framework for a broad class of quantum algorithms [27, 28]. Gilyén et al. [29] use QSVT to implement σ1/2\sigma^{1/2} and E(σ)−1/2\mathcal{E}(\sigma)^{-1/2} separately and combine these operations with amplitude amplification to approximate the full Petz channel. This approach requires access to a unitary dilation of the noisy channel and its inverse, which can be synthesized through Uhlmann transformations [30]. Alternatively, virtual recovery estimates Petz-recovered observables using only forward access to the noise channel, without requiring access to its dilation [31]. Another approach is to simplify the recovery map itself. The Petz-lite construction [15] drops the operator dependence of the inverse-square-root factor E(σ)−1/2\mathcal{E}(\sigma)^{-1/2} by replacing it with a scalar normalization. Related Petz-lite decoders use phase-preserving fixed-point amplitude amplification to overcome low postselection success probabilities [32, 33]. Under special conditions, the full Petz map itself admits a simpler realization. Work on tabletop reversibility [34, 35] identifies conditions for exact implementation without separately implementing E(σ)−1/2\mathcal{E}(\sigma)^{-1/2} or using postselection.

The algorithm of Gilyén et al. [29] implements the full Petz map for an arbitrary encoding channel E\mathcal{E} with guaranteed accuracy but requires separate implementations of its three component maps. It remains a question whether one can simplify this approach while retaining rigorous error guarantees. In this work, we develop a QSVT-based quantum algorithm that combines these components into a single singular-value sign transformation. Our approach uses the representation of the Petz isometry as a polar factor [36, 37, 38]. The polar structure of the pretty-good measurement, a special case of Petz recovery, was characterized in earlier work [39] and subsequently used in a QSVT-based implementation [40]. Our formulation connects Petz recovery to simultaneous quantum searches with phase alignment across singular-vector sectors. In our formulation, the ideal limit of the Utsumi–Nakata decoders [32] can be identified with Petz recovery for a maximally mixed reference state σ\sigma. We construct an extended recovery isometry and give explicit block-encoding circuits that yield approximate recovery channels Rθ⃗\mathcal{R}^{\vec{\theta}} without postselection. These channels depend on the angle sequence θ⃗\vec{\theta} used in QSVT to approximate the sign function. We derive a spectrum-weighted bound on the diamond distance between the approximate and ideal encoding–recovery channels for a full-rank reference state, and use it as an objective for optimizing the QSVT angles:

12∥Rθ⃗∘E−RσPetz∘E∥⋄≤∥σ−1∥∞Tθ⃗,\frac{1}{2}\left\|\mathcal{R}^{\vec{\theta}}\circ\mathcal{E}-\mathcal{R}^{\mathrm{Petz}}_{\sigma}\circ\mathcal{E}\right\|_{\diamond}\leq\sqrt{\left\|\sigma^{-1}\right\|_{\infty}\mathcal{T}^{\vec{\theta}}},
Tθ⃗=1−∣∑iλi2p⃗kθ⃗(λi/α)∣2.(2)\mathcal{T}^{\vec{\theta}}=1-\left|\sum_i\lambda_i^2\vec{p}_k^{\vec{\theta}}(\lambda_i/\alpha)\right|^2. \tag*{(2)}

Here p⃗kθ⃗\vec{p}_k^{\vec{\theta}} is an odd complex QSVT polynomial of degree at most 2k+12k+1, determined by the angle sequence θ⃗\vec{\theta} at iteration count kk. The λi\lambda_i are the singular values of E(σ)1/2\mathcal{E}(\sigma)^{1/2}, and α\alpha is a constant determined by the block encoding used in QSVT. The infidelity T\mathcal{T} vanishes if p(x)=sign⁡(x)p(x)=\operatorname{sign}(x). This bound provides an objective for optimizing the circuit angles θ⃗\vec{\theta} at finite kk. Suitable angle sequences yield an analytical diamond-distance upper bound that decays as O(e−λmin⁡k/α)O(e^{-\lambda_{\min}k/\alpha}) as k→∞k\to\infty, where λmin⁡\lambda_{\min} is the smallest nonzero singular value (§ 2 B). For a fixed reference state and spectrum, a target diamond-distance error ε\varepsilon can therefore be achieved with an iteration count scaling as

k=O(αλmin⁡log⁡1ε),ε→0.(3)k=\mathcal{O}\left(\frac{\alpha}{\lambda_{\min}}\log\frac{1}{\varepsilon}\right),\qquad\varepsilon\to0. \tag*{(3)}

We then apply our construction to Haar-random encoding [36, 41, 42, 43] and the Hayden–Preskill protocol [44], illustrating the tradeoff between circuit depth and recovery accuracy. In the Hayden–Preskill setting, our construction unifies the deterministic and stochastic Yoshida–Kitaev decoders [45] and the Petz-lite decoder [15] as special cases of a common Petz recovery framework, obtained through particular choices of iteration count and postselection.

Setup and Notation

Encoding and Noise Channel

We describe encoding and noise by a completely positive, trace-preserving (CPTP) channel E\mathcal{E} from the logical space HA\mathcal{H}_A to the physical space HD\mathcal{H}_D. Its Kraus operators satisfy ∑iEi†Ei=IA\sum_i E_i^\dagger E_i=I_A, and its action is

E(ρA)=∑iEiρAEi†.(4)\mathcal{E}(\rho_A)=\sum_i E_i\rho_A E_i^\dagger. \tag*{(4)}

The Stinespring dilation theorem [46, 47] states that any quantum channel can be realized by a unitary operator UU acting on HA⊗HB\mathcal{H}_A\otimes\mathcal{H}_B, with the auxiliary system BB initialized in ∣0⟩B\lvert0\rangle_B, followed by a partial trace over the environment HC\mathcal{H}_C. Here HA⊗HB≅HC⊗HD\mathcal{H}_A\otimes\mathcal{H}_B\cong\mathcal{H}_C\otimes\mathcal{H}_D. In this formulation, the channel acts as

E(ρ)=tr⁡C(U(ρA⊗∣0⟩B⟨0∣B)U†).(5)\mathcal{E}(\rho)=\operatorname{tr}_C\left(U(\rho_A\otimes\lvert0\rangle_B\langle0\rvert_B)U^\dagger\right). \tag*{(5)}

and the corresponding Kraus operator is

Ei=⟨i∣C⊗IDUIA⊗∣0⟩B.(6)E_i=\langle i\rvert_C\otimes I_DU I_A\otimes\lvert0\rangle_B . \tag*{(6)}

The channel isometry EIE_I and its weighted version EσE_\sigma are defined by

EI=∑i∣i⟩C⊗Ei,Eσ=EIσ,(7)E_I=\sum_i\lvert i\rangle_C\otimes E_i,\qquad E_\sigma=E_I\sqrt{\sigma}, \tag*{(7)}

where σ\sigma is a positive operator on HA\mathcal{H}_A. Both operators map HA\mathcal{H}_A to HC⊗HD\mathcal{H}_C\otimes\mathcal{H}_D. Kraus completeness gives

EI†EI=IA,Eσ†Eσ=σ.(8)E_I^\dagger E_I=I_A,\qquad E_\sigma^\dagger E_\sigma=\sigma. \tag*{(8)}

Thus EIE_I is an isometry. The encoded state can be expressed as

E(ρ)=tr⁡C(EρEρ†).(9)\mathcal{E}(\rho)=\operatorname{tr}_C(E_\rho E_\rho^\dagger). \tag*{(9)}

Decoding Channel

In the decoding stage, a decoding channel R\mathcal{R} from HD\mathcal{H}_D to HA\mathcal{H}_A is applied to E(ρ)\mathcal{E}(\rho), aiming to reverse E\mathcal{E} and recover ρ\rho. Like E\mathcal{E}, the channel R\mathcal{R} is characterized by a set of Kraus operators {Ri}\{R_i\} and can be realized by the isometry

R=∑i∣i⟩C⊗Ri,R=\sum_i\lvert i\rangle_C\otimes R_i,

acting on HD\mathcal{H}_D, followed by tracing out the recovery environment CC.

Petz Recovery and Its Circuit Representation

The performance of the decoding channel can be characterized by the entanglement fidelity, which measures how well the channel preserves entanglement with a reference system A′A' when A′AA'A is initially in a joint pure entangled state ∣τ⟩\lvert\tau\rangle. The entanglement fidelity is defined as

Fτen=⟨τ∣A′A[R∘E(∣τ⟩A′A⟨τ∣A′A)]∣τ⟩A′A,(10)F_\tau^{\mathrm{en}}=\langle\tau\rvert_{A'A}\left[\mathcal{R}\circ\mathcal{E}(\lvert\tau\rangle_{A'A}\langle\tau\rvert_{A'A})\right]\lvert\tau\rangle_{A'A}, \tag*{(10)}

where the composite channel R∘E\mathcal{R}\circ\mathcal{E} acts on the logical system AA and the reference system A′A' is left untouched. A diagrammatic representation is given in Eq. (82) of Appendix B.

The entanglement fidelity for the maximally entangled EPR state, denoted simply by FenF^{\mathrm{en}}, is particularly important because it is directly related to the average fidelity over all possible logical states drawn from the Haar-random ensemble [48]:

Favg=dAFen+1dA+1.(11)F_{\mathrm{avg}}=\frac{d_A F^{\mathrm{en}}+1}{d_A+1}. \tag*{(11)}

When the recovered output state is independent of the logical input, the entanglement fidelity is Fen=1/dA2F^{\mathrm{en}}=1/d_A^2, while for exact QEC, the optimal entanglement fidelity is Fen=1F^{\mathrm{en}}=1. For approximate QEC, the optimal decoding channel Ropt\mathcal{R}^{\mathrm{opt}} achieves the highest possible entanglement fidelity given the noise channel E\mathcal{E}. While a closed-form expression for the optimal decoding channel is generally unavailable, the Petz recovery map provides a near-optimal closed-form decoder.

Petz Recovery and Its Circuit Representation

Kraus Representation and Recovery Guarantees

The Petz map in Eq. (1) uses the adjoint map E†\mathcal{E}^\dagger and the inverse square root E(σ)−1/2\mathcal{E}(\sigma)^{-1/2}, defined on the support of E(σ)\mathcal{E}(\sigma) and set to zero on its kernel. Its Kraus operators are

Rσ,iPetz=σ12Ei†E(σ)−12,(12)R_{\sigma,i}^{\mathrm{Petz}}=\sigma^{\frac{1}{2}}E_i^\dagger\mathcal{E}(\sigma)^{-\frac{1}{2}}, \tag*{(12)}

where EiE_i are the Kraus operators of the channel E\mathcal{E}. Checking the completeness relation of the Petz map yields

∑iRσ,iPetz†Rσ,iPetz=E(σ)−12E(σ)E(σ)−12=Πsupp⁡E(σ).(13)\sum_i R_{\sigma,i}^{\mathrm{Petz}\dagger}R_{\sigma,i}^{\mathrm{Petz}} =\mathcal{E}(\sigma)^{-\frac{1}{2}}\mathcal{E}(\sigma)\mathcal{E}(\sigma)^{-\frac{1}{2}} =\Pi_{\operatorname{supp}\mathcal{E}(\sigma)}. \tag*{(13)}

Therefore, in general, the Petz map is positive but does not preserve the trace, and it becomes CPTP only when the state E(σ)\mathcal{E}(\sigma) is full rank in DD. In Appendix A, we show that the composite channel RσPetz∘E\mathcal{R}_{\sigma}^{\mathrm{Petz}}\circ\mathcal{E} is a trace-preserving channel when the reference state σ\sigma in the logical space AA is full rank. Throughout this work, we only assume that the reference state σ\sigma in the logical space is full rank.

The Petz map achieves perfect recovery whenever exact error correction is possible and satisfies a near-optimality guarantee for approximate error correction. Its entanglement fidelity is bounded below by the square of the entanglement fidelity of the optimal recovery channel [9]:

Fσn(Ropt∘E)≥Fσn(RσPetz∘E)≥Fσn(Ropt∘E)2,(14)F_{\sigma}^{n}(\mathcal{R}^{\mathrm{opt}}\circ\mathcal{E}) \ge F_{\sigma}^{n}(\mathcal{R}_{\sigma}^{\mathrm{Petz}}\circ\mathcal{E}) \ge F_{\sigma}^{n}(\mathcal{R}^{\mathrm{opt}}\circ\mathcal{E})^{2}, \tag*{(14)}

where the entanglement fidelity is evaluated using a purification of the reference state σ\sigma. A simple proof based on the Cauchy–Schwarz inequality is presented in Appendix B.

Circuit Representation

In diagrammatic tensor-network notation, the Petz map acting on the output of the encoding channel takes the form

Circuit representation of the Petz map

Figure 5.

circuit representation(15)\text{circuit representation} \tag*{(15)}

The primed subsystem labels C′C' and C′′C'' indicate the ancillary systems with dimension dCd_C, and ∙\bullet represents a scalar factor 1/dC1/\sqrt{d_C} required for a normalized EPR pair between C′C' and C′′C''.

Tracing out CC′CC' yields the recovered state RσPetz∘E(∣ψA⟩⟨ψA∣)\mathcal{R}_{\sigma}^{\mathrm{Petz}}\circ\mathcal{E}(|\psi_A\rangle\langle\psi_A|). The diagram represents the following sequence of operations:

  1. Prepare an EPR pair in subsystems C′C′′C'C'', retaining C′C' as the recovery environment. The normalization factor dC\sqrt{d_C} is included in the operator E(σ)−12\mathcal{E}(\sigma)^{-\frac{1}{2}}.

  2. Apply the nonunitary operator dCE(σ)−12\sqrt{d_C}\mathcal{E}(\sigma)^{-\frac{1}{2}} to subsystem DD.

  3. Apply U†U^\dagger to C′′DC''D, and postselect subsystem BB onto ∣0⟩B|0\rangle_B.

  4. Apply the operator σ12\sigma^{\frac{1}{2}} to subsystem AA.

Implementing each step above individually can be challenging. The operators E(σ)−12\mathcal{E}(\sigma)^{-\frac{1}{2}} in step 2 and σ12\sigma^{\frac{1}{2}} in step 4 are generally nonunitary and require synthesis. The postselection in step 3 is probabilistic and may have an exponentially small success probability.

Gilyén et al. [29] implement the inverse-square-root factor in step 2 and the square-root factor in step 4 using QSVT, and use oblivious amplitude amplification to overcome the postselection in these steps as well as step 3 in order to obtain a deterministic approximation to the full Petz channel. Thus, the postselection in the factorized circuit is removed by coherent amplification. For a maximally mixed reference state σ=IA/dA\sigma=I_A/d_A, step 4 contributes only a scalar factor. The Petz-lite construction [15] additionally replaces the operator-dependent normalization in step 2 with a scalar, leaving a recovery map proportional to E†\mathcal{E}^{\dagger}, implemented by postselecting BB onto ∣0⟩B|0\rangle_B in step 3. Related Petz-like decoders replace this postselection with phase-preserving fixed-point amplitude amplification [32, 33].

Our construction instead combines the three components into a single singular-value sign transformation. The next section introduces the operator underlying this polar representation and uses it to construct an extended recovery isometry and explicit circuits for approximate Petz recovery without postselection.

Polar-Based Petz Recovery

Petz Recovery as a Singular-Value Sign Transformation

We define the Petz isometry by stacking the Kraus operators in Eq. (12):

RσPetz=∑i∣i⟩C⊗Rσ,iPetz=∑i∣i⟩C⊗σ12Ei†E(σ)−12.(16)R_{\sigma}^{\mathrm{Petz}}=\sum_i |i\rangle_C\otimes R_{\sigma,i}^{\mathrm{Petz}}=\sum_i |i\rangle_C\otimes\sigma^{\frac{1}{2}}E_i^{\dagger}\mathcal{E}(\sigma)^{-\frac{1}{2}}. \tag*{(16)}

To expose its polar structure, we introduce

E~σ=∑i∣i⟩C⊗Eiσ,(17)\widetilde{E}_{\sigma}=\sum_i |i\rangle_C\otimes E_i\sqrt{\sigma}, \tag*{(17)}

which maps HC⊗HA\mathcal{H}_C\otimes\mathcal{H}_A to HD\mathcal{H}_D. This definition applies to any positive weight, including IAI_A, and gives

E(ρ)=E~ρE~ρ†.(18)\mathcal{E}(\rho)=\widetilde{E}_{\rho}\widetilde{E}_{\rho}^{\dagger}. \tag*{(18)}

Thus we can express the Petz isometry as

RσPetz=E~σ†(E~σE~σ†)−12=sign⁡(E~σ†),(19)R_{\sigma}^{\mathrm{Petz}}=\widetilde{E}_{\sigma}^{\dagger}\left(\widetilde{E}_{\sigma}\widetilde{E}_{\sigma}^{\dagger}\right)^{-\frac{1}{2}}=\operatorname{sign}(\widetilde{E}_{\sigma}^{\dagger}), \tag*{(19)}

where the sign function is applied to the singular values, with sign⁡(0)=0\operatorname{sign}(0)=0. Thus the inverse-square-root normalization is absorbed into the polar factor of E~σ†\widetilde{E}_{\sigma}^{\dagger}.

Consider the compact singular value decomposition of E~σ†\widetilde{E}_{\sigma}^{\dagger},

E~σ†=∑iλi∣EiCA⟩⟨EiD∣,(20)\widetilde{E}_{\sigma}^{\dagger}=\sum_i\lambda_i\lvert E_i^{CA}\rangle\langle E_i^D\rvert, \tag*{(20)}

where λi>0\lambda_i > 0, and ∣EiCA⟩|E_i^{CA}\rangle and ∣EiD⟩|E_i^D\rangle are the left and right singular vectors in HC⊗HA\mathcal{H}_C \otimes\mathcal{H}_A and HD\mathcal{H}_D, respectively. The singular values obey ∑iλi2=1\sum_i \lambda_i^2 = 1 because E~σE~σ†=E(σ)\widetilde{E}_\sigma\widetilde{E}_\sigma^\dagger= \mathcal{E}(\sigma) is a density matrix. The Petz isometry can be expressed as

RσPetz=∑i∣EiCA⟩⟨EiD∣,(21)R_\sigma^{\mathrm{Petz}} = \sum_i |E_i^{CA}\rangle\langle E_i^D|, \tag*{(21)}

which maps ∣EiD⟩|E_i^D\rangle to ∣EiCA⟩|E_i^{CA}\rangle and annihilates states orthogonal to supp⁡E(σ)\operatorname{supp}\mathcal{E}(\sigma).

Extended Petz Isometry

Since RσPetz†RσPetz=Πsupp⁡E(σ)R_\sigma^{\mathrm{Petz}\dagger} R_\sigma^{\mathrm{Petz}} = \Pi_{\operatorname{supp}\mathcal{E}(\sigma)}, the Petz isometry preserves norms only on the encoded support. To complete it to an isometry on all of HD\mathcal{H}_D, introduce normalized auxiliary states ∣s⟩S|s\rangle_S and ∣t⟩T|t\rangle_T in an extended space

Hext≅HS⊗HD≅HT⊗HC⊗HA,(22)\mathcal{H}_{\mathrm{ext}} \cong\mathcal{H}_S \otimes\mathcal{H}_D \cong\mathcal{H}_T \otimes\mathcal{H}_C \otimes\mathcal{H}_A, \tag*{(22)}

of dimension dextd_{\mathrm{ext}}. With sufficiently large auxiliary spaces, choose a unitary WσPetzW_\sigma^{\mathrm{Petz}} satisfying

⟨t∣WσPetz∣s⟩=RσPetz=∑i∣EiCA⟩⟨EiD∣.(23)\langle t|W_\sigma^{\mathrm{Petz}}|s\rangle= R_\sigma^{\mathrm{Petz}} = \sum_i |E_i^{CA}\rangle\langle E_i^D|. \tag*{(23)}

Together with unitarity, this condition maps ∣s⟩⊗∣EiD⟩|s\rangle\otimes|E_i^D\rangle to ∣t⟩⊗∣EiCA⟩|t\rangle\otimes|E_i^{CA}\rangle. From this, it follows that

WσPetz∣s⟩=∣t⟩⊗RσPetz+(IT−∣t⟩⟨t∣)W⊥∣s⟩(ID−∑i∣EiD⟩⟨EiD∣).(24)W_\sigma^{\mathrm{Petz}}|s\rangle= |t\rangle\otimes R_\sigma^{\mathrm{Petz}} + (I_T - |t\rangle\langle t|)W^\perp|s\rangle\left(I_D - \sum_i |E_i^D\rangle\langle E_i^D|\right). \tag*{(24)}

Here W⊥W^\perp is any unitary on Hext\mathcal{H}_{\mathrm{ext}} satisfying

⟨t∣W⊥∣s⟩(ID−∑i∣EiD⟩⟨EiD∣)=0,\langle t|W^\perp|s\rangle\left(I_D - \sum_i |E_i^D\rangle\langle E_i^D|\right) = 0,

so inputs orthogonal to supp⁡E(σ)\operatorname{supp}\mathcal{E}(\sigma) are mapped to outputs orthogonal to the auxiliary state ∣t⟩|t\rangle.

We call WσPetz∣s⟩W_\sigma^{\mathrm{Petz}}|s\rangle the extended Petz isometry. Postselecting TT onto ∣t⟩|t\rangle and discarding CC implements the original Petz map in Eq. (1) for any input. The success probability equals the input’s weight on supp⁡E(σ)\operatorname{supp}\mathcal{E}(\sigma). Discarding both TT and CC instead defines a trace-preserving extension of the Petz map. Since σ\sigma is full rank, every encoded state lies in this support, so postselection succeeds with certainty and can be omitted:

tr⁡TC[WσPetz(∣s⟩⟨s∣⊗E(ρ))WσPetz†]=RσPetz∘E(ρ).(25)\operatorname{tr}_{TC}\left[W_\sigma^{\mathrm{Petz}}\left(|s\rangle\langle s| \otimes\mathcal{E}(\rho)\right)W_\sigma^{\mathrm{Petz}\dagger}\right] = R_\sigma^{\mathrm{Petz}} \circ\mathcal{E}(\rho). \tag*{(25)}

Full rank of σ\sigma is sufficient for this agreement on encoded states; E(σ)\mathcal{E}(\sigma) need not be full rank.

To construct this isometry WσPetz∣s⟩W_\sigma^{\mathrm{Petz}}|s\rangle, we start from a block encoding of E~σ†\widetilde{E}_\sigma^\dagger,

E~σ†=α⟨t∣W∣s⟩,(26)\widetilde{E}_\sigma^\dagger= \alpha\langle t|W|s\rangle, \tag*{(26)}

where WW is unitary and α>0\alpha> 0. The block encoding specifies the auxiliary registers and states; explicit choices are given in Sec. V C. QSVT then approximates the desired singular-value sign transformation,

⟨t∣W∣s⟩→QSVT⟨t∣WσPetz∣s⟩=sign⁡(⟨t∣W∣s⟩)=RσPetz.(27)\langle t|W|s\rangle\xrightarrow{\mathrm{QSVT}} \langle t|W_\sigma^{\mathrm{Petz}}|s\rangle= \operatorname{sign}(\langle t|W|s\rangle) = R_\sigma^{\mathrm{Petz}}. \tag*{(27)}

This construction also has a quantum-search interpretation. After applying WW, define the initial and target search states in HT⊗HC⊗HA\mathcal{H}_T \otimes\mathcal{H}_C \otimes\mathcal{H}_A as follows:

∣si⟩=W(∣s⟩⊗∣EiD⟩),∣ti⟩=∣t⟩⊗∣EiCA⟩.(28)|s_i\rangle= W\left(|s\rangle\otimes|E_i^D\rangle\right), \qquad|t_i\rangle= |t\rangle\otimes|E_i^{CA}\rangle. \tag*{(28)}

From the SVD of E~σ†\widetilde{E}_\sigma^\dagger, their overlaps are

⟨ti∣sj⟩=xiδij,xi=λi/α.(29)\langle t_i|s_j\rangle= x_i\delta_{ij}, \qquad x_i = \lambda_i/\alpha. \tag*{(29)}

Eq. (24) specifies the desired search after this preparation:

∣si⟩→quantum searchWσPetzW†∣si⟩=∣ti⟩.(30)|s_i\rangle\xrightarrow{\text{quantum search}} W_\sigma^{\mathrm{Petz}}W^\dagger|s_i\rangle= |t_i\rangle. \tag*{(30)}

The pairs {∣si⟩,∣ti⟩}\{|s_i\rangle, |t_i\rangle\} span mutually orthogonal subspaces of dimension at most two. Recovery therefore amounts to simultaneous searches in these subspaces with different overlaps xix_i, while preserving the relative phases between sectors. Standard Grover iterations generally overshoot at different iteration counts for different overlaps. We instead use fixed-point quantum search [49, 50] with the additional requirement of phase alignment.

This also explains the connection to the Petz-lite decoder [15] for σ=IA/dA\sigma= I_A/d_A. With an appropriate block encoding, applying WW and postselecting the target register TT onto ∣t⟩|t\rangle gives a recovery map proportional to E†\mathcal{E}^\dagger. The stochastic Yoshida–Kitaev decoder [45] has a similar postselected realization (Sec. V B 3). Utsumi and Nakata [32] construct decoders by replacing postselection with fixed-point amplitude amplification. Their decoupling-based analysis emphasizes that successful recovery requires phase alignment across singular-vector sectors. Here, this requirement follows directly from the polar representation of the Petz isometry: the ideal search maps each ∣si⟩|s_i\rangle to ∣ti⟩|t_i\rangle with the same phase.

QSVT Construction and Error Bound

To construct the QSVT sequence, we introduce two unitary rotations on the extended Hilbert space:

Zs(θ)=W[exp⁡(iθ∣s⟩⟨s∣)⊗ID]W†,Z_s(\theta) = W\left[\exp(i\theta|s\rangle\langle s|) \otimes I_D\right]W^\dagger,
Zt(θ)=exp⁡(iθ∣t⟩⟨t∣)⊗ICA.(31)Z_t(\theta) = \exp(i\theta|t\rangle\langle t|) \otimes I_{CA}. \tag*{(31)}

Within each search subspace, ZsZ_s and ZtZ_t apply phase shifts to ∣si⟩|s_i\rangle and ∣ti⟩|t_i\rangle, respectively. We first apply WW to prepare the search states and then alternate these rotations:

Wθ⃗=Zs(θ2k)Zt(θ2k−1)⋯Zs(θ2)Zt(θ1)W={∏i=1k[Zs(θ2i)Zt(θ2i−1)]}W.(32)\begin{aligned} W^{\vec{\theta}} = Z_s(\theta_{2k})Z_t(\theta_{2k-1})\cdots Z_s(\theta_2)Z_t(\theta_1)W \\ &= \left\{\prod_{i=1}^{k}\left[Z_s(\theta_{2i})Z_t(\theta_{2i-1})\right]\right\}W. \tag*{(32)} \end{aligned}

Here ZtZ_t and ZsZ_s play the roles of a generalized Grover oracle and diffusion operator, respectively. The sequence of rotations is parameterized by a set of angles θ⃗=(θ1,θ2,…,θ2k)\vec{\theta}=(\theta_1,\theta_2,\ldots,\theta_{2k}). In standard Grover search, the rotation angles are fixed to θi=π\theta_i=\pi for all ii, while in fixed-point Grover search, the rotation angles are chosen to be different for each iteration. In QSVT, the rotation angles are chosen to approximate a polynomial transformation of the singular values of ⟨t∣W∣s⟩\langle t|W|s\rangle.

By expanding the rotations in their defining projectors, one can show that Wθ⃗∣s⟩W^{\vec{\theta}}|s\rangle decomposes into two orthogonal terms:

Wθ⃗∣s⟩=∣t⟩P+(IT−∣t⟩⟨t∣)W∣s⟩Q,(33)W^{\vec{\theta}}|s\rangle=|t\rangle P+(I_T-|t\rangle\langle t|)W|s\rangle Q, \tag*{(33)}

where the operators PP and QQ are defined by

P=∑ip(xi)∣EiCA⟩⟨EiD∣,Q=∑iq(xi)∣EiD⟩⟨EiD∣+q(0)(ID−∑i∣EiD⟩⟨EiD∣).(34)\begin{aligned} P&=\sum_i p(x_i)|E_i^{CA}\rangle\langle E_i^D|,\\ Q&=\sum_i q(x_i)|E_i^D\rangle\langle E_i^D|\\ &\quad+q(0)\left(I_D-\sum_i|E_i^D\rangle\langle E_i^D|\right). \tag*{(34)} \end{aligned}

Here pp and qq are scalar odd and even polynomials of degree at most 2k+12k+1 and 2k2k, respectively, determined by the rotation angles θi\theta_i. The isometry condition ⟨s∣(Wθ⃗)†Wθ⃗∣s⟩=ID\langle s|(W^{\vec{\theta}})^\dagger W^{\vec{\theta}}|s\rangle=I_D then implies the constraint

∣p(x)∣2+(1−x2)∣q(x)∣2=1,(35)|p(x)|^2+(1-x^2)|q(x)|^2=1, \tag*{(35)}

for all singular values of ⟨t∣W∣s⟩\langle t|W|s\rangle. For instance, at k=0k=0, p(x)=xp(x)=x and q(x)=1q(x)=1.

From a QSVT perspective, Wθ⃗W^{\vec{\theta}} implements a singular value transformation:

xi→QSVTp(xi).(36)x_i \xrightarrow{\mathrm{QSVT}} p(x_i). \tag*{(36)}

From a quantum search perspective, Wθ⃗W†W^{\vec{\theta}}W^\dagger implements simultaneous searches in the subspaces spanned by {∣si⟩,∣ti⟩}\{|s_i\rangle,|t_i\rangle\}:

∣si⟩→Quantum Searchp(xi)∣ti⟩+q(xi)1−xi2∣ti⊥⟩,(37)|s_i\rangle\xrightarrow{\mathrm{Quantum\ Search}}p(x_i)|t_i\rangle+q(x_i)\sqrt{1-x_i^2}|t_i^\perp\rangle, \tag*{(37)}

where ∣p(xi)∣2|p(x_i)|^2 is the fidelity between the final state and the target state, and ∣ti⊥⟩|t_i^\perp\rangle is the normalized state orthogonal to the target state:

∣ti⊥⟩=∣si⟩−xi∣ti⟩1−xi2.(38)|t_i^\perp\rangle=\frac{|s_i\rangle-x_i|t_i\rangle}{\sqrt{1-x_i^2}}. \tag*{(38)}

When xi=1x_i=1, this component vanishes and no perpendicular state is needed.

By comparing with Eqs. (23) and (27), we see that the Petz map corresponds to

p(Petz)(x)=sign⁡(x)(39)p^{(\mathrm{Petz})}(x)=\operatorname{sign}(x) \tag*{(39)}

apart from overall phase factors. Successful fixed-point search only requires ∣p(xi)∣2=1|p(x_i)|^2=1, allowing for an inhomogeneous phase factor for each singular value. On the other hand, the Petz map requires p(xi)=1p(x_i)=1 up to a global phase for all nonzero singular values of ⟨t∣W∣s⟩\langle t|W|s\rangle, which is a stronger requirement.

The ideal transformations can be approximated by a finite-degree polynomial in the singular values, which allows for practical implementation. Importantly, unlike general QSVT, postselecting the ∣t⟩|t\rangle state is optional because, when pp is close to the sign function, the error component is automatically suppressed. As a result, we can use the full channel to approximate the Petz map without postselection. We denote the approximate Petz recovery channel by

Rθ⃗(ρ)=tr⁡T⊗CWθ⃗∣s⟩⟨s∣⊗ρ(Wθ⃗)†.(40)\mathcal{R}^{\vec{\theta}}(\rho)=\operatorname{tr}_{T\otimes C}W^{\vec{\theta}}|s\rangle\langle s|\otimes\rho(W^{\vec{\theta}})^\dagger. \tag*{(40)}

Appendix C bounds the diamond distance between the composite encoding–recovery channels as

Δ(θ⃗)=12∥Rθ⃗∘E−RσPetz∘E∥⋄≤∥σ−1∥∞Tθ⃗,(41)\Delta(\vec{\theta})=\frac{1}{2}\left\|\mathcal{R}^{\vec{\theta}}\circ\mathcal{E}-\mathcal{R}^{\mathrm{Petz}}_\sigma\circ\mathcal{E}\right\|_\diamond\leq\sqrt{\left\|\sigma^{-1}\right\|_\infty\mathcal{T}^{\vec{\theta}}}, \tag*{(41)}

where

Tθ⃗=1−∣∑iλi2p(xi)∣2.(42)\mathcal{T}^{\vec{\theta}}=1-\left|\sum_i\lambda_i^2p(x_i)\right|^2. \tag*{(42)}

The quantity ∣∑iλi2p(xi)∣2\left|\sum_i\lambda_i^2p(x_i)\right|^2 is the fidelity between the pure outputs of our approximate and ideal Petz encoding–recovery isometries for a normalized purification ∣σ⟩AA′|\sigma\rangle_{AA'} of σ\sigma, with A′A' untouched and all environment and auxiliary registers retained (Appendix C). Thus Tθ⃗\mathcal{T}^{\vec{\theta}} is the infidelity between these two pure output states.

Recall that ∑iλi2=1\sum_i\lambda_i^2=1. Thus the right-hand side is small when p(xi)p(x_i) is close to 11 up to a global phase factor for all nonzero singular values xix_i, in which case the approximate and ideal Petz encoding–recovery channels are close in diamond distance.

We compare the composite channels because the original Petz map is trace preserving only on supp⁡E(σ)\operatorname{supp}\mathcal{E}(\sigma). With the inverse set to zero outside this support, it is generally trace-nonincreasing rather than CPTP on all of HD\mathcal{H}_D. For full-rank σ\sigma, every encoded state lies within this support, so both composite channels are CPTP and their comparison avoids an arbitrary choice of trace-preserving extension.

Algorithm 1 summarizes the polar-based Petz recovery procedure. Without the optional postselection step, the algorithm implements Rθ⃗∘E\mathcal{R}^{\vec{\theta}}\circ\mathcal{E}, and the diamond-distance bound in Eq. (41) applies. With postselection, it instead produces the normalized successful branch associated with PP; the bound above does not apply to this conditional output. Explicit block-encoding constructions and their access requirements are given in § 2 C. The quantum sequence uses k+1k+1 applications of WW and kk of W†W^\dagger, together with 2k2k auxiliary-state phase rotations and the initial preparation of ∣s⟩|s\rangle.

Algorithm 1 Petz Recovery via a Single Polar Transformation

Require: Encoded state E(ρ)\mathcal{E}(\rho); a block encoding α⟨t∣W∣s⟩=E~†\alpha\langle t|W|s\rangle= \widetilde{\mathcal{E}}^\dagger for a full-rank reference state σ\sigma, with known α>0\alpha> 0.

Require: Coherent access to WW, W†W^\dagger, and preparation unitaries for ∣s⟩|s\rangle and ∣t⟩|t\rangle and their inverses.

Require: Classical knowledge of the nonzero singular values {λi}\{\lambda_i\}, or a certified interval [a,b]⊆(0,1][a,b] \subseteq(0,1] containing all xi=λi/αx_i = \lambda_i/\alpha.

  1. Choose the number of iterations k≥0k \ge0.

  2. Compute the angles θ⃗\vec{\theta} classically using spectrum-weighted or interval-based optimization (§ 2 A).

  3. Prepare the initial state ∣s⟩|s\rangle in the auxiliary Hilbert space Hs\mathcal{H}_s.

  4. Apply WW to ∣s⟩⟨s∣⊗E(ρ)|s\rangle\langle s| \otimes\mathcal{E}(\rho) and denote the resulting state in Hext\mathcal{H}_{\mathrm{ext}} as ρext(0)\rho_{\mathrm{ext}}^{(0)}.

  5. for i=1,2,⋯ ,ki = 1, 2, \cdots, k do

  6. Apply the unitary operator Zs(θ2i)Zt(θ2i−1)Z_s(\theta_{2i})Z_t(\theta_{2i-1}) to the state ρext(i−1)\rho_{\mathrm{ext}}^{(i-1)} to obtain the state ρext(i)\rho_{\mathrm{ext}}^{(i)}.

  7. end for

  8. Optional: Postselect register TT onto ∣t⟩|t\rangle, retaining only successful runs.

  9. Discard the auxiliary registers TT and CC.

Ensure: The recovered state on AA, conditioned on success if postselection is used.

Circuit implementation of Petz recovery

Figure 6. ∣ψ⟩A|\psi\rangle_A, ∣0⟩B|0\rangle_B, CC, CC, AA, TT, WkW_k, ⋯\cdots, WiW_i, ⋯\cdots, W1W_1, WW, UU, ∣s⟩|s\rangle, expanded WiW_i, WW, eiθ2i∣s⟩⟨s∣e^{i\theta_{2i}|s\rangle\langle s|}, W†W^\dagger, Zt(θ2i−1)Z_t(\theta_{2i-1}).

Angle Optimization and Circuit Implementation

The two remaining ingredients for implementing our algorithm are the choice of rotation angles θi\theta_i and the block encoding of the operator E~†\widetilde{\mathcal{E}}^\dagger. We first discuss angle optimization and convergence, then give explicit block-encoding circuits.

Spectrum-Weighted and Interval-Based Optimization

Because ZsZ_s and ZtZ_t preserve each subspace spanned by ∣si⟩|s_i\rangle and ∣ti⟩|t_i\rangle, we can evaluate p(x)p(x) using the single-qubit quantum signal processing (QSP) representation [51]:

p(x)∣0⟩+q(x)1−x2∣1⟩=w(x)∏i=12k[z(θi)w(x)]∣0⟩,(43)p(x)|0\rangle+ q(x)\sqrt{1-x^2}|1\rangle= w(x)\prod_{i=1}^{2k}[z(\theta_i)w(x)]|0\rangle, \tag*{(43)}

where w(x)w(x) and z(θi)z(\theta_i) are the 2-by-2 unitary matrices

w(x)=(x−1−x21−x2x),z(θi)=(eiθi00−1).(44)w(x) = \begin{pmatrix} x & -\sqrt{1-x^2} \\ \sqrt{1-x^2} & x \end{pmatrix}, \qquad z(\theta_i) = \begin{pmatrix} e^{i\theta_i} & 0 \\ 0 & -1 \end{pmatrix}. \tag*{(44)}

Here ∣0⟩|0\rangle and ∣1⟩|1\rangle represent ∣ti⟩|t_i\rangle and ∣ti⊥⟩|t_i^\perp\rangle, respectively. This representation allows classical angle optimization using only 2-by-2 matrix products, without simulating Wθ⃗W^{\vec{\theta}} on the full extended space.

The bound on the diamond distance in Eq. (41) provides a practical criterion for optimization, as it only depends on the sum of the polynomial p(x)p(x) weighted by the spectrum λ\lambda. We optimize over the odd polynomials p(x)p(x) of degree at most 2k+12k+1 that are realizable by the QSVT sequence. In particular, ∣p(x)∣≤1|p(x)| \le1 for x∈[−1,1]x \in[-1,1]. The spectrum-weighted optimization problem is:

1−δw(k)=max⁡p∣∑iλi2p(xi)∣.(45)1-\delta^{\mathrm{w}}(k)=\max_p\left|\sum_i\lambda_i^2p(x_i)\right|. \tag*{(45)}

The superscript w denotes spectrum-weighted optimization. The infidelity in the bound is

Ikw=1−(1−δw(k))2.(46)\mathcal{I}^{\mathrm{w}}_k=1-\left(1-\delta^{\mathrm{w}}(k)\right)^2. \tag*{(46)}

Spectrum-weighted optimization uses the individual singular values xix_i, which may be unavailable for large systems. If only an interval [a,b][a,b] containing all nonzero xix_i is known, we can instead optimize a real odd polynomial r(x)r(x) of degree at most 2k+12k+1, subject to ∣r(x)∣≤1|r(x)| \le1 for x∈[−1,1]x \in[-1,1]:

1−δ[a,b](k)=max⁡rmin⁡x∈[a,b]r(x).(47)1-\delta^{[a,b]}(k)=\max_r\min_{x\in[a,b]}r(x). \tag*{(47)}

By the QSP polynomial-completion theorem [27], any such rr can be realized as r(x)=Re⁡[e−iϕp(x)]r(x)=\operatorname{Re}[e^{-i\phi}p(x)], where pp is a complex polynomial produced by the QSVT sequence. The phase ϕ\phi is common to all xx: multiplying Wθ⃗W^{\vec{\theta}} by e−iϕe^{-i\phi} leaves the recovery channel unchanged and requires no additional physical gate. This freedom does not remove relative phases between singular-value sectors. Let rk[a,b]r_k^{[a,b]} be an optimizing real polynomial, pk[a,b]p_k^{[a,b]} a corresponding complex polynomial, and θ⃗k[a,b]\vec{\theta}_k^{[a,b]} a realizing angle sequence. If all nonzero scaled singular values lie in [a,b][a,b], then

∣∑iλi2pk[a,b](xi)∣≥∑iλi2rk[a,b](xi)\left|\sum_i\lambda_i^2p_k^{[a,b]}(x_i)\right|\ge\sum_i\lambda_i^2r_k^{[a,b]}(x_i)
≥1−δ[a,b](k),(48)\ge1-\delta^{[a,b]}(k), \tag*{(48)}

using ∑iλi2=1\sum_i\lambda_i^2=1. The corresponding infidelity Ik[a,b]\mathcal{I}_k^{[a,b]} therefore satisfies

Ik[a,b]≤1−(1−δ[a,b](k))2≤2δ[a,b](k).(49)\mathcal{I}_k^{[a,b]}\le1-\left(1-\delta^{[a,b]}(k)\right)^2\le2\delta^{[a,b]}(k). \tag*{(49)}

The tightest interval containing the nonzero scaled singular values is [a,b]=[xmin⁡,xmax⁡][a,b] = [x_{\min},x_{\max}]. Setting b=1b = 1 in Eq. (47) requires only the minimum singular value xmin⁡x_{\min}, at the cost of a potentially larger worst-case deviation. For this case, an exact analytic phase sequence is available at k=2k = 2; higher-order constructions are obtained through numerical polynomial optimization and phase synthesis [52]. Figure 1 compares optimization on [0.2,1][0.2,1] with optimization on [0.2,0.6][0.2,0.6], demonstrating that the worst-case deviation increases with the larger interval and decreases with the larger iteration number kk.

Figure 1. Real odd polynomial approximations r(x)r(x) to the sign function for k=4k = 4 (blue) and k=6k = 6 (orange) QSVT iterations. These polynomials are realized as r(x)=Re⁡[e−iϕp(x)]r(x) = \operatorname{Re}[e^{-i\phi}p(x)] after a common phase choice. (a) Optimization on [0.2,1][0.2,1]. (b) Optimization on [0.2,0.6][0.2,0.6]. The shaded regions mark the optimization intervals. The black dashed lines mark the target value 1, and the colored dashed lines mark the minimum polynomial values on the respective intervals. Increasing kk or restricting the optimization interval improves the approximation.

For comparison, the optimal fixed-point search [50] maximizes the worst-case success probability. In our notation, this is equivalent to

fixed point:max⁡pmin⁡x∈[a,1]∣p(x)∣.(50)\text{fixed point:}\quad\max_{p}\min_{x\in[a,1]} |p(x)|. \tag*{(50)}

Its solution is expressed through Chebyshev polynomials, with an analytic angle sequence for every kk. This objective does not require phase alignment between different singular values: large ∣p(xi)∣|p(x_i)| alone does not ensure a large coherent average ∣∑iλi2p(xi)∣\left|\sum_i \lambda_i^2p(x_i)\right|. It therefore guarantees search success but does not by itself guarantee an accurate Petz recovery.

Given a target polynomial satisfying the QSP completion conditions, a corresponding angle sequence can be computed efficiently using established classical synthesis methods [27, 28, 53, 54]. In our numerical implementation, real target polynomials rr are represented in the Chebyshev basis, and symmetric QSP phases are fitted by nonlinear least squares at Chebyshev nodes, gradually increasing the target amplitude from zero to its desired value. After a common phase choice, the real part Re⁡[e−iϕp(x)]\operatorname{Re}[e^{-i\phi}p(x)] is checked against r(x)r(x), together with the QSP unitarity condition. This synthesis accuracy is separate from the approximation error of the chosen target polynomial.

Convergence and Iteration Complexity

At fixed iteration count kk, define the optimal diamond distance as Δopt(k)=min⁡θˉΔ(θˉ)\Delta^{\mathrm{opt}}(k)=\min_{\bar{\theta}}\Delta(\bar{\theta}). This minimizes the actual channel distance, whereas spectrum-weighted optimization minimizes its upper bound. Choosing the interval [a,1][a,1] with 0<a≤xmin⁡0<a\leq x_{\min} and combining the polynomial-error estimate above with Eq. (41) gives

Δopt(k)≤2∥σ−1∥∞2δ[a,1](k).(51)\Delta^{\mathrm{opt}}(k)\leq\sqrt{2\|\sigma^{-1}\|_{\infty}^{2}\delta^{[a,1]}(k)}. \tag*{(51)}

For b=1b=1, Eq. (47) is related to the classical best uniform approximation of the sign function on [−1,−a]∪[a,1][-1,-a]\cup[a,1] [55, 56], which gives

δ[a,1](k)∼2(1−a)πak(1−a1+a)k.(52)\delta^{[a,1]}(k)\sim\frac{2(1-a)}{\sqrt{\pi ak}}\left(\frac{1-a}{1+a}\right)^{k}. \tag*{(52)}

for large kk.

Figure 2 compares the numerically optimized error with this asymptotic expression for different values of aa. For fixed 0<a<10<a<1, the asymptotic decay rate is approximately 2a2a when aa is small. Taking a=xmin⁡a=x_{\min}, we obtain, as k→∞k\to\infty,

Figure 2. Logarithm of the approximation error δ[a,1]\delta^{[a,1]} as a function of the iteration number kk for different values of aa. The dashed lines represent the asymptotic expressions in Eq. (52).

Δopt(k)=O(k−1/4(1−xmin⁡1+xmin⁡)k/2)=O(e−xmin⁡k).(53)\Delta^{\mathrm{opt}}(k)=O\left(k^{-1/4}\left(\frac{1-x_{\min}}{1+x_{\min}}\right)^{k/2}\right)=O\left(e^{-x_{\min}k}\right). \tag*{(53)}

Thus, for fixed σ\sigma and a=xmin⁡>0a=x_{\min}>0, the optimal diamond distance between the composite encoding–recovery channels has an exponentially decaying upper bound. For a target diamond-distance error ε\varepsilon, this gives a sufficient iteration count scaling as k=O(xmin⁡−1log⁡(1/ε))k = O(x_{\min}^{-1}\log(1/\varepsilon)) as ε→0\varepsilon\to0, with the reference state and spectrum fixed. We expect that by setting bb to xmax⁡x_{\max}, the decay rate will be larger and depend on both the minimum and maximum singular values, and the bound will be tighter.

Explicit Block-Encoding Circuits

While the block encoding of a general operator E~σ†\widetilde{E}_{\sigma}^{\dagger} is not unique, we show that the Stinespring dilation of the encoding channel E\mathcal{E} provides two natural forms. Using the dilation of the encoding channel, we can write

E~σ=∑i∣i⟩C⊗(⟨i∣CU∣0⟩Bσ12)(54)\widetilde{E}_{\sigma}=\sum_i \lvert i\rangle_C\otimes\left(\langle i\lvert_C U\lvert0\rangle_B\sigma^{\frac{1}{2}}\right) \tag*{(54)}

The first block-encoding form reads

(I):E~σ†=dAdC ⟨0∣BU†.(55)\text{(I):}\quad\widetilde{E}_{\sigma}^{\dagger}=\sqrt{d_A d_C}\,\langle0\lvert_B U^{\dagger}. \tag*{(55)}

We can read off the initial state ∣s⟩\lvert s\rangle, the target state ∣t⟩\lvert t\rangle, and the unitary operator WW from the diagram above:

α=dAdC,W=IC⊗IA⊗IA′⊗U†,\alpha=\sqrt{d_A d_C},\qquad W=I_C\otimes I_A\otimes I_{A'}\otimes U^{\dagger},
∣s⟩=∣EPR⟩CC′⊗∣σ⟩AA′,∣t⟩=∣EPR⟩A′A′′⊗∣0⟩B.(56)\lvert s\rangle=\lvert\mathrm{EPR}\rangle_{CC'}\otimes\lvert\sigma\rangle_{AA'},\qquad\lvert t\rangle=\lvert\mathrm{EPR}\rangle_{A'A''}\otimes\lvert0\rangle_B. \tag*{(56)}

Here ∣σ⟩AA′\lvert\sigma\rangle_{AA'} denotes the canonical purification of σ\sigma. The total dimension of the extended Hilbert space is given by dext(I)=dA2dC2dDd_{\mathrm{ext}}^{(\mathrm{I})}=d_A^2d_C^2d_D.

The second block-encoding form reads

(II):E~σ†=dD ⟨0∣BU∗.(57)\text{(II):}\quad\widetilde{E}_{\sigma}^{\dagger}=\sqrt{d_D}\,\langle0\lvert_B U^{*}. \tag*{(57)}

The initial state, target state, and unitary operator are given by

α=dD,W=ID⊗U∗⊗IA,\alpha=\sqrt{d_D},\qquad W=I_D\otimes U^{*}\otimes I_A,
∣s⟩=∣0⟩B⊗∣σ⟩AA′,∣t⟩=∣EPR⟩DD′.(58)\lvert s\rangle=\lvert0\rangle_B\otimes\lvert\sigma\rangle_{AA'},\qquad\lvert t\rangle=\lvert\mathrm{EPR}\rangle_{DD'}. \tag*{(58)}

The total dimension of the extended Hilbert space is given by dext(II)=dAdCdD2d_{\mathrm{ext}}^{(\mathrm{II})}=d_A d_C d_D^2.

Comparing the two forms, we see that

(α(I)α(II))2=dim⁡(Hext(I))dim⁡(Hext(II))=dAdCdD.(59)\left(\frac{\alpha^{(\mathrm{I})}}{\alpha^{(\mathrm{II})}}\right)^2 =\frac{\dim(\mathcal{H}_{\mathrm{ext}}^{(\mathrm{I})})}{\dim(\mathcal{H}_{\mathrm{ext}}^{(\mathrm{II})})} =\frac{d_A d_C}{d_D}. \tag*{(59)}

Form I has both a smaller normalization factor α\alpha and a smaller extended space when dD>dAdCd_D>d_A d_C, whereas form II has these advantages when dD<dAdCd_D<d_A d_C. A smaller α\alpha increases xmin⁡=λmin⁡/αx_{\min}=\lambda_{\min}/\alpha and improves the iteration bound in § 2 B. This comparison concerns normalization and space; the total circuit cost also depends on preparing ∣σ⟩\lvert\sigma\rangle and implementing the required unitaries. Form I requires access to U†U^{\dagger} and its inverse, while form II requires access to U∗U^{*} and its inverse.

For σ=IA/dA\sigma=I_A/d_A, type I can be reduced to type I′:

(I′):E~σ†=dCdA ⟨0∣BU†.(60)\text{(I′):}\quad\widetilde{E}_{\sigma}^{\dagger}=\sqrt{\frac{d_C}{d_A}}\,\langle0\lvert_B U^{\dagger}. \tag*{(60)}

The corresponding parameters are

α=dCdA,W=IC⊗U†,\alpha=\sqrt{\frac{d_C}{d_A}},\qquad W=I_C\otimes U^{\dagger},
∣s⟩=∣EPR⟩CC′,∣t⟩=∣0⟩B.(61)\lvert s\rangle=\lvert\mathrm{EPR}\rangle_{CC'},\qquad\lvert t\rangle=\lvert0\rangle_B. \tag*{(61)}

The extended-space dimension is dext(I′)=dC2dDd_{\mathrm{ext}}^{(\mathrm{I'})}=d_C^2d_D. Compared with type I, α\alpha and dextd_{\mathrm{ext}} decrease by factors of $d_A and dA2d_A^2, respectively. Comparing type I′ with type II gives

(α(I′)α(II))2=dext(I′)dext(II)=dCdAdD.(62)\left(\frac{\alpha^{(\mathrm{I'})}}{\alpha^{(\mathrm{II})}}\right)^2=\frac{d_{\mathrm{ext}}^{(\mathrm{I'})}}{d_{\mathrm{ext}}^{(\mathrm{II})}}=\frac{d_C}{d_A d_D}. \tag*{(62)}

Thus, for maximally mixed σ\sigma, type I′ has smaller normalization and space requirements when dD>dC/dAd_D>d_C/d_A, while type II has these advantages when dD<dC/dAd_D<d_C/d_A.

We also note that more efficient block-encoding forms may be possible for specific encoding channels. We will provide an example of this in Sec. VI B and leave further exploration in this direction to future work.

Applications to Quantum Many-Body Systems

We now test our polar-based Petz recovery algorithm on quantum many-body decoding problems. We consider two encoding channels: a Haar-random unitary encoding channel and the Hayden–Preskill encoding channel, which is closely related to the random unitary encoding channel but has additional entanglement structure. In both examples, we choose the maximally mixed reference state σ=IA/dA\sigma=I_A/d_A and nA=1n_A=1 logical qubit. Here nn counts the qubits acted on by UU, excluding the additional reference register in the Hayden–Preskill setup. We compare three optimized angle sequences from § 2 A and the standard Grover sequence:

  • θ⃗kw\vec{\theta}_k^{\mathrm{w}} from Eq. (45)

  • θ⃗k[xmin⁡,xmax⁡]\vec{\theta}_k^{[x_{\min},x_{\max}]} from Eq. (47)

  • θ⃗k[xmin⁡,1]\vec{\theta}_k^{[x_{\min},1]}

  • θi=π\theta_i=\pi from the standard Grover search method.

The first angle sequence requires knowledge of the full spectrum of E~σ†\widetilde{E}_\sigma^\dagger. The second angle sequence requires knowledge of both the minimum and maximum singular values, while the third angle sequence only requires the minimum singular value. The last angle sequence is independent of the spectral information. We will compare the entanglement fidelity of the approximate Petz recovery channels corresponding to the different angle sequences with that of the ideal Petz recovery channel as a function of the number of iterations kk. The approximate recovery fidelities are calculated using the partial-trace norm expressions derived in Appendix § 3.7.

Recovery from Haar-Random Unitary Encoding

In the Haar-random code [36, 41, 42, 43], the auxiliary register BB is initialized in ∣0⟩B\lvert0\rangle_B, and the channel isometry is

EI=U(IA⊗∣0⟩B)=CDA U A∣0⟩B(63)E_I=U(I_A\otimes\lvert0\rangle_B)= \begin{array}{c} C\quad D\\[-2pt] \phantom{A}\boxed{\ U\ }\\[-2pt] A\quad\lvert0\rangle_B \end{array} \tag*{(63)}

where the encoding unitary UU is drawn from the Haar measure. Tracing out CC gives the encoding channel E(ρ)=tr⁡C[EIρEI†]E(\rho)=\operatorname{tr}_C[E_I\rho E_I^\dagger], whose output DD is available to the decoder. Haar-random encoding serves as an idealized model of strongly scrambled quantum information [57], where one attempts to recover the initial information from a subsystem (DD) of the output. Related work connects the entanglement structure of tripartite Haar-random states to limitations on logical-operator reconstruction from individual subsystems [58].

To provide a baseline for our algorithm, we first study the ideal Petz entanglement fidelity Fen(RPetz∘E)F^{\mathrm{en}}(\mathcal{R}_{\mathrm{Petz}}\circ\mathcal{E}) as a function of nDn_D, the number of qubits in the output subsystem DD, as shown in Figure 3. The fidelity is computed using the ideal Petz recovery map, which is independent of the iteration number kk. Consistent with decoupling-based recovery guarantees [42], the fidelity increases with nDn_D and rapidly approaches unity when nDn_D exceeds the combined size of the information subsystem AA and the environment CC. The displayed system sizes, n=8n=8 and n=12n=12, give similar fidelity curves when plotted against nD−n/2n_D-n/2. This suggests a sharpening transition near nD/n=1/2n_D/n=1/2 as the system size increases.

Figure 3. Petz recovery for Haar-random unitary encoding of one logical qubit (nA=1n_A = 1). Results use a single Haar-random realization for each system size. (a) Ideal Petz entanglement fidelity versus nD−n/2n_D - n/2 where nn is the number of qubits acted on by UU. The black dashed lines mark fidelities 1/41/4 and 11. (b) Entanglement fidelity of the approximate recovery versus iteration count kk for n=8n = 8, nD=6n_D = 6, using the generic type I block encoding in Eq. (55). The vertical dashed line marks the Grover estimate k∗k^* in Eq. (66).

Now we study the approximate recovery channel produced by our algorithm using the angle sequences described above and compare its entanglement fidelity with that of the ideal Petz recovery map as a function of the iteration number kk. As discussed in § 2 A, the expected kk depends on the spectrum λ\lambda of EσE_\sigma and the block-encoding normalization α\alpha. Since ∑iλi2=1\sum_i\lambda_i^2=1, we have

λ2‾=1min⁡(dAdC,dD).(64)\overline{\lambda^2}=\frac{1}{\min(d_A d_C,d_D)}. \tag*{(64)}

where the overline denotes the uniform average over the nonzero singular values, and min⁡(dAdC,dD)\min(d_A d_C,d_D) is the smaller dimension of E~σ\widetilde{E}_\sigma. For the following analysis, we compare the two generic block encodings in Eqs. (55) and (57). Among these, type I is preferred when dAdC<dDd_A d_C<d_D, and type II when dAdC>dDd_A d_C>d_D, giving α2=min⁡(dAdC,dD)\alpha^2=\min(d_A d_C,d_D). Therefore, the mean squared scaled singular value is

x2‾=1min⁡2(dAdC,dD),(65)\overline{x^2}=\frac{1}{\min^2(d_A d_C,d_D)}, \tag*{(65)}

which is exponentially small unless nD∼1n_D\sim1 or nD∼nn_D\sim n. Using Weingarten calculus for Haar-random unitaries [59], we also estimate the standard deviation

Std(x2)(x^2) in Appendix E. The spectral width is comparable to the mean near dAdC=dDd_A d_C = d_D, while the relative width Std(x2)/x2ˉ\mathrm{Std}(x^2)/\bar{x^2} decreases exponentially as nDn_D increases beyond this crossover.

We choose n=8n = 8 and nD=6n_D = 6 for this comparison, and since dAdC<dDd_A d_C < d_D, we use the generic type I block encoding in Eq. (55). The results are shown in Figure 3(b) for the four angle sequences described above. The fidelity from the standard Grover search method increases rapidly at first and reaches a maximum around the vertical line marking the estimated first peak for Grover search, calculated using the mean value of the spectrum:

k∗=π4arcsin⁡(x2‾)−12.(66)k^* = \frac{\pi}{4\arcsin\left(\sqrt{\overline{x^2}}\right)} - \frac{1}{2}. \tag*{(66)}

Near the estimated first peak k∗k^*, the entanglement fidelity reached by the standard Grover search method is still below that of the ideal Petz recovery map, due to the finite width of the spectrum. Beyond this first peak, the fidelity starts to decrease and oscillate due to the overshooting effect inherent in the Grover search algorithm. The spectrum-weighted and interval-optimized sequences avoid this overshooting in the displayed results and gradually approach the ideal Petz recovery fidelity. The sequences θ⃗k w\vec{\theta}^{\,w}_k and θ⃗k [xmin⁡,xmax⁡]\vec{\theta}^{\,[x_{\min},x_{\max}]}_k perform similarly and overlap with Grover search for k<k∗k < k^*. In this example, optimization over the tight spectral interval achieves performance comparable to spectrum-weighted optimization. The angle sequence θ⃗k [xmin⁡,1]\vec{\theta}^{\,[x_{\min},1]}_k also eventually converges to the ideal Petz recovery fidelity, but more slowly, because it additionally constrains r(x)r(x) to be close to 11 for x>xmax⁡x > x_{\max}. These results illustrate convergence toward the ideal Petz entanglement fidelity, consistent with the channel-error bound derived above.

For this Haar-random unitary encoding problem, the small scaled singular values in Eq. (65) typically require an exponentially large number of iterations for these generic block encodings to approximate the Petz recovery map, except when nDn_D is very small or close to nn. Additional structure in the encoding channel can nevertheless yield larger singular values or a block encoding with a substantially smaller α\alpha, reducing the iteration count. The Hayden–Preskill protocol, discussed next, provides such an example through entanglement assistance.

Recovery in the Hayden–Preskill Protocol

Encoding and Ideal Petz Recovery

In this section, we apply our algorithm to the Hayden–Preskill (HP) encoding channel [44] and compare it with the ideal Petz recovery map as well as other decoding protocols. The HP protocol is a paradigmatic example of information recovery in quantum many-body systems, where the goal is to retrieve information that has been scrambled by a chaotic unitary evolution. In this setup, ∣0⟩B|0\rangle_B is replaced by a maximally entangled state ∣EPR⟩B′B|\mathrm{EPR}\rangle_{B'B} between the auxiliary subsystem BB and B′B'. The unitary UU acts only on the logical space AA and the subsystem BB, while B′B' passes directly through to the output. The channel isometry EIE_I reads

EI=(U⊗IB′)(IA⊗∣EPR⟩BB′)(67)E_I=(U\otimes I_{B'})(I_A\otimes|\mathrm{EPR}\rangle_{BB'}) \tag*{(67)}

In the above diagram, both subsystems DD and B′B' are part of the encoding subspace where the decoding is applied. We write dB′=dBd_{B'}=d_B and nB′=nBn_{B'}=n_B; n=nA+nB=nC+nDn=n_A+n_B=n_C+n_D counts the qubits acted on by UU, excluding the additional register B′B'.

We again draw UU from the Haar ensemble, but now with the additional entanglement structure of the HP protocol. We first compute the entanglement fidelity of the ideal Petz recovery map as a function of the number of qubits in the output subsystem DD, as shown in Figure 4. As a hallmark of the HP protocol, the fidelity approaches unity from the baseline 1/41/4 with only a few qubits in DD. Here the decoder accesses both DD and the entangled register B′B', so near-unit recovery from a small DD benefits from side information absent in the unassisted Haar-random encoding. The displayed system sizes, n=8n=8 and n=12n=12, give similar fidelity curves, as in the random encoding example.

Petz recovery fidelity plots

Figure 4. Petz recovery in the Hayden–Preskill protocol with one logical qubit (nA=1n_A=1) and a Haar-random encoding unitary. Results use a single Haar-random realization for each system size. (a) Ideal Petz entanglement fidelity versus the number of output qubits nDn_D. Here nn counts the qubits acted on by UU, excluding the entangled register B′B', which is also available to the decoder. Near-unit fidelity is obtained with only a few qubits in DD. (b) Entanglement fidelity versus iteration count kk for n=8n=8, nD=2n_D=2, using the reduced (II′)-HP block encoding in Eq. (70). One Grover iteration gives a large initial improvement, while the optimized sequences continue toward the Petz benchmark.

Reduced Block Encoding and Recovery Performance

Now we study the singular-value distribution and block encoding of E~σ†\widetilde{E}^{\dagger}_{\sigma} for the HP encoding channel. The average singular value squared is

λ‾ 2=dDdBmin⁡(dA2,dD2).(68)\overline{\lambda}^{\,2}=\frac{d_D}{d_B\min\left(d_A^2,d_D^2\right)}. \tag*{(68)}

The singular values are still exponentially small unless nD∼nBn_D\sim n_B. However, the specific structure of the HP encoding channel allows for a much more efficient block encoding of E~σ†\widetilde{E}^{\dagger}_{\sigma} than is possible for a general encoding channel, as we show next.

We start by considering the two generic block-encoding forms of E~σ†\widetilde{E}^{\dagger}_{\sigma} introduced in Eqs. (55) and (57). The type I form is

(I)-HP: E~σ†=dAdC\widetilde{E}^{\dagger}_{\sigma}=\sqrt{d_A d_C}, with the circuit shown in the diagram.

For σ=IA/dA\sigma=I_A/d_A, the type I′ simplification gives

(I′)-HP: E~σ†=dCdA\widetilde{E}^{\dagger}_{\sigma}=\sqrt{\frac{d_C}{d_A}}, with the circuit shown in the diagram. {#eq:70}

The type II form is

(II)-HP:E~σ†=dDdB′(69)\text{(II)-HP:}\qquad\widetilde{E}_{\sigma}^{\dagger}=\sqrt{d_Dd_{B'}} \tag*{(69)}

The normalization factors in both forms are consistent with the random unitary encoding protocol and are generally exponentially large. Therefore, the scaled singular value xx is still exponentially small.

However, type II can be further reduced to a more efficient type II′' form:

(II’)-HP:E~σ†=dDdB′(70)\text{(II')-HP:}\qquad\widetilde{E}_{\sigma}^{\dagger}=\sqrt{\frac{d_D}{d_{B'}}} \tag*{(70)}

The normalization factor is now α(II′)-HP=dD/dB′\alpha^{(\mathrm{II'})\text{-HP}}=\sqrt{d_D/d_{B'}}, smaller than that of the generic type II form by a factor of dBd_B and no larger than that of the generic type I form, with equality when dC=1d_C=1. For maximally mixed σ\sigma, comparison with type I′' applied to the HP channel gives (α(II′)-HP)2/(α(I′)-HP)2=dA2/dC2(\alpha^{(\mathrm{II'})\text{-HP}})^2/(\alpha^{(\mathrm{I'})\text{-HP}})^2=d_A^2/d_C^2, thus reduced type II has smaller normalization when dC>dAd_C>d_A, ties when dC=dAd_C=d_A, and has larger normalization when dC<dAd_C<d_A. For the reduced type II construction, the average scaled singular value squared is

x2‾=1min⁡(dA2,dD2).(71)\overline{x^2}=\frac{1}{\min(d_A^2,d_D^2)}. \tag*{(71)}

As shown in Appendix E, the standard deviation Std⁡(x2)\operatorname{Std}(x^2) is comparable to the average x2‾\overline{x^2} when dD=dAd_D=d_A but decreases exponentially as nDn_D increases. Since the number of logical qubits nAn_A is typically small (nA=1n_A=1 for the current example), the scaled singular value is no longer exponentially small and the number of iterations needed to achieve Petz fidelity is significantly reduced.

Now we compare the entanglement fidelity obtained using our algorithm and the reduced type II block encoding with that of the ideal Petz recovery map. The results are shown in Figure 4(b) for the four different angle sequences. As expected, the number of iterations required to achieve Petz fidelity is significantly reduced compared with that for the random unitary encoding protocol. For nA=1n_A=1 and nD≥1n_D\ge1, x2‾=1/4\overline{x^2}=1/4. When the spectrum is concentrated near x=1/2x=1/2, Eq. (66) predicts k∗=1k^*=1: a single Grover iteration maps the amplitude x=1/2x=1/2 to 1. The finite spectral width limits the recovery fidelity, which remains below that of ideal Petz recovery in the displayed example. As in the Haar-random code, the spectrum-weighted and interval-optimized sequences improve the fidelity toward the Petz benchmark as the iteration count kk increases.

Relation to Existing Decoders

The known HP decoders can be organized by the choice of block encoding, iteration count, and postselection in Algorithm 1, providing a unified framework for understanding and improving these decoders.

At k=0k=0, Wθ⃗=WW_{\vec{\theta}}=W and the corresponding polynomials are p(x)=xp(x)=x and q(x)=1q(x)=1. The (I′')-HP block encoding in Eq. (70), with postselection on ∣t⟩\lvert t\rangle, realizes the Petz-lite decoder [15]:

⟨EPR∣BB′circuit diagram(72)\langle\mathrm{EPR}|_{BB'} \begin{array}{c} \text{circuit diagram} \end{array} \tag*{(72)}

Here the BB output is postselected with B′B'. Discarding the encoding environment CC and recovery environment C′C' leaves the recovered state on A′A'. In the ideal limit of perfect conditional recovery, the retained CC′CC' state is an EPR pair: replacing the auxiliary EPR preparation by an input state on C′′C'' then transfers that state to CC, giving a bidirectional-teleportation interpretation related to Ref. [60].

On the other hand, the type (II′')-HP circuit in Eq. (70), with the same k=0k=0 postselection, gives the stochastic Yoshida–Kitaev decoder [45]:

⟨EPR∣DD′circuit diagram(73)\langle\mathrm{EPR}|_{DD'} \begin{array}{c} \text{circuit diagram} \end{array} \tag*{(73)}

Here DD′DD' is postselected onto an EPR state. Discarding CC′CC' leaves the recovered state on A′A'. The postselected constructions in Eqs. (72) and (73) differ only by an overall scalar factor. They therefore produce identical normalized recovered states, although their success probabilities differ, consistent with Ref. [15]. A related rearrangement of the postselected decoding circuit gives the decoding-before-encoding protocol of Ref. [61], in which the recovered state is conditioned on a later input and Bell-measurement outcome.

Using the (II′')-HP construction with the Grover angle sequence θi=π\theta_i=\pi yields the deterministic Yoshida–Kitaev decoder [45]:

Circuit diagram for the Grover-based decoder

Figure 76.

Here ∣t⟩=∣EPR⟩DD′|t\rangle= |\mathrm{EPR}\rangle_{DD'} and ∣s⟩=∣EPR⟩AA′|s\rangle= |\mathrm{EPR}\rangle_{AA'} are normalized EPR states. The initial U∗U^{*} prepares the search state, and each repeated block implements Zs(π)Zt(π)Z_s(\pi)Z_t(\pi). The recovered state appears on A′A', and the registers DD′CC′DD'CC' are discarded without postselection. The nearly flat spectrum in the decoupling regime allows the Grover rotations to amplify the singular-vector sectors together.

For our one-qubit example, the spectrum concentrated near x=1/2x = 1/2 gives the single-iteration estimate discussed above; finite spectral width limits its accuracy.

For nA=1n_A = 1 and k=1k = 1, the circuit simplifies further as exp⁡(iπ∣s⟩⟨s∣)\exp(i\pi|s\rangle\langle s|) can be related to a Pauli-YY correction and a SWAP operation.

exp⁡(iπ∣s⟩⟨s∣)=(YA′′⊗YA′)SWAP⁡A′′A′=YA′′YA′.(74)\exp(i\pi|s\rangle\langle s|) = (Y_{A''} \otimes Y_{A'})\operatorname{SWAP}_{A''A'} = Y_{A''}Y_{A'}. \tag*{(74)}

At k=1k = 1, the circuit diagram becomes:

Simplified circuit diagram at one iteration

Figure 78.

The dashed gates act only on discarded registers and can be omitted. Removing the SWAP and reading out A′′A'' instead of A′A' gives the equivalent circuit

Equivalent circuit with corrected output on A''

Figure 79.

Only the corrected output A′′A'' is retained. The simplified circuit shares the structure of many-body teleportation protocols [62, 63, 64], with the joint EPR reflection exp⁡(iπ∣t⟩⟨t∣)\exp(i\pi|t\rangle\langle t|) on DD′DD' replaced there by an intersystem coupling eigVe^{i g V}.

Our optimized sequences extend these constructions by approximating p(x)=sign⁡(x)p(x) = \operatorname{sign}(x), up to a common phase, across the nonzero spectrum. They therefore approach the full Petz recovery, including its operator-valued inverse-square-root normalization, even when the spectrum has finite width. This connects the postselected adjoint-map decoders and Grover-based deterministic decoding to the same polar-based recovery framework.

Conclusion and Outlook

We have formulated approximate Petz recovery for a general full-rank reference state σ\sigma using the polar representation [36, 37, 38]

RσPetz=sign⁡(E~†).(75)R^{\mathrm{Petz}}_{\sigma} = \operatorname{sign}(\widetilde{E}^{\dagger}). \tag*{(75)}

This identity incorporates the inverse-square-root normalization into a single singular-value transformation, giving a direct QSVT construction for approximate quantum error correction [27]. The construction can be interpreted as simultaneous quantum searches with aligned phases across singular-vector sectors, connecting it to phase-preserving QSVT decoders [32]. By retaining the full unitary evolution and discarding the auxiliary registers, we obtain an approximate recovery channel Rθ⃗R_{\vec{\theta}} without postselection.

We bound the diamond distance between the ideal Petz encoding–recovery channel RσPetz∘ER^{\mathrm{Petz}}_{\sigma} \circ\mathcal{E} and its approximation Rθ⃗∘ER_{\vec{\theta}} \circ\mathcal{E}. The QSVT dependence enters through the spectrum-weighted coherent overlap

f=∣∑iλi2p~(λi/α)∣,(76)f = \left|\sum_i \lambda_i^2 \widetilde{p}(\lambda_i/\alpha)\right|, \tag*{(76)}

where λi\lambda_i are the singular values of E~S†\widetilde{E}^{\dagger}_{\mathcal{S}}, α\alpha is the block-encoding normalization, and p⃗θ\vec{p}^{\theta} is the polynomial determined by the angle sequence. The associated loss Iθ⃗=1−f2\mathcal{I}^{\vec{\theta}} = 1 - f^2 accounts for relative phases between sectors and provides an objective for optimizing the angles to tighten the diamond-distance bound. An interval-based alternative controls the worst-case polynomial error over an interval containing the nonzero scaled singular values. Combining this approach with results on best uniform polynomial approximation [55, 56] yields an exponentially decaying upper bound. For a fixed reference state and fixed nonzero singular-value spectrum,

Δopt(k)=O(e−λmin⁡k/α),k→∞,(77)\Delta^{\mathrm{opt}}(k) = \mathcal{O}(e^{-\lambda_{\min} k/\alpha}), \qquad k \to\infty, \tag*{(77)}

where λmin⁡\lambda_{\min} is the smallest nonzero singular value. This bound quantifies the tradeoff between recovery accuracy and the number of QSVT iterations.

We apply the construction to Haar-random encoding [36, 41] and the Hayden–Preskill protocol [44]. Our numerical results show that the recovery fidelity approaches the ideal Petz fidelity as kk increases. In the entanglement-assisted Hayden–Preskill setting, the channel admits a reduced block encoding with a smaller normalization α\alpha, lowering the iteration count needed to approach Petz recovery. The formulation also places the Yoshida–Kitaev and Petz-lite decoders [15, 45] within a common framework, distinguished by their block encodings, iteration counts, angle sequences, and use of postselection.

This work also opens up numerous avenues for future research. It would be interesting to compare the Petz recovery map with decoders of other quantum error correction protocols in terms of efficiency and accuracy. It would be valuable to assess the Petz recovery map for practical quantum error correction codes with realistic noise models. Moreover, it would be interesting to characterize quantum many-body systems based on whether the Petz recovery map becomes simple or exhibits a structure that can be exploited for efficient decoding. In this work, we mainly consider a random unitary UU drawn from the Haar measure as the encoding operation. One can instead consider structured unitaries such as exp⁡(−iHt)\exp(-iHt) plus noise, and ask which Hamiltonians and time regimes lead to a simple or efficiently implementable Petz recovery map. This could provide insights into the search for new quantum error correction codes. Lastly, the polar-based construction developed here suggests routes to more effective decoders beyond the Petz map itself.

Acknowledgements

This research was supported by the National Science Foundation (NSF) under Grant No. DMR-2443462. Codex (GPT-6-Astra) was used to assist with programming for polynomial optimization and polishing the manuscript.

References

Completeness of the Petz Map

The Kraus operators of the composite channel RσPetz∘E\mathcal{R}^{\mathrm{Petz}}_{\sigma}\circ\mathcal{E} are given by

γij=σ−12Ei†E(σ)−12Ej,(78)\gamma_{ij}=\sigma^{-\frac{1}{2}}E_i^\dagger\mathcal{E}(\sigma)^{-\frac{1}{2}}E_j, \tag*{(78)}

where {Ei}\{E_i\} are the Kraus operators of the encoding channel E\mathcal{E}. Now we check the completeness relation:

∑ijγij†γij=∑ijEj†E(σ)−12Eiσ−12σσ−12Ei†E(σ)−12Ej=∑iEi†E(σ)−12E(σ)12Ei.(79)\begin{aligned} \sum_{ij}\gamma_{ij}^\dagger\gamma_{ij}=\sum_{ij}E_j^\dagger\mathcal{E}(\sigma)^{-\frac{1}{2}}E_i\sigma^{-\frac{1}{2}}\sigma\sigma^{-\frac{1}{2}}E_i^\dagger\mathcal{E}(\sigma)^{-\frac{1}{2}}E_j \\ &=\sum_iE_i^\dagger\mathcal{E}(\sigma)^{-\frac{1}{2}}\mathcal{E}(\sigma)^{\frac{1}{2}}E_i. \tag*{(79)} \end{aligned}

Recall that E~σ=∑i∣i⟩⟨i∣⊗Eiσ12\widetilde{E}_{\sigma}=\sum_i\lvert i\rangle\langle i\lvert\otimes E_i\sigma^{\frac{1}{2}} and E(σ)=E~σE~σ†\mathcal{E}(\sigma)=\widetilde{E}_{\sigma}\widetilde{E}_{\sigma}^{\dagger}. Even though E(σ)−12E(σ)12\mathcal{E}(\sigma)^{-\frac{1}{2}}\mathcal{E}(\sigma)^{\frac{1}{2}} is not strictly equal to the identity when E(σ)\mathcal{E}(\sigma) is not full rank, from the SVD of E~σ\widetilde{E}_{\sigma}, we have

E~σ†E(σ)−12E(σ)12=E~σ†.(80)\widetilde{E}_{\sigma}^{\dagger}\mathcal{E}(\sigma)^{-\frac{1}{2}}\mathcal{E}(\sigma)^{\frac{1}{2}}=\widetilde{E}_{\sigma}^{\dagger}. \tag*{(80)}

Assuming that σ\sigma is full rank, we can rewrite the completeness relation as

∑ijγij†γij=σ−12tr⁡C(E~σ†E~σ)σ−12=σ−12σσ−12=I.(81)\sum_{ij}\gamma_{ij}^{\dagger}\gamma_{ij}=\sigma^{-\frac{1}{2}}\operatorname{tr}_{C}\left(\widetilde{E}_{\sigma}^{\dagger}\widetilde{E}_{\sigma}\right)\sigma^{-\frac{1}{2}}=\sigma^{-\frac{1}{2}}\sigma\sigma^{-\frac{1}{2}}=I. \tag*{(81)}

Therefore, as long as σ\sigma is full rank, the composition of the Petz recovery map and the encoding channel is CPTP.

Near-Optimality of the Petz Map

Consider the entanglement fidelity of a general recovery channel R\mathcal{R} for the encoding channel E\mathcal{E}, evaluated at the input state τ=σ\tau=\sigma. In graphical notation, it can be represented as

Fσen(R∘E)=σEi†R∗EiRTσ(82)F_{\sigma}^{\mathrm{en}}(\mathcal{R}\circ\mathcal{E})= \begin{array}{c} \sigma\\ E_i^{\dagger}\quad R^{*}\\ E_i\quad R^{T}\\ \sigma \end{array} \tag*{(82)}

Using Eq. (80), we can rewrite the entanglement fidelity as

diagram with σ3/4, σ1/4, EI†, R∗, E(σ)−1/4, E(σ)1/4, EI, RT, σ3/4, σ1/4(83)\text{diagram with } \sigma^{3/4},\ \sigma^{1/4},\ E_I^\dagger,\ R^*,\ \mathcal{E}(\sigma)^{-1/4},\ \mathcal{E}(\sigma)^{1/4},\ E_I,\ R^T,\ \sigma^{3/4},\ \sigma^{1/4} \tag*{(83)}

Then we can split the diagram along the red dashed line using the Cauchy–Schwarz inequality:

Fσen(R∘E)2≤FLFR,(84)F_\sigma^{\mathrm{en}}(\mathcal{R}\circ\mathcal{E})^2\leq F_LF_R, \tag*{(84)}

where FLF_L is

diagram with σ3/2, EI†, EIT, E(σ)−1/2, EI, EI∗, σ3/2(85)\text{diagram with } \sigma^{3/2},\ E_I^\dagger,\ E_I^T,\ \mathcal{E}(\sigma)^{-1/2},\ E_I,\ E_I^*,\ \sigma^{3/2} \tag*{(85)}

This is precisely Fσen(RσPetz∘E)F_\sigma^{\mathrm{en}}(\mathcal{R}^{\mathrm{Petz}}_\sigma\circ\mathcal{E}), the entanglement fidelity of the Petz recovery map. The right factor FRF_R is

diagram with E(σ)1/2, R†, RT, σ1/2, R, R∗, E(σ)1/2(86)\text{diagram with } \mathcal{E}(\sigma)^{1/2},\ R^\dagger,\ R^T,\ \sigma^{1/2},\ R,\ R^*,\ \mathcal{E}(\sigma)^{1/2} \tag*{(86)}

The vectorizations of E(σ)1/2\mathcal{E}(\sigma)^{1/2} and σ1/2\sigma^{1/2} are normalized pure states. The diagram gives the overlap of the latter with the output of the trace-preserving channel R⊗R∗\mathcal{R}\otimes\mathcal{R}^* acting on the former, where R∗\mathcal{R}^* has Kraus operators Ri∗R_i^*. Hence FR≤1F_R\leq1. Combining everything leads to the near-optimality inequality for the Petz recovery map:

Fσen(RσPetz∘E)≥Fσen(R∘E)2.(87)F_\sigma^{\mathrm{en}}(\mathcal{R}^{\mathrm{Petz}}_\sigma\circ\mathcal{E})\geq F_\sigma^{\mathrm{en}}(\mathcal{R}\circ\mathcal{E})^2. \tag*{(87)}

The recovery channel R\mathcal{R} on the right-hand side of the inequality is arbitrary and can be the optimal recovery channel that maximizes the entanglement fidelity.

Bounding the Diamond Distance

The diamond distance measures the worst-case distinguishability of two channels, allowing inputs entangled with an ancillary system.

For full-rank σ\sigma, every encoded state is supported on supp⁡E(σ)\operatorname{supp}\mathcal{E}(\sigma). We therefore compare the composite channels Rθ⃗∘E\mathcal{R}^{\vec{\theta}}\circ\mathcal{E} and RσPetz∘E\mathcal{R}^{\mathrm{Petz}}_\sigma\circ\mathcal{E}, whose actions are independent of how Petz recovery is extended outside this support.

In the composite channel, we label the encoding environment by CC and the recovery environment by C′C', a copy of the CC register used in the standalone recovery construction. Define the recovery isometries

Tθ⃗=Wθ⃗∣s⟩,TσPetz=WσPetz∣s⟩.T^{\vec{\theta}}=W^{\vec{\theta}}|s\rangle,\qquad T^{\mathrm{Petz}}_\sigma=W^{\mathrm{Petz}}_\sigma|s\rangle.

The corresponding composite encoding–recovery isometries are

Vθ⃗=(IC⊗Tθ⃗)EI,V^{\vec{\theta}}=(I_C\otimes T^{\vec{\theta}})E_I,
VσPetz=(IC⊗TσPetz)EI,(88)V^{\mathrm{Petz}}_\sigma=(I_C\otimes T^{\mathrm{Petz}}_\sigma)E_I, \tag*{(88)}

each mapping HA\mathcal{H}_A to HC⊗HT⊗HC′⊗HA\mathcal{H}_C\otimes\mathcal{H}_T\otimes\mathcal{H}_{C'}\otimes\mathcal{H}_A, with dimensions dCdTdC′dA×dAd_Cd_Td_{C'}d_A\times d_A and dC′=dCd_{C'}=d_C. The composite channels can then be implemented as

Rθ⃗∘E(ρ)=tr⁡C⊗T⊗C′[Vθ⃗ρVθ⃗†],(89)\mathcal{R}^{\vec{\theta}}\circ\mathcal{E}(\rho)=\operatorname{tr}_{C\otimes T\otimes C'}\left[V^{\vec{\theta}}\rho V^{\vec{\theta}\dagger}\right], \tag*{(89)}

and similarly for the Petz recovery map.

Since the diamond distance decreases under common post-processing, we have

∥Rθ⃗∘E−RσPetz∘E∥⋄≤∥Vθ⃗−VσPetz∥⋄,(90)\left\|\mathcal{R}^{\vec{\theta}}\circ\mathcal{E}-\mathcal{R}^{\mathrm{Petz}}_\sigma\circ\mathcal{E}\right\|_\diamond\leq\left\|V^{\vec{\theta}}-V^{\mathrm{Petz}}_\sigma\right\|_\diamond, \tag*{(90)}

where Vθ⃗(ρ)=Vθ⃗ρVθ⃗†V^{\vec{\theta}}(\rho)=V^{\vec{\theta}}\rho V^{\vec{\theta}\dagger} and VσPetz(ρ)=VσPetzρVσPetz†V^{\mathrm{Petz}}_\sigma(\rho)=V^{\mathrm{Petz}}_\sigma\rho V^{\mathrm{Petz}\dagger}_\sigma. This lets us bound the diamond distance between the composite channels by the diamond distance between the corresponding isometry channels. The diamond distance between two isometry channels is given by

12∥Vθ⃗−VσPetz∥⋄=max⁡ρ1−∣tr⁡(ρVθ⃗†VσPetz)∣2,(91)\frac{1}{2}\left\|V^{\vec{\theta}}-V^{\mathrm{Petz}}_\sigma\right\|_\diamond=\max_\rho\sqrt{1-\left|\operatorname{tr}(\rho V^{\vec{\theta}\dagger}V^{\mathrm{Petz}}_\sigma)\right|^2}, \tag*{(91)}

where ρ\rho is a density matrix in HA\mathcal{H}_A. Let f(ρ)=∣tr⁡(ρVθ⃗†VσPetz)∣f(\rho)=\left|\operatorname{tr}(\rho V^{\vec{\theta}\dagger}V^{\mathrm{Petz}}_\sigma)\right|. The optimal solution ρ∗\rho^* minimizes f(ρ)f(\rho). We then establish the following two inequalities:

1+f(ρ∗)≤1+f(ρ),(1−f(ρ∗))≤∥ρ−1∥∞(1−f(ρ)),(92)1+f(\rho^*)\leq1+f(\rho),\qquad\left(1-f(\rho^*)\right)\leq\|\rho^{-1}\|_\infty\left(1-f(\rho)\right), \tag*{(92)}

where ρ\rho is an arbitrary full-rank density matrix, and ∥ρ−1∥∞\|\rho^{-1}\|_{\infty} is the inverse of the smallest eigenvalue of ρ\rho. The first inequality follows from the optimality of ρ∗\rho^{*}. For the second, set μ=λmin⁡(ρ)\mu=\lambda_{\min}(\rho). Since ρ≥μI≥μρ∗\rho\geq\mu I\geq\mu\rho^{*}, we can write ρ=μρ∗+(1−μ)τ\rho=\mu\rho^{*}+(1-\mu)\tau for a density matrix τ\tau when μ<1\mu<1. The isometry condition gives ∥Vθ⃗†VσPetz∥∞≤1\|V^{\vec{\theta}\dagger}V_{\sigma}^{\mathrm{Petz}}\|_{\infty}\leq1, so the triangle inequality implies

f(ρ)≤μf(ρ∗)+(1−μ)f(τ)≤μf(ρ∗)+1−μ.f(\rho)\leq\mu f(\rho^{*})+(1-\mu)f(\tau)\leq\mu f(\rho^{*})+1-\mu.

Rearranging proves the second inequality; the case μ=1\mu=1 is immediate. Multiplying the two inequalities leads to

1−f(ρ∗)2≤∥ρ−1∥∞(1−f(ρ)2).(93)1-f(\rho^{*})^{2}\leq\|\rho^{-1}\|_{\infty}(1-f(\rho)^{2}). \tag*{(93)}

To evaluate f(σ)f(\sigma), we trace out the encoding environment:

tr⁡(σVθ⃗†VσPetz)=tr⁡[E(σ)(Tθ⃗)†TσPetz]=∑iλi2p(xi)∗.\operatorname{tr}\left(\sigma V^{\vec{\theta}\dagger}V_{\sigma}^{\mathrm{Petz}}\right) =\operatorname{tr}\left[\mathcal{E}(\sigma)(T^{\vec{\theta}})^{\dagger}T_{\sigma}^{\mathrm{Petz}}\right] =\sum_i\lambda_i^2p(x_i)^{*}.

Here E(σ)=∑iλi2∣EiD⟩⟨EiD∣\mathcal{E}(\sigma)=\sum_i\lambda_i^2|E_i^D\rangle\langle E_i^D|, and the error component in Eq. (33) is orthogonal to the target auxiliary state ∣t⟩|t\rangle. Taking the absolute value removes the complex conjugation and yields

f(σ)=∣∑iλi2p(xi)∣.(94)f(\sigma)=\left|\sum_i\lambda_i^2p(x_i)\right|. \tag*{(94)}

where σ\sigma is the full-rank reference state used in the Petz map, λi\lambda_i are the singular values of E~σ\widetilde{E}_{\sigma}, xi=λi/αx_i=\lambda_i/\alpha are the scaled singular values, and pp is an odd polynomial of degree at most 2k+12k+1 from the QSVT. Combining everything, we obtain a simple bound on the diamond distance in terms of the polynomial pp and the singular values λ\lambda:

Δ(θ⃗)=12∥Rθ⃗∘E−RσPetz∘E∥⋄≤∥σ−1∥∞Tθ⃗,(95)\Delta(\vec{\theta})=\frac{1}{2}\left\|\mathcal{R}^{\vec{\theta}}\circ\mathcal{E}-\mathcal{R}_{\sigma}^{\mathrm{Petz}}\circ\mathcal{E}\right\|_{\diamond}\leq\sqrt{\|\sigma^{-1}\|_{\infty}\mathcal{T}^{\vec{\theta}}}, \tag*{(95)}

where

Tθ⃗=1−∣∑iλi2p(xi)∣2.(96)\mathcal{T}^{\vec{\theta}}=1-\left|\sum_i\lambda_i^2p(x_i)\right|^2. \tag*{(96)}

Clearly, the diamond distance between the composite channels is controlled by the polynomial pp and the singular value distribution of E~σ\widetilde{E}_{\sigma}. If p(x)p(x) is the sign function apart from a global phase, then the upper bound is zero.

The Entanglement Fidelity of the Approximate Petz Channel

Here we analyze the entanglement fidelity of the approximate Petz channel Rθ⃗∘E\mathcal{R}^{\vec{\theta}}\circ\mathcal{E}, with recovery isometry Tθ⃗=Wθ⃗∣s⟩T^{\vec{\theta}}=W^{\vec{\theta}}|s\rangle as defined in Appendix C.

For a general logical reference state σ\sigma, the diagrammatic representation is

Fσen(Rθ⃗∘E)=(97)F_{\sigma}^{\mathrm{en}}(\mathcal{R}^{\vec{\theta}}\circ\mathcal{E}) = \tag*{(97)}

Below we specialize to the maximally mixed logical input, for which the EPR contractions become normalized partial traces:

Fen(Rθ⃗∘E)=∥1dAtr⁡A[Tθ⃗EI]∥22.(98)F^{\mathrm{en}}(\mathcal{R}^{\vec{\theta}}\circ\mathcal{E}) =\left\|\frac{1}{d_A}\operatorname{tr}_A\left[T^{\vec{\theta}}E_I\right]\right\|_2^2. \tag*{(98)}

Here tr⁡A\operatorname{tr}_A contracts the input and recovered logical indices, leaving the environment indices open, and ∥X∥22=tr⁡(X†X)\|X\|_2^2=\operatorname{tr}(X^\dagger X) is the squared Hilbert–Schmidt norm of the remaining tensor. Identities on untouched environments are implicit. The reference state σ\sigma defining the recovery need not be maximally mixed.

Recall that

Tθ⃗=Wθ⃗∣s⟩=∣t⟩P+(1−∣t⟩⟨t∣)W∣s⟩Q.(99)T^{\vec{\theta}}=W^{\vec{\theta}}|s\rangle=|t\rangle P+(1-|t\rangle\langle t|)W|s\rangle Q. \tag*{(99)}

The two terms are orthogonal on TT. Expanding the complementary projector therefore gives

Fen=1dA2∥tr⁡A[PEI]∥22−1dA2∥tr⁡A[Q′EI]∥22+1dA2∥tr⁡A[W∣s⟩QEI]∥22,(100)F^{\mathrm{en}} =\frac{1}{d_A^2}\|\operatorname{tr}_A[PE_I]\|_2^2 -\frac{1}{d_A^2}\|\operatorname{tr}_A[Q'E_I]\|_2^2 +\frac{1}{d_A^2}\|\operatorname{tr}_A[W|s\rangle QE_I]\|_2^2, \tag*{(100)}

where Q′=⟨t∣W∣s⟩QQ'=\langle t|W|s\rangle Q. The first two terms depend only on the block-encoded operator and the chosen polynomials, while the last term depends on the full isometry W∣s⟩W|s\rangle. For block encodings that prepare σ∣A′A\sigma|_{A'A} and leave its output half AA untouched by WW, including generic types I and II in Eqs. (55) and (57) and reduced type (II′)-HP in Eq. (70), tracing over the other outputs leaves σA\sigma_A independently of the input. Consequently,

∥tr⁡A[W∣s⟩QEI]∥22=tr⁡[QE(σ)Q†]=∑iλi2∣q(xi)∣2.(101)\|\operatorname{tr}_A[W|s\rangle QE_I]\|_2^2 =\operatorname{tr}[Q\mathcal{E}(\sigma)Q^\dagger] =\sum_i\lambda_i^2|q(x_i)|^2. \tag*{(101)}

For these block encodings, the entanglement fidelity simplifies to

Fen=1dA2∥tr⁡A[PEI]∥22−1dA2∥tr⁡A[Q′EI]∥22+1dA2∑iλi2∣q(xi)∣2.(102)F^{\mathrm{en}}=\frac{1}{d_A^2}\left\|\operatorname{tr}_A[PE_I]\right\|_2^2-\frac{1}{d_A^2}\left\|\operatorname{tr}_A[Q'E_I]\right\|_2^2+\frac{1}{d_A^2}\sum_i\lambda_i^2\lvert q(x_i)\rvert^2. \tag*{(102)}

Type I′ in Eq. (60) and its HP version in Eq. (70) do not satisfy the untouched-output condition; their fidelities are given by the general three-term expression above.

Estimation of the Singular-Value Distribution

In this appendix, we estimate the distribution of the nonzero singular values λ\lambda of E~σ\widetilde{E}_{\sigma} for both the Haar-random and HP encoding channels. An overline denotes the uniform average over the nonzero singular values for a fixed encoding unitary, while EUE_U denotes the Haar average over encoding unitaries. Since E(σ)=E~σE~σ†\mathcal{E}(\sigma)=\widetilde{E}_{\sigma}\widetilde{E}_{\sigma}^{\dagger} is a density matrix, ∑iλi2=1\sum_i\lambda_i^2=1. Thus, with r=rank⁡E(σ)r=\operatorname{rank}\mathcal{E}(\sigma) and xi=λi/αx_i=\lambda_i/\alpha,

λ2‾=1r,x2‾=1rα2.\overline{\lambda^2}=\frac{1}{r},\qquad\overline{x^2}=\frac{1}{r\alpha^2}.

We define Std⁡(x2)\operatorname{Std}(x^2) as the square root of the Haar-averaged spectral variance. For fixed α\alpha and a rank rr that is constant almost surely, the identity tr⁡[E(σ)2]=∑iλi4\operatorname{tr}[\mathcal{E}(\sigma)^2]=\sum_i\lambda_i^4 gives

Std⁡(x2)x2‾=rEU[tr⁡[E(σ)2]]−1.(103)\frac{\operatorname{Std}(x^2)}{\overline{x^2}}=\sqrt{rE_U[\operatorname{tr}[\mathcal{E}(\sigma)^2]]-1}. \tag*{(103)}

The mean is therefore determined by the rank and block-encoding normalization, while the relative width depends only on the rank and average purity.

Haar-Random Code

For Haar-random encoding with full-rank σ\sigma, r=min⁡(dAdC,dD)r=\min(d_Ad_C,d_D) almost surely. Choosing the smaller normalization factor of the two generic block encodings gives α2=r\alpha^2=r and hence x2‾=1/r2\overline{x^2}=1/r^2. We compute the average purity using Weingarten calculus [59], starting from its diagrammatic representation:

Diagrammatic representation of the average purity for the Haar-random code

Figure 7.

EU[tr⁡[E(σ)2]]=1d2−1(ddDtr⁡(σ2)+ddCdD−dD−dCtr⁡(σ2)),(104)E_U[\operatorname{tr}[\mathcal{E}(\sigma)^2]]=\frac{1}{d^2-1}\left(dd_D\operatorname{tr}(\sigma^2)+\frac{dd_C}{d_D}-d_D-d_C\operatorname{tr}(\sigma^2)\right), \tag*{(104)}

where d=dAdB=dCdDd=d_Ad_B=d_Cd_D is the dimension of the space on which UU acts. Substituting into Eq. (103) and specializing to σ=IA/dA\sigma=I_A/d_A, we obtain

x2‾=1(dAdC)2,Std⁡(x2)=x2‾dAdA−1dDd2−dD2d2−1.(105)\overline{x^2}=\frac{1}{(d_Ad_C)^2},\qquad\operatorname{Std}(x^2)=\overline{x^2}\frac{\sqrt{d_Ad_A-1}}{d_D}\sqrt{\frac{d^2-d_D^2}{d^2-1}}. \tag*{(105)}

for dAdC≤dDd_Ad_C\le d_D, and

x2‾=1dD2,Std⁡(x2)=x2‾d−dAdAdD2−1d2−1.(106)\overline{x^2}=\frac{1}{d_D^2},\qquad\operatorname{Std}(x^2)=\overline{x^2}\sqrt{\frac{d-d_A}{d_A}}\sqrt{\frac{d_D^2-1}{d^2-1}}. \tag*{(106)}

for dAdC>dDd_Ad_C>d_D. The spectral width vanishes at dD=1d_D=1 and dD=dd_D=d, and is comparable to the mean near dAdC=dDd_Ad_C=d_D.

Hayden–Preskill Protocol

For the HP encoding channel with full-rank σ\sigma, r=min⁡(dAdC,dDdB)r=\min(d_Ad_C,d_Dd_B) almost surely, and the reduced block encoding has α2=dD/dB\alpha^2=d_D/d_B. Hence

x2‾=1min⁡(dA2,dD2),(107)\overline{x^2}=\frac{1}{\min(d_A^2,d_D^2)}, \tag*{(107)}

which is O(1)O(1) if the number of logical qubits is O(1)O(1). For a single logical qubit and nD≥1n_D\ge1, x2‾=1/4\overline{x^2}=1/4.

The diagram for the purity tr⁡[E(σ)2]\operatorname{tr}[\mathcal{E}(\sigma)^2] is similar to that for the Haar-random code:

Diagrammatic representation of the average purity for the Hayden–Preskill protocol

Figure 8.

Weingarten calculus gives

EU[tr⁡[E(σ)2]]=1d2−1(ddDtr⁡(σ2)+ddCdB−dDdB−dCtr⁡(σ2)).(108)E_U[\operatorname{tr}[\mathcal{E}(\sigma)^2]]=\frac{1}{d^2-1}\left(dd_D\operatorname{tr}(\sigma^2)+\frac{dd_C}{d_B}-\frac{d_D}{d_B}-d_C\operatorname{tr}(\sigma^2)\right). \tag*{(108)}

Substituting into Eq. (103) and specializing to σ=IA/dA\sigma=I_A/d_A, we obtain the mean and standard deviation of xi2x_i^2:

x2‾=1dA2,Std⁡(x2)=1dA2dA2−1dDd2−dD2d2−1.(109)\overline{x^2}=\frac{1}{d_A^2},\qquad\operatorname{Std}(x^2)=\frac{1}{d_A^2}\frac{\sqrt{d_A^2-1}}{d_D}\sqrt{\frac{d^2-d_D^2}{d^2-1}}. \tag*{(109)}

for dA≤dDd_A \le d_D, and

x2‾=1dD2,Std⁡(x2)=1dD2dD2−1dAd2−dA2d2−1(110)\overline{x^2} = \frac{1}{d_D^2}, \quad\operatorname{Std}(x^2) = \frac{1}{d_D^2} \frac{\sqrt{d_D^2-1}}{d_A} \sqrt{\frac{d^2-d_A^2}{d^2-1}} \tag*{(110)}

for dA>dDd_A > d_D. Therefore, the relative spectral width Std⁡(x2)/x2‾\operatorname{Std}(x^2)/\overline{x^2} is largest when dD=dAd_D = d_A.

References

  1. [1]P. W. Shor, Scheme for reducing decoherence in quantum computer memory, Physical Review A 52, R2493 (1995).pubmed.ncbi.nlm.nih.gov/9912632
  2. [2]E. Knill and R. Laflamme, Theory of quantum error-correcting codes, Physical Review A 55, 900 (1997).DOI
  3. [3]D. W. Leung, M. A. Nielsen, I. L. Chuang, and Y. Yamamoto, Approximate quantum error correction can lead to better codes, Physical Review A 56, 2567 (1997), arXiv:quant-ph/9704002.DOI
  4. [4]H. K. Ng and N. Mandayam, Simple approach to approximate quantum error correction based on the transpose channel, Physical Review A 81, 062342 (2010), arXiv:0909.0931 [quant-ph].DOI
  5. [5]C. Beny and O. Oreshkov, General conditions for approximate quantum error correction and near-optimal recovery channels, Physical Review Letters 104, 120501 (2010), arXiv:0907.5391 [quant-ph].DOI
  6. [6]A. S. Fletcher, P. W. Shor, and M. Z. Win, Optimum quantum error recovery using semidefinite programming, Physical Review A 75, 012338 (2007), arXiv:quant-ph/0606035.DOI
  7. [7]D. Petz, Sufficient subalgebras and the relative entropy of states of a von Neumann algebra, Commun. Math. Phys. 105, 123 (1986).DOI
  8. [8]D. Petz, SUFFICIENCY OF CHANNELS OVER VON NEUMANN ALGEBRAS, Quart. J. Math. Oxford Ser. 39, 97 (1988).DOI
  9. [9]H. Barnum and E. Knill, Reversing quantum dynamics with near-optimal quantum and classical fidelity, Journal of Mathematical Physics 43, 2097 (2002), arXiv:quant-ph/0004088 [quant-ph].DOI
  10. [10]B. Li, Z. Wang, G. Zheng, Y. Wong, and L. Jiang, Optimality condition for the Petz map, Physical Review Letters 134, 200602 (2025).DOI
  11. [11]P. Hausladen and W. K. Wootters, A ‘pretty good’ measurement for distinguishing quantum states, Journal of Modern Optics 41, 2385 (1994).DOI
  12. [12]M. M. Wilde, Recoverability in quantum information theory, Proceedings of the Royal Society A 471, 20150338 (2015), arXiv:1505.04661 [quant-ph].DOI
  13. [13]D. Sutter, M. Tomamichel, and A. W. Harrow, Strengthened monotonicity of relative entropy via pinched Petz recovery map, IEEE Transactions on Information Theory 62, 2907 (2016), arXiv:1507.00303 [quant-ph].DOI
  14. [14]M. Junge, R. Renner, D. Sutter, M. M. Wilde, and A. Winter, Universal recovery maps and approximate sufficiency of quantum relative entropy, Annales Henri Poincaré 19, 2955 (2018), arXiv:1509.07127 [quant-ph].DOI
  15. [15]Y. Nakayama, A. Mayata, and T. Ugajin, The Petz (lite) recovery map for the scrambling channel, Progress of Theoretical and Experimental Physics 2023, 123B04 (2023), arXiv:2310.18991 [hep-th].arxiv.org/abs/2310.18991
  16. [16]H. Kwon, R. Mukherjee, and M. S. Kim, Reversing Lindblad dynamics via continuous Petz recovery map, Physi- cal Review Letters 128, 020403 (2022), arXiv:2104.03360 [quant-ph].
  17. [17]Y. Hu and Y. Zou, Petz map recovery for long-range entangled quantum many-body states, Physical Review B 110, 195107 (2024).DOI
  18. [18]S. Sang and T. H. Hsieh, Stability of mixed-state quantum phases via finite Markov length, Physical Review Letters 134, 070403 (2025), arXiv:2407.02751 [quant-ph].
  19. [19]J. Cotler, P. Hayden, G. Penington, G. Salton, B. Swingle, and M. Walter, Entanglement wedge reconstruction via universal recovery channels, Physical Review X 9, 031011 (2019), arXiv:1704.05839 [hep-th].DOI
  20. [20]C.-F. Chen, G. Penington, and G. Salton, Entanglement wedge reconstruction using the Petz map, Journal of High Energy Physics 2020, 168 (2020), arXiv:1902.02844 [hep-th].DOI
  21. [21]Y. Zhao, Petz map and Python’s lunch, Journal of High Energy Physics 2020, 038 (2020), arXiv:2003.03406 [hep-th].DOI
  22. [22]W.-H. Png and V. Scarani, Petz recovery maps of single-qubit decoherence channels in an ion trap quantum processor, Physical Review A 112, 022613 (2025), arXiv:2504.20399 [quant-ph].DOI
  23. [23]G. Singh, R. S. Sahani, V. Jagadish, L. Lautenbacher, N. K. Bernardes, and K. Dorai, Realizing the Petz recovery map on an NMR quantum processor, Physical Review A 113, 052415 (2026), arXiv:2508.08998 [quant-ph].DOI
  24. [24]H. Li, J. Chen, Y. Pan, L. Xu, M. Song, V. Scarani, and L. Zhang, Experimental tabletop Petz recovery of a photonic qubit (2026), arXiv:2606.12020 [quant-ph].arxiv.org/abs/2606.12020
  25. [25]D. Biswas and P. Mandayam, Universal syndrome-based recovery for noise-adapted quantum error correction (2026), version 2, arXiv:2510.08719 [quant-ph].arxiv.org/abs/2510.08719
  26. [26]D. Biswas, G. M. Vaidya, and P. Mandayam, Noise-adapted recovery circuits for quantum error correction, Physical Review Research 6, 043034 (2024), arXiv:2305.11093 [quant-ph].DOI
  27. [27]A. Gilyén, Y. Su, G. H. Low, and N. Wiebe, Quantum singular value transformation and beyond: exponential improvements for quantum matrix arithmetics, in Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC ’19 (ACM, 2019) p. 193–204.DOI
  28. [28]J. M. Martyn, Z. M. Rossi, A. K. Tan, and I. L. Chuang, Grand unification of quantum algorithms, PRX Quantum 2, 040203 (2021).DOI
  29. [29]A. Gilyén, S. Lloyd, I. Marvian, Y. Quek, and M. M. Wilde, Quantum algorithm for Petz recovery channels and pretty good measurements, Physical Review Letters 128, 220502 (2022).DOI
  30. [30]T. Utsumi, Y. Nakata, Q. Wang, and R. Takagi, Quantum algorithms for Uhlmann transformation (2025), arXiv:2509.03619 [quant-ph].arxiv.org/abs/2509.03619
  31. [31]C. Zhu, Z. Tang, G. Zhen, Y. Li, G. Bai, and X. Wang, Simulation of adjoints and Petz recovery maps for unknown quantum channels (2026), arXiv:2602.05828 [quant-ph].arxiv.org/abs/2602.05828
  32. [32]T. Utsumi and Y. Nakata, Explicit decoders using fixed-point amplitude amplification based on QSVT, Quantum 10, 2024 (2026), arXiv:2405.06051 [quant-ph].arxiv.org/abs/2405.06051
  33. [33]H.-Y. Wang, Relieving the post-selection problem by quantum singular value transformation (2025), arXiv:2504.00108 [quant-ph].arxiv.org/abs/2504.00108
  34. [34]C. C. Aw, L. H. Zaw, M. Balanzó-Juandó, and V. Scarani, Role of dilations in reversing physical processes: Tabletop reversibility and generalized thermal operations, PRX Quantum 5, 010332 (2024), arXiv:2308.13909 [quant-ph].DOI
  35. [35]M. Song, H. Kwon, and V. Scarani, Exact and approximate conditions of tabletop reversibility: when is Petz recovery cost-free? (2025), arXiv:2510.26895 [quant-ph].DOI
  36. [36]F. Ma, X. Tan, and J. Wright, Haar random codes attain the quantum Hamming bound, approximately (2025), arXiv:2510.07158 [quant-ph].arxiv.org/abs/2510.07158
  37. [37]A. Afham and M. Tomamichel, Projections with respect to Bures distance and fidelity: Closed-form applications (2026), arXiv:2602.14732 [quant-ph].arxiv.org/abs/2602.14732
  38. [38]D. Elimelech, V. V. Albert, and A. Barg, Universal recovery in approximate quantum error correction (2026), arXiv:2608.28962 [quant-ph].arxiv.org/abs/2608.28962
  39. [39]Y. C. Eldar and G. D. Forney, Jr., On quantum detection and the square-root measurement, IEEE Transactions on Information Theory 47, 858 (2001), arXiv:quant-ph/0005132.DOI
  40. [40]Y. Quek and P. Rebentrost, Fast algorithm for quantum polar decomposition and applications, Physical Review Research 4, 013144 (2022), arXiv:2106.07634 [quant-ph].
  41. [41]R. Klesse, Approximate quantum error correction, random codes, and quantum channel capacity, Physical Review A 75, 062315 (2007), arXiv:quant-ph/0701102.DOI
  42. [42]P. Hayden, M. Horodecki, A. Winter, and J. Yard, A decoupling approach to the quantum capacity, Open Systems & Information Dynamics 15, 7 (2008), arXiv:quant-ph/0702005.DOI
  43. [43]G. M. Sommers, J. A. Jacoby, Z. Weinstein, D. A. Huse, and S. Gopalakrishnan, Spectral properties and coding transitions of Haar-random quantum codes, PRX Quantum 7, 020328 (2026).DOI
  44. [44]P. Hayden and J. Preskill, Black holes as mirrors: quantum information in random subsystems, Journal of High Energy Physics 2007, 120 (2007).DOI
  45. [45]B. Yoshida and A. Kitaev, Efficient decoding for the Hayden–Preskill protocol, arXiv preprint arXiv:1710.03363 (2017).arxiv.org/abs/1710.03363
  46. [46]W. F. Stinespring, Positive functions on C*-algebras, Proceedings of the American Mathematical Society 6, 211 (1955).
  47. [47]D. Kretschmann, D. Schlingemann, and R. F. Werner, The information-disturbance tradeoff and the continuity of Stinespring’s representation, IEEE Transactions on Information Theory 54, 1708 (2008), arXiv:quant-ph/0605009 [quant-ph].DOI
  48. [48]M. A. Nielsen, A simple formula for the average gate fidelity of a quantum dynamical operation, Physics Letters A 303, 249 (2002), arXiv:quant-ph/0205035.DOI
  49. [49]L. K. Grover, Fixed-point quantum search, Physical Review Letters 95, 150501 (2005).pubmed.ncbi.nlm.nih.gov/16241706
  50. [50]T. J. Yoder, G. H. Low, and I. L. Chuang, Fixed-point quantum search with an optimal number of queries, Physical Review Letters 113, 210501 (2014).DOI
  51. [51]G. H. Low and I. L. Chuang, Optimal hamiltonian simulation by quantum signal processing, Physical Review Letters 118, 010501 (2017), arXiv:1606.02685 [quant-ph].DOI
  52. [52]G. H. Low, T. J. Yoder, and I. L. Chuang, Methodology of tensor network contraction for quantum gates, Physical Review X 6, 041067 (2016), arXiv:1603.03996 [quant-ph].
  53. [53]J. Haah, Product decomposition of periodic functions in quantum signal processing, Quantum 3, 190 (2019).DOI
  54. [54]Y. Dong, X. Meng, K. B. Whaley, and L. Lin, Efficient phase-factor evaluation in quantum signal processing, Physical Review A 103, 024219 (2021).DOI
  55. [55]A. Eremenko and P. Yuditskii, Uniform approximation of sgn(x) by polynomials and entire functions, Journal d’Analyse Mathématique 101, 313 (2007), arXiv:math/0604324.arxiv.org/abs/math/0604324
  56. [56]A. Eremenko and P. Yuditskii, Polynomials of the best uniform approximation to sgn(x) on two intervals, Journal d’Analyse Mathématique 114, 285 (2011), arXiv:1008.3765 [math.CV].arxiv.org/abs/1008.3765
  57. [57]X. Xu and B. Swingle, Scrambling dynamics and out-of-time-ordered correlators in quantum many-body systems, PRX Quantum 5, 010201 (2024), arXiv:2202.07060 [quant-ph].DOI
  58. [58]Z. Li, T. Mori, and B. Yoshida, Tripartite Haar random state has no bipartite entanglement (2025), arXiv:2502.04437 [quant-ph].arxiv.org/abs/2502.04437
  59. [59]B. Collins and P. Śniady, Integration with respect to the Haar measure on unitary, orthogonal and symplectic group, Communications in Mathematical Physics 264, 773 (2006), arXiv:math-ph/0402073.DOI
  60. [60]A. Vikram, E. Chaparro, M. M. Khan, A. Lucas, C. Akers, and A. M. Rey, Bidirectional teleportation using entanglement scrambling dynamics: a practical protocol (2026), arXiv:2601.15536 [quant-ph].DOI
  61. [61]Y.-T. Huang, H.-W. Huang, J.-D. Lin, A. Miranowicz, N. Lambert, G.-Y. Chen, F. Nori, and Y.-N. Chen, Experimental simulation of postselected closed timelike curves for decoding scrambled quantum information, Physical Review Research 8, 023084 (2026), arXiv:2501.16335 [quant-ph].DOI
  62. [62]T. Schuster, B. Kobrin, P. Gao, I. Cong, E. T. Khabiboulline, N. M. Linke, M. D. Lukin, C. Monroe, B. Yoshida, and N. Y. Yao, Many-body quantum teleportation via operator spreading in the traversable wormhole protocol, Physical Review X 12, 031013 (2022), arXiv:2102.00010 [quant-ph].DOI
  63. [63]A. R. Brown, H. Gharibyan, S. Leichenauer, H. W. Lin, S. Nezami, G. Salton, L. Susskind, B. Swingle, and M. Walter, Quantum gravity in the lab. I. teleportation by size and traversable wormholes, PRX Quantum 4, 010320 (2023), arXiv:1911.06314 [quant-ph].
  64. [64]S. Nezami, H. W. Lin, A. R. Brown, H. Gharibyan, S. Leichenauer, G. Salton, L. Susskind, B. Swingle, and M. Walter, Quantum gravity in the lab. II. teleportation by size and traversable wormholes, PRX Quantum 4, 010321 (2023), arXiv:2102.01064 [quant-ph].DOI

Paper details

vlnc:W_jhawb2vh
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
  • Physics and Astronomy

Codex

View statement
Looking for related papers…
Contents