Introduction
One of the most promising applications of quantum computers is the modeling of strongly correlated electronic systems in molecules and materials [1 , 2 , 3 , 4 , 5 ] . Examples include catalysts with multiple transition-metal centers such as the FeMo cofactor in nitrogenase [6 ] , large π \pi π -conjugated organic molecules such as acenes [7 , 8 ] , electronically excited states, and, potentially, high-temperature superconductors [9 , 10 ] .
Several approaches have been developed in response to this opportunity. Motivated by formally provable exponential quantum speedups relative to exact classical simulation methods, the quantum phase estimation (QPE) algorithm [1 , 6 , 11 , 12 , 13 , 14 , 15 ] computes the energy and other properties of a molecular system on fault-tolerant quantum computing devices. However, current demonstrations of QPE remain limited to small model systems because of hardware constraints.
For this reason, near-term algorithms such as variational quantum algorithms (VQAs) [16 , 17 ] have emerged as an alternative suitable for noisy quantum hardware. VQAs include the variational quantum eigensolver, hardware-efficient and unitary-coupled-cluster ansatz families [18 , 19 , 20 ] , adaptive ansatz constructions [21 ] , and hardware variational optimization frameworks [16 , 17 , 19 , 21 , 22 , 23 , 24 , 25 ] . Although VQAs can be executed on near-term quantum devices, their effectiveness in practice suffers from barren plateaus, prohibitive number of measurements [26 ] and sensitivity to hardware noise [25 , 26 , 27 ] .
Two alternative hybrid quantum-classical approaches leverage the capabilities of near-term hardware to sample from prepared quantum states followed up by classical post-processing. The first approach, sample-based quantum diagonalization (SQD), including closely related quantum-selected configuration-interaction methods, uses quantum samples to identify important many-electron configurations and then build and diagonalize projected Hamiltonians with a classical high-performance computer [28 , 29 , 30 ] . In demonstrations on near-term quantum computers, these algorithms have exhibited noise resilience and delivered highly accurate results for large systems [31 ] although questions remain about the benefit of SQD over state-of-the-art conventional selected configuration-interaction methods [32 ] , Secs. 4.3–4.4.
This paper focuses on the second of those hybrid approaches, the quantum-classical auxiliary-field quantum Monte Carlo (QC-AFQMC) method [33 , 34 , 35 ] . QC-AFQMC is a quantum extension of classical AFQMC [36 , 37 , 38 ] , which propagates a stochastic representation of the wave function in imaginary time and in the long-time limit converges the wave function to the ground state [36 , 37 , 39 , 40 , 41 ] . In practice, however, a trial state is used to constrain the propagation and control the sign problem, which is a fundamental bottleneck for generic projection based fermionic Monte Carlo methods [42 ] [43]. This constraint introduces an energy bias that vanishes when the trial state is the exact eigenstate. Quantum computer’s ability to prepare highly accurate and nearly exact trial state could significantly benefit AFQMC to reduce and even completely remove the bias. This was first demonstrated in a 2022 study [33 ] , where a trial state was prepared on a quantum computer and used in AFQMC to guide imaginary time propagation. Preliminary results on molecular and lattice systems have shown that quantum trial states can significantly reduce the energy bias compared with classical trial states making QC-AFQMC a promising algorithm for quantum simulation.
Each time step of QC-AFQMC involves calculating the overlap between a trial state ∣ Ψ T ⟩ |\Psi_T\rangle ∣ Ψ T ⟩ and a non-orthogonal Slater determinant ∣ ϕ ⟩ |\phi\rangle ∣ ϕ ⟩ . For a quantum trial state, the naive approach is to invoke the Hadamard test to evaluate the overlap, however the need for frequent queries to the quantum computer renders this idea impractical. Instead, the classical shadow technique [44 , 45 , 46 ] estimates the properties of ∣ Ψ T ⟩ |\Psi_T\rangle ∣ Ψ T ⟩ , including the necessary overlap ⟨ Ψ T ∣ ϕ ⟩ \langle\Psi_T|\phi\rangle ⟨ Ψ T ∣ ϕ ⟩ , by converting randomized-basis measurements of ∣ Ψ T ⟩ |\Psi_T\rangle ∣ Ψ T ⟩ into desired observables. It was this approach that enabled the first demonstration of QC-AFQMC on quantum hardware.
Although classical shadows provide a way to estimate the overlaps, whether this can be achieved efficiently (in polynomial time) depends on the structure of the measurement basis. For example, the first demonstration [33 ] of QC-AFQMC used Clifford shadows [45 ] , which require an exponentially scaling runtime for overlap evaluations thus severely limiting the application of QC-AFQMC. Matchgate shadows [47 , 48 ] have addressed this problem by applying a design from fermionic operators, which preserve fermionic symmetry. Wan et al. [48 ] gave an explicit finite-size variance bound for complex-overlap estimation and an O ( N 4 ) O(N^4) O ( N 4 ) overlap algorithm per shadow and target Slater determinant; their numerical results suggest sublinear variance growth. The first end-to-end demonstration of matchgate-shadow QC-AFQMC was limited to the hydrogen molecule and a spin defect model with 4 qubits [34 ] . Since then, the applicability has been extended to chemically relevant molecular systems [35 , 49 ] .
Despite these successes, matchgate-shadow QC-AFQMC still has significant practical limitations. One notable issue is the cost of shadow post-processing in AFQMC, including the calculation of force biases and local energies. In earlier derivative-based implementations, the arithmetic costs per shadow and walker are O ( N 4 ) O(N^4) O ( N 4 ) for overlaps and force biases and O ( N 5 ) O(N^5) O ( N 5 ) for local energies [49, Sec. II.1, discussion after Eq. (4); Sec. IV.3, discussion before Eq. (22)]. Nappi et al. [49 Eqs. (4), (8), (36)–(38), and the accompanying complexity discussion] subsequently reduced these per-shadow and per-walker costs to O ( N 3 ) O(N^3) O ( N 3 ) for overlaps, O ( N 3 + N 2 N γ ) O(N^3 + N^2N_\gamma) O ( N 3 + N 2 N γ ) for force biases, and O ( N 3 N γ ) O(N^3N_\gamma) O ( N 3 N γ ) for local energies, where N γ N_\gamma N γ is the number of Cholesky vectors. For N γ = O ( N ) N_\gamma= O(N) N γ = O ( N ) , the force-bias cost is also cubic.
Given these advances in the framework of fermionic symmetry preserving matchgate shadows, it becomes natural to ask whether it is possible to further bring down the cost by designing fermionic shadow tomography that preserves more than just the fermionic symmetry. One natural choice is particle-number symmetry since molecular electronic-structure calculations commonly target a fixed particle number. If one applies the constraints to matchgate unitaries so that they need to commute with number operators, one obtains a special set of unitaries that are of the form of single-particle orbital rotation unitaries in quantum chemistry. This was first studied by Zhao et al. [50 ] , and then more thoroughly by Low [51 ] , who derived an efficient estimator of the orbital rotation shadows to compute k k k -body reduced density matrices (k k k -RDMs). Furthermore, the sample complexity of orbital-rotation shadow tomography is independent of the number of qubits and that the approach admits a simpler post-processing algorithm compared to that for matchgate shadows [52 ] .
This work builds upon Low’s orbital-rotation shadow framework [51 ] . Starting from the shadow estimator, we derive an efficient algorithm for estimating the overlap between an arbitrary fixed-particle-number quantum state and a Slater determinant along with derivative formulas for evaluating force biases and local energies. For a fixed normalized target determinant under ideal independent sampling, we establish unbiased complex-overlap estimation with variance at most 4 η + 3 4\eta+ 3 4 η + 3 , where η \eta η is the particle number, giving a sufficient measurement budget of O ( η / ϵ 2 ) O(\eta/\epsilon^2) O ( η / ϵ 2 ) for additive root-mean-square overlap error ϵ \epsilon ϵ . The resulting algorithm scales as O ( N 3 ) O(N^3) O ( N 3 ) for overlaps and force biases and as O ( N 4 ) O(N^4) O ( N 4 ) for local energies per shadow and walker at fixed filling and with O ( N ) O(N) O ( N ) Cholesky vectors matching the scaling of classical AFQMC with a single-determinant trial state. We show that besides post-processing, orbital rotation shadows also lead to a simpler and more efficient algorithm for virtual correlation energy (VCE), a crucial technique that allows QC-AFQMC to account for dynamic electron correlation outside the active space. Our runtime projections indicate that this approach yields orders-of-magnitude efficiency improvements in classical QC-AFQMC post-processing relative to our earlier matchgate-shadow implementation. This work substantially reduces the post-processing cost of QC-AFQMC and brings QC-AFQMC closer to practical large-scale applications.
The paper is organized as follows. In Sec. II, we derive the efficient orbital-rotation-shadow overlap estimator and present the associated algorithms and cost analysis. Section III reports numerical validation, QC-AFQMC applications, and runtime projections. We then discuss time to solution separating quantum execution from classical post-processing. The paper concludes with a discussion of open challenges and future directions.
We append η \eta η ancillary modes, giving N a u g = N + η N_{\mathrm{aug}} = N + \eta N aug = N + η . The subscript o o o in U o U_o U o labels the original physical-mode block, not occupied orbitals. Before augmentation, u ∈ U N u \in\mathcal{U}_N u ∈ U N and z ⃗ ∈ S N , η \vec{z} \in\mathcal{S}_{N,\eta} z ∈ S N , η . In the augmented overlap protocol, u ∈ U N a u g u \in\mathcal{U}_{N_{\mathrm{aug}}} u ∈ U N aug and z ⃗ ∈ S N a u g , η \vec{z} \in\mathcal{S}_{N_{\mathrm{aug}},\eta} z ∈ S N aug , η .
Theory
Here we derive the unbiased one-shadow determinant estimator in Eq. (65) , together with derivative formulas that can be evaluated efficiently within QC-AFQMC. We proceed as follows. The target overlap is first rewritten as an off-diagonal coherence of an augmented fixed-particle state in Eq. (14) . The orbital-rotation-shadow calculation then determines the required normalization and produces the one-shot estimator. Its dependence on the target determinant and measurement record is compressed into the η × η \eta\times\eta η × η measured-row block in Eq. (72) , which is implemented in Algorithm 1. For QC-AFQMC, the conjugate estimator takes the determinant form in Eq. (83) ; differentiating this determinant gives the first and mixed second derivative formulas in Eqs. (89) and (94) . Table 1 collects the notation reused across these steps.
Table 1. Summary of notation used in the orbital-rotation-shadow overlap construction.
Orbital-Rotation Shadow Records
For an η \eta η -particle state on N N N modes, let orbital occupation patterns p ⃗ , r ⃗ ∈ S N , η \vec{p},\vec{r} \in\mathcal{S}_{N,\eta} p , r ∈ S N , η . A one-particle rotation u ∈ U N u \in\mathcal{U}_N u ∈ U N induces
U η ( u ) = ⋀ η u , ⟨ p ⃗ ∣ U η ( u ) ∣ r ⃗ ⟩ = det ( u p ⃗ , r ⃗ ) . (1) U_\eta(u) = \bigwedge^\eta u,\qquad\langle\vec{p}\vert U_\eta(u)\vert\vec{r}\rangle= \det(u_{\vec{p},\vec{r}}). \tag*{(1)} U η ( u ) = ⋀ η u , ⟨ p ∣ U η ( u ) ∣ r ⟩ = det ( u p , r ) . (1)
An orbital-rotation shadow is obtained by sampling u u u from the Haar measure on U N \mathcal{U}_N U N , applying U η ( u ) U_\eta(u) U η ( u ) , and measuring the occupied modes. The outcome is an ordered occupation pattern
z ⃗ = ( z 1 , … , z η ) ∈ S N , η , 1 ≤ z 1 < ⋯ < z η ≤ N . (2) \vec{z} = (z_1,\ldots,z_\eta) \in\mathcal{S}_{N,\eta},\qquad1 \le z_1 < \cdots< z_\eta\le N. \tag*{(2)} z = ( z 1 , … , z η ) ∈ S N , η , 1 ≤ z 1 < ⋯ < z η ≤ N . (2)
One shadow record is a pair ( u , z ⃗ ) (u,\vec{z}) ( u , z ) .
Augmented Overlap Observable
In order to compute the overlaps between the trial state and a Slater determinant, one could first turn this overlap to a high-order reduced density matrix (RDM) of an augmented state, and use particle-number-conserving shadows to evaluate the RDM [51 ] .
We append η \eta η ancillary modes and introduce a known η \eta η -particle Slater determinant supported entirely on those modes. The physical state and the reference Slater determinant then occupy disjoint mode blocks within the same fixed-η \eta η particle sector. Their coherent superposition converts the desired complex overlap into an off-diagonal coherence. The random orbital rotation acts on the full physical-plus-ancillary space, allowing this relative phase to appear in the occupation statistics.
We derive the estimator by specializing the fixed-particle inverse-channel construction of Ref. [51] to the augmented coherence. After expressing the k = η k=\eta k = η inverse observable through a generating polynomial, we evaluate the fixed-particle trace and show that only its degree-η \eta η coefficient survives. The resulting one-shot estimator reduces to a single η × η \eta\times\eta η × η matrix determinant.
Consider an N N N -mode fermionic state ∣ Ψ T ⟩ \lvert\Psi_T\rangle ∣ Ψ T ⟩ with a fixed particle number η \eta η . The goal is to estimate the overlap
o ϕ = ⟨ ϕ ∣ Ψ T ⟩ (3) o_\phi= \langle\phi\vert\Psi_T\rangle \tag*{(3)} o ϕ = ⟨ ϕ ∣ Ψ T ⟩ (3)
for a Slater determinant
∣ ϕ ⟩ = U η ( w ) ∣ q ⃗ ⟩ , q ⃗ ∈ S N , η , (4) \lvert\phi\rangle= U_\eta(w)\lvert\vec{q}\rangle,\qquad\vec{q} \in\mathcal{S}_{N,\eta}, \tag*{(4)} ∣ ϕ ⟩ = U η ( w ) ∣ q ⟩ , q ∈ S N , η , (4)
where w ∈ U N w \in\mathcal{U}_N w ∈ U N is a one-particle orbital rotation. Let w j w_j w j denote the j j j -th column of w w w . The occupied-orbital matrix is
Φ = [ w q 1 ⋯ w q η ] = w : , q ⃗ ∈ C N × η . (5) \Phi= [w_{q_1}\ \cdots\ w_{q_\eta}] = w_{:,\vec{q}} \in\mathbb{C}^{N \times\eta}. \tag*{(5)} Φ = [ w q 1 ⋯ w q η ] = w : , q ∈ C N × η . (5)
We now implement this augmentation. Appending η \eta η ancillary modes gives
N a u g = N + η . (6) N_{\mathrm{aug}} = N + \eta. \tag*{(6)} N aug = N + η . (6)
The ancillary occupation pattern is
a ⃗ = N + [ η ] = ( N + 1 , … , N + η ) . (7) \vec{a} = N + [\eta] = (N+1,\ldots,N+\eta). \tag*{(7)} a = N + [ η ] = ( N + 1 , … , N + η ) . (7)
Extend the target rotation to the augmented one-particle space as
W = w ⊕ I η . (8) W = w \oplus I_\eta. \tag*{(8)} W = w ⊕ I η . (8)
We regard all three states as elements of the same N a u g N_{\mathrm{aug}} N aug -mode, fixed-η \eta η particle sector. We use ∣ a ⃗ ⟩ |\vec{a}\rangle ∣ a ⟩ for the Slater determinant with every physical mode unoccupied and all η \eta η ancillary modes occupied. The physical and ancillary branches therefore have support on disjoint mode blocks.
The augmented state is
∣ Ψ a u g ⟩ = 1 2 ( ∣ Ψ T ⟩ ⊗ ∣ 0 ⟩ ⊗ η + ∣ a ⃗ ⟩ ) . (9) |\Psi_{\mathrm{aug}}\rangle= \frac{1}{\sqrt{2}}\left(|\Psi_T\rangle\otimes|0\rangle^{\otimes\eta} + |\vec{a}\rangle\right). \tag*{(9)} ∣ Ψ aug ⟩ = 2 1 ( ∣ Ψ T ⟩ ⊗ ∣0 ⟩ ⊗ η + ∣ a ⟩ ) . (9)
Note that the appended modes provide a coherent phase reference; they are not additional basis functions for the physical Hamiltonian.
In the shadow measurement below, the Haar-random rotation u ∈ U N a u g u \in\mathcal{U}_{N_{\mathrm{aug}}} u ∈ U N aug acts on this full physical-plus-ancillary space. It is distinct from the fixed target rotation W W W .
Define a number-conserving transition operator
D q ⃗ a ⃗ = a α 1 † ⋯ a α η † a q η ⋯ a q 1 . (10) D_{\vec{q}}^{\vec{a}} = a_{\alpha_1}^{\dagger}\cdots a_{\alpha_\eta}^{\dagger}a_{q_\eta}\cdots a_{q_1}. \tag*{(10)} D q a = a α 1 † ⋯ a α η † a q η ⋯ a q 1 . (10)
With occupation Slater determinants ordered by increasing mode index, D q ⃗ a ⃗ D_{\vec{q}}^{\vec{a}} D q a acts on the fixed-η \eta η sector as
D q ⃗ a ⃗ = ∣ a ⃗ ⟩ ⟨ q ⃗ ∣ . (11) D_{\vec{q}}^{\vec{a}} = |\vec{a}\rangle\langle\vec{q}|. \tag*{(11)} D q a = ∣ a ⟩ ⟨ q ∣. (11)
Because W W W rotates the physical Slater determinant while leaving the ancillary Slater determinant unchanged,
C ϕ = U η ( W ) D q ⃗ a ⃗ U η † ( W ) = ∣ a ⃗ ⟩ ⟨ ϕ ∣ . (12) C_{\phi} = U_{\eta}(W)D_{\vec{q}}^{\vec{a}}U_{\eta}^{\dagger}(W) = |\vec{a}\rangle\langle\phi|. \tag*{(12)} C ϕ = U η ( W ) D q a U η † ( W ) = ∣ a ⟩ ⟨ ϕ ∣. (12)
The physical and ancillary branches have disjoint occupation support, so
⟨ ϕ ∣ a ⃗ ⟩ = ⟨ Ψ T ∣ a ⃗ ⟩ = 0. (13) \langle\phi|\vec{a}\rangle= \langle\Psi_T|\vec{a}\rangle= 0. \tag*{(13)} ⟨ ϕ ∣ a ⟩ = ⟨ Ψ T ∣ a ⟩ = 0. (13)
Consequently,
Tr ∧ η [ C ϕ ∣ Ψ a u g ⟩ ⟨ Ψ a u g ∣ ] = ⟨ ϕ ∣ Ψ a u g ⟩ ⟨ Ψ a u g ∣ a ⃗ ⟩ = 1 2 ⟨ ϕ ∣ Ψ T ⟩ . (14) \begin{aligned}
\operatorname{Tr}_{\wedge^\eta}\left[C_{\phi}|\Psi_{\mathrm{aug}}\rangle\langle\Psi_{\mathrm{aug}}|\right]
&= \langle\phi|\Psi_{\mathrm{aug}}\rangle\langle\Psi_{\mathrm{aug}}|\vec{a}\rangle\\
&= \frac{1}{2}\langle\phi|\Psi_T\rangle. \tag*{(14)}
\end{aligned} Tr ∧ η [ C ϕ ∣ Ψ aug ⟩ ⟨ Ψ aug ∣ ] = ⟨ ϕ ∣ Ψ aug ⟩ ⟨ Ψ aug ∣ a ⟩ = 2 1 ⟨ ϕ ∣ Ψ T ⟩ . (14)
Here Tr ∧ η [ ⋅ ] \operatorname{Tr}_{\wedge^\eta}[\cdot] Tr ∧ η [ ⋅ ] denotes the trace over the fixed-η \eta η particle sector.
The resulting estimator can be stated directly in terms of measured records. For each record, prepare ∣ Ψ a u g ⟩ |\Psi_{\mathrm{aug}}\rangle ∣ Ψ aug ⟩ , sample a Haar-random orbital rotation u ∈ U N a u g u \in\mathcal{U}_{N_{\mathrm{aug}}} u ∈ U N aug , apply U η ( u ) U_{\eta}(u) U η ( u ) , and measure the occupation pattern z ⃗ \vec{z} z . Given the occupied-orbital matrix Φ ∈ C N × η \Phi\in\mathbb{C}^{N\times\eta} Φ ∈ C N × η representing the target Slater determinant, retain the measured-row blocks U o = u z ⃗ , [ N ] ∈ C η × N U_o = u_{\vec{z},[N]} \in\mathbb{C}^{\eta\times N} U o = u z , [ N ] ∈ C η × N and U a = u z ⃗ , a ⃗ ∈ C η × η U_a = u_{\vec{z},\vec{a}} \in\mathbb{C}^{\eta\times\eta} U a = u z , a ∈ C η × η . The record contributes the complex number
O ^ q ⃗ , w ( u , z ⃗ ) = 2 ( N a u g + 1 η ) det [ ( U o Φ ) † U a ] . \widehat{O}_{\vec{q},w}(u,\vec{z}) = 2\binom{N_{\mathrm{aug}}+1}{\eta}\det\left[(U_o\Phi)^{\dagger}U_a\right]. O q , w ( u , z ) = 2 ( η N aug + 1 ) det [ ( U o Φ ) † U a ] .
Averaging independent records gives the overlap estimate
o ^ ϕ = 1 N s h a d o w ∑ t = 1 N s h a d o w O ^ q ⃗ , w ( u ( t ) , z ⃗ ( t ) ) . \widehat{o}_{\phi} = \frac{1}{N_{\mathrm{shadow}}\!}\sum_{t=1}^{N_{\mathrm{shadow}}}\widehat{O}_{\vec{q},w}\left(u^{(t)},\vec{z}^{(t)}\right). o ϕ = N shadow 1 t = 1 ∑ N shadow O q , w ( u ( t ) , z ( t ) ) .
In the following sections we will provide a detailed derivation of this result.
Orbital-Rotation Shadow Estimator
Suppose we have already performed orbital-rotation shadow measurements and stored the records ( u , z ⃗ ) (u,\vec{z}) ( u , z ) . We now use these records to estimate the augmented coherence expectation in Eq. (14) . The fixed target rotation W W W is absorbed into the effective rotation g z ⃗ g_{\vec{z}} g z defined below.
Let v z ⃗ v_{\vec{z}} v z be any permutation matrix that maps the first η \eta η modes to the measured occupation pattern z ⃗ \vec{z} z , so that
( v z ⃗ † u ) [ η ] , : = u z ⃗ , : . (15) \left(v_{\vec{z}}^{\dagger}u\right)_{[\eta],:}=u_{\vec{z},:}. \tag*{(15)} ( v z † u ) [ η ] , : = u z , : . (15)
Its action on the remaining modes may be chosen arbitrarily. We use
Π [ η ] = ∣ [ η ] ⟩ ⟨ [ η ] ∣ (16) \Pi_{[\eta]} = |[\eta]\rangle\langle[\eta]| \tag*{(16)} Π [ η ] = ∣ [ η ]⟩ ⟨[ η ] ∣ (16)
for the many-particle projector onto the Slater determinant occupying the first η \eta η modes. We then define
g z ⃗ = v z ⃗ † u W . (17) g_{\vec{z}} = v_{\vec{z}}^{\dagger}uW. \tag*{(17)} g z = v z † u W . (17)
Let E η , η E_{\eta,\eta} E η , η denote the k = η k=\eta k = η inverse-channel observable of Ref. [51 ] , Eq. (87) . The fixed target rotation W W W can be absorbed into the inverse-channel rotation. Using Eq. (12) , the representation property of U η U_{\eta} U η , and cyclicity of the trace gives
Tr ∧ η [ C ϕ U η † ( v z ⃗ † u ) E η , η U η ( v z ⃗ u ) ] = Tr ∧ η [ D q ⃗ a ⃗ U η † ( g z ⃗ ) E η , η U η ( g z ⃗ ) ] . (18) \begin{aligned}
\operatorname{Tr}_{\wedge^\eta}\left[C_{\phi}U_{\eta}^{\dagger}(v_{\vec{z}}^{\dagger}u)E_{\eta,\eta}U_{\eta}(v_{\vec{z}}u)\right]
&= \operatorname{Tr}_{\wedge^\eta}\left[D_{\vec{q}}^{\vec{a}}U_{\eta}^{\dagger}(g_{\vec{z}})E_{\eta,\eta}U_{\eta}(g_{\vec{z}})\right]. \tag*{(18)}
\end{aligned} Tr ∧ η [ C ϕ U η † ( v z † u ) E η , η U η ( v z u ) ] = Tr ∧ η [ D q a U η † ( g z ) E η , η U η ( g z ) ] . (18)
The resulting single-shot estimator is
Ω ^ q ⃗ , w ( u , z ⃗ ) = Tr ∧ η [ D q ⃗ a ⃗ U η † ( g z ⃗ ) E η , η U η ( g z ⃗ ) ] = ∑ s = 0 η E η , η , s ′ × Tr ∧ η [ D q ⃗ a ⃗ U η † ( g z ⃗ ) Sim η , s ( Π [ η ] ) U η ( g z ⃗ ) ] , (19) \begin{aligned}
\widehat{\Omega}_{\vec{q},w}(u,\vec{z})
&= \operatorname{Tr}_{\wedge^\eta}\left[D_{\vec{q}}^{\vec{a}}U_{\eta}^{\dagger}(g_{\vec{z}})E_{\eta,\eta}U_{\eta}(g_{\vec{z}})\right] \\
&= \sum_{s=0}^{\eta}E'_{\eta,\eta,s}\\
&\quad\times\operatorname{Tr}_{\wedge^\eta}\left[D_{\vec{q}}^{\vec{a}}U_{\eta}^{\dagger}(g_{\vec{z}})\operatorname{Sim}_{\eta,s}\left(\Pi_{[\eta]}\right)U_{\eta}(g_{\vec{z}})\right], \tag*{(19)}
\end{aligned} Ω q , w ( u , z ) = Tr ∧ η [ D q a U η † ( g z ) E η , η U η ( g z ) ] = s = 0 ∑ η E η , η , s ′ × Tr ∧ η [ D q a U η † ( g z ) Sim η , s ( Π [ η ] ) U η ( g z ) ] , (19)
in which we reused the similarity projector introduced in Ref. [51 ] , Eq. (88) as
Sim η , s ( Π [ η ] ) = ∑ r ⃗ ∈ S N a u g , η : ∣ r ⃗ ∩ [ η ] ∣ = s ∣ r ⃗ ⟩ ⟨ r ⃗ ∣ . (20) \operatorname{Sim}_{\eta,s}\left(\Pi_{[\eta]}\right)=\sum_{\vec{r}\in S_{N_{\mathrm{aug}},\eta:\lvert\vec{r}\cap[\eta]\rvert=s}}|\vec{r}\rangle\langle\vec{r}|. \tag*{(20)} Sim η , s ( Π [ η ] ) = r ∈ S N aug , η : ∣ r ∩ [ η ]∣ = s ∑ ∣ r ⟩ ⟨ r ∣. (20)
which sums over r ⃗ \vec{r} r that share the same value s = ∣ r ⃗ ∩ [ η ] ∣ s=\lvert\vec{r}\cap[\eta]\rvert s = ∣ r ∩ [ η ]∣ .
The expectation is over the Haar-random rotation u u u and the Born-distributed outcome z ⃗ \vec{z} z obtained by measuring U η ( u ) ∣ Ψ a u g ⟩ U_{\eta}(u)|\Psi_{\mathrm{aug}}\rangle U η ( u ) ∣ Ψ aug ⟩ . Inverse-channel unbiasedness and Eq. (14) give expectation value
E u , z ⃗ [ Ω ^ q ⃗ , w ( u , z ⃗ ) ] = Tr ∧ η [ C ϕ ∣ Ψ a u g ⟩ ⟨ Ψ a u g ∣ ] = 1 2 o ϕ . (21) \mathbb{E}_{u,\vec{z}}\left[\widehat{\Omega}_{\vec{q},w}(u,\vec{z})\right]=\operatorname{Tr}_{\wedge^\eta}\left[C_{\phi}|\Psi_{\mathrm{aug}}\rangle\langle\Psi_{\mathrm{aug}}|\right]=\frac{1}{2}o_{\phi}. \tag*{(21)} E u , z [ Ω q , w ( u , z ) ] = Tr ∧ η [ C ϕ ∣ Ψ aug ⟩ ⟨ Ψ aug ∣ ] = 2 1 o ϕ . (21)
Using s = ∣ r ⃗ ∩ [ η ] ∣ s=\lvert\vec{r}\cap[\eta]\rvert s = ∣ r ∩ [ η ]∣ , the coefficient is the k = η k=\eta k = η specialization of Ref. [51 ] , Eq. (87) ,
E η , η , s ′ = E η , η , η − s = ( − 1 ) η − s ( η s ) − 1 ( N a u g − η + s s ) . (22) E'_{\eta,\eta,s}=E_{\eta,\eta,\eta-s}=(-1)^{\eta-s}\binom{\eta}{s}^{-1}\binom{N_{\mathrm{aug}}-\eta+s}{s}. \tag*{(22)} E η , η , s ′ = E η , η , η − s = ( − 1 ) η − s ( s η ) − 1 ( s N aug − η + s ) . (22)
We now introduce the Majorana operators and write creation and annihilation operators with them,
a p = γ 2 p − 1 + i γ 2 p 2 , a p † = γ 2 p − 1 − i γ 2 p 2 , β p = γ 2 p − 1 γ 2 p . (23) a_p = \frac{\gamma_{2p-1} + i\gamma_{2p}}{2}, \qquad a_p^\dagger= \frac{\gamma_{2p-1} - i\gamma_{2p}}{2}, \qquad\beta_p = \gamma_{2p-1}\gamma_{2p}. \tag*{(23)} a p = 2 γ 2 p − 1 + i γ 2 p , a p † = 2 γ 2 p − 1 − i γ 2 p , β p = γ 2 p − 1 γ 2 p . (23)
Then n ^ p = ( 1 + i β p ) / 2 \hat{n}_p = (1+i\beta_p)/2 n ^ p = ( 1 + i β p ) /2 . Operators β p \beta_p β p commute for distinct modes, so we define their j j j -th elementary symmetric polynomial as
e j ( { β } [ η ] ) = ∑ 1 ≤ p 1 < ⋯ < p j ≤ η β p 1 ⋯ β p j , e 0 ( { β } [ η ] ) = 1. (24) e_j(\{\beta\}_{[\eta]}) = \sum_{1\le p_1<\cdots<p_j\le\eta}\beta_{p_1}\cdots\beta_{p_j}, \qquad e_0(\{\beta\}_{[\eta]}) = 1. \tag*{(24)} e j ({ β } [ η ] ) = 1 ≤ p 1 < ⋯ < p j ≤ η ∑ β p 1 ⋯ β p j , e 0 ({ β } [ η ] ) = 1. (24)
With this notation, Ref. [51 Eq. (95)] gives
Sim η , s ( Π [ η ] ) = ( − 1 ) s ∑ j = 0 η f η , s ( j ) i j e j ( { β } [ η ] ) , (25) \operatorname{Sim}_{\eta,s}(\Pi_{[\eta]}) = (-1)^s\sum_{j=0}^{\eta} f_{\eta,s}(j)i^j e_j(\{\beta\}_{[\eta]}), \tag*{(25)} Sim η , s ( Π [ η ] ) = ( − 1 ) s j = 0 ∑ η f η , s ( j ) i j e j ({ β } [ η ] ) , (25)
f η , s ( j ) = ∑ x = j η ( − 1 ) x ( x s ) 2 − x ( η − j η − x ) . (26) f_{\eta,s}(j) = \sum_{x=j}^{\eta}(-1)^x \binom{x}{s}2^{-x}\binom{\eta-j}{\eta-x}. \tag*{(26)} f η , s ( j ) = x = j ∑ η ( − 1 ) x ( s x ) 2 − x ( η − x η − j ) . (26)
Now we define
P ( κ , z ⃗ ) = Tr ∧ η [ D q ⃗ † U η † ( g z ⃗ ) ρ η ( κ ) U η ( g z ⃗ ) ] , (27) P(\kappa,\vec{z}) = \operatorname{Tr}_{\wedge^\eta}\left[D_{\vec{q}}^\dagger U^\dagger_\eta(g_{\vec{z}})\rho_\eta(\kappa)U_\eta(g_{\vec{z}})\right], \tag*{(27)} P ( κ , z ) = Tr ∧ η [ D q † U η † ( g z ) ρ η ( κ ) U η ( g z ) ] , (27)
ρ η ( κ ) = ∏ ℓ = 1 η ( 1 + i κ β ℓ ) = ∑ j = 0 η ( i κ ) j e j ( { β } [ η ] ) . (28) \rho_\eta(\kappa) = \prod_{\ell=1}^{\eta}(1+i\kappa\beta_\ell) = \sum_{j=0}^{\eta}(i\kappa)^j e_j(\{\beta\}_{[\eta]}). \tag*{(28)} ρ η ( κ ) = ℓ = 1 ∏ η ( 1 + iκ β ℓ ) = j = 0 ∑ η ( iκ ) j e j ({ β } [ η ] ) . (28)
Expanding P ( κ , z ⃗ ) P(\kappa,\vec{z}) P ( κ , z ) in powers of κ \kappa κ defines
P ( κ , z ⃗ ) = ∑ j = 0 η b j ( g z ⃗ ) κ j , P(\kappa,\vec{z}) = \sum_{j=0}^{\eta}b_j(g_{\vec{z}})\kappa^j, P ( κ , z ) = j = 0 ∑ η b j ( g z ) κ j ,
b j ( g z ⃗ ) = Tr ∧ η [ D q ⃗ † U η † ( g z ⃗ ) i j e j ( { β } [ η ] ) U η ( g z ⃗ ) ] . (29) b_j(g_{\vec{z}}) = \operatorname{Tr}_{\wedge^\eta}\left[D_{\vec{q}}^\dagger U^\dagger_\eta(g_{\vec{z}})i^j e_j(\{\beta\}_{[\eta]})U_\eta(g_{\vec{z}})\right]. \tag*{(29)} b j ( g z ) = Tr ∧ η [ D q † U η † ( g z ) i j e j ({ β } [ η ] ) U η ( g z ) ] . (29)
Substituting these coefficients into Eqs. (19) and (25) gives
Ω ^ q ⃗ , w ( u , z ⃗ ) = ∑ s = 0 η E η , η , s ′ ( − 1 ) s ∑ j = 0 η f η , s ( j ) b j ( g z ⃗ ) . (30) \widehat{\Omega}_{\vec{q},w}(u,\vec{z}) = \sum_{s=0}^{\eta}E'_{\eta,\eta,s}(-1)^s\sum_{j=0}^{\eta}f_{\eta,s}(j)b_j(g_{\vec{z}}). \tag*{(30)} Ω q , w ( u , z ) = s = 0 ∑ η E η , η , s ′ ( − 1 ) s j = 0 ∑ η f η , s ( j ) b j ( g z ) . (30)
The desired single-shot overlap estimator is
O ^ q ⃗ , w ( u , z ⃗ ) = 2 Ω ^ q ⃗ , w ( u , z ⃗ ) . (31) \widehat{O}_{\vec{q},w}(u,\vec{z}) = 2\widehat{\Omega}_{\vec{q},w}(u,\vec{z}). \tag*{(31)} O q , w ( u , z ) = 2 Ω q , w ( u , z ) . (31)
Fixed-Particle Trace and Full-Fock Trace
We now discuss how to evaluate Eq. (27) efficiently. All operators in the trace are either fermionic Gaussian operators or density matrices, or products of linear combinations of Majorana operators. Such traces can be evaluated efficiently using Grassmann integration [48 ] . However, Grassmann integration naturally evaluates traces over the full Fock space, whereas the trace in Eq. (27) is restricted to the fixed-particle sector. The following theorem relates the full-space trace to the fixed-particle trace.
Lemma 1. For a one-particle matrix A ∈ C N a u g × N a u g A\in\mathbb{C}^{N_{\mathrm{aug}}\times N_{\mathrm{aug}}} A ∈ C N aug × N aug , define its number-conserving second quantization Γ ( A ) \Gamma(A) Γ ( A ) by
⟨ p ⃗ ∣ Γ ( A ) ∣ q ⃗ ⟩ : = { det A p ⃗ , q ⃗ , ∣ p ⃗ ∣ = ∣ q ⃗ ∣ , 0 , ∣ p ⃗ ∣ ≠ ∣ q ⃗ ∣ . (32) \langle\vec{p}|\Gamma(A)|\vec{q}\rangle:=
\begin{cases}
\det A_{\vec{p},\vec{q}}, & |\vec{p}|=|\vec{q}|,\\
0, & |\vec{p}|\ne|\vec{q}|.
\end{cases} \tag*{(32)} ⟨ p ∣Γ ( A ) ∣ q ⟩ := { det A p , q , 0 , ∣ p ∣ = ∣ q ∣ , ∣ p ∣ = ∣ q ∣. (32) Here p ⃗ \vec{p} p and q ⃗ \vec{q} q label occupation vectors, and A p ⃗ , q ⃗ A_{\vec{p},\vec{q}} A p , q is the submatrix whose row and column indices are the occupied modes in p ⃗ \vec{p} p and q ⃗ \vec{q} q , respectively, ordered increasingly. If A A A is invertible, we can write the operator as
Γ ( A ) = exp ( ∑ p , q = 1 N a u g [ log A ] p q a p † a q ) . (33) \Gamma(A) = \exp\left(\sum_{p,q=1}^{N_{\mathrm{aug}}}[\log A]_{pq}a_p^\dagger a_q\right). \tag*{(33)} Γ ( A ) = exp p , q = 1 ∑ N aug [ log A ] pq a p † a q . (33) Now let
P [ η ] = ∑ ℓ = 1 η ∣ ℓ ⟩ ⟨ ℓ ∣ (34) P_{[\eta]} = \sum_{\ell=1}^{\eta}|\ell\rangle\langle\ell| \tag*{(34)} P [ η ] = ℓ = 1 ∑ η ∣ ℓ ⟩ ⟨ ℓ ∣ (34) be the one-particle projector onto the first η \eta η modes. For κ ≠ 1 \kappa\ne1 κ = 1 , set α = ( 1 − κ ) η \alpha=(1-\kappa)^\eta α = ( 1 − κ ) η and μ = 2 κ / ( 1 − κ ) \mu=2\kappa/(1-\kappa) μ = 2 κ / ( 1 − κ ) , and define
d = I + μ P [ η ] = ( ( 1 + μ ) I η 0 0 I N a u g − η ) . (35) d=I+\mu P_{[\eta]} =
\begin{pmatrix}
(1+\mu)I_\eta& 0\\
0 & I_{N_{\mathrm{aug}}-\eta}
\end{pmatrix}. \tag*{(35)} d = I + μ P [ η ] = ( ( 1 + μ ) I η 0 0 I N aug − η ) . (35) With the above definitions we show that,
ρ η ( κ ) = ∏ ℓ = 1 η ( 1 + i κ β ℓ ) = α Γ ( d ) . (36) \rho_\eta(\kappa)=\prod_{\ell=1}^{\eta}(1+i\kappa\beta_\ell)=\alpha\Gamma(d). \tag*{(36)} ρ η ( κ ) = ℓ = 1 ∏ η ( 1 + iκ β ℓ ) = α Γ ( d ) . (36) Proof. Since
i β ℓ = 2 n ^ ℓ − 1 , (37) i\beta_\ell=2\hat{n}_\ell-1, \tag*{(37)} i β ℓ = 2 n ^ ℓ − 1 , (37) each factor satisfies
1 + i κ β ℓ = ( 1 − κ ) ( 1 + μ n ^ ℓ ) . (38) 1+i\kappa\beta_\ell=(1-\kappa)(1+\mu\hat{n}_\ell). \tag*{(38)} 1 + iκ β ℓ = ( 1 − κ ) ( 1 + μ n ^ ℓ ) . (38) Therefore,
ρ η ( κ ) = ( 1 − κ ) η ∏ ℓ = 1 η ( 1 + μ n ^ ℓ ) . (39) \rho_\eta(\kappa)=(1-\kappa)^\eta\prod_{\ell=1}^{\eta}(1+\mu\hat{n}_\ell). \tag*{(39)} ρ η ( κ ) = ( 1 − κ ) η ℓ = 1 ∏ η ( 1 + μ n ^ ℓ ) . (39) Because d = I + μ P [ η ] d=I+\mu P_{[\eta]} d = I + μ P [ η ] multiplies the first η \eta η one-particle basis vectors by 1 + μ 1+\mu 1 + μ and leaves the remaining basis vectors unchanged,
Γ ( d ) = ∏ ℓ = 1 η ( 1 + μ n ^ ℓ ) . (40) \Gamma(d)=\prod_{\ell=1}^{\eta}(1+\mu\hat{n}_\ell). \tag*{(40)} Γ ( d ) = ℓ = 1 ∏ η ( 1 + μ n ^ ℓ ) . (40) Combining these identities gives
ρ η ( κ ) = α Γ ( d ) . (41) \rho_\eta(\kappa)=\alpha\Gamma(d). \tag*{(41)} ρ η ( κ ) = α Γ ( d ) . (41)
Theorem 2 (Fixed-particle trace versus full-Fock trace). Let
T η ( g , κ ) = Tr ∧ η [ D q ⃗ a ⃗ U ˉ η ( g ) ρ η ( κ ) U η ( g ) ] (42) T_\eta(g,\kappa)=\operatorname{Tr}_{\wedge^\eta}\left[D_{\vec q}^{\vec a}\bar{U}_\eta(g)\rho_\eta(\kappa)U_\eta(g)\right] \tag*{(42)} T η ( g , κ ) = Tr ∧ η [ D q a U ˉ η ( g ) ρ η ( κ ) U η ( g ) ] (42) and let T F ( g , κ ) T_F(g,\kappa) T F ( g , κ ) denote the same operator traced over the full Fock space F N a u g \mathcal{F}_{N_{\mathrm{aug}}} F N aug , with U ( g ) U(g) U ( g ) acting on all particle sectors. Then
T F ( g , κ ) = 2 N a u g − 2 η T η ( g , κ ) . (43) T_F(g,\kappa)=2^{N_{\mathrm{aug}}-2\eta}T_\eta(g,\kappa). \tag*{(43)} T F ( g , κ ) = 2 N aug − 2 η T η ( g , κ ) . (43)
Proof. We define the following by absorbing the rotation
h = g † ( I + μ P [ η ] ) g = I + μ K , K = g † P [ η ] g (44) h=g^\dagger(I+\mu P_{[\eta]})g=I+\mu K,\qquad K=g^\dagger P_{[\eta]}g \tag*{(44)} h = g † ( I + μ P [ η ] ) g = I + μ K , K = g † P [ η ] g (44)
Note that K 2 = K K^2=K K 2 = K and rank K = η \operatorname{rank}K=\eta rank K = η .
On the fixed η \eta η -particle sector,
T η ( g , κ ) = α Tr ∧ η [ D q ⃗ a ⃗ Γ ( h ) ] = α Tr ∧ η [ Γ ( h ) ∣ a ⃗ ⟩ ⟨ q ⃗ ∣ ] = α Tr ∧ η [ ∑ p ⃗ det ( h p ⃗ , a ⃗ ) ∣ p ⃗ ⟩ ⟨ q ⃗ ∣ ] = α det ( h q ⃗ , a ⃗ ) . (45) \begin{aligned}
T_\eta(g,\kappa)&=\alpha\operatorname{Tr}_{\wedge^\eta}\left[D_{\vec q}^{\vec a}\Gamma(h)\right]\\
&=\alpha\operatorname{Tr}_{\wedge^\eta}\left[\Gamma(h)|\vec a\rangle\langle\vec q|\right]\\
&=\alpha\operatorname{Tr}_{\wedge^\eta}\left[\sum_{\vec p}\det(h_{\vec p,\vec a})|\vec p\rangle\langle\vec q|\right]\\
&=\alpha\det(h_{\vec q,\vec a}). \tag*{(45)}
\end{aligned} T η ( g , κ ) = α Tr ∧ η [ D q a Γ ( h ) ] = α Tr ∧ η [ Γ ( h ) ∣ a ⟩ ⟨ q ∣ ] = α Tr ∧ η p ∑ det ( h p , a ) ∣ p ⟩ ⟨ q ∣ = α det ( h q , a ) . (45)
where we used theorem 1 and the cyclicity of the trace, and to remind the readers, q ⃗ \vec q q and a ⃗ \vec a a are defined in Eq. (10) . Note that κ \kappa κ no longer appears explicitly in the RHS as we have applied the identity in Eq. (41) .
For the full Fock trace, the standard number-conserving Gaussian trace identities give [53 ]
Tr F [ Γ ( h ) ] = det ( I + h ) , (46) \operatorname{Tr}_{F}[\Gamma(h)]=\det(I+h), \tag*{(46)} Tr F [ Γ ( h )] = det ( I + h ) , (46)
and
Tr F [ a i † a j Γ ( h ) ] Tr F [ Γ ( h ) ] = ( C h ) j , i , (47) \frac{\operatorname{Tr}_{F}\left[a_i^\dagger a_j\Gamma(h)\right]}{\operatorname{Tr}_{F}[\Gamma(h)]}=(C_h)_{j,i}, \tag*{(47)} Tr F [ Γ ( h )] Tr F [ a i † a j Γ ( h ) ] = ( C h ) j , i , (47)
where the Gaussian contraction matrix is
C h = h ( I + h ) − 1 . (48) C_h=h(I+h)^{-1}. \tag*{(48)} C h = h ( I + h ) − 1 . (48)
Wick’s theorem applied to D q ⃗ a ⃗ D_{\vec q}^{\vec a} D q a gives
T F ( g , κ ) = α det ( I + h ) det ( ( C h ) q ⃗ , a ⃗ ) . (49) T_F(g,\kappa)=\alpha\det(I+h)\det\left((C_h)_{\vec q,\vec a}\right). \tag*{(49)} T F ( g , κ ) = α det ( I + h ) det ( ( C h ) q , a ) . (49)
Since K K K is a rank-η \eta η projector,
det ( I + h ) = det ( 2 I + μ K ) = 2 N a u g − η ( 2 + μ ) η . (50) \det(I+h)=\det(2I+\mu K)=2^{N_{\mathrm{aug}}-\eta}(2+\mu)^\eta. \tag*{(50)} det ( I + h ) = det ( 2 I + μ K ) = 2 N aug − η ( 2 + μ ) η . (50)
Also,
C h = ( I + μ K ) ( 2 I + μ K ) − 1 = 1 2 ( I − K ) + 1 + μ 2 + μ K . (51) C_h=(I+\mu K)(2I+\mu K)^{-1}=\frac{1}{2}(I-K)+\frac{1+\mu}{2+\mu}K. \tag*{(51)} C h = ( I + μ K ) ( 2 I + μ K ) − 1 = 2 1 ( I − K ) + 2 + μ 1 + μ K . (51)
The sets q ⃗ \vec q q and a ⃗ \vec a a are disjoint, so the identity block does not contribute to ( C h ) q ⃗ , a ⃗ (C_h)_{\vec q,\vec a} ( C h ) q , a . Thus
( C h ) q ⃗ , a ⃗ = 1 2 ( 2 + μ ) h q ⃗ , a ⃗ . (52) (C_h)_{\vec q,\vec a}=\frac{1}{2(2+\mu)}h_{\vec q,\vec a}. \tag*{(52)} ( C h ) q , a = 2 ( 2 + μ ) 1 h q , a . (52)
Substituting Eqs. (50) and (52) into Eq. (49) yields
T F ( g , κ ) = 2 N a u g − 2 η α det ( h q ⃗ , a ⃗ ) = 2 N a u g − 2 η T η ( g , κ ) . (53) T_F(g,\kappa)=2^{N_{\mathrm{aug}}-2\eta}\alpha\det(h_{\vec q,\vec a})=2^{N_{\mathrm{aug}}-2\eta}T_\eta(g,\kappa). \tag*{(53)} T F ( g , κ ) = 2 N aug − 2 η α det ( h q , a ) = 2 N aug − 2 η T η ( g , κ ) . (53)
Both sides are polynomials in κ \kappa κ , so the identity extends to κ = 1 \kappa=1 κ = 1 by polynomial continuation.
Direct Matrix Determinant Estimator
The preceding theorem relates the fixed-particle and full-Fock traces. The matrix determinant reduction is most transparent in the fixed-particle representation. Comparing Eqs. (27) and (42) gives
P ( κ , z ⃗ ) = T η ( g z ⃗ , κ ) . (54) P(\kappa,\vec z)=T_\eta(g_{\vec z},\kappa). \tag*{(54)} P ( κ , z ) = T η ( g z , κ ) . (54)
The Gaussian representation from theorem 1 is
ρ η ( κ ) = α Γ ( d ) , α = ( 1 − κ ) η , (55) \rho_\eta(\kappa)=\alpha\Gamma(d),\qquad\alpha=(1-\kappa)^\eta, \tag*{(55)} ρ η ( κ ) = α Γ ( d ) , α = ( 1 − κ ) η , (55)
d = I + μ P [ η ] , μ = 2 κ 1 − κ . (56) d=I+\mu P_{[\eta]},\qquad\mu=\frac{2\kappa}{1-\kappa}. \tag*{(56)} d = I + μ P [ η ] , μ = 1 − κ 2 κ . (56)
Substituting g = g z ⃗ g=g_{\vec z} g = g z into Eq. (45) gives
P ( κ , z ⃗ ) = ( 1 − κ ) η det ( ( I + μ K ( z ⃗ ) ) q ⃗ , a ⃗ ) , (57) P(\kappa,\vec z)=(1-\kappa)^\eta\det\left((I+\mu K^{(\vec z)})_{\vec q,\vec a}\right), \tag*{(57)} P ( κ , z ) = ( 1 − κ ) η det ( ( I + μ K ( z ) ) q , a ) , (57)
K ( z ⃗ ) = g z ⃗ † P [ η ] g z ⃗ . (58) K^{(\vec z)}=g_{\vec z}^{\dagger}P_{[\eta]}g_{\vec z}. \tag*{(58)} K ( z ) = g z † P [ η ] g z . (58)
Since q ⃗ \vec q q and a ⃗ \vec a a are disjoint,
( I + μ K ( z ⃗ ) ) q ⃗ , a ⃗ = μ K q ⃗ , a ⃗ ( z ⃗ ) . (59) (I+\mu K^{(\vec z)})_{\vec q,\vec a}=\mu K^{(\vec z)}_{\vec q,\vec a}. \tag*{(59)} ( I + μ K ( z ) ) q , a = μ K q , a ( z ) . (59)
Therefore
P ( κ , z ⃗ ) = ( 2 κ ) η det ( K q ⃗ , a ⃗ ( z ⃗ ) ) , (60) P(\kappa,\vec z)=(2\kappa)^\eta\det\left(K^{(\vec z)}_{\vec q,\vec a}\right), \tag*{(60)} P ( κ , z ) = ( 2 κ ) η det ( K q , a ( z ) ) , (60)
and all lower-order coefficients vanish:
b j ( g z ⃗ ) = 0 ( j < η ) , b η ( g z ⃗ ) = 2 η det ( K q ⃗ , a ⃗ ( z ⃗ ) ) . (61) b_j(g_{\vec z})=0\quad(j<\eta),\qquad b_\eta(g_{\vec z})=2^\eta\det\left(K^{(\vec z)}_{\vec q,\vec a}\right). \tag*{(61)} b j ( g z ) = 0 ( j < η ) , b η ( g z ) = 2 η det ( K q , a ( z ) ) . (61)
Substitution into Eq. (30) , together with
f η , s ( η ) = ( − 1 ) η ( η s ) 2 − η , (62) f_{\eta,s}(\eta)=(-1)^\eta\binom{\eta}{s}2^{-\eta}, \tag*{(62)} f η , s ( η ) = ( − 1 ) η ( s η ) 2 − η , (62)
gives
Ω ^ q ⃗ , w ⃗ ( u , z ⃗ ) = 2 − η b η ( g z ⃗ ) ∑ s = 0 η ( N a u g − η + s s ) (63) \widehat{\Omega}_{\vec q,\vec w}(u,\vec z)=2^{-\eta}b_\eta(g_{\vec z})\sum_{s=0}^{\eta}\binom{N_{\mathrm{aug}}-\eta+s}{s} \tag*{(63)} Ω q , w ( u , z ) = 2 − η b η ( g z ) s = 0 ∑ η ( s N aug − η + s ) (63)
= ( N a u g + 1 η ) det ( K q ⃗ , a ⃗ ( z ⃗ ) ) . (64) =\binom{N_{\mathrm{aug}}+1}{\eta}\det\left(K^{(\vec z)}_{\vec q,\vec a}\right). \tag*{(64)} = ( η N aug + 1 ) det ( K q , a ( z ) ) . (64)
Thus the desired overlap has the single-shot estimator
O ^ q ⃗ , w ⃗ ( u , z ⃗ ) = 2 ( N a u g + 1 η ) det ( K q ⃗ , a ⃗ ( z ⃗ ) ) . (65) \widehat{O}_{\vec q,\vec w}(u,\vec z)=2\binom{N_{\mathrm{aug}}+1}{\eta}\det\left(K^{(\vec z)}_{\vec q,\vec a}\right). \tag*{(65)} O q , w ( u , z ) = 2 ( η N aug + 1 ) det ( K q , a ( z ) ) . (65)
Computing the Matrix Determinant Block
Now we provide an efficient way to evaluate Eq. (65) without forming the full K K K matrix. We first note that only the η × η \eta\times\eta η × η block K q ⃗ , a ⃗ K_{\vec q,\vec a} K q , a is needed. Since K = g † P [ η ] g K=g^\dagger P_{[\eta]}g K = g † P [ η ] g and P [ η ] P_{[\eta]} P [ η ] projects onto the first η \eta η one-particle modes, let
G = g [ η ] , : . (66) G=g_{[\eta],:}. \tag*{(66)} G = g [ η ] , : . (66)
and
K = G † G . (67) K = G^\dagger G. \tag*{(67)} K = G † G . (67)
The permutation v ⃗ z ⃗ \vec{v}_{\vec{z}} v z maps [ η ] [\eta] [ η ] to z ⃗ \vec{z} z , so
G = ( u W ) z ⃗ , : . (68) G = (uW)_{\vec{z},:}. \tag*{(68)} G = ( u W ) z , : . (68)
and, as a result,
K q ⃗ , a ⃗ = ( ( u W ) z ⃗ , q ⃗ ) † ( u W ) z ⃗ , a ⃗ . (69) K_{\vec{q},\vec{a}} = \left((uW)_{\vec{z},\vec{q}}\right)^\dagger(uW)_{\vec{z},\vec{a}}. \tag*{(69)} K q , a = ( ( u W ) z , q ) † ( u W ) z , a . (69)
Because q ⃗ \vec{q} q lies in the original system and a ⃗ \vec{a} a lies in the ancilla modes, we can avoid forming W W W explicitly and compute K q ⃗ , a ⃗ K_{\vec{q},\vec{a}} K q , a as
K q ⃗ , a ⃗ = ( u z ⃗ , [ N ] w : , q ⃗ ) † u z ⃗ , a ⃗ . (70) K_{\vec{q},\vec{a}} = (u_{\vec{z},[N]}w_{:,\vec{q}})^\dagger u_{\vec{z},\vec{a}}. \tag*{(70)} K q , a = ( u z , [ N ] w : , q ) † u z , a . (70)
If the target Slater determinant is represented as the N × η N \times\eta N × η orbital coefficient matrix
Φ = w : , q ⃗ , (71) \Phi= w_{:,\vec{q}}, \tag*{(71)} Φ = w : , q , (71)
then
K q ⃗ , a ⃗ = ( u z ⃗ , [ N ] Φ ) † u z ⃗ , a ⃗ . (72) K_{\vec{q},\vec{a}} = (u_{\vec{z},[N]}\Phi)^\dagger u_{\vec{z},\vec{a}}. \tag*{(72)} K q , a = ( u z , [ N ] Φ ) † u z , a . (72)
The derivation above used an orbital matrix with orthonormal columns, Φ = w : , q ⃗ \Phi= w_{:,\vec{q}} Φ = w : , q . The same estimator applies to a general AFQMC walker. For a full-column-rank matrix, let
Φ = Q R , Q † Q = I η (73) \Phi= QR,\qquad Q^\dagger Q = I_\eta \tag*{(73)} Φ = QR , Q † Q = I η (73)
be a thin QR factorization. Since Q Q Q has orthonormal columns, it can be completed to a unitary one-particle rotation and therefore satisfies the assumptions of the derivation above. The corresponding Slater determinant satisfies
∣ ϕ ( Φ ) ⟩ = det ( R ) ∣ ϕ ( Q ) ⟩ . (74) |\phi(\Phi)\rangle= \det(R)|\phi(Q)\rangle. \tag*{(74)} ∣ ϕ ( Φ )⟩ = det ( R ) ∣ ϕ ( Q )⟩ . (74)
The single-shadow matrix determinant acquires the same factor in the bra orientation:
det [ ( u z ⃗ , [ N ] Φ ) † u z ⃗ , a ⃗ ] = det ( R ) ∗ det [ ( u z ⃗ , [ N ] Q ) † u z ⃗ , a ⃗ ] . (75) \det\left[(u_{\vec{z},[N]} \Phi)^\dagger u_{\vec{z},\vec{a}}\right] = \det(R)^* \det\left[(u_{\vec{z},[N]} Q)^\dagger u_{\vec{z},\vec{a}}\right]. \tag*{(75)} det [ ( u z , [ N ] Φ ) † u z , a ] = det ( R ) ∗ det [ ( u z , [ N ] Q ) † u z , a ] . (75)
Thus the estimator remains valid for an arbitrary full-column-rank walker, interpreted as the ordered, generally unnormalized Slater determinant ∣ ϕ ( Φ ) ⟩ |\phi(\Phi)\rangle ∣ ϕ ( Φ )⟩ . If Φ \Phi Φ is rank deficient, both the Slater determinant state and the single-shadow matrix determinant vanish.
Overlap Algorithm
Algorithm 1 summarizes the orbital-rotation-shadow protocol for estimating overlaps with Slater determinants.
Algorithm 1: Estimating Slater-determinant overlaps with orbital-rotation shadows
Input: an N N N -mode, η \eta η -particle state ∣ Ψ T ⟩ |\Psi_T\rangle ∣ Ψ T ⟩ ; target Slater determinants ∣ ϕ i ⟩ |\phi_i\rangle ∣ ϕ i ⟩ represented by orbital matrices Φ i ∈ C N × η \Phi_i \in\mathbb{C}^{N \times\eta} Φ i ∈ C N × η for i = 1 , … , L i = 1,\ldots,L i = 1 , … , L ; number of shadow samples N s h a d o w N_{\mathrm{shadow}} N shadow .
Output: estimates o ^ i \widehat{o}_i o i of o i = ⟨ ϕ i ∣ Ψ T ⟩ o_i = \langle\phi_i|\Psi_T\rangle o i = ⟨ ϕ i ∣ Ψ T ⟩ .
Set N a u g = N + η N_{\mathrm{aug}} = N + \eta N aug = N + η and a ⃗ = N + [ η ] \vec{a} = N + [\eta] a = N + [ η ] .
For t = 1 , … , N s h a d o w t = 1,\ldots,N_{\mathrm{shadow}} t = 1 , … , N shadow : a. prepare
∣ Ψ a u g ⟩ = ( ∣ Ψ T ⟩ ⊗ ∣ 0 ⟩ ⊗ η + ∣ a ⃗ ⟩ ) / 2 . (76) |\Psi_{\mathrm{aug}}\rangle= \left(|\Psi_T\rangle\otimes|0\rangle^{\otimes\eta} + |\vec{a}\rangle\right)/\sqrt{2}. \tag*{(76)} ∣ Ψ aug ⟩ = ( ∣ Ψ T ⟩ ⊗ ∣0 ⟩ ⊗ η + ∣ a ⟩ ) / 2 . (76)
b. sample u ( t ) u^{(t)} u ( t ) from Haar measure on U N a u g \mathcal{U}_{N_{\mathrm{aug}}} U N aug ; c. apply U η ( u ( t ) ) U_\eta(u^{(t)}) U η ( u ( t ) ) to ∣ Ψ a u g ⟩ |\Psi_{\mathrm{aug}}\rangle ∣ Ψ aug ⟩ ; d. measure in the occupation basis to obtain z ⃗ ( t ) ∈ S N a u g , η \vec{z}^{(t)} \in\mathcal{S}_{N_{\mathrm{aug}},\eta} z ( t ) ∈ S N aug , η ; e. store ( u ( t ) , z ⃗ ( t ) ) (u^{(t)}, \vec{z}^{(t)}) ( u ( t ) , z ( t ) ) .
For each target i i i and shadow t t t , form
A i ( t ) = u z ⃗ ( t ) , [ N ] ( t ) Φ i , B ( t ) = u z ⃗ ( t ) , a ⃗ ( t ) . (77) A_i^{(t)} = u_{\vec{z}^{(t)},[N]}^{(t)} \Phi_i,\qquad B^{(t)} = u_{\vec{z}^{(t)},\vec{a}}^{(t)}. \tag*{(77)} A i ( t ) = u z ( t ) , [ N ] ( t ) Φ i , B ( t ) = u z ( t ) , a ( t ) . (77)
Compute
O ^ i ( t ) = 2 ( N a u g + 1 η ) det ( ( A i ( t ) ) † B ( t ) ) . (78) \widehat{O}_i^{(t)} = 2\binom{N_{\mathrm{aug}}+1}{\eta}\det\left((A_i^{(t)})^\dagger B^{(t)}\right). \tag*{(78)} O i ( t ) = 2 ( η N aug + 1 ) det ( ( A i ( t ) ) † B ( t ) ) . (78)
Return the shadow mean
o ^ i = 1 N s h a d o w ∑ t = 1 N s h a d o w O ^ i ( t ) . (79) \widehat{o}_i = \frac{1}{N_{\mathrm{shadow}}}\sum_{t=1}^{N_{\mathrm{shadow}}}\widehat{O}_i^{(t)}. \tag*{(79)} o i = N shadow 1 t = 1 ∑ N shadow O i ( t ) . (79)
Overlap Derivatives
Algorithm 1 estimates the bra-oriented overlap o ϕ = ⟨ ϕ ( Φ ) ∣ Ψ T ⟩ o_\phi= \langle\phi(\Phi)|\Psi_T\rangle o ϕ = ⟨ ϕ ( Φ ) ∣ Ψ T ⟩ . QC-AFQMC uses the conjugate orientation D ( Φ ) = ⟨ Ψ T ∣ ϕ ( Φ ) ⟩ = o ϕ ∗ D(\Phi) = \langle\Psi_T|\phi(\Phi)\rangle= o_\phi^* D ( Φ ) = ⟨ Ψ T ∣ ϕ ( Φ )⟩ = o ϕ ∗ , which we adopt below. Force biases and local energies require ratios of derivatives of D ( Φ ) D(\Phi) D ( Φ ) . The force bias and the local energy share the same structure as
⟨ Ψ T ∣ O ^ ∣ ϕ ( Φ ) ⟩ ⟨ Ψ T ∣ ϕ ( Φ ) ⟩ (80) \frac{\langle\Psi_T|\widehat{O}|\phi(\Phi)\rangle}{\langle\Psi_T|\phi(\Phi)\rangle} \tag*{(80)} ⟨ Ψ T ∣ ϕ ( Φ )⟩ ⟨ Ψ T ∣ O ∣ ϕ ( Φ )⟩ (80)
For the force bias, O ^ \widehat{O} O is a one-body operator. For the local energy, it is the Hamiltonian, evaluated using one-body operators and their products. Let a QC-AFQMC walker be represented by
Φ ∈ C N × n , ∣ ϕ ( Φ ) ⟩ = ∏ α = 1 n ( ∑ p = 1 N Φ p α a p † ) ∣ 0 ⟩ . (81) \Phi\in\mathbb{C}^{N \times n}, \qquad|\phi(\Phi)\rangle= \prod_{\alpha=1}^{n}\left(\sum_{p=1}^{N}\Phi_{p\alpha}a_p^\dagger\right)|0\rangle. \tag*{(81)} Φ ∈ C N × n , ∣ ϕ ( Φ )⟩ = α = 1 ∏ n ( p = 1 ∑ N Φ p α a p † ) ∣0 ⟩ . (81)
For a single shadow, we define
U o = u z ⃗ , [ N ] , U a = u z ⃗ , a ⃗ , S = U o † U a . (82) U_o = u_{\vec{z},[N]}, \qquad U_a = u_{\vec{z},\vec{a}}, \qquad S = U_o^\dagger U_a. \tag*{(82)} U o = u z , [ N ] , U a = u z , a , S = U o † U a . (82)
For a single shadow, the estimator of the denominator in Eq. (80) is
D ^ u , z ⃗ ( Φ ) = 2 ( N a u g + 1 n ) det H , H = S † Φ . (83) \widehat{D}_{u,\vec{z}}(\Phi) = 2\binom{N_{\mathrm{aug}}+1}{n}\det H, \qquad H = S^\dagger\Phi. \tag*{(83)} D u , z ( Φ ) = 2 ( n N aug + 1 ) det H , H = S † Φ. (83)
Let X ∈ C N × N X \in\mathbb{C}^{N\times N} X ∈ C N × N be a one-particle generator. Its number-conserving Fock-space representation is
X ^ = ∑ p , q = 1 N X p q a p † a q . (84) \widehat{X} = \sum_{p,q=1}^{N}X_{pq}a_p^\dagger a_q. \tag*{(84)} X = p , q = 1 ∑ N X pq a p † a q . (84)
The corresponding transformation of the walker is
e λ X ^ ∣ ϕ ( Φ ) ⟩ = ∣ ϕ ( e λ X Φ ) ⟩ . (85) e^{\lambda\widehat{X}}|\phi(\Phi)\rangle= |\phi(e^{\lambda X}\Phi)\rangle. \tag*{(85)} e λ X ∣ ϕ ( Φ )⟩ = ∣ ϕ ( e λ X Φ )⟩ . (85)
Define
Φ ( λ ) = e λ X Φ . (86) \Phi(\lambda) = e^{\lambda X}\Phi. \tag*{(86)} Φ ( λ ) = e λ X Φ. (86)
in which λ \lambda λ is an auxiliary scalar variable. Differentiating the exact overlap gives
∂ λ D ( Φ ( λ ) ) ∣ λ = 0 = ⟨ Ψ T ∣ X ^ ∣ ϕ ( Φ ) ⟩ . (87) \left.\partial_\lambda D(\Phi(\lambda))\right|_{\lambda=0} = \langle\Psi_T|\widehat{X}|\phi(\Phi)\rangle. \tag*{(87)} ∂ λ D ( Φ ( λ )) ∣ λ = 0 = ⟨ Ψ T ∣ X ∣ ϕ ( Φ )⟩ . (87)
Thus the overlap derivative is precisely the one-body matrix-element numerator required in QC-AFQMC. The shadow records depend only on the augmented trial state ∣ Ψ a u g ⟩ |\Psi_{\mathrm{aug}}\rangle ∣ Ψ aug ⟩ , not on the walker matrix Φ \Phi Φ , so the one-shot estimator may be differentiated with respect to Φ \Phi Φ . For a single shadow, define
H X = S † X Φ . (88) H_X = S^\dagger X\Phi. \tag*{(88)} H X = S † X Φ. (88)
When H H H is nonsingular, Jacobi’s formula gives
∂ λ D ^ u , z ⃗ ( Φ ( λ ) ) ∣ λ = 0 = D ^ u , z ⃗ ( Φ ) Tr [ H − 1 H X ] . (89) \left.\partial_\lambda\widehat{D}_{u,\vec{z}}(\Phi(\lambda))\right|_{\lambda=0} = \widehat{D}_{u,\vec{z}}(\Phi)\operatorname{Tr}\left[H^{-1}H_X\right]. \tag*{(89)} ∂ λ D u , z ( Φ ( λ )) λ = 0 = D u , z ( Φ ) Tr [ H − 1 H X ] . (89)
The derivative numerator and overlap denominator must be averaged separately. Using N s h a d o w N_{\mathrm{shadow}} N shadow shadow records, we estimate
∂ λ log D ( Φ ( λ ) ) ∣ 0 ≈ D ^ X D ^ , (90) \left.\partial_\lambda\log D(\Phi(\lambda))\right|_0 \approx\frac{\widehat{D}_X}{\widehat{D}}, \tag*{(90)} ∂ λ log D ( Φ ( λ )) ∣ 0 ≈ D D X , (90)
where
D ^ X = 1 N s h a d o w ∑ t ∂ λ D ^ u ( t ) , z ⃗ ( t ) ( Φ ( λ ) ) ∣ 0 , D ^ = 1 N s h a d o w ∑ t D ^ u ( t ) , z ⃗ ( t ) ( Φ ) . (91) \widehat{D}_X = \frac{1}{N_{\mathrm{shadow}}}\sum_t\left.\partial_\lambda\widehat{D}_{u^{(t)},\vec{z}^{(t)}}(\Phi(\lambda))\right|_0,
\qquad
\widehat{D} = \frac{1}{N_{\mathrm{shadow}}}\sum_t\widehat{D}_{u^{(t)},\vec{z}^{(t)}}(\Phi). \tag*{(91)} D X = N shadow 1 t ∑ ∂ λ D u ( t ) , z ( t ) ( Φ ( λ )) 0 , D = N shadow 1 t ∑ D u ( t ) , z ( t ) ( Φ ) . (91)
The ratio of sample means is consistent as N s h a d o w → ∞ N_{\mathrm{shadow}}\to\infty N shadow → ∞ when D ( Φ ) ≠ 0 D(\Phi)\ne0 D ( Φ ) = 0 , but it is generally biased at finite N s h a d o w N_{\mathrm{shadow}} N shadow and becomes ill-conditioned near an overlap zero. Averaging the ratio obtained from each individual shadow would estimate a different quantity and should not be used.
For local-energy two-body terms, use two generators X X X and Y Y Y and set
Φ ( λ 1 , λ 2 ) = e λ 1 X e λ 2 Y Φ . (92) \Phi(\lambda_1,\lambda_2) = e^{\lambda_1 X}e^{\lambda_2 Y}\Phi. \tag*{(92)} Φ ( λ 1 , λ 2 ) = e λ 1 X e λ 2 Y Φ. (92)
With
H Y = S † Y Φ , H X Y = S † X Y Φ , (93) H_Y = S^\dagger Y\Phi, \qquad H_{XY} = S^\dagger XY\Phi, \tag*{(93)} H Y = S † Y Φ , H X Y = S † X Y Φ , (93)
Jacobi’s formula yields
∂ λ 1 ∂ λ 2 D ^ u , z ⃗ ( Φ ( λ 1 , λ 2 ) ) ∣ 0 = D ^ u , z ⃗ ( Φ ) [ Tr ( H − 1 H X Y ) − Tr ( H − 1 H Y H − 1 H X ) + Tr ( H − 1 H X ) Tr ( H − 1 H Y ) ] . (94) \left.\partial_{\lambda_1}\partial_{\lambda_2}\widehat{D}_{u,\vec{z}}(\Phi(\lambda_1,\lambda_2))\right|_0
=
\widehat{D}_{u,\vec{z}}(\Phi)\left[
\operatorname{Tr}\left(H^{-1}H_{XY}\right)
-\operatorname{Tr}\left(H^{-1}H_YH^{-1}H_X\right)
+\operatorname{Tr}\left(H^{-1}H_X\right)\operatorname{Tr}\left(H^{-1}H_Y\right)
\right]. \tag*{(94)} ∂ λ 1 ∂ λ 2 D u , z ( Φ ( λ 1 , λ 2 )) 0 = D u , z ( Φ ) [ Tr ( H − 1 H X Y ) − Tr ( H − 1 H Y H − 1 H X ) + Tr ( H − 1 H X ) Tr ( H − 1 H Y ) ] . (94)
For Cholesky-vector local-energy terms one sets X = Y = X γ X=Y=X_\gamma X = Y = X γ , so the linear solve for H − 1 H X H^{-1}H_X H − 1 H X is reused for both first-derivative factors.
Variance Bound of Orbital-Rotation Shadows
In classical shadows, the number of samples needed to estimate observables to an additive error ϵ \epsilon ϵ depends on the shadow variance. For complex overlaps, Wan et al. [48 ] provide an explicit finite-size variance bound; the O ( N log N ) O(\sqrt{N}\log N) O ( N log N ) asymptotic bound is proved for Gaussian-projector expectation values and numerically suggested for the nonzero-particle overlap case. Low [51 ] showed that the averaged shadow variance of D ⃗ q ⃗ \vec{D}_{\vec{q}} D q is bounded by a constant O ( 1 ) O(1) O ( 1 ) . Although it’s tempting to think that this indicates the number of samples of orbital rotation shadows scales as O ( 1 ) O(1) O ( 1 ) , one needs to note an important subtlety: the average variance is taken over all of the η \eta η -RDMs, whereas only a subset of the η \eta η -RDMs correspond to the estimation of a Slater determinant overlap, as pointed out by Wan et al. [48 ] .
Recently, West et al. [52 ] showed that the orbital-rotation shadows for estimating squared overlaps ∣ ⟨ ϕ i ∣ Ψ T ⟩ ∣ 2 |\langle\phi_i|\Psi_T\rangle|^2 ∣ ⟨ ϕ i ∣ Ψ T ⟩ ∣ 2 scales as O ( η log η ) O(\eta\log\eta) O ( η log η ) , independent of the number of modes N N N . This is a marked contrast with matchgate shadows, whose known variance bounds for the same quantities grow with N N N , see [48 ] . However, QC-AFQMC requires the complex overlap ⟨ ϕ i ∣ Ψ T ⟩ \langle\phi_i|\Psi_T\rangle ⟨ ϕ i ∣ Ψ T ⟩ itself, including its phase. Its estimation via the augmented-ancilla protocol of Sec. II B has, to our knowledge, not been analyzed before. Here we close this gap: we show that the single-record estimator is unbiased and that its complex variance is bounded above by 4 η + 3 4\eta+3 4 η + 3 , independent of N N N , so that O ( η / ϵ 2 ) O(\eta/\epsilon^2) O ( η / ϵ 2 ) records suffice. We also show (Appendix A, eq. (177) ) that the variance is bounded below by η + 1 \eta+1 η + 1 for every normalized trial–Slater-determinant pair, so the Θ ( η ) \Theta(\eta) Θ ( η ) scaling is tight.
Theorem 3 (Variance bound for overlap estimation). Let 1 ≤ η ≤ N 1\leq\eta\leq N 1 ≤ η ≤ N , N a u g = N + η N_{\mathrm{aug}}=N+\eta N aug = N + η , and let ∣ Ψ T ⟩ |\Psi_T\rangle ∣ Ψ T ⟩ and ∣ ϕ ⟩ = U η ( w ) ∣ q ⃗ ⟩ |\phi\rangle=U_\eta(w)|\vec{q}\rangle ∣ ϕ ⟩ = U η ( w ) ∣ q ⟩ be a normalized η \eta η -particle trial state and a normalized Slater determinant, respectively. Prepare ∣ Ψ a u g ⟩ = ( ∣ Ψ T ⟩ + ∣ a ⃗ ⟩ ) / 2 |\Psi_{\mathrm{aug}}\rangle=(|\Psi_T\rangle+|\vec{a}\rangle)/\sqrt{2} ∣ Ψ aug ⟩ = ( ∣ Ψ T ⟩ + ∣ a ⟩) / 2 , where a ⃗ = N ⃗ + [ η ] \vec{a}=\vec{N}+[\eta] a = N + [ η ] and the physical trial state has empty ancillary modes. Sample u u u from complex Haar measure on U N a u g U_{N_{\mathrm{aug}}} U N aug and z ⃗ \vec{z} z from the ideal Born distribution after applying U η ( u ) U_\eta(u) U η ( u ) . Then the single-record estimator O ^ q ⃗ , w \widehat{O}_{\vec{q},w} O q , w is unbiased for o ϕ = ⟨ ϕ ∣ Ψ T ⟩ o_\phi=\langle\phi|\Psi_T\rangle o ϕ = ⟨ ϕ ∣ Ψ T ⟩ and obeys
Var C ( O ^ q ⃗ , w ) = E u , z ⃗ ∣ O ^ q ⃗ , w − o ϕ ∣ 2 ≤ 4 ( η + 1 ) N + 2 N + η + 2 − 1 ≤ 4 η + 3. (95) \operatorname{Var}_{\mathbb{C}}(\widehat{O}_{\vec{q},w})=\mathbb{E}_{u,\vec{z}}\left|\widehat{O}_{\vec{q},w}-o_\phi\right|^2
\leq4(\eta+1)\frac{N+2}{N+\eta+2}-1\leq4\eta+3. \tag*{(95)} Var C ( O q , w ) = E u , z O q , w − o ϕ 2 ≤ 4 ( η + 1 ) N + η + 2 N + 2 − 1 ≤ 4 η + 3. (95) The first bound is attained when ∣ Ψ T ⟩ = e i θ ∣ ϕ ⟩ |\Psi_T\rangle=e^{i\theta}|\phi\rangle ∣ Ψ T ⟩ = e i θ ∣ ϕ ⟩ .
The proof and exact state-dependent variance are given in Appendix A. For a normalized target Slater determinant fixed independently of the measurement records, let o ^ ϕ \widehat{o}_\phi o ϕ be the ordinary mean of the single-record overlap estimators evaluated on N s h a d o w N_{\mathrm{shadow}} N shadow independent records generated under the ideal protocol of Theorem 3 .
Independence and unbiasedness give
E ∣ o ^ ϕ − o ϕ ∣ 2 ≤ 4 η + 3 N s h a d o w . (96) \mathbb{E}\left|\widehat{o}_\phi-o_\phi\right|^2\leq\frac{4\eta+3}{N_{\mathrm{shadow}}}. \tag*{(96)} E ∣ o ϕ − o ϕ ∣ 2 ≤ N shadow 4 η + 3 . (96)
Thus, for ϵ > 0 \epsilon>0 ϵ > 0 , a sufficient sample count for additive root-mean-square overlap error at most ϵ \epsilon ϵ is
N s h a d o w = ⌈ 4 η + 3 ϵ 2 ⌉ . (97) N_{\mathrm{shadow}}=\left\lceil\frac{4\eta+3}{\epsilon^2}\right\rceil. \tag*{(97)} N shadow = ⌈ ϵ 2 4 η + 3 ⌉ . (97)
For simultaneous high-confidence estimates of L L L normalized target Slater determinants fixed independently of the records, coordinatewise median-of-means aggregation achieves complex absolute error at most ϵ \epsilon ϵ for every target with probability at least 1 − δ 1-\delta 1 − δ , using O ( η / ϵ 2 log ( 2 L / δ ) ) O(\eta/\epsilon^2\log(2L/\delta)) O ( η / ϵ 2 log ( 2 L / δ )) independent records shared by all targets, for 0 < δ < 1 0<\delta<1 0 < δ < 1 ; see Appendix A. This logarithmic confidence dependence requires median-of-means aggregation; the ordinary mean obeys the mean-square guarantee above. These are additive guarantees for fixed overlaps; final AFQMC energy accuracy requires a separate analysis.
Cost Scaling of QC-AFQMC
We now analyze the cost scaling for overlap evaluation. Constructing the matrix A i ( t ) A_i^{(t)} A i ( t ) costs O ( N η 2 ) O(N\eta^2) O ( N η 2 ) . The remaining operations involve only η × η \eta\times\eta η × η matrices, including matrix multiplications, matrix determinants, and linear solves, each of which costs O ( η 3 ) O(\eta^3) O ( η 3 ) . Therefore, the overall cost scales as
O ( N η 2 + η 3 ) ∼ O ( N η 2 ) , (98) O(N\eta^2+\eta^3)\sim O(N\eta^2), \tag*{(98)} O ( N η 2 + η 3 ) ∼ O ( N η 2 ) , (98)
per shadow and per walker. This improves the O ( N 4 ) O(N^4) O ( N 4 ) cost of the original matchgate-shadow overlap algorithm [34 , 35 , 48 ] . At fixed filling, η ∝ N \eta\propto N η ∝ N , the orbital-rotation cost is cubic, matching the recent matchgate algorithm [49 ] , while retaining explicit dependence on the particle number. For a fixed normalized target Slater determinant and additive root-mean-square overlap error ϵ \epsilon ϵ , combining Eq. (98) with the sufficient budget in Eq. (97) gives total arithmetic work O ( N η 3 / ϵ 2 ) O(N\eta^3/\epsilon^2) O ( N η 3 / ϵ 2 ) , or O ( N 4 / ϵ 2 ) O(N^4/\epsilon^2) O ( N 4 / ϵ 2 ) at fixed filling. In each method, total overlap work is the per-shadow cost multiplied by N s h a d o w N_{\mathrm{shadow}} N shadow and the number of target Slater determinants. These fixed-overlap guarantees do not specify the measurement budget needed for a final AFQMC energy accuracy.
The cost scaling for computing force biases and local energies can be obtained in a similar way. For force biases in Eqs. (89) , H − 1 S t H^{-1}S^t H − 1 S t could be computed first with linear solve without forming H − 1 H^{-1} H − 1 explicitly. The linear solve costs O ( N η 2 ) O(N\eta^2) O ( N η 2 ) and this is the only shadow-dependent step. The resulting matrix has size η × N \eta\times N η × N , we then accumulate over shadows, and contract it with Φ \Phi Φ (size N × η N\times\eta N × η ), which costs O ( N 2 η ) O(N^2\eta) O ( N 2 η ) . The last step is to compute the trace, which can be done with cost O ( N 2 ) O(N^2) O ( N 2 ) . The overall cost scaling for computing force bias is
O ( N s h a d o w N η 2 + N 2 η + N η N 2 ) ∼ O ( N η 3 ) (99) O(N_{\mathrm{shadow}}N\eta^2+N^2\eta+N\eta N^2)\sim O(N\eta^3) \tag*{(99)} O ( N shadow N η 2 + N 2 η + N η N 2 ) ∼ O ( N η 3 ) (99)
in which we assume N γ ∼ O ( N ) N_{\gamma} \sim\mathcal{O}(N) N γ ∼ O ( N ) and a fixed ϵ \epsilon ϵ . Force biases have the same cost scaling as overlaps.
Local energies can be computed similarly to force bias, with the most expensive part being the quadratic term in the right hand of Eqs. (94) . One now has to explicitly form the matrix H − 1 S † X Φ H^{-1}S^{\dagger}X\Phi H − 1 S † X Φ , which costs O ( N s h a d o w N γ N η 2 ) ∼ O ( N 2 η 3 ) \mathcal{O}(N_{\mathrm{shadow}}N_{\gamma}N_{\eta}^{2}) \sim\mathcal{O}(N^{2}\eta^{3}) O ( N shadow N γ N η 2 ) ∼ O ( N 2 η 3 ) .
Virtual Correlation Energy
One major advantage of QC-AFQMC is that it can account for both static and dynamic correlation. Static correlation is treated by selecting an active space and preparing a quantum trial state in that active space. Dynamic correlation is incorporated through the virtual correlation energy (VCE) technique [33 , 35 ] . Combining the two treatments allows us to propagate walkers in the full orbital space. VCE approximates the full-space trial state as
∣ Ψ T ⟩ = ∣ Ξ c α ⟩ ⊗ ∣ Ξ c β ⟩ ⊗ ∣ Ψ T , a ⟩ ⊗ ∣ 0 v α ⟩ ⊗ ∣ 0 v β ⟩ (100) |\Psi_{T}\rangle= |\Xi_{c}^{\alpha}\rangle\otimes|\Xi_{c}^{\beta}\rangle\otimes|\Psi_{T,a}\rangle\otimes|0_{v}^{\alpha}\rangle\otimes|0_{v}^{\beta}\rangle \tag*{(100)} ∣ Ψ T ⟩ = ∣ Ξ c α ⟩ ⊗ ∣ Ξ c β ⟩ ⊗ ∣ Ψ T , a ⟩ ⊗ ∣ 0 v α ⟩ ⊗ ∣ 0 v β ⟩ (100)
where ∣ Ψ T , a ⟩ |\Psi_{T,a}\rangle ∣ Ψ T , a ⟩ is the trial state prepared on a quantum computer within the active space with η \eta η electrons, ∣ Ξ c α ( β ) ⟩ |\Xi_{c}^{\alpha(\beta)}\rangle ∣ Ξ c α ( β ) ⟩ is a Slater determinant containing all frozen occupied α \alpha α (β \beta β ) orbitals with η c α ( β ) \eta_{c}^{\alpha(\beta)} η c α ( β ) electrons, and ∣ 0 v α ( β ) ⟩ |0_{v}^{\alpha(\beta)}\rangle ∣ 0 v α ( β ) ⟩ is the vacuum state in the space of virtual α \alpha α (β \beta β ) orbitals, with η = η a α + η a β \eta= \eta_{a}^{\alpha} + \eta_{a}^{\beta} η = η a α + η a β .
Given a walker in the full orbital space, VCE computes its overlap with the full-space trial state as
⟨ Ψ T ∣ ϕ ⟩ = det ( L c α ) det ( L c β ) det ( Q ) ⟨ Ψ T , a ∣ ϕ ~ a ⟩ (101) \langle\Psi_{T}|\phi\rangle= \frac{\det(L_{c}^{\alpha})\det(L_{c}^{\beta})}{\det(Q)}\langle\Psi_{T,a}|\widetilde{\phi}_{a}\rangle \tag*{(101)} ⟨ Ψ T ∣ ϕ ⟩ = det ( Q ) det ( L c α ) det ( L c β ) ⟨ Ψ T , a ∣ ϕ a ⟩ (101)
where L c α ( β ) L_{c}^{\alpha(\beta)} L c α ( β ) and Q Q Q are matrices computed classically, and ∣ ϕ ~ a ⟩ |\widetilde{\phi}_{a}\rangle ∣ ϕ a ⟩ is a rotated walker in the active space.
The active-space overlap ⟨ Ψ T , a ∣ ϕ ~ a ⟩ \langle\Psi_{T,a}|\widetilde{\phi}_{a}\rangle ⟨ Ψ T , a ∣ ϕ a ⟩ is then evaluated using orbital-rotation shadows and multiplied by the classically computed prefactor. The full VCE derivation is given in the appendix. As one could see, the cost of VCE is dominated by QR decomposition of matrices with dimension of ( η c α ( β ) + η a α ( β ) ) × η c α ( β ) (\eta_{c}^{\alpha(\beta)}+\eta_{a}^{\alpha(\beta)})\times\eta_{c}^{\alpha(\beta)} ( η c α ( β ) + η a α ( β ) ) × η c α ( β ) , and computing matrix determinants of η c α ( β ) × η c α ( β ) \eta_{c}^{\alpha(\beta)}\times\eta_{c}^{\alpha(\beta)} η c α ( β ) × η c α ( β ) and η a α ( β ) × η a α ( β ) \eta_{a}^{\alpha(\beta)}\times\eta_{a}^{\alpha(\beta)} η a α ( β ) × η a α ( β ) matrices. Therefore, the VCE part of the cost for computing overlaps is (dropping the α ( β ) \alpha(\beta) α ( β ) superscripts for simplicity)
O ( ( η c + η a ) η c 2 + η c 3 + η a 3 ) ∼ O ( ( η c + η a ) η c 2 ) (102) \mathcal{O}\left((\eta_{c}+\eta_{a})\eta_{c}^{2}+\eta_{c}^{3}+\eta_{a}^{3}\right)\sim\mathcal{O}\left((\eta_{c}+\eta_{a})\eta_{c}^{2}\right) \tag*{(102)} O ( ( η c + η a ) η c 2 + η c 3 + η a 3 ) ∼ O ( ( η c + η a ) η c 2 ) (102)
The total cost for computing overlaps with VCE becomes
O ( ( η c + η a ) η c 2 + N a η a 3 / ϵ 2 ) (103) \mathcal{O}\left((\eta_{c}+\eta_{a})\eta_{c}^{2}+N_{a}\eta_{a}^{3}/\epsilon^{2}\right) \tag*{(103)} O ( ( η c + η a ) η c 2 + N a η a 3 / ϵ 2 ) (103)
per walker, in which N a N_{a} N a is the total number of modes in the active space.
Compared with previous matchgate-shadow QC-AFQMC implementations [34 , 35 ] , this work significantly improves the efficiency of VCE from the prefactor perspective. First, we replace the expensive singular value decomposition and its derivatives with cheaper QR decompositions. Second, unlike the previous matchgate-shadow implementations, which orthonormalize the walkers and embed them into a real orthogonal matrix, orbital-rotation shadows accept arbitrary non-orthonormal walkers. This allows us to further skip two additional QR decompositions and their derivatives in the matchgate-shadow VCE algorithm.
Results
Overlap Errors
As a first validation of orbital-rotation shadows, we evaluate overlaps between a quantum state and arbitrary non-orthogonal Slater determinants. We choose two simple systems: linear hydrogen chains with 4 and 6 hydrogen atoms, separated by 1 Å. For both systems, we prepare a unitary pair coupled cluster double (UpCCD) state, where instead of optimizing the state parameters, we take amplitudes from the Møller-Plesset second order perturbation theory (MP2). We then apply randomized orbital rotation unitaries to the state and perform one-shot measurements. The measured classical shadows are then used to compute the state’s overlap with 100 randomly sampled Slater determinants. We also compute the exact overlaps by forming the 2 N 2^{N} 2 N -dimensional state vector of the prepared quantum state and computing the inner product with the Slater determinant’s state vector. The mean absolute error of the shadow computed overlaps with respect to the exact overlaps is shown in Figure 1 . As expected, the amount of error reduces as the number of shadows increases.
Figure 1. Mean absolute overlap error from orbital-rotation shadows for hydrogen chains with 4 and 6 atoms at a spacing of 1 Å. The trial state is the UpCCD state with MP2 parameters. The overlaps are computed with respect to 100 randomly sampled Slater determinants.
QC-AFQMC with Orbital Rotation Shadows
Having validated orbital-rotation shadows at the overlap level, we next demonstrate their applicability in QC-AFQMC. As a proof-of-concept calculation, we simulate the N2 _2 2 molecule in the STO-3G basis with a (6e, 6o) active space. The UpCCD state with MP2 parameters is used as the active-space trial state, and correlation outside the active space is included with VCE. We use 1024 walkers and 20,000 orbital-rotation shadows, and propagate the walkers for 1080 steps with a time step of 0.01 a.u. The comparison with the CCSD(T) energy is shown in Figure 2 . The converged QC-AFQMC energy obtained with orbital-rotation shadows is in agreement with that of CCSD(T) within an error bar of 0.001 Ha.
Figure 2. QC-AFQMC energy trajectory for N2 _2 2 using orbital-rotation shadows with an UpCCD trial state initialized from MP2 parameters. The dashed horizontal line indicates the reference CCSD(T) energy.
Scaling to Large Systems
Compared with our earlier matchgate-shadow implementation [35 ] , orbital-rotation shadows reduce the asymptotic cost of overlap evaluation and simplify post-processing. This efficiency makes it possible to scale QC-AFQMC to larger systems. To illustrate this, we consider a series of π \pi π -conjugated molecules: naphthalene (C10 _{10} 10 H8 _8 8 ), anthracene (C14 _{14} 14 H10 _{10} 10 ), tetracene (C18 _{18} 18 H12 _{12} 12 ), and pentacene (C22 _{22} 22 H14 _{14} 14 ). These π \pi π -conjugated systems are high-performance organic semiconductors and are widely used in organic light-emitting diodes and organic photovoltaic cells [7 ] . To model these molecules, we select an active space containing all π \pi π electrons. For a molecule with a chemical formula C4 n + 2 _{4n+2} 4 n + 2 H2 n + 4 _{2n+4} 2 n + 4 , where n n n is the number of fused benzene rings, this gives an active space of 4 n + 2 4n+2 4 n + 2 electrons in 4 n + 2 4n+2 4 n + 2 orbitals. We use the cc-pVDZ basis and freeze 1s-orbitals on the carbon atoms.
After selecting the active space, we measure the amount of time it takes to run one block with ten steps of QC-AFQMC, with a various number of walkers and shadows. The runtime is measured on 8 × 8\times 8 × NVIDIA A100 GPUs. For these timing benchmarks, we generate pseudo-shadows by applying randomized orbital rotation unitaries to the Hartree-Fock (HF) state, which simply turns it to another Slater determinant. We then sample from the new Slater determinant, which could be done efficiently on classical computers.
After obtaining the runtime data, we fit a performance model as a linear combination of physically motivated scaling features. For each benchmark point, the input variables are the number of active-space orbitals N a N_a N a , the number of active electrons η \eta η , the number of occupied orbitals outside the active space N o N_o N o , the number of Cholesky vectors N γ N_\gamma N γ , the number of walkers N w N_w N w , and the number of orbital-rotation shadows N s h a d o w N_{\mathrm{shadow}} N shadow .
The fitted model is
T b l o c k = c 0 + c w N w + c w s N w N s h a d o w + c e s t N γ N w N s h a d o w N a η 2 + c o c c N γ N w N o 2 ( N o + N a ) . (104) T_{\mathrm{block}} = c_0 + c_w N_w + c_{ws}N_wN_{\mathrm{shadow}}
+ c_{\mathrm{est}}N_\gamma N_wN_{\mathrm{shadow}}N_a\eta^2
+ c_{\mathrm{occ}}N_\gamma N_wN_o^2(N_o+N_a). \tag*{(104)} T block = c 0 + c w N w + c w s N w N shadow + c est N γ N w N shadow N a η 2 + c occ N γ N w N o 2 ( N o + N a ) . (104)
Here T b l o c k T_{\mathrm{block}} T block is the measured wall time for one AFQMC block on the reference hardware configuration. The term N γ N w N s h a d o w N a η 2 N_\gamma N_wN_{\mathrm{shadow}}N_a\eta^2 N γ N w N shadow N a η 2 captures the dominant orbital-rotation shadow estimator cost, which scales with the number of Cholesky vectors, walkers, shadows, active-space orbitals, and active-space electron pairs. The term N γ N w N o 2 ( N o + N a ) N_\gamma N_wN_o^2(N_o+N_a) N γ N w N o 2 ( N o + N a ) models the cost associated with processing the occupied orbitals outside the active space using VCE. The additional N w N s h a d o w N_wN_{\mathrm{shadow}} N w N shadow term captures non-asymptotic per-walker/per-shadow overhead, such as data movement and batching costs, that is visible in the measured data.
For each timing measurement i i i , we construct the feature vector
x i = [ 1 , N w i , N w i N s h a d o w i , N γ i N w i N s h a d o w i N a i η i 2 , N γ i N w i ( N o i ) 2 ( N o i + N a i ) ] . (105) \mathbf{x}_i = [1, N_w^i, N_w^iN_{\mathrm{shadow}}^i, N_\gamma^iN_w^iN_{\mathrm{shadow}}^iN_a^{i}\eta_i^2,
N_\gamma^iN_w^i(N_o^i)^2(N_o^i+N_a^i)]. \tag*{(105)} x i = [ 1 , N w i , N w i N shadow i , N γ i N w i N shadow i N a i η i 2 , N γ i N w i ( N o i ) 2 ( N o i + N a i )] . (105)
The coefficients are obtained by ordinary least squares:
c = arg min c ∑ i ( T i − x i ⋅ c ) 2 , (106) \mathbf{c} = \underset{\mathbf{c}}{\arg\min}\ \sum_i (T_i-\mathbf{x}_i\cdot\mathbf{c})^2, \tag*{(106)} c = c arg min i ∑ ( T i − x i ⋅ c ) 2 , (106)
where
c = [ c 0 , c w , c w s , c e s t , c o c c ] . (107) \mathbf{c} = [c_0,\ c_w,\ c_{ws},\ c_{\mathrm{est}},\ c_{\mathrm{occ}}]. \tag*{(107)} c = [ c 0 , c w , c w s , c est , c occ ] . (107)
After fitting, the model predicts the runtime of a new system by substituting its values of ( N a , η , N o , N γ , N w , N s h a d o w ) (N_a,\eta,N_o,N_\gamma,N_w,N_{\mathrm{shadow}}) ( N a , η , N o , N γ , N w , N shadow ) into the fitted expression for T b l o c k T_{\mathrm{block}} T block .
Figure 3 shows the measured timings and fitted curves used to calibrate the performance model and Table II shows the corresponding predicted QC-AFQMC runtimes for the four larger π-conjugated systems using 65,536 orbital-rotation shadows, 1024 walkers and 150 blocks with 10 steps per block. We assume perfect strong scaling with the number of GPUs and that an NVIDIA H200 is 1.4× faster than an NVIDIA A100. Under these assumptions, pentacene with a (22e, 22o) active space is predicted to require slightly more than two days on 8 NVIDIA A100 GPUs and less than an hour on 320 NVIDIA H200 GPUs.
Table II. Predicted QC-AFQMC post-processing runtimes for N w = 1024 N_w = 1024 N w = 1024 walkers and N s h a d o w = 65,536 N_{\mathrm{shadow}} = 65{,}536 N shadow = 65 , 536 shadows for a fixed propagation schedule of 150 blocks and 10 time steps per block (in the last two columns).
Figure 3. Measured and fitted QC-AFQMC times for 1 block with 10 steps for orbital-rotation shadows across the π-conjugated benchmark series. Points show measured timings and solid lines show the fitted physical scaling model as a function of the number of shadows for different walker counts.
To illustrate the significance of performance improvements, we turn to a comparison of runtime projections derived here with a projection that draws on our previous study [35 ] . We choose Cu2 _2 2 O2 _2 2 (NH3 _3 3 )2 2 + _2^{2+} 2 2 + with a (24e, 24o) active space as an illustrative example. The previous algorithm would require approximately 1 s on one NVIDIA H200 GPU to execute one shadow and one walker for one block (ten force-bias evaluations and one local-energy evaluation), which translates to approximately one year on 320 NVIDIA H200 GPUs with 1024 walkers, 65,536 shadows and 150 blocks. The corresponding projected runtime with the orbital-rotation-shadow algorithm for the similarly sized pentacene molecule is less than an hour (Table II ).
All costs discussed here are classical post-processing costs. To estimate the full end-to-end cost of QC-AFQMC with orbital-rotation shadows, one must also include the quantum shadow measurement time. This measurement time is harder to estimate because it depends strongly on the choice of trial state and on hardware gate speeds. For example, in our previous study, measuring nearly 60,000 matchgate shadows for an UpCCD trial state on a 16-qubit system required approximately one day on the IonQ Forte QPU. For orbital-rotation shadows, the quantum execution cost is expected to be somewhat higher because of the additional ancilla qubits and the non-Clifford nature of the measurement circuits. Future studies should therefore focus on reducing quantum execution time to further accelerate QC-AFQMC.
Conclusions
In this work, we derived an efficient algorithm for estimating overlaps between arbitrary Slater determinants and quantum states using particle-number-conserving fermionic shadow tomography, or orbital-rotation shadows. We also presented the derivatives required to compute force biases and local energies in QC-AFQMC. We provided proof-of-concept demonstrations for overlap estimation and for an end-to-end QC-AFQMC workflow with orbital-rotation shadows. We also estimated runtimes by benchmarking the algorithm on a series of π-conjugated systems. Compared with our earlier implementation of matchgate shadows, orbital-rotation shadows provide dramatic improvements in post-processing efficiency. For pentacene with a (22e, 22o) active space in the cc-pVDZ basis, orbital-rotation-shadow QC-AFQMC has a projected post-processing time of less than an hour on the large-GPU configuration considered here.
Beyond efficiency, orbital-rotation shadows open new opportunities. For instance, molecular orbitals have additional symmetries, such as spin and point-group symmetries. It is therefore natural to ask whether these symmetries can be used to sample only shadows that contribute significantly to the target observables, thereby reducing the total number of required shadows.
Admittedly, orbital-rotation shadows require additional quantum resources. For an N N N -mode, η \eta η -fermion problem, the construction used here adds η \eta η ancilla qubits, bringing the total to N + η N+\eta N + η , compared with N N N qubits for matchgate shadows. Low [51 ] proposed reducing this overhead to a single ancilla. However, whether this construction retains the simple overlap and derivative formulas developed here remains to be investigated.
The measurement circuits also differ. The Haar-random orbital rotations used here are dense and generally require arbitrary-angle rotation gates. Although both approaches admit circuit decompositions with O ( N ) O(N) O ( N ) depth, matchgate shadows can use Clifford measurement ensembles and exploit their sparse signed-permutation structure and fixed rotation angles. Heyraud et al. [54 ] also showed how perfect-matching representations can be applied to further reduce gate counts to optimality while preserving the measurement channel and estimator variance. In some cases, these simplifications may make matchgate shadows less expensive to execute than the orbital-rotation circuits considered here, however, the relative cost ultimately depends on the native gate set, connectivity, and compilation.
This work lays the foundation for applying orbital-rotation shadows to efficiently evaluate overlaps between a quantum state and an arbitrary Slater determinant. In QC-AFQMC, where these overlaps are evaluated for every walker at every step, this removes classical post-processing as the dominant cost, leaving quantum execution time for shadow collection as the quantity to reduce. This could be done through more compact circuit design, more efficient fermion-to-qubit mapping, improved sampling strategies, and advanced circuit compilation approaches tailored to a specific qubit modality and architecture. Future work should examine these directions, along with hardware demonstrations of orbital-rotation shadow QC-AFQMC on large strongly correlated systems (e.g., pentacene) beyond the reach of classical approaches.
References
Variance Bound of the Overlap Estimator
We prove Theorem 3 by evaluating the Born-weighted second moment of the estimator. Throughout this appendix, 1 ≤ η ≤ N 1 \le\eta\le N 1 ≤ η ≤ N , N a u g = N + η N_{\mathrm{aug}} = N + \eta N aug = N + η , and the physical trial state ∣ Ψ T ⟩ |\Psi_T\rangle ∣ Ψ T ⟩ is normalized and has fixed particle number η \eta η . We first take the target Slater determinant ∣ ϕ ⟩ |\phi\rangle ∣ ϕ ⟩ to be normalized, with Φ † Φ = I η \Phi^\dagger\Phi= I_\eta Φ † Φ = I η . The measurement rotations are sampled independently from the complex Haar measure on U N a u g U_{N_{\mathrm{aug}}} U N aug , and occupation outcomes follow the ideal Born distribution of the augmented state ∣ Ψ a u g ⟩ = ( ∣ Ψ T ⟩ + ∣ a ⃗ ⟩ ) / 2 |\Psi_{\mathrm{aug}}\rangle= (|\Psi_T\rangle+ |\vec{a}\rangle)/\sqrt{2} ∣ Ψ aug ⟩ = ( ∣ Ψ T ⟩ + ∣ a ⟩) / 2 . Here a ⃗ = N + [ η ] \vec{a} = N + [\eta] a = N + [ η ] , Φ ∈ C N × η \Phi\in\mathbb{C}^{N \times\eta} Φ ∈ C N × η , and ∣ Ψ T ⟩ |\Psi_T\rangle ∣ Ψ T ⟩ denotes its embedding with unoccupied ancillary modes, as above.
Retaining the overlap convention o ϕ = ⟨ ϕ ∣ Ψ T ⟩ o_\phi= \langle\phi|\Psi_T\rangle o ϕ = ⟨ ϕ ∣ Ψ T ⟩ , define the complex variance by
Var C ( O ^ q ⃗ , w ) = E u , z ⃗ [ ∣ O ^ q ⃗ , w ( u , z ⃗ ) − o ϕ ∣ 2 ] . (108) \operatorname{Var}_{\mathbb{C}}(\widehat{O}_{\vec{q},w}) = \mathbb{E}_{u,\vec{z}}\left[\left|\widehat{O}_{\vec{q},w}(u,\vec{z}) - o_\phi\right|^2\right]. \tag*{(108)} Var C ( O q , w ) = E u , z [ O q , w ( u , z ) − o ϕ 2 ] . (108)
Let p j p_j p j be the probability that ∣ Ψ T ⟩ |\Psi_T\rangle ∣ Ψ T ⟩ has exactly j j j particles outside the occupied one-particle subspace of ∣ ϕ ⟩ |\phi\rangle ∣ ϕ ⟩ . In the basis adapted to that subspace,
p j = ∑ r ⃗ ∈ S N , η ∣ r ⃗ ∖ q ⃗ ∣ = j ∣ ⟨ r ⃗ ∣ Ψ T ⟩ ∣ 2 , ∑ j = 0 η p j = 1 , p 0 = ∣ o ϕ ∣ 2 . (109) p_j = \sum_{\substack{\vec{r}\in S_{N,\eta}\\ |\vec{r}\setminus\vec{q}|=j}} |\langle\vec{r}|\Psi_T\rangle|^2,\qquad\sum_{j=0}^{\eta}p_j = 1,\qquad p_0 = |o_\phi|^2. \tag*{(109)} p j = r ∈ S N , η ∣ r ∖ q ∣ = j ∑ ∣ ⟨ r ∣ Ψ T ⟩ ∣ 2 , j = 0 ∑ η p j = 1 , p 0 = ∣ o ϕ ∣ 2 . (109)
Probabilities for sectors that do not exist are zero. Set
b N , η = ( η + 1 ) N + 2 N + η + 2 . (110) b_{N,\eta} = (\eta+1)\frac{N+2}{N+\eta+2}. \tag*{(110)} b N , η = ( η + 1 ) N + η + 2 N + 2 . (110)
We will establish the exact identities
E u , z ⃗ ∣ O ^ q ⃗ , w ∣ 2 = 2 b N , η ( 1 + ∑ j = 0 η p j j + 1 ) , (111) \mathbb{E}_{u,\vec{z}}\left|\widehat{O}_{\vec{q},w}\right|^2 = 2b_{N,\eta}\left(1+\sum_{j=0}^{\eta}\frac{p_j}{j+1}\right), \tag*{(111)} E u , z O q , w 2 = 2 b N , η ( 1 + j = 0 ∑ η j + 1 p j ) , (111)
Var C ( O ^ q ⃗ , w ) = 2 b N , η ( 1 + ∑ j = 0 η p j j + 1 ) − p 0 . (112) \operatorname{Var}_{\mathbb{C}}(\widehat{O}_{\vec{q},w}) = 2b_{N,\eta}\left(1+\sum_{j=0}^{\eta}\frac{p_j}{j+1}\right)-p_0. \tag*{(112)} Var C ( O q , w ) = 2 b N , η ( 1 + j = 0 ∑ η j + 1 p j ) − p 0 . (112)
These identities imply the tight bound in Theorem 3 .
Measurement Records and Born-Weighted Averaging
We begin by connecting the matrix determinant estimator to the measurement distribution. Write
d j = ( N a u g + j η ) , j = 0 , 1 , 2. (113) d_j = \binom{N_{\mathrm{aug}}+j}{\eta},\qquad j=0,1,2. \tag*{(113)} d j = ( η N aug + j ) , j = 0 , 1 , 2. (113)
For a fixed record ( u , z ⃗ ) (u,\vec{z}) ( u , z ) , define the back-rotated matrix determinant and its orbital frame as
∣ V ⟩ = U η ( u ) † ∣ z ⃗ ⟩ , V = ( u † ) : , z ⃗ ∈ C N a u g × η , V † V = I η . (114) |V\rangle= U_{\eta}(u)^\dagger|\vec{z}\rangle,\qquad V=(u^\dagger)_{:,\,\vec{z}}\in\mathbb{C}^{N_{\mathrm{aug}}\times\eta},\qquad V^\dagger V=I_{\eta}. \tag*{(114)} ∣ V ⟩ = U η ( u ) † ∣ z ⟩ , V = ( u † ) : , z ∈ C N aug × η , V † V = I η . (114)
For r ⃗ ∈ S N a u g , η \vec{r}\in S_{N_{\mathrm{aug}},\eta} r ∈ S N aug , η , let
v r ⃗ = ⟨ r ⃗ ∣ V ⟩ = det V r ⃗ , : , x r ⃗ = ∣ v r ⃗ ∣ 2 . (115) v_{\vec{r}}=\langle\vec{r}|V\rangle=\det V_{\vec{r},:},\qquad x_{\vec{r}}=|v_{\vec{r}}|^2. \tag*{(115)} v r = ⟨ r ∣ V ⟩ = det V r , : , x r = ∣ v r ∣ 2 . (115)
The projector associated with this record is ∣ V ⟩ ⟨ V ∣ |V\rangle\langle V| ∣ V ⟩ ⟨ V ∣ . Since z ⃗ \vec{z} z is sampled after applying U η ( u ) U_{\eta}(u) U η ( u ) , its conditional probability is
p ( z ⃗ ∣ u ) = ∣ ⟨ z ⃗ ∣ U η ( u ) ∣ Ψ a u g ⟩ ∣ 2 = ∣ ⟨ V ∣ Ψ a u g ⟩ ∣ 2 . (116) p(\vec{z}\mid u)=|\langle\vec{z}|U_{\eta}(u)|\Psi_{\mathrm{aug}}\rangle|^2=|\langle V|\Psi_{\mathrm{aug}}\rangle|^2. \tag*{(116)} p ( z ∣ u ) = ∣ ⟨ z ∣ U η ( u ) ∣ Ψ aug ⟩ ∣ 2 = ∣ ⟨ V ∣ Ψ aug ⟩ ∣ 2 . (116)
Thus, for any integrable function F F F of the orbital frame,
E u , z ⃗ F ( V ) = ∑ z ⃗ ∈ S N a u g , η E u [ p ( z ⃗ ∣ u ) F ( ( u † ) : , z ⃗ ) ] = d 0 E V [ ∣ ⟨ V ∣ Ψ a u g ⟩ ∣ 2 F ( V ) ] . (117) \mathbb{E}_{u,\vec{z}}F(V)=\sum_{\vec{z}\in S_{N_{\mathrm{aug}},\eta}}\mathbb{E}_{u}\left[p(\vec{z}\mid u)F\left((u^\dagger)_{:,\,\vec{z}}\right)\right]
=d_0\mathbb{E}_{V}\left[|\langle V|\Psi_{\mathrm{aug}}\rangle|^2F(V)\right]. \tag*{(117)} E u , z F ( V ) = z ∈ S N aug , η ∑ E u [ p ( z ∣ u ) F ( ( u † ) : , z ) ] = d 0 E V [ ∣ ⟨ V ∣ Ψ aug ⟩ ∣ 2 F ( V ) ] . (117)
On the right, V V V is a uniformly distributed orthonormal frame. For every fixed z ⃗ \vec{z} z , the selected columns ( u † ) : , z ⃗ (u^\dagger)_{:,\,\vec{z}} ( u † ) : , z have the same Haar distribution; the sum therefore contributes d 0 d_0 d 0 identical expectations. No independence between different outcomes of the same rotation is required. Equation (A10) distinguishes the uniform frame measure from the distribution of frames observed in actual measurement records. Its normalization follows by setting F = 1 F=1 F = 1 .
A physical change of basis by w † w^\dagger w † maps ∣ ϕ ⟩ = U η ( w ) ∣ q ⃗ ⟩ |\phi\rangle=U_{\eta}(w)|\vec{q}\rangle ∣ ϕ ⟩ = U η ( w ) ∣ q ⟩ to ∣ q ⃗ ⟩ |\vec{q}\rangle ∣ q ⟩ while leaving ∣ a ⃗ ⟩ |\vec{a}\rangle ∣ a ⟩ unchanged. The accompanying replacement u ↦ u W u\mapsto uW u ↦ u W , with W = w ⊕ I η W=w\oplus I_{\eta} W = w ⊕ I η , preserves Haar measure and all record probabilities after the state is transformed. We may therefore work in this adapted basis, relabel the transformed state and rotation as ∣ Ψ T ⟩ |\Psi_T\rangle ∣ Ψ T ⟩ , u u u , and set w = I w=I w = I for the calculation. The patterns q ⃗ \vec{q} q and a ⃗ \vec{a} a remain disjoint.
The estimator previously derived from the inverse measurement channel can then be written as
O ^ q ⃗ , I ( u , z ⃗ ) = 2 d 1 det [ ( U o Φ ) † U a ] = 2 d 1 v q ⃗ v a ⃗ ∗ . (118) \widehat{O}_{\vec{q},I}(u,\vec{z})=2d_1\det\left[(U_o\Phi)^\dagger U_a\right]=2d_1v_{\vec{q}}v_{\vec{a}}^*. \tag*{(118)} O q , I ( u , z ) = 2 d 1 det [ ( U o Φ ) † U a ] = 2 d 1 v q v a ∗ . (118)
Indeed, in this basis Φ \Phi Φ selects q ⃗ \vec{q} q , so ( U o Φ ) † U a = V q ⃗ , : V a ⃗ , : † (U_o\Phi)^\dagger U_a=V_{\vec{q},:}V_{\vec{a},:}^\dagger ( U o Φ ) † U a = V q , : V a , : † . Equivalently, v q ⃗ v a ⃗ ∗ = Tr ∧ η [ D q ⃗ a ⃗ ∣ V ⟩ ⟨ V ∣ ] v_{\vec{q}}v_{\vec{a}}^*=\operatorname{Tr}_{\wedge\eta}[D_{\vec{q}}^{\vec{a}}|V\rangle\langle V|] v q v a ∗ = Tr ∧ η [ D q a ∣ V ⟩ ⟨ V ∣ ] , with D q ⃗ a ⃗ = ∣ a ⃗ ⟩ ⟨ q ⃗ ∣ D_{\vec{q}}^{\vec{a}}=|\vec{a}\rangle\langle\vec{q}| D q a = ∣ a ⟩ ⟨ q ∣ . The factor 2 recovers o ϕ o_{\phi} o ϕ from the augmented coherence ⟨ Ψ a u g ∣ D q ⃗ a ⃗ ∣ Ψ a u g ⟩ = o ϕ / 2 \langle\Psi_{\mathrm{aug}}|D_{\vec{q}}^{\vec{a}}|\Psi_{\mathrm{aug}}\rangle=o_{\phi}/2 ⟨ Ψ aug ∣ D q a ∣ Ψ aug ⟩ = o ϕ /2 ; the factor d 1 d_1 d 1 inverts the corresponding channel eigenvalue. Its normalization is also verified below.
Diagonal Second-Moment Operator
Define the positive operator
B q ⃗ , a ⃗ = 4 d 0 d 1 2 E V [ x q ⃗ x a ⃗ ∣ V ⟩ ⟨ V ∣ ] . (119) B_{\vec{q},\vec{a}}=4d_0d_1^2\mathbb{E}_{V}\left[x_{\vec{q}}x_{\vec{a}}|V\rangle\langle V|\right]. \tag*{(119)} B q , a = 4 d 0 d 1 2 E V [ x q x a ∣ V ⟩ ⟨ V ∣ ] . (119)
Equations (A10) and (A11) imply
E u , z ⃗ ∣ O ^ q ⃗ , I ∣ 2 = ⟨ Ψ a u g ∣ B q ⃗ , a ⃗ ∣ Ψ a u g ⟩ . (120) \mathbb{E}_{u,\vec{z}}|\widehat{O}_{\vec{q},I}|^2=\langle\Psi_{\mathrm{aug}}|B_{\vec{q},\vec{a}}|\Psi_{\mathrm{aug}}\rangle. \tag*{(120)} E u , z ∣ O q , I ∣ 2 = ⟨ Ψ aug ∣ B q , a ∣ Ψ aug ⟩ . (120)
We now show explicitly that B q ⃗ , a ⃗ B_{\vec{q},\vec{a}} B q , a is diagonal in the occupation basis. For two patterns r ⃗ , s ⃗ ∈ S N a u g , η \vec{r},\vec{s}\in S_{N_{\mathrm{aug}},\eta} r , s ∈ S N aug , η , its matrix element is
⟨ r ⃗ ∣ B q ⃗ , a ⃗ ∣ s ⃗ ⟩ = 4 d 0 d 1 2 E V [ x q ⃗ ( V ) x a ⃗ ( V ) v r ⃗ ( V ) v s ⃗ ( V ) ∗ ] . (121) \langle\vec{r}|B_{\vec{q},\vec{a}}|\vec{s}\rangle=4d_0d_1^2\mathbb{E}_{V}\left[x_{\vec{q}}(V)x_{\vec{a}}(V)v_{\vec{r}}(V)v_{\vec{s}}(V)^*\right]. \tag*{(121)} ⟨ r ∣ B q , a ∣ s ⟩ = 4 d 0 d 1 2 E V [ x q ( V ) x a ( V ) v r ( V ) v s ( V ) ∗ ] . (121)
The explicit arguments emphasize that all four factors are functions of the same random frame. Consider the diagonal one-particle unitary
R θ = diag ( e i θ 1 , … , e i θ N a u g ) , V ⟼ R θ V . (122) R_{\theta}=\operatorname{diag}\left(e^{i\theta_1},\ldots,e^{i\theta_{N_{\mathrm{aug}}}}\right),\qquad V\longmapsto R_{\theta}V. \tag*{(122)} R θ = diag ( e i θ 1 , … , e i θ N aug ) , V ⟼ R θ V . (122)
Each row p p p of V V V is multiplied by e i θ p e^{i\theta_p} e i θ p . Multilinearity of the matrix determinant therefore implies
v r ⃗ ( R θ V ) = det ( R θ V ) r ⃗ , : = e i ϑ r ⃗ v r ⃗ ( V ) , ϑ r ⃗ = ∑ p ∈ r ⃗ θ p . (123) v_{\vec{r}}(R_{\theta}V)=\det(R_{\theta}V)_{\vec{r},:}=e^{i\vartheta_{\vec{r}}}v_{\vec{r}}(V),\qquad\vartheta_{\vec{r}}=\sum_{p\in\vec{r}}\theta_p. \tag*{(123)} v r ( R θ V ) = det ( R θ V ) r , : = e i ϑ r v r ( V ) , ϑ r = p ∈ r ∑ θ p . (123)
The squared magnitudes satisfy x r ⃗ ( R θ V ) = x r ⃗ ( V ) x_{\vec r}(R_{\theta}V)=x_{\vec r}(V) x r ( R θ V ) = x r ( V ) . In particular, the weight x q ⃗ x a ⃗ x_{\vec q}x_{\vec a} x q x a in Eq. (121) is unchanged even if the phases on the modes in q ⃗ \vec q q and a ⃗ \vec a a are varied independently.
Since R θ R_{\theta} R θ is unitary, R θ V R_{\theta}V R θ V has exactly the same Haar frame distribution as V V V . We may thus replace V V V by R θ V R_{\theta}V R θ V inside the expectation in Eq. (121) . Using Eq. (123) gives
⟨ r ⃗ ∣ B q ⃗ , a ⃗ ∣ s ⃗ ⟩ = 4 d 0 d 1 2 E V [ x q ⃗ ( V ) x a ⃗ ( V ) e i ϑ r ⃗ v r ⃗ ( V ) e − i ϑ s ⃗ v s ⃗ ( V ) ∗ ] = e i ( ϑ r ⃗ − ϑ s ⃗ ) ⟨ r ⃗ ∣ B q ⃗ , a ⃗ ∣ s ⃗ ⟩ . (124) \begin{aligned}
\langle\vec r|B_{\vec q,\vec a}|\vec s\rangle
&=4d_0d_1^2\mathbb{E}_V\left[x_{\vec q}(V)x_{\vec a}(V)e^{i\vartheta_{\vec r}}v_{\vec r}(V)e^{-i\vartheta_{\vec s}}v_{\vec s}(V)^*\right]\\
&=e^{i(\vartheta_{\vec r}-\vartheta_{\vec s})}\langle\vec r|B_{\vec q,\vec a}|\vec s\rangle. \tag*{(124)}
\end{aligned} ⟨ r ∣ B q , a ∣ s ⟩ = 4 d 0 d 1 2 E V [ x q ( V ) x a ( V ) e i ϑ r v r ( V ) e − i ϑ s v s ( V ) ∗ ] = e i ( ϑ r − ϑ s ) ⟨ r ∣ B q , a ∣ s ⟩ . (124)
This identity holds for every choice of the N a u g N_{\rm aug} N aug mode phases. If r ⃗ ≠ s ⃗ \vec r\ne\vec s r = s , their occupation patterns differ on at least one mode p p p . Choose θ p = π \theta_p=\pi θ p = π on that mode and set all other phases to zero. Exactly one of ϑ r ⃗ \vartheta_{\vec r} ϑ r and ϑ s ⃗ \vartheta_{\vec s} ϑ s then contains π \pi π , so the phase factor in Eq. (124) is − 1 -1 − 1 . The matrix element must equal its own negative and hence vanish:
⟨ r ⃗ ∣ B q ⃗ , a ⃗ ∣ s ⃗ ⟩ = 0 whenever r ⃗ ≠ s ⃗ . (125) \langle\vec r|B_{\vec q,\vec a}|\vec s\rangle=0\qquad\text{whenever }\vec r\ne\vec s. \tag*{(125)} ⟨ r ∣ B q , a ∣ s ⟩ = 0 whenever r = s . (125)
For r ⃗ = s ⃗ \vec r=\vec s r = s , the phase factor is always one and imposes no such constraint. Thus
B q ⃗ , a ⃗ = ∑ r ⃗ ∈ S N a u g , η γ r ⃗ ∣ r ⃗ ⟩ ⟨ r ⃗ ∣ . (126) B_{\vec q,\vec a}=\sum_{\vec r\in\mathcal{S}_{N_{\rm aug},\eta}}\gamma_{\vec r}|\vec r\rangle\langle\vec r|. \tag*{(126)} B q , a = r ∈ S N aug , η ∑ γ r ∣ r ⟩ ⟨ r ∣. (126)
Equivalently, the operator commutes with all independent mode-phase rotations, whose joint eigenvectors are the distinct occupation Slater determinants. A single common phase on all modes would not suffice: it acts identically on every state in the fixed-η \eta η sector. This argument is a change of variables in the Haar expectation, not an additional operation in the measurement protocol. It also makes no assumption that the trial-state density matrix is diagonal; the trial state enters separately through Eq. (120) . The diagonal entries are
γ r ⃗ = ⟨ r ⃗ ∣ B q ⃗ , a ⃗ ∣ r ⃗ ⟩ = 4 d 0 d 1 2 E V [ x q ⃗ x a ⃗ x r ⃗ ] . (127) \gamma_{\vec r}=\langle\vec r|B_{\vec q,\vec a}|\vec r\rangle=4d_0d_1^2\mathbb{E}_V[x_{\vec q}x_{\vec a}x_{\vec r}]. \tag*{(127)} γ r = ⟨ r ∣ B q , a ∣ r ⟩ = 4 d 0 d 1 2 E V [ x q x a x r ] . (127)
Permutations within q ⃗ \vec q q , within a ⃗ \vec a a , and within their complement imply that this eigenvalue depends only on
k = ∣ r ⃗ ∩ q ⃗ ∣ , ℓ = ∣ r ⃗ ∩ a ⃗ ∣ , m = η − k − ℓ . (128) k=|\vec r\cap\vec q|,\qquad\ell=|\vec r\cap\vec a|,\qquad m=\eta-k-\ell. \tag*{(128)} k = ∣ r ∩ q ∣ , ℓ = ∣ r ∩ a ∣ , m = η − k − ℓ . (128)
Present sectors satisfy k , ℓ , m ≥ 0 k,\ell,m\ge0 k , ℓ , m ≥ 0 and m ≤ N a u g − 2 η m\le N_{\rm aug}-2\eta m ≤ N aug − 2 η .
Gaussian Evaluation of the Three-Minor Moment
The preceding subsection reduces the second-moment problem to a scalar moment calculation. Equation (127) expresses each eigenvalue of B q ⃗ , a ⃗ B_{\vec q,\vec a} B q , a as 4 d 0 d 1 2 4d_0d_1^2 4 d 0 d 1 2 times E V [ x q ⃗ x a ⃗ x r ⃗ ] \mathbb{E}_V[x_{\vec q}x_{\vec a}x_{\vec r}] E V [ x q x a x r ] , and Eq. (128) shows that the occupation pattern r ⃗ \vec r r enters only through the counts k k k , ℓ \ell ℓ , and m m m . Diagonality identifies the eigenvectors but does not determine these eigenvalues. We must therefore evaluate this three-minor moment for each allowed sector before finding the largest eigenvalue and the variance on ∣ Ψ a u g ⟩ |\Psi_{\rm aug}\rangle ∣ Ψ aug ⟩ .
The orthonormality constraint on V V V correlates its rows, so the three squared minors cannot be averaged independently. We evaluate their joint moment by introducing a standard complex-Gaussian matrix G G G . Its orthonormal factor V V V has the required Haar distribution and is independent of the positive factor Ξ \Xi Ξ . Each squared minor of G G G equals the corresponding x r ⃗ x_{\vec r} x r times det Ξ \det\Xi det Ξ . Thus the desired Haar moment is obtained by dividing a three-minor Gaussian moment by E ( det Ξ ) 3 \mathbb{E}(\det\Xi)^3 E ( det Ξ ) 3 . The Gaussian calculation is simpler because disjoint row sets are independent, while the shared rows are specified exactly by k k k and ℓ \ell ℓ .
We first establish the Gaussian Gram-determinant identities needed for this conversion and for integrating the unshared rows. We give the required part of the complex Bartlett decomposition explicitly, including the Gaussian normalization and the independence of its factors.
Let F ∈ C p × h F\in\mathbb{C}^{p\times h} F ∈ C p × h , p ≤ h p\le h p ≤ h , have independent standard complex-Gaussian entries. Explicitly, each entry has the form
F i j = ξ i j + i ζ i j 2 , ξ i j , ζ i j ∼ i i d N ( 0 , 1 ) . (129) F_{ij}=\frac{\xi_{ij}+i\zeta_{ij}}{\sqrt{2}},\qquad\xi_{ij},\zeta_{ij}\mathrel{\mathop{\sim}^{\mathrm{iid}}}\mathcal{N}(0,1). \tag*{(129)} F ij = 2 ξ ij + i ζ ij , ξ ij , ζ ij ∼ iid N ( 0 , 1 ) . (129)
Thus E F i j = 0 \mathbb{E}F_{ij}=0 E F ij = 0 and E ∣ F i j ∣ 2 = 1 \mathbb{E}|F_{ij}|^2=1 E ∣ F ij ∣ 2 = 1 . The real and imaginary parts each have variance 1 / 2 1/2 1/2 . With this convention, F F † FF^\dagger F F † is a complex Wishart matrix. Since the Gaussian distribution is continuous and p ≤ h p\le h p ≤ h , F F F has full row rank almost surely.
Write the columns of F † F^\dagger F † as f 1 , … , f p ∈ C h f_1,\ldots,f_p \in\mathbb{C}^h f 1 , … , f p ∈ C h . Gram–Schmidt defines the residual vectors and their normalized directions by
z j = ( I h − ∑ i = 1 j − 1 q i q i † ) f j , q j = z j ∥ z j ∥ , j = 1 , … , p , (130) z_j=\left(I_h-\sum_{i=1}^{j-1}q_iq_i^\dagger\right)f_j,\qquad q_j=\frac{z_j}{\lVert z_j\rVert},\qquad j=1,\ldots,p, \tag*{(130)} z j = ( I h − i = 1 ∑ j − 1 q i q i † ) f j , q j = ∥ z j ∥ z j , j = 1 , … , p , (130)
where the sum is empty at j = 1 j=1 j = 1 . The resulting thin QR factorization is F † = Q R F^\dagger=QR F † = QR , with Q † Q = I p Q^\dagger Q=I_p Q † Q = I p and R R R upper triangular. Choose its diagonal entries positive, so that R j j = ∥ z j ∥ R_{jj}=\lVert z_j\rVert R j j = ∥ z j ∥ . Then
F F † = R † R , det ( F F † ) = ∣ det R ∣ 2 = ∏ j = 1 p ∥ z j ∥ 2 . (131) FF^\dagger=R^\dagger R,\qquad\det(FF^\dagger)=\lvert\det R\rvert^2=\prod_{j=1}^{p}\lVert z_j\rVert^2. \tag*{(131)} F F † = R † R , det ( F F † ) = ∣ det R ∣ 2 = j = 1 ∏ p ∥ z j ∥ 2 . (131)
Define T j = ∥ z j ∥ 2 T_j=\lVert z_j\rVert^2 T j = ∥ z j ∥ 2 . To calculate the matrix determinant moment, we must determine the distributions of the T j T_j T j and show that they are independent.
Condition on the preceding columns f 1 , … , f j − 1 f_1,\ldots,f_{j-1} f 1 , … , f j − 1 . Their span has dimension j − 1 j-1 j − 1 almost surely, and the projection defining z j z_j z j has rank h − j + 1 h-j+1 h − j + 1 . Choose an orthonormal coordinate system adapted to this span. The vector f j f_j f j is independent of the preceding columns and its standard complex-Gaussian distribution is invariant under unitary rotations. In the adapted coordinates it therefore still has independent standard complex-Gaussian components. The projection removes the first j − 1 j-1 j − 1 components, leaving
T j : = ∑ α = 1 h − j + 1 ∣ g α ∣ 2 , (132) T_j \mathrel{\mathop:}=\sum_{\alpha=1}^{h-j+1}\lvert g_\alpha\rvert^2, \tag*{(132)} T j : = α = 1 ∑ h − j + 1 ∣ g α ∣ 2 , (132)
where the g α g_\alpha g α are independent standard complex-Gaussian scalars. For one such scalar g g g , the density on the complex plane is π − 1 e − ∣ g ∣ 2 \pi^{-1}e^{-\lvert g\rvert^2} π − 1 e − ∣ g ∣ 2 . Polar coordinates give, for t ≥ 0 t\geq0 t ≥ 0 ,
Pr ( ∣ g ∣ 2 > t ) = ∫ t ∞ 2 r e − r 2 d r = e − t . (133) \Pr(\lvert g\rvert^2>t)=\int_{\sqrt{t}}^\infty2r e^{-r^2}\,\mathrm{d}r=e^{-t}. \tag*{(133)} Pr (∣ g ∣ 2 > t ) = ∫ t ∞ 2 r e − r 2 d r = e − t . (133)
Thus ∣ g ∣ 2 \lvert g\rvert^2 ∣ g ∣ 2 is exponential with unit mean, and the sum of h − j + 1 h-j+1 h − j + 1 such independent variables is gamma-distributed:
T j ∣ ( f 1 , … , f j − 1 ) ∼ Gamma ( h − j + 1 , 1 ) . (134) T_j\mid(f_1,\ldots,f_{j-1})\sim\operatorname{Gamma}(h-j+1,1). \tag*{(134)} T j ∣ ( f 1 , … , f j − 1 ) ∼ Gamma ( h − j + 1 , 1 ) . (134)
Here the gamma distribution is parameterized by shape and scale. This conditional distribution does not depend on the values of the preceding columns. Hence T j T_j T j is independent of those columns, and therefore of T 1 , … , T j − 1 T_1,\ldots,T_{j-1} T 1 , … , T j − 1 . The squared residual lengths are mutually independent; this is the diagonal part of the complex Bartlett decomposition.
If T ∼ Gamma ( s , 1 ) T\sim\operatorname{Gamma}(s,1) T ∼ Gamma ( s , 1 ) , then for an integer a ≥ 0 a\geq0 a ≥ 0 ,
E [ T a ] = 1 Γ ( s ) ∫ 0 ∞ t s + a − 1 e − t d t = Γ ( s + a ) Γ ( s ) = ∏ b = 0 a − 1 ( s + b ) . (135) \mathbb{E}[T^a]=\frac{1}{\Gamma(s)}\int_0^\infty t^{s+a-1}e^{-t}\,\mathrm{d}t=\frac{\Gamma(s+a)}{\Gamma(s)}=\prod_{b=0}^{a-1}(s+b). \tag*{(135)} E [ T a ] = Γ ( s ) 1 ∫ 0 ∞ t s + a − 1 e − t d t = Γ ( s ) Γ ( s + a ) = b = 0 ∏ a − 1 ( s + b ) . (135)
The symbol Γ ( s ) \Gamma(s) Γ ( s ) in this expression denotes the Euler gamma function. Applying this identity with s = h − j + 1 s=h-j+1 s = h − j + 1 and using the independence just proved gives
E [ det ( F F † ) a ] = E [ ∏ j = 1 p T j a ] = ∏ j = 1 p E [ T j a ] . (136) \mathbb{E}\left[\det(FF^\dagger)^a\right]=\mathbb{E}\left[\prod_{j=1}^{p}T_j^a\right]=\prod_{j=1}^{p}\mathbb{E}[T_j^a]. \tag*{(136)} E [ det ( F F † ) a ] = E [ j = 1 ∏ p T j a ] = j = 1 ∏ p E [ T j a ] . (136)
Consequently,
E [ det ( F F † ) a ] = ∏ j = 1 p ∏ b = 0 a − 1 ( h − j + 1 + b ) . (137) \mathbb{E}\left[\det(FF^\dagger)^a\right]=\prod_{j=1}^{p}\prod_{b=0}^{a-1}(h-j+1+b). \tag*{(137)} E [ det ( F F † ) a ] = j = 1 ∏ p b = 0 ∏ a − 1 ( h − j + 1 + b ) . (137)
In particular,
E det ( F F † ) = h ! ( h − p ) ! , E det ( F F † ) 2 = h ! ( h + 1 ) ! ( h − p ) ! ( h − p + 1 ) ! . (138) \mathbb{E}\det(FF^\dagger)=\frac{h!}{(h-p)!},\qquad\mathbb{E}\det(FF^\dagger)^2=\frac{h!(h+1)!}{(h-p)!(h-p+1)!}. \tag*{(138)} E det ( F F † ) = ( h − p )! h ! , E det ( F F † ) 2 = ( h − p )! ( h − p + 1 )! h ! ( h + 1 )! . (138)
Empty matrix determinants and empty products are one.
Let G ∈ C N a u g × η \mathcal{G} \in\mathbb{C}^{N_{\mathrm{aug}}\times\eta} G ∈ C N aug × η be standard complex Gaussian, and use its polar decomposition
G = V Ξ 1 / 2 , Ξ = G † G . (139) \mathcal{G}=V\Xi^{1/2}, \qquad\Xi=\mathcal{G}^{\dagger}\mathcal{G}. \tag*{(139)} G = V Ξ 1/2 , Ξ = G † G . (139)
To justify the distribution and independence, observe that for every fixed R ∈ U N a u g R\in U_{N_{\mathrm{aug}}} R ∈ U N aug , the matrices R G R\mathcal{G} R G and G \mathcal{G} G have the same distribution. Left multiplication changes the polar factors by ( V , Ξ ) ↦ ( R V , Ξ ) (V,\Xi)\mapsto(RV,\Xi) ( V , Ξ ) ↦ ( R V , Ξ ) . Thus the conditional law of V V V given Ξ \Xi Ξ is invariant under every left unitary rotation. The unique invariant probability measure on orthonormal frames is Haar measure, so this conditional law does not depend on Ξ \Xi Ξ . Hence V V V is Haar-distributed and independent of Ξ \Xi Ξ . For every occupation pattern r ⃗ \vec{r} r ,
∣ det G r ⃗ , : ∣ 2 = x r ⃗ det Ξ . (140) \left|\det\mathcal{G}_{\vec{r},:}\right|^{2}=x_{\vec{r}}\det\Xi. \tag*{(140)} ∣ det G r , : ∣ 2 = x r det Ξ. (140)
Equation (A30) gives
E ( det Ξ ) 3 = ∏ j = 1 η ( N a u g − j + 1 ) ( N a u g − j + 2 ) ( N a u g − j + 3 ) = ( η ! ) 3 d 0 d 1 d 2 . (141) \begin{aligned}
\mathbb{E}(\det\Xi)^{3}=\prod_{j=1}^{\eta}(N_{\mathrm{aug}}-j+1)(N_{\mathrm{aug}}-j+2)(N_{\mathrm{aug}}-j+3) \\
&=(\eta!)^{3}d_{0}d_{1}d_{2}. \tag*{(141)}
\end{aligned} E ( det Ξ ) 3 = j = 1 ∏ η ( N aug − j + 1 ) ( N aug − j + 2 ) ( N aug − j + 3 ) = ( η ! ) 3 d 0 d 1 d 2 . (141)
Thus, writing G r ⃗ = G r ⃗ , : \mathcal{G}_{\vec{r}}=\mathcal{G}_{\vec{r},:} G r = G r , : ,
E V [ x q ⃗ x a ⃗ x r ⃗ ] = E [ ∣ det G q ⃗ ∣ 2 ∣ det G a ⃗ ∣ 2 ∣ det G r ⃗ ∣ 2 ] ( η ! ) 3 d 0 d 1 d 2 . (142) \mathbb{E}_{V}[x_{\vec{q}}x_{\vec{a}}x_{\vec{r}}]=\frac{\mathbb{E}\left[\left|\det\mathcal{G}_{\vec{q}}\right|^{2}\left|\det\mathcal{G}_{\vec{a}}\right|^{2}\left|\det\mathcal{G}_{\vec{r}}\right|^{2}\right]}{(\eta!)^{3}d_{0}d_{1}d_{2}}. \tag*{(142)} E V [ x q x a x r ] = ( η ! ) 3 d 0 d 1 d 2 E [ ∣ det G q ∣ 2 ∣ det G a ∣ 2 ∣ det G r ∣ 2 ] . (142)
To evaluate the numerator, let F q F_{q} F q , F a F_{a} F a , and F 0 F_{0} F 0 contain the rows in r ⃗ ∩ q ⃗ \vec{r}\cap\vec{q} r ∩ q , r ⃗ ∩ a ⃗ \vec{r}\cap\vec{a} r ∩ a , and r ⃗ ∖ ( q ⃗ ∪ a ⃗ ) \vec{r}\setminus(\vec{q}\cup\vec{a}) r ∖ ( q ∪ a ) , respectively. They have k k k , ℓ \ell ℓ , and m m m rows and η \eta η columns. Let R q R_{q} R q and R a R_{a} R a contain the remaining rows of q ⃗ \vec{q} q and a ⃗ \vec{a} a , respectively. These five matrices are independent. Up to row permutations,
G q ⃗ = [ F q R q ] , G a ⃗ = [ F a R a ] , G r ⃗ = [ F q F a F 0 ] . (143) \mathcal{G}_{\vec{q}}=\begin{bmatrix}F_{q}\\R_{q}\end{bmatrix},\qquad
\mathcal{G}_{\vec{a}}=\begin{bmatrix}F_{a}\\R_{a}\end{bmatrix},\qquad
\mathcal{G}_{\vec{r}}=\begin{bmatrix}F_{q}\\F_{a}\\F_{0}\end{bmatrix}. \tag*{(143)} G q = [ F q R q ] , G a = [ F a R a ] , G r = F q F a F 0 . (143)
Row-permutation signs disappear in squared matrix determinant magnitudes.
For a fixed full-row-rank F ∈ C p × η F\in\mathbb{C}^{p\times\eta} F ∈ C p × η and an independent standard Gaussian Z ∈ C ( η − p ) × η Z\in\mathbb{C}^{(\eta-p)\times\eta} Z ∈ C ( η − p ) × η ,
E Z det [ F Z ] 2 = ( η − p ) ! det ( F F † ) . (144) \mathbb{E}_{Z}\det\begin{bmatrix}F\\Z\end{bmatrix}^{2}=(\eta-p)!\det(FF^{\dagger}). \tag*{(144)} E Z det [ F Z ] 2 = ( η − p )! det ( F F † ) . (144)
The expectation in Eq. (144) is over Z Z Z only; the rows of F F F are held fixed. We derive it by isolating the part of the Gaussian rows perpendicular to the row space of F F F . Put ν = η − p \nu=\eta-p ν = η − p . Choose Q ∥ ∈ C η × p Q_{\parallel}\in\mathbb{C}^{\eta\times p} Q ∥ ∈ C η × p with orthonormal columns spanning the range of F F F , and Q ⊥ ∈ C η × ν Q_{\perp}\in\mathbb{C}^{\eta\times\nu} Q ⊥ ∈ C η × ν with orthonormal columns spanning the kernel of F F F . Then
Q = [ Q ∥ Q ⊥ ] ∈ C η × η , Q † Q = Q Q † = I η , F Q = [ L 0 ] , L = F Q ∥ . (145) Q=[Q_{\parallel}\ Q_{\perp}]\in\mathbb{C}^{\eta\times\eta},\qquad Q^{\dagger}Q=QQ^{\dagger}=I_{\eta},\qquad FQ=[L\ 0],\quad L=FQ_{\parallel}. \tag*{(145)} Q = [ Q ∥ Q ⊥ ] ∈ C η × η , Q † Q = Q Q † = I η , F Q = [ L 0 ] , L = F Q ∥ . (145)
The p × p p\times p p × p matrix L L L is nonsingular because F F F has full row rank. This change of coordinates preserves the fixed Gram matrix:
F F † = F Q Q † F † = L L † , ∣ det L ∣ 2 = det ( F F † ) . (146) FF^{\dagger}=FQQ^{\dagger}F^{\dagger}=LL^{\dagger},\qquad|\det L|^{2}=\det(FF^{\dagger}). \tag*{(146)} F F † = F Q Q † F † = L L † , ∣ det L ∣ 2 = det ( F F † ) . (146)
For the random rows, write
Z Q = [ Z ∥ Z ⊥ ] , Z ∥ = Z Q ∥ ∈ C ν × p , Z ⊥ = Z Q ⊥ ∈ C ν × ν . (147) ZQ=[Z_{\parallel}\ Z_{\perp}],\qquad Z_{\parallel}=ZQ_{\parallel}\in\mathbb{C}^{\nu\times p},\qquad Z_{\perp}=ZQ_{\perp}\in\mathbb{C}^{\nu\times\nu}. \tag*{(147)} Z Q = [ Z ∥ Z ⊥ ] , Z ∥ = Z Q ∥ ∈ C ν × p , Z ⊥ = Z Q ⊥ ∈ C ν × ν . (147)
Since F F F is fixed, Q Q Q is fixed when averaging over Z Z Z . Each row of Z Z Z has density proportional to e − ∥ z ∥ 2 e^{-\lVert z\rVert^{2}} e − ∥ z ∥ 2 , invariant under right multiplication by a unitary. Therefore Z Q ZQ Z Q has the same joint distribution as Z Z Z : its entries remain independent standard complex Gaussians. In particular, Z ⊥ Z_{\perp} Z ⊥ is a square standard complex-Gaussian matrix. Multiplying the stacked matrix by Q Q Q gives a block-triangular matrix,
\begin{bmatrix}F\\Z\end{bmatrix}Q=
\begin{bmatrix}L&0\\Z_{\parallel}&Z_{\perp}\end{bmatrix}. \tag*{(148)}\end{bmatrix}
As ∣ det Q ∣ = 1 |\det Q|=1 ∣ det Q ∣ = 1 , its squared matrix determinant satisfies the pointwise identity
∣ det [ F Z ] ∣ 2 = ∣ det L ∣ 2 ∣ det Z ⊥ ∣ 2 = det ( F F † ) ∣ det Z ⊥ ∣ 2 . (149) \left|\det\begin{bmatrix} F \\ Z \end{bmatrix}\right|^2 = |\det L|^2 |\det Z_{\perp}|^2 = \det(FF^\dagger)|\det Z_{\perp}|^2. \tag*{(149)} det [ F Z ] 2 = ∣ det L ∣ 2 ∣ det Z ⊥ ∣ 2 = det ( F F † ) ∣ det Z ⊥ ∣ 2 . (149)
Thus the random components Z ∥ Z_{\parallel} Z ∥ parallel to the fixed row space make no contribution to this matrix determinant. The only remaining average is the squared matrix determinant of the ν × ν \nu\times\nu ν × ν matrix Z ⊥ Z_{\perp} Z ⊥ . This average equals ν ! \nu! ν ! , either by Eq. (138) or directly by expanding the matrix determinant. To verify it without another matrix identity, let S ν S_\nu S ν denote the permutation group and write
det Z ⊥ = ∑ σ ∈ S ν sgn ( σ ) ∏ i = 1 ν ( Z ⊥ ) i , σ ( i ) . (150) \det Z_{\perp} = \sum_{\sigma\in S_\nu} \operatorname{sgn}(\sigma)\prod_{i=1}^{\nu}(Z_{\perp})_{i,\sigma(i)}. \tag*{(150)} det Z ⊥ = σ ∈ S ν ∑ sgn ( σ ) i = 1 ∏ ν ( Z ⊥ ) i , σ ( i ) . (150)
Independence between rows and unit covariance within each row give
E ∣ det Z ⊥ ∣ 2 = ∑ σ , τ ∈ S ν sgn ( σ ) sgn ( τ ) ∏ i = 1 ν E [ ( Z ⊥ ) i , σ ( i ) ( Z ⊥ ) i , τ ( i ) ∗ ] = ∑ σ , τ ∈ S ν sgn ( σ ) sgn ( τ ) ∏ i = 1 ν δ σ ( i ) , τ ( i ) = ∑ σ ∈ S ν 1 = ν ! . (151) \begin{aligned}
\mathbb{E}|\det Z_{\perp}|^2 = \sum_{\sigma,\tau\in S_\nu}\operatorname{sgn}(\sigma)\operatorname{sgn}(\tau)\prod_{i=1}^{\nu}\mathbb{E}\left[(Z_{\perp})_{i,\sigma(i)}(Z_{\perp})_{i,\tau(i)}^*\right] \\
&= \sum_{\sigma,\tau\in S_\nu}\operatorname{sgn}(\sigma)\operatorname{sgn}(\tau)\prod_{i=1}^{\nu}\delta_{\sigma(i),\tau(i)} = \sum_{\sigma\in S_\nu}1=\nu!. \tag*{(151)}
\end{aligned} E ∣ det Z ⊥ ∣ 2 = σ , τ ∈ S ν ∑ sgn ( σ ) sgn ( τ ) i = 1 ∏ ν E [ ( Z ⊥ ) i , σ ( i ) ( Z ⊥ ) i , τ ( i ) ∗ ] = σ , τ ∈ S ν ∑ sgn ( σ ) sgn ( τ ) i = 1 ∏ ν δ σ ( i ) , τ ( i ) = σ ∈ S ν ∑ 1 = ν ! . (151)
Only equal permutations survive the average. Taking the expectation of the pointwise matrix determinant identity therefore yields
E Z ∣ det [ F Z ] ∣ 2 = det ( F F † ) ν ! = ( η − p ) ! det ( F F † ) , (152) \mathbb{E}_{Z}\left|\det\begin{bmatrix} F \\ Z \end{bmatrix}\right|^2 = \det(FF^\dagger)\nu! = (\eta-p)!\det(FF^\dagger), \tag*{(152)} E Z det [ F Z ] 2 = det ( F F † ) ν ! = ( η − p )! det ( F F † ) , (152)
proving Eq. (144) . Empty-block conventions cover p = 0 p=0 p = 0 and p = η p=\eta p = η . If F F F is rank deficient, both sides vanish. The same result holds conditionally when F F F is random but independent of Z Z Z : first fix F F F and choose Q Q Q from that fixed realization, then perform the Gaussian average. This is the form used below to integrate the unshared rows.
Define
Δ q = det ( F q F q † ) , Δ a = det ( F a F a † ) , Δ q a = det ( [ F q F a ] [ F q F a ] † ) . (153) \Delta_q=\det(F_qF_q^\dagger),\qquad\Delta_a=\det(F_aF_a^\dagger),\qquad\Delta_{qa}=\det\left(\begin{bmatrix}F_q\\F_a\end{bmatrix}\begin{bmatrix}F_q\\F_a\end{bmatrix}^\dagger\right). \tag*{(153)} Δ q = det ( F q F q † ) , Δ a = det ( F a F a † ) , Δ q a = det ( [ F q F a ] [ F q F a ] † ) . (153)
Condition on F q F_q F q , F a F_a F a and integrate R q R_q R q , R a R_a R a , F 0 F_0 F 0 independently using Eq. (144) . The numerator of Eq. (142) becomes
( η − k ) ! ( η − ℓ ) ! m ! E [ Δ q Δ a Δ q a ] . (154) (\eta-k)!(\eta-\ell)!m!\,\mathbb{E}[\Delta_q\Delta_a\Delta_{qa}]. \tag*{(154)} ( η − k )! ( η − ℓ )! m ! E [ Δ q Δ a Δ q a ] . (154)
Condition on F q F_q F q and choose a unitary column rotation Q Q Q such that F q Q = [ L 0 ] F_qQ=[L\ 0] F q Q = [ L 0 ] , with L ∈ C k × k L\in\mathbb{C}^{k\times k} L ∈ C k × k nonsingular almost surely. Write F a Q = [ A B ] = [ F a , ∥ F a , ⊥ ] F_aQ=[A\ B]=[F_{a,\parallel}\ F_{a,\perp}] F a Q = [ A B ] = [ F a , ∥ F a , ⊥ ] , where B ∈ C ℓ × ( η − k ) B\in\mathbb{C}^{\ell\times(\eta-k)} B ∈ C ℓ × ( η − k ) . The stacked Gram matrix is
\begin{bmatrix}
LL^\dagger& LA^\dagger\\
AL^\dagger& AA^\dagger+BB^\dagger
\end{bmatrix}. \tag*{(155)}\end{bmatrix}
Multiplying this matrix on the left by the determinant-one matrix
[ I k 0 − A L † ( L L † ) − 1 I ℓ ] (156) \begin{bmatrix}
I_k & 0\\
-AL^\dagger(LL^\dagger)^{-1} & I_\ell \tag*{(156)}
\end{bmatrix} [ I k − A L † ( L L † ) − 1 0 I ℓ ] (156)
eliminates its lower-left block. Since L † ( L L † ) − 1 L = I k L^\dagger(LL^\dagger)^{-1}L=I_k L † ( L L † ) − 1 L = I k , the lower-right block becomes A A † + B B † − A A † = B B † AA^\dagger+BB^\dagger-AA^\dagger=BB^\dagger A A † + B B † − A A † = B B † . Taking matrix determinants gives
Δ q a = Δ q det ( F a , ⊥ F a , ⊥ † ) . (157) \Delta_{qa}=\Delta_q\det(F_{a,\perp}F_{a,\perp}^\dagger). \tag*{(157)} Δ q a = Δ q det ( F a , ⊥ F a , ⊥ † ) . (157)
The same identity holds for k = 0 k=0 k = 0 or ℓ = 0 \ell=0 ℓ = 0 with empty matrix determinants interpreted as one.
The rotation Q Q Q depends on F q F_q F q , so factorization of the expectation requires conditioning. Given F q F_q F q , the matrix Q Q Q is fixed and F a F_a F a is still standard complex Gaussian. Right-unitary invariance implies that Z = F a Q Z=F_aQ Z = F a Q , conditional on F q F_q F q , has the standard complex-Gaussian law, independent of the value of F q F_q F q . Partition its columns as Z = [ Z ∥ Z ⊥ ] Z=[Z_{\parallel}\ Z_{\perp}] Z = [ Z ∥ Z ⊥ ] , with η − k \eta-k η − k columns in Z ⊥ Z_{\perp} Z ⊥ , and define
C k , ℓ = E Z [ det ( Z Z † ) det ( Z ⊥ Z ⊥ † ) ] . (158) C_{k,\ell}=\mathbb{E}_Z\left[\det(ZZ^\dagger)\det(Z_{\perp}Z_{\perp}^\dagger)\right]. \tag*{(158)} C k , ℓ = E Z [ det ( Z Z † ) det ( Z ⊥ Z ⊥ † ) ] . (158)
Because F a F a † = Z Z † F_aF_a^\dagger=ZZ^\dagger F a F a † = Z Z † , the conditional expectation of Δ a det ( F a , ⊥ F a , ⊥ † ) \Delta_a\det(F_{a,\perp}F_{a,\perp}^\dagger) Δ a det ( F a , ⊥ F a , ⊥ † ) given F q F_q F q equals C k , ℓ C_{k,\ell} C k , ℓ . In particular it does not depend on F q F_q F q . Therefore
E [ Δ q Δ a Δ q a ] = E F q [ Δ q 2 E [ Δ a det ( F a , ⊥ F a , ⊥ † ) ∣ F q ] ] = E F q [ Δ q 2 ] C k , ℓ . (159) \begin{aligned}
\mathbb{E}[\Delta_q\Delta_a\Delta_{qa}]
&=\mathbb{E}_{F_q}\left[\Delta_q^2\mathbb{E}\left[\Delta_a\det(F_{a,\perp}F_{a,\perp}^\dagger)\mid F_q\right]\right]\\
&=\mathbb{E}_{F_q}[\Delta_q^2]C_{k,\ell}. \tag*{(159)}
\end{aligned} E [ Δ q Δ a Δ q a ] = E F q [ Δ q 2 E [ Δ a det ( F a , ⊥ F a , ⊥ † ) ∣ F q ] ] = E F q [ Δ q 2 ] C k , ℓ . (159)
Equivalently,
E [ Δ q Δ a Δ q a ] = E [ Δ q 2 ] E [ Δ a det ( F a , ⊥ F a , ⊥ † ) ] . (160) \mathbb{E}[\Delta_q\Delta_a\Delta_{qa}]
=\mathbb{E}[\Delta_q^2]\mathbb{E}\left[\Delta_a\det(F_{a,\perp}F_{a,\perp}^\dagger)\right]. \tag*{(160)} E [ Δ q Δ a Δ q a ] = E [ Δ q 2 ] E [ Δ a det ( F a , ⊥ F a , ⊥ † ) ] . (160)
The two matrix determinants inside the second expectation share Gaussian entries and are not factored further. The first factor is
E [ Δ q 2 ] = η ! ( η + 1 ) ! ( η − k ) ! ( η − k + 1 ) ! . (161) \mathbb{E}[\Delta_q^2]=\frac{\eta!(\eta+1)!}{(\eta-k)!(\eta-k+1)!}. \tag*{(161)} E [ Δ q 2 ] = ( η − k )! ( η − k + 1 )! η ! ( η + 1 )! . (161)
For the second factor, use Z = F a Q Z=F_aQ Z = F a Q as above. Cauchy–Binet gives
Δ a = det ( Z Z † ) = ∑ J ⊆ [ η ] ∣ J ∣ = ℓ det Z : , J det ( Z : , J † ) = ∑ J ⊆ [ η ] ∣ J ∣ = ℓ ∣ det Z : , J ∣ 2 . (162) \begin{aligned}
\Delta_a=\det(ZZ^\dagger)
&=\sum_{\substack{J\subseteq[\eta]\\|J|=\ell}}\det Z_{:,J}\det(Z_{:,J}^\dagger)\\
&=\sum_{\substack{J\subseteq[\eta]\\|J|=\ell}}\left|\det Z_{:,J}\right|^2. \tag*{(162)}
\end{aligned} Δ a = det ( Z Z † ) = J ⊆ [ η ] ∣ J ∣ = ℓ ∑ det Z : , J det ( Z : , J † ) = J ⊆ [ η ] ∣ J ∣ = ℓ ∑ ∣ det Z : , J ∣ 2 . (162)
There are ( η ℓ ) \binom{\eta}{\ell} ( ℓ η ) summands. Multiplying by Δ a \Delta_a Δ a and averaging yields
E [ Δ a 2 ] = ∑ J ⊆ [ η ] ∣ J ∣ = ℓ E [ Δ a ∣ det Z : , J ∣ 2 ] . (163) \mathbb{E}[\Delta_a^2]=\sum_{\substack{J\subseteq[\eta]\\|J|=\ell}}\mathbb{E}\left[\Delta_a\left|\det Z_{:,J}\right|^2\right]. \tag*{(163)} E [ Δ a 2 ] = J ⊆ [ η ] ∣ J ∣ = ℓ ∑ E [ Δ a ∣ det Z : , J ∣ 2 ] . (163)
Column permutations preserve both the distribution of Z Z Z and Δ a = det ( Z Z † ) \Delta_a=\det(ZZ^\dagger) Δ a = det ( Z Z † ) , and map any ℓ \ell ℓ -column subset to any other. Every term in this last sum therefore has the same expectation:
E [ Δ a ∣ det Z : , J ∣ 2 ] = E [ Δ a 2 ] ( η ℓ ) . (164) \mathbb{E}\left[\Delta_a\left|\det Z_{:,J}\right|^2\right]
=\frac{\mathbb{E}[\Delta_a^2]}{\binom{\eta}{\ell}}. \tag*{(164)} E [ Δ a ∣ det Z : , J ∣ 2 ] = ( ℓ η ) E [ Δ a 2 ] . (164)
Let P = { k + 1 , … , η } P=\{k+1,\ldots,\eta\} P = { k + 1 , … , η } denote the columns of Z ⊥ Z_{\perp} Z ⊥ . A second application of Cauchy–Binet gives
det ( Z ⊥ Z ⊥ † ) = ∑ J ⊆ P ∣ J ∣ = ℓ ∣ det Z : , J ∣ 2 . (165) \det(Z_{\perp}Z_{\perp}^\dagger)
=\sum_{\substack{J\subseteq P\\|J|=\ell}}\left|\det Z_{:,J}\right|^2. \tag*{(165)} det ( Z ⊥ Z ⊥ † ) = J ⊆ P ∣ J ∣ = ℓ ∑ ∣ det Z : , J ∣ 2 . (165)
Only ( η − k ℓ ) \binom{\eta-k}{\ell} ( ℓ η − k ) subsets occur in this sum. Using the equal-term expectation and then Eq. (138) , we obtain
E [ Δ a det ( F a , ⊥ F a , ⊥ † ) ] = ( η − k ℓ ) ( η ℓ ) E [ Δ a 2 ] = ( η − k ) ! ( η − ℓ ) ! m ! η ! η ! ( η + 1 ) ! ( η − ℓ ) ! ( η − ℓ + 1 ) ! = ( η − k ) ! ( η + 1 ) ! m ! ( η − ℓ + 1 ) ! . (166) \begin{aligned}
\mathbb{E}\left[\Delta_a\det(F_{a,\perp}F_{a,\perp}^\dagger)\right]
&=\frac{\binom{\eta-k}{\ell}}{\binom{\eta}{\ell}}\mathbb{E}[\Delta_a^2]\\
&=\frac{(\eta-k)!(\eta-\ell)!}{m!\,\eta!}\frac{\eta!(\eta+1)!}{(\eta-\ell)!(\eta-\ell+1)!}\\
&=\frac{(\eta-k)!(\eta+1)!}{m!(\eta-\ell+1)!}. \tag*{(166)}
\end{aligned} E [ Δ a det ( F a , ⊥ F a , ⊥ † ) ] = ( ℓ η ) ( ℓ η − k ) E [ Δ a 2 ] = m ! η ! ( η − k )! ( η − ℓ )! ( η − ℓ )! ( η − ℓ + 1 )! η ! ( η + 1 )! = m ! ( η − ℓ + 1 )! ( η − k )! ( η + 1 )! . (166)
Here m = η − k − ℓ m=\eta-k-\ell m = η − k − ℓ . The binomial ratio follows from column symmetry, without assuming independence between a minor and the full Gram matrix determinant. Combining Eqs. (154) , (160) , (161) , and (166) and canceling factorials yields
E [ ∣ det G q ⃗ ∣ 2 ∣ det G a ⃗ ∣ 2 ∣ det G r ⃗ ∣ 2 ] = η ! [ ( η + 1 ) ! ] 2 ( η − k + 1 ) ( η − ℓ + 1 ) . (167) \mathbb{E}\left[\lvert\det G_{\vec q}\rvert^2\lvert\det G_{\vec a}\rvert^2\lvert\det G_{\vec r}\rvert^2\right]=\frac{\eta![(\eta+1)!]^2}{(\eta-k+1)(\eta-\ell+1)}. \tag*{(167)} E [ ∣ det G q ∣ 2 ∣ det G a ∣ 2 ∣ det G r ∣ 2 ] = ( η − k + 1 ) ( η − ℓ + 1 ) η ! [( η + 1 )! ] 2 . (167)
Therefore,
E V [ x q ⃗ x a ⃗ x r ⃗ ] = ( η + 1 ) 2 ( η − k + 1 ) ( η − ℓ + 1 ) d 0 d 1 d 2 . (168) \mathbb{E}_{V}\left[x_{\vec q}x_{\vec a}x_{\vec r}\right]=\frac{(\eta+1)^2}{(\eta-k+1)(\eta-\ell+1)d_0d_1d_2}. \tag*{(168)} E V [ x q x a x r ] = ( η − k + 1 ) ( η − ℓ + 1 ) d 0 d 1 d 2 ( η + 1 ) 2 . (168)
For completeness, the same polar decomposition verifies the estimator normalization. Disjointness makes G q ⃗ G_{\vec q} G q and G a ⃗ G_{\vec a} G a independent, so their product of squared matrix determinant magnitudes has mean ( η ! ) 2 (\eta!)^2 ( η ! ) 2 . Since E ( det Ξ ) 2 = ( η ! ) 2 d 0 d 1 \mathbb{E}(\det\Xi)^2=(\eta!)^2d_0d_1 E ( det Ξ ) 2 = ( η ! ) 2 d 0 d 1 ,
E V [ x q ⃗ x a ⃗ ] = 1 d 0 d 1 . (169) \mathbb{E}_{V}\left[x_{\vec q}x_{\vec a}\right]=\frac{1}{d_0d_1}. \tag*{(169)} E V [ x q x a ] = d 0 d 1 1 . (169)
Expanding ∣ ⟨ V ∣ Ψ a u g ⟩ ∣ 2 \lvert\langle V\mid\Psi_{\mathrm{aug}}\rangle\rvert^2 ∣⟨ V ∣ Ψ aug ⟩ ∣ 2 in Eq. (117) , independent mode phases leave only the term ⟨ q ⃗ ∣ Ψ T ⟩ x q ⃗ x a ⃗ / 2 \langle\vec q\mid\Psi_T\rangle x_{\vec q}x_{\vec a}/2 ⟨ q ∣ Ψ T ⟩ x q x a /2 in the mean of v q ⃗ v a ⃗ ∗ v_{\vec q}v_{\vec a}^* v q v a ∗ . Thus
E u , z ⃗ [ v q ⃗ v a ⃗ ∗ ] = d 0 2 ⟨ q ⃗ ∣ Ψ T ⟩ E V [ x q ⃗ x a ⃗ ] = o ϕ 2 d 1 , (170) \mathbb{E}_{u,\vec z}\left[v_{\vec q}v_{\vec a}^*\right]=\frac{d_0}{2}\langle\vec q\mid\Psi_T\rangle\mathbb{E}_{V}\left[x_{\vec q}x_{\vec a}\right]=\frac{o_\phi}{2d_1}, \tag*{(170)} E u , z [ v q v a ∗ ] = 2 d 0 ⟨ q ∣ Ψ T ⟩ E V [ x q x a ] = 2 d 1 o ϕ , (170)
which confirms Eq. (118) without an additional channel calculation.
Exact spectrum and tight variance
Substitution of Eq. (168) into Eq. (127) gives every sector eigenvalue:
γ k , ℓ = 4 ( η + 1 ) 2 N a u g − η + 2 N a u g + 2 1 ( η − k + 1 ) ( η − ℓ + 1 ) . (171) \gamma_{k,\ell}=4(\eta+1)^2\frac{N_{\mathrm{aug}}-\eta+2}{N_{\mathrm{aug}}+2}\frac{1}{(\eta-k+1)(\eta-\ell+1)}. \tag*{(171)} γ k , ℓ = 4 ( η + 1 ) 2 N aug + 2 N aug − η + 2 ( η − k + 1 ) ( η − ℓ + 1 ) 1 . (171)
The denominator satisfies
( η − k + 1 ) ( η − ℓ + 1 ) = ( η + 1 ) ( m + 1 ) + k ℓ ≥ η + 1. (172) (\eta-k+1)(\eta-\ell+1)=(\eta+1)(m+1)+k\ell\ge\eta+1. \tag*{(172)} ( η − k + 1 ) ( η − ℓ + 1 ) = ( η + 1 ) ( m + 1 ) + k ℓ ≥ η + 1. (172)
Equality requires m = 0 m=0 m = 0 and k ℓ = 0 k\ell=0 k ℓ = 0 , corresponding precisely to r ⃗ = q ⃗ \vec r=\vec q r = q or r ⃗ = a ⃗ \vec r=\vec a r = a . Consequently,
∥ B q ⃗ , a ⃗ ∥ ∞ = γ η , 0 = γ 0 , η = 4 ( η + 1 ) N a u g − η + 2 N a u g + 2 = 4 b N , η . (173) \lVert B_{\vec q,\vec a}\rVert_\infty=\gamma_{\eta,0}=\gamma_{0,\eta}=4(\eta+1)\frac{N_{\mathrm{aug}}-\eta+2}{N_{\mathrm{aug}}+2}=4b_{N,\eta}. \tag*{(173)} ∥ B q , a ∥ ∞ = γ η , 0 = γ 0 , η = 4 ( η + 1 ) N aug + 2 N aug − η + 2 = 4 b N , η . (173)
Proof of Theorem 3 . The physical branch of ∣ Ψ a u g ⟩ \lvert\Psi_{\mathrm{aug}}\rangle ∣ Ψ aug ⟩ has no occupation in a ⃗ \vec a a . A physical configuration with j j j particles outside q ⃗ \vec q q lies in the sector k = η − j k=\eta-j k = η − j , ℓ = 0 \ell=0 ℓ = 0 , whose eigenvalue is 4 b N , η / ( j + 1 ) 4b_{N,\eta}/(j+1) 4 b N , η / ( j + 1 ) . The ancillary branch has eigenvalue 4 b N , η 4b_{N,\eta} 4 b N , η . Since the second-moment operator is diagonal, their coherence contributes zero, and
⟨ Ψ a u g ∣ B q ⃗ , a ⃗ ∣ Ψ a u g ⟩ = 1 2 ⟨ Ψ T ∣ B q ⃗ , a ⃗ ∣ Ψ T ⟩ + 1 2 γ 0 , η = 2 b N , η ( 1 + ∑ j = 0 η p j j + 1 ) . (174) \begin{aligned}
\langle\Psi_{\mathrm{aug}}\mid B_{\vec q,\vec a}\mid\Psi_{\mathrm{aug}}\rangle=\frac{1}{2}\langle\Psi_T\mid B_{\vec q,\vec a}\mid\Psi_T\rangle+\frac{1}{2}\gamma_{0,\eta} \\
&=2b_{N,\eta}\left(1+\sum_{j=0}^{\eta}\frac{p_j}{j+1}\right). \tag*{(174)}
\end{aligned} ⟨ Ψ aug ∣ B q , a ∣ Ψ aug ⟩ = 2 1 ⟨ Ψ T ∣ B q , a ∣ Ψ T ⟩ + 2 1 γ 0 , η = 2 b N , η ( 1 + j = 0 ∑ η j + 1 p j ) . (174)
Unbiasedness gives the variance by subtracting ∣ o ϕ ∣ 2 = p 0 \lvert o_\phi\rvert^2=p_0 ∣ o ϕ ∣ 2 = p 0 . Moreover,
∑ j = 0 η p j j + 1 ≤ p 0 + 1 − p 0 2 = 1 + p 0 2 . (175) \sum_{j=0}^{\eta}\frac{p_j}{j+1}\le p_0+\frac{1-p_0}{2}=\frac{1+p_0}{2}. \tag*{(175)} j = 0 ∑ η j + 1 p j ≤ p 0 + 2 1 − p 0 = 2 1 + p 0 . (175)
Since b N , η > 1 b_{N,\eta}>1 b N , η > 1 ,
Var C ( O ^ q ⃗ , w ) ≤ 3 b N , η + ( b N , η − 1 ) p 0 ≤ 4 b N , η − 1. (176) \operatorname{Var}_{C}(\widehat O_{\vec q,w})\le3b_{N,\eta}+(b_{N,\eta}-1)p_0\le4b_{N,\eta}-1. \tag*{(176)} Var C ( O q , w ) ≤ 3 b N , η + ( b N , η − 1 ) p 0 ≤ 4 b N , η − 1. (176)
All inequalities are equalities for p 0 = 1 p_0=1 p 0 = 1 , establishing tightness. Finally, ( N + 2 ) / ( N + η + 2 ) ≤ 1 (N+2)/(N+\eta+2)\le1 ( N + 2 ) / ( N + η + 2 ) ≤ 1 gives the mode-independent bound.
The second-moment bound and variance bound are distinct: the former is 4 b N , η 4b_{N,\eta} 4 b N , η , whereas the latter is 4 b N , η − 1 4b_{N,\eta}-1 4 b N , η − 1 . The variance is also uniformly bounded below for this augmented-state protocol. Positivity and the fixed reference weight imply
E [ O ^ q ⃗ , w ] 2 ≥ 2 b N , η , Var C ( O ^ q ⃗ , w ) ≥ 2 b N , η − 1 ≥ η + 1 , (177) \mathbb{E}[\widehat{O}_{\vec{q},w}]^2 \ge2b_{N,\eta}, \qquad\operatorname{Var}_{\mathbb{C}}(\widehat{O}_{\vec{q},w}) \ge2b_{N,\eta}-1 \ge\eta+1, \tag*{(177)} E [ O q , w ] 2 ≥ 2 b N , η , Var C ( O q , w ) ≥ 2 b N , η − 1 ≥ η + 1 , (177)
since N ≥ η N \ge\eta N ≥ η implies b N , η ≥ ( η + 2 ) / 2 b_{N,\eta} \ge(\eta+2)/2 b N , η ≥ ( η + 2 ) /2 . Thus the single-shadow complex variance is Θ ( η ) \Theta(\eta) Θ ( η ) uniformly over normalized trial-Slater-determinant pairs and allowed mode counts. A spectral average over the entire augmented particle sector does not describe this restricted family of inputs, each of which has probability 1 / 2 1/2 1/2 on ∣ a ⃗ ⟩ |\vec{a}\rangle ∣ a ⟩ .
Sample complexity and general walkers
a. Fixed-target overlap estimation. For N s h a d o w N_{\mathrm{shadow}} N shadow independent shadow records, the ordinary mean satisfies
E [ ∣ o ^ ϕ − o ϕ ∣ 2 ] = Var C ( O ^ q ⃗ , w ) N s h a d o w ≤ 4 η + 3 N s h a d o w . (178) \mathbb{E}[|\widehat{o}_{\phi}-o_{\phi}|^2] = \frac{\operatorname{Var}_{\mathbb{C}}(\widehat{O}_{\vec{q},w})}{N_{\mathrm{shadow}}} \le\frac{4\eta+3}{N_{\mathrm{shadow}}}. \tag*{(178)} E [ ∣ o ϕ − o ϕ ∣ 2 ] = N shadow Var C ( O q , w ) ≤ N shadow 4 η + 3 . (178)
For L L L fixed normalized target Slater determinants, coordinatewise median-of-means estimates achieve complex absolute error at most ϵ \epsilon ϵ simultaneously, with probability at least 1 − δ 1-\delta 1 − δ , using
N s h a d o w = O ( η ϵ 2 log 2 L δ ) (179) N_{\mathrm{shadow}} = \mathcal{O}\left(\frac{\eta}{\epsilon^2}\log\frac{2L}{\delta}\right) \tag*{(179)} N shadow = O ( ϵ 2 η log δ 2 L ) (179)
independent records shared by all targets.
For a general full-column-rank walker matrix Φ \Phi Φ , let Φ = Q R \Phi=QR Φ = QR be its thin QR factorization. The Slater determinant state and estimator both acquire the bra-oriented factor det ( R ) ∗ \det(R)^* det ( R ) ∗ , so
Var C ( O ^ Φ ) = det ( Φ † Φ ) Var C ( O ^ Q ) ≤ det ( Φ † Φ ) ( 4 b N , η − 1 ) . (180) \operatorname{Var}_{\mathbb{C}}(\widehat{O}_{\Phi}) = \det(\Phi^\dagger\Phi)\operatorname{Var}_{\mathbb{C}}(\widehat{O}_{Q}) \le\det(\Phi^\dagger\Phi)(4b_{N,\eta}-1). \tag*{(180)} Var C ( O Φ ) = det ( Φ † Φ ) Var C ( O Q ) ≤ det ( Φ † Φ ) ( 4 b N , η − 1 ) . (180)
Here O ^ Φ \widehat{O}_{\Phi} O Φ denotes the same matrix determinant estimator evaluated with the orbital matrix Φ \Phi Φ . If Φ \Phi Φ is rank deficient, both the Slater determinant state and estimator vanish. The conjugate estimator D ^ u , z ⃗ ( Φ ) \widehat{D}_{u,\vec{z}}(\Phi) D u , z ( Φ ) has the same complex variance. These results establish additive-error guarantees for fixed overlap targets; relative errors near overlap zeros and nonlinear ratios along shadow-dependent AFQMC trajectories require separate analysis.
Virtual Correlation Energy
As shown in the following, orbital-rotation shadows also lead to a simpler VCE formulation. Assuming an unrestricted framework, we first write the trial wave function as
∣ Ψ T ⟩ = ∣ Ξ c α ⟩ ⊗ ∣ Ξ c β ⟩ ⊗ ∣ Ψ T , α ⟩ ⊗ ∣ 0 ν α ⟩ ⊗ ∣ 0 ν β ⟩ , (181) |\Psi_T\rangle= |\Xi_c^\alpha\rangle\otimes|\Xi_c^\beta\rangle\otimes|\Psi_{T,\alpha}\rangle\otimes|0_\nu^\alpha\rangle\otimes|0_\nu^\beta\rangle, \tag*{(181)} ∣ Ψ T ⟩ = ∣ Ξ c α ⟩ ⊗ ∣ Ξ c β ⟩ ⊗ ∣ Ψ T , α ⟩ ⊗ ∣ 0 ν α ⟩ ⊗ ∣ 0 ν β ⟩ , (181)
where ∣ Ψ T , α ⟩ |\Psi_{T,\alpha}\rangle ∣ Ψ T , α ⟩ is the trial state prepared on a quantum computer within the active space with η \eta η electrons, ∣ Ξ c ( α ( β ) ) ⟩ |\Xi_c^{(\alpha(\beta))}\rangle ∣ Ξ c ( α ( β )) ⟩ is a Slater determinant containing all frozen occupied α \alpha α (β \beta β ) orbitals with η c α ( β ) \eta_c^{\alpha(\beta)} η c α ( β ) electrons, and ∣ 0 ν α ( β ) ⟩ |0_\nu^{\alpha(\beta)}\rangle ∣ 0 ν α ( β ) ⟩ is the vacuum state in the space of virtual α \alpha α (β \beta β ) orbitals, with η = η a α + η a β \eta=\eta_a^\alpha+\eta_a^\beta η = η a α + η a β . The trial wave function can always be written as
∣ Ψ T ⟩ = ∣ Ξ c α ⟩ ⊗ ∣ Ξ c β ⟩ ⊗ ∑ i c i ∣ χ i α ⟩ ⊗ ∣ χ i β ⟩ ⊗ ∣ 0 ν α ⟩ ⊗ ∣ 0 ν β ⟩ , (182) |\Psi_T\rangle= |\Xi_c^\alpha\rangle\otimes|\Xi_c^\beta\rangle\otimes\sum_i c_i |\chi_i^\alpha\rangle\otimes|\chi_i^\beta\rangle\otimes|0_\nu^\alpha\rangle\otimes|0_\nu^\beta\rangle, \tag*{(182)} ∣ Ψ T ⟩ = ∣ Ξ c α ⟩ ⊗ ∣ Ξ c β ⟩ ⊗ i ∑ c i ∣ χ i α ⟩ ⊗ ∣ χ i β ⟩ ⊗ ∣ 0 ν α ⟩ ⊗ ∣ 0 ν β ⟩ , (182)
where ∣ χ i α ( β ) ⟩ |\chi_i^{\alpha(\beta)}\rangle ∣ χ i α ( β ) ⟩ is the α \alpha α (β \beta β ) component of the i i i th Slater determinant within the active space.
The overlap between the trial state and a walker defined in the full space is
∑ i c i ∗ ⟨ Ξ c α Ξ c β χ i α χ i β 0 ν α 0 ν β ∣ ϕ ⟩ = ∑ i c i ∗ det ( ( Ξ c α 0 0 0 0 Ξ c β 0 0 0 0 χ i α 0 0 0 0 χ i β 0 0 0 0 0 0 0 0 ) † ( ϕ c α 0 0 ϕ c β ϕ a α 0 0 ϕ a β ϕ ν α 0 0 ϕ ν β ) ) . (183) \sum_i c_i^* \langle\Xi_c^\alpha\Xi_c^\beta\chi_i^\alpha\chi_i^\beta0_\nu^\alpha0_\nu^\beta|\phi\rangle
=
\sum_i c_i^* \det\left(
\begin{pmatrix}
\Xi_c^\alpha& 0 & 0 & 0 \\
0 & \Xi_c^\beta& 0 & 0 \\
0 & 0 & \chi_i^\alpha& 0 \\
0 & 0 & 0 & \chi_i^\beta\\
0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0
\end{pmatrix}^{\dagger}
\begin{pmatrix}
\phi_c^\alpha& 0 \\
0 & \phi_c^\beta\\
\phi_a^\alpha& 0 \\
0 & \phi_a^\beta\\
\phi_\nu^\alpha& 0 \\
0 & \phi_\nu^\beta
\end{pmatrix}
\right). \tag*{(183)} i ∑ c i ∗ ⟨ Ξ c α Ξ c β χ i α χ i β 0 ν α 0 ν β ∣ ϕ ⟩ = i ∑ c i ∗ det Ξ c α 0 0 0 0 0 0 Ξ c β 0 0 0 0 0 0 χ i α 0 0 0 0 0 0 χ i β 0 0 † ϕ c α 0 ϕ a α 0 ϕ ν α 0 0 ϕ c β 0 ϕ a β 0 ϕ ν β . (183)
This becomes
∑ i c i ∗ ⟨ Ξ c α Ξ c β χ i α χ i β | ϕ ⟩ = ∑ i c i ∗ det ( Ξ c α † ϕ c α 0 0 Ξ c β † ϕ c β χ i α ϕ a α 0 0 χ i β ϕ a β ) (184) \sum_i c_i^* \left\langle\Xi_c^{\alpha}\Xi_c^{\beta}\chi_i^\alpha\chi_i^\beta\middle| \phi\right\rangle
=
\sum_i c_i^* \det\begin{pmatrix}
\Xi_c^{\alpha\dagger}\phi_c^\alpha& 0\\
0 & \Xi_c^{\beta\dagger}\phi_c^\beta\\
\chi_i^\alpha\phi_a^\alpha& 0\\
0 & \chi_i^\beta\phi_a^\beta
\end{pmatrix} \tag*{(184)} i ∑ c i ∗ ⟨ Ξ c α Ξ c β χ i α χ i β ϕ ⟩ = i ∑ c i ∗ det Ξ c α † ϕ c α 0 χ i α ϕ a α 0 0 Ξ c β † ϕ c β 0 χ i β ϕ a β (184)
where ϕ c α ( β ) \phi_c^{\alpha(\beta)} ϕ c α ( β ) and ϕ a α ( β ) \phi_a^{\alpha(\beta)} ϕ a α ( β ) are η a α ( β ) + η c α ( β ) \eta_a^{\alpha(\beta)}+\eta_c^{\alpha(\beta)} η a α ( β ) + η c α ( β ) column molecular orbital coefficients of the walker. Ξ c α ( β ) \Xi_c^{\alpha(\beta)} Ξ c α ( β ) is diagonal with ones up to the number of α ( β ) \alpha(\beta) α ( β ) core electrons and zeros elsewhere. The virtual degrees of freedom therefore no longer appear.
To further remove the core degrees of freedom, we first define
M c α ( β ) = Ξ c α ( β ) † ϕ c α ( β ) (185) M_c^{\alpha(\beta)}=\Xi_c^{\alpha(\beta)\dagger}\phi_c^{\alpha(\beta)} \tag*{(185)} M c α ( β ) = Ξ c α ( β ) † ϕ c α ( β ) (185)
and perform the QR decomposition
M c α † = Q c α R c α M c β † = Q c β R c β , (186) \begin{aligned}
M_c^{\alpha\dagger}&=Q_c^\alpha R_c^\alpha\\
M_c^{\beta\dagger}&=Q_c^\beta R_c^\beta, \tag*{(186)}
\end{aligned} M c α † M c β † = Q c α R c α = Q c β R c β , (186)
where Q c α ∈ C ( n c α + n a α ) × ( n c α + n a α ) Q_c^\alpha\in\mathbb{C}^{(n_c^\alpha+n_a^\alpha)\times(n_c^\alpha+n_a^\alpha)} Q c α ∈ C ( n c α + n a α ) × ( n c α + n a α ) and Q c β ∈ C ( n c β + n a β ) × ( n c β + n a β ) Q_c^\beta\in\mathbb{C}^{(n_c^\beta+n_a^\beta)\times(n_c^\beta+n_a^\beta)} Q c β ∈ C ( n c β + n a β ) × ( n c β + n a β ) are unitary matrices. These matrices can be partitioned as
Q c α ( β ) = ( Q 1 c α ( β ) Q 2 c α ( β ) ) (187) Q_c^{\alpha(\beta)}=\left(Q_{1c}^{\alpha(\beta)}\ \ Q_{2c}^{\alpha(\beta)}\right) \tag*{(187)} Q c α ( β ) = ( Q 1 c α ( β ) Q 2 c α ( β ) ) (187)
where Q 1 c α ( β ) ∈ C ( n c α ( β ) + n a α ( β ) ) × n c α ( β ) Q_{1c}^{\alpha(\beta)}\in\mathbb{C}^{(n_c^{\alpha(\beta)}+n_a^{\alpha(\beta)})\times n_c^{\alpha(\beta)}} Q 1 c α ( β ) ∈ C ( n c α ( β ) + n a α ( β ) ) × n c α ( β ) and Q 2 c α ( β ) ∈ C ( n c α ( β ) + n a α ( β ) ) × n a α ( β ) Q_{2c}^{\alpha(\beta)}\in\mathbb{C}^{(n_c^{\alpha(\beta)}+n_a^{\alpha(\beta)})\times n_a^{\alpha(\beta)}} Q 2 c α ( β ) ∈ C ( n c α ( β ) + n a α ( β ) ) × n a α ( β ) . The R R R matrix is
R c α ( β ) = ( R ~ c α ( β ) 0 ) (188) R_c^{\alpha(\beta)}=
\begin{pmatrix}
\widetilde{R}_c^{\alpha(\beta)}\\
0
\end{pmatrix} \tag*{(188)} R c α ( β ) = ( R c α ( β ) 0 ) (188)
where R ~ c α ( β ) \widetilde{R}_c^{\alpha(\beta)} R c α ( β ) is an η c α ( β ) × η c α ( β ) \eta_c^{\alpha(\beta)}\times\eta_c^{\alpha(\beta)} η c α ( β ) × η c α ( β ) upper-triangular matrix. Defining L c α ( β ) = ( R ~ c α ( β ) ) † L_c^{\alpha(\beta)}=(\widetilde{R}_c^{\alpha(\beta)})^\dagger L c α ( β ) = ( R c α ( β ) ) † , we have
M c α = L c α Q 1 c α † M c β = L c β Q 1 c β † . (189) \begin{aligned}
M_c^\alpha&=L_c^\alpha Q_{1c}^{\alpha\dagger}\\
M_c^\beta&=L_c^\beta Q_{1c}^{\beta\dagger}. \tag*{(189)}
\end{aligned} M c α M c β = L c α Q 1 c α † = L c β Q 1 c β † . (189)
Then, if we define
Q = ( Q 1 c α 0 Q 2 c α 0 0 Q 1 c β 0 Q 2 c β ) , (190) Q=
\begin{pmatrix}
Q_{1c}^\alpha& 0 & Q_{2c}^\alpha& 0\\
0 & Q_{1c}^\beta& 0 & Q_{2c}^\beta
\end{pmatrix}, \tag*{(190)} Q = ( Q 1 c α 0 0 Q 1 c β Q 2 c α 0 0 Q 2 c β ) , (190)
the overlap can be written as
⟨ Ξ c α Ξ c β χ i α χ i β | ϕ ⟩ = det ( ( Ξ c α 0 0 0 0 Ξ c β 0 0 0 0 χ i α 0 0 0 0 χ i β ) † ( ϕ c α 0 0 ϕ c β ϕ a α 0 0 ϕ a β ) Q ) / det ( Q ) = det ( L c α ) det ( L c β ) det ( χ i α ϕ ~ a α ) det ( χ i β ϕ ~ a β ) / det ( Q ) , (191) \begin{aligned}
\left\langle\Xi_c^\alpha\Xi_c^\beta\chi_i^\alpha\chi_i^\beta\middle|\phi\right\rangle
=
\det\left(
\begin{pmatrix}
\Xi_c^\alpha& 0 & 0 & 0\\
0 & \Xi_c^\beta& 0 & 0\\
0 & 0 & \chi_i^\alpha& 0\\
0 & 0 & 0 & \chi_i^\beta
\end{pmatrix}^{\dagger}
\begin{pmatrix}
\phi_c^\alpha& 0\\
0 & \phi_c^\beta\\
\phi_a^\alpha& 0\\
0 & \phi_a^\beta
\end{pmatrix}
Q
\right)/\det(Q) \\
&=\det(L_c^\alpha)\det(L_c^\beta)\det(\chi_i^\alpha\widetilde{\phi}_a^\alpha)\det(\chi_i^\beta\widetilde{\phi}_a^\beta)/\det(Q), \tag*{(191)}
\end{aligned} ⟨ Ξ c α Ξ c β χ i α χ i β ϕ ⟩ = det Ξ c α 0 0 0 0 Ξ c β 0 0 0 0 χ i α 0 0 0 0 χ i β † ϕ c α 0 ϕ a α 0 0 ϕ c β 0 ϕ a β Q / det ( Q ) = det ( L c α ) det ( L c β ) det ( χ i α ϕ a α ) det ( χ i β ϕ a β ) / det ( Q ) , (191)
where ϕ ~ a α ( β ) = ϕ a α ( β ) Q 2 c α ( β ) \widetilde{\phi}_a^{\alpha(\beta)}=\phi_a^{\alpha(\beta)}Q_{2c}^{\alpha(\beta)} ϕ a α ( β ) = ϕ a α ( β ) Q 2 c α ( β ) .
Finally, computing the overlap between the trial and Slater determinant in the full space reduces to a core-space prefactor times an active-space overlap:
⟨ Ψ T | ϕ ⟩ = det ( L c α ) det ( L c β ) det ( Q ) ⟨ Ψ T , a | ϕ ~ a ⟩ . (192) \left\langle\Psi_T\middle|\phi\right\rangle
=
\frac{\det(L_c^\alpha)\det(L_c^\beta)}{\det(Q)}
\left\langle\Psi_{T,a}\middle|\widetilde{\phi}_a\right\rangle. \tag*{(192)} ⟨ Ψ T ∣ ϕ ⟩ = det ( Q ) det ( L c α ) det ( L c β ) ⟨ Ψ T , a ϕ a ⟩ . (192)
This factorization separates a VCE prefactor (from QR over core/active blocks) from an active-space overlap evaluated with orbital rotation shadows. In practice, analytical VCE mainly accelerates derivatives of the prefactor and construction of derivative tensors (e.g., d Q d_Q d Q , d Q 2 d^2_Q d Q 2 ), and this benefit grows with core-space size. By contrast, derivatives of ⟨ Ψ T , a | ϕ ~ a ⟩ \left\langle\Psi_{T,a}\middle|\widetilde{\phi}_a\right\rangle ⟨ Ψ T , a ϕ a ⟩ scale with the number of shadow samples N s h a d o w N_{\mathrm{shadow}} N shadow and can dominate when N s h a d o w N_{\mathrm{shadow}} N shadow is large.