Introduction
The quantum simulation of materials is a highly anticipated application of quantum computing [1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 ] . For many materials, the key questions involve the electronic structure, spectroscopy, and dynamics. These can be addressed by solving the time-independent and time-dependent electronic Schrödinger equations.
In the context of first principles fault-tolerant quantum materials simulation, computing the electronic Hamiltonian eigenstates and dynamics has already been explored [4 , 9 , 10 , 13 , 14 ] . These formulations have focused on exact simulations of the full electronic Hamiltonian of the material. However, since current first principles material simulations with density functional theory often involve a few thousand atoms and O ( 10 4 ) O(10^4) O ( 1 0 4 ) electrons or more, replacing such classical simulations is a formidable task. As we detail below, using existing techniques of full Hamiltonian simulation, the Toffoli counts needed to compute an excitation energy to a relevant precision exceed even the resources that are expected to be available in the era of full fault-tolerance by many orders of magnitude. Additional approximations must therefore be made for the quantum simulation of materials to be practical.
Full Hamiltonian simulation is not the problem that is tackled by most beyond density functional classical
approaches. Instead, these work within a quasiparticle picture of electronic behaviour. This limits the explicit modeling of correlation effects to a few (quasi)particles. While the quasiparticle equations are augmented with additional heuristic assumptions that mean that they are not exact, their domain of applicability is understood through empirical validation. For example, the GW and GW/Bethe-Salpeter quasiparticle theories are probably the most commonly applied electronic structure simulations in materials beyond density functional theory [15 , 16 , 17 , 18 ] , and have found particular value in the modeling of semiconductor excitations [19 , 20 ] .
Recently, we have described the formulation of quantum simulation within the quasiparticle approximation and have shown that, in a setting that takes advantage of low-energy quasiparticles as well as locality, and under standard initial state preparation assumptions, quantum algorithms can achieve a large asymptotic speedup over classical algorithms within the same heuristic framework [21 ] . Here, we move beyond asymptotic scaling and provide a detailed analysis of the quasiparticle GW/BSE for excited state properties and dynamics. We focus only on the quasiparticle heuristic rather than also using locality, as this more general setting covers a wider range of materials, and provides a baseline for the incorporation of more heuristic information in the future. We focus on the modeling of high order multi-excitonic states and dynamics in semiconductors, which is extremely expensive and which has yet to be studied in first principles classical simulations. We achieve, relative to full Hamiltonian quantum simulation approaches that have been benchmarked in materials, a ∼ 6 \sim6 ∼ 6 th order polynomial speedup in scaling when optimizing for Toffoli count, and up to an exponential compression when optimizing for qubit count. Relative to standard classical matrix-vector algorithms for the Bethe-Salpeter equation, the speedup is exponential in the multi-exciton order m m m , and for the triexcitonic case, corresponds to a ∼ 12 \sim12 ∼ 12 th order speedup in speed and an exponential reduction in classical resources.
We perform explicit compilation of quasiparticle quantum simulation, working within a first-quantized, orbital basis formulation. Our compilation has some features in common with that of first- and second-quantized Hamiltonian simulation compilation, such as the use of factorized integral representations, qubit/Toffoli data loading tradeoffs, and symmetry adaptation, but we use a new block encoding strategy that is adapted to the physical form of the GW/BSE Hamiltonian. We carry out quantum resource estimates of tri-excitonic state simulation for a range of semiconductor materials, where we find ∼ 10 6 − 10 7 \sim10^{6}-10^{7} ∼ 1 0 6 − 1 0 7 reduction in Toffoli-gate count relative to full Hamiltonian simulation using realistic basis sets and problem sizes of a few thousand atoms. Our work therefore provides quantitative evidence of the advantages of quasiparticle quantum simulation in future first-principles studies of materials using quantum computers.
Quasi-Particle Quantum Simulation
The Bethe-Salpeter equation
We are concerned with simulating electronic structure and dynamics. In atomic units, the corresponding electronic Hamiltonian in the non-relativistic approximation is
H = ∑ i − 1 2 ∇ i 2 + v e x t ( r i ) + ∑ i > j 1 r i j (1) H = \sum_i -\frac{1}{2}\nabla_i^2 + v_{\mathrm{ext}}(\mathbf{r}_i) + \sum_{i>j}\frac{1}{r_{ij}} \tag*{(1)} H = i ∑ − 2 1 ∇ i 2 + v ext ( r i ) + i > j ∑ r ij 1 (1)
where for an isolated system v e x t ( r ) v_{\mathrm{ext}}(\mathbf{r}) v ext ( r ) is the external potential from the nuclei. The system size will be denoted by N N N , and we generally consider the setting where the number of electrons is ∝ N \propto N ∝ N . The task of quantum simulation is to obtain the eigenstates and dynamics given by the time-independent and dependent Schrödinger equations
H Ψ = E Ψ (2) H\Psi= E\Psi \tag*{(2)} H Ψ = E Ψ (2)
i ∂ t Ψ = H Ψ (3) i\partial_t\Psi= H\Psi \tag*{(3)} i ∂ t Ψ = H Ψ (3)
One common framework is to simulate in second-quantization, where a single particle orthogonal basis { ϕ i } \{\phi_i\} { ϕ i } is introduced, and H H H is approximated by its finite basis second quantized counterpart [1 , 2 ] . Another framework is first quantized quantum simulation [13 ] . There, the computational basis states are simple product states, and antisymmetrization is enforced by initial state preparation. Both first- and second-quantized approaches have been studied in materials simulation, and their relative advantages and disadvantages discussed [9 , 10 ] .
The above frameworks simulate all electrons in a material. However, in a macroscopic sample, this may approach ∼ 10 23 \sim10^{23} ∼ 1 0 23 electrons. While most electronic properties converge at smaller system sizes, as a practical guide we can consider the problem sizes in density functional materials calculations, which in simple semiconductors typically involve O ( 1000 ) O(1000) O ( 1000 ) atoms, with ∼ 10 4 \sim10^4 ∼ 1 0 4 electrons or more. These would require impractical amounts of quantum resources to address.
However, in many materials of interest, the low-energy excitations are captured by a small number (m t o t = O ( 1 ) m_{\mathrm{tot}}=O(1) m tot = O ( 1 ) in total) of electronic quasiparticles, namely, dressed electrons and holes. This suggests that one may not need to simulate the vast majority of the electrons. Formally, quasiparticles are described by Green’s functions [22 ] . For example, writing 1 ≡ ( r 1 σ 1 t 1 ) 1\equiv(\mathbf{r}_1\sigma_1t_1) 1 ≡ ( r 1 σ 1 t 1 ) (where σ \sigma σ is the spin index) and ψ ^ ( 1 ) \hat{\psi}(1) ψ ^ ( 1 ) for the Heisenberg-picture field operator, then individual quasiparticles, and pairs of quasiparticles, are described by the zero-temperature 1- and 2-particle Green’s functions
G ( 1 , 1 ′ ) = − i ⟨ Ψ 0 ∣ T [ ψ ^ ( 1 ) ψ ^ † ( 1 ′ ) ] ∣ Ψ 0 ⟩ , (4) G(1,1')=-i\langle\Psi_0|\mathcal{T}[\hat{\psi}(1)\hat{\psi}^{\dagger}(1') ]|\Psi_0\rangle, \tag*{(4)} G ( 1 , 1 ′ ) = − i ⟨ Ψ 0 ∣ T [ ψ ^ ( 1 ) ψ ^ † ( 1 ′ )] ∣ Ψ 0 ⟩ , (4)
G 2 ( 1 , 2 ; 1 ′ , 2 ′ ) = ( − i ) 2 ⟨ Ψ 0 ∣ T [ ψ ^ ( 1 ) ψ ^ ( 2 ) ψ ^ † ( 2 ′ ) ψ ^ † ( 1 ′ ) ] ∣ Ψ 0 ⟩ , (5) G_2(1,2;1',2')=(-i)^2\langle\Psi_0|\mathcal{T}[\hat{\psi}(1)\hat{\psi}(2)\hat{\psi}^{\dagger}(2')\hat{\psi}^{\dagger}(1') ]|\Psi_0\rangle, \tag*{(5)} G 2 ( 1 , 2 ; 1 ′ , 2 ′ ) = ( − i ) 2 ⟨ Ψ 0 ∣ T [ ψ ^ ( 1 ) ψ ^ ( 2 ) ψ ^ † ( 2 ′ ) ψ ^ † ( 1 ′ )] ∣ Ψ 0 ⟩ , (5)
where T \mathcal{T} T is the time-ordering operator and ∣ Ψ 0 ⟩ |\Psi_0\rangle ∣ Ψ 0 ⟩ is the ground state of H H H ; we abbreviate G ≡ G 1 G\equiv G_1 G ≡ G 1 . We can write down equations-of-motion for the Green’s functions, such as the Dyson equation for G G G ,
i ∂ t 1 G ( 1 , 1 ′ ) = δ ( 1 , 1 ′ ) + h ( 1 ) G ( 1 , 1 ′ ) + ∫ d 2 Σ ( 1 , 2 ) G ( 2 , 1 ′ ) , (6) i\partial_{t_1}G(1,1')=\delta(1,1')+h(1)G(1,1')+\int d2\,\Sigma(1,2)G(2,1'), \tag*{(6)} i ∂ t 1 G ( 1 , 1 ′ ) = δ ( 1 , 1 ′ ) + h ( 1 ) G ( 1 , 1 ′ ) + ∫ d 2 Σ ( 1 , 2 ) G ( 2 , 1 ′ ) , (6)
where Σ \Sigma Σ is the self-energy that encapsulates all the many-body effects.
Limiting ourselves to neutral excitations for simplicity, we denote the number of electron–hole pairs by m m m , so that m t o t = 2 m m_{\mathrm{tot}}=2m m tot = 2 m . An excitation with m m m electrons and m m m holes is described by G 2 m G_{2m} G 2 m ; for m = 1 m=1 m = 1 , the excitation is a ‘single’ excitonic state (note, we use excitonic state to refer to any excitation, regardless of whether the electron and hole are bound; the bound-case corresponds to an exciton) and for m > 1 m>1 m > 1 , it is a multi-excitonic state. G 2 m G_{2m} G 2 m captures the exact (multi-)excitonic energies and dynamics. However, solving the exact equation of motion is no easier than solving for the full dynamics, due to the complexity of the exact self-energy and similar quantities. Thus, in practical quasiparticle classical simulations, additional approximations are made. The validity and accuracy of these heuristic approximations (for certain applications) is ultimately justified by their empirical success and widespread use. From a quantum simulation perspective, these approximations are also significant: the exact equations of motion are non-linear and involve non-Hermitian operators, while the standard classical approximations render them linear with Hermitian operators.
Although we are ultimately interested in the quantum simulation of multi-excitonic states, we first present the simplification of the equation-of-motion for single-excitonic states to reduce the notational complexity. Single excitonic energies appear as poles of the particle-hole correlation function, written as
L ( 1 , 2 ; 1 ′ , 2 ′ ) = − G 2 ( 1 , 2 ; 1 ′ , 2 ′ ) + G ( 1 , 1 ′ ) G ( 2 , 2 ′ ) (7) L(1,2;1',2')=-G_2(1,2;1',2')+G(1,1')G(2,2') \tag*{(7)} L ( 1 , 2 ; 1 ′ , 2 ′ ) = − G 2 ( 1 , 2 ; 1 ′ , 2 ′ ) + G ( 1 , 1 ′ ) G ( 2 , 2 ′ ) (7)
The equation-of-motion of L L L is the Bethe-Salpeter equation (BSE) [23 , 24 ] ,
L ( 1 , 2 ; 1 ′ , 2 ′ ) = L 0 ( 1 , 2 ; 1 ′ , 2 ′ ) + ∫ d ( 3456 ) L 0 ( 1 , 4 ; 1 ′ , 3 ) K ( 3 , 5 ; 4 , 6 ) L ( 6 , 2 ; 5 , 2 ′ ) (8) L(1,2;1',2')=L_0(1,2;1',2')+\int d(3456)\,L_0(1,4;1',3)K(3,5;4,6)L(6,2;5,2') \tag*{(8)} L ( 1 , 2 ; 1 ′ , 2 ′ ) = L 0 ( 1 , 2 ; 1 ′ , 2 ′ ) + ∫ d ( 3456 ) L 0 ( 1 , 4 ; 1 ′ , 3 ) K ( 3 , 5 ; 4 , 6 ) L ( 6 , 2 ; 5 , 2 ′ ) (8)
where L 0 = G ( 1 , 2 ′ ) G ( 2 , 1 ′ ) L_0=G(1,2')G(2,1') L 0 = G ( 1 , 2 ′ ) G ( 2 , 1 ′ ) .
We next introduce the approximate GW-BSE expressions that are used when solving the BSE in first-principles calculations [16 , 17 , 19 ] . Within this formulation, Σ ≈ G ⋅ W \Sigma\approx G\cdot W Σ ≈ G ⋅ W [15 ] where ⋅ \cdot ⋅ abbreviates the integrations, W W W is the screened interaction, and further, in the subsequent BSE equation, Σ \Sigma Σ is taken to be static. Then single quasiparticles are eigenstates of a modified single-particle Hamiltonian, written as ∑ i ϵ p ∣ p ⟩ ⟨ p ∣ \sum_i \epsilon_p|p\rangle\langle p| ∑ i ϵ p ∣ p ⟩ ⟨ p ∣ , where p p p labels the single particle state, and ϵ i \epsilon_i ϵ i is its (self-energy) corrected eigenvalue. Next, the kernel K ( 3 , 5 ; 4 , 6 ) K(3,5;4,6) K ( 3 , 5 ; 4 , 6 ) is approximated by
K ( 3 , 5 ; 4 , 6 ) = − i δ ( 3 , 4 ) δ ( 5 , 6 ) V ( 3 , 6 ) + i δ ( 3 , 6 ) δ ( 4 , 5 ) W ( 3 , 4 ) (9) K(3,5;4,6)=-i\delta(3,4)\delta(5,6)V(3,6)+i\delta(3,6)\delta(4,5)W(3,4) \tag*{(9)} K ( 3 , 5 ; 4 , 6 ) = − i δ ( 3 , 4 ) δ ( 5 , 6 ) V ( 3 , 6 ) + i δ ( 3 , 6 ) δ ( 4 , 5 ) W ( 3 , 4 ) (9)
The first term involves the standard Coulomb interaction V ( 3 , 6 ) = 1 / ∣ r 3 − r 6 ∣ V(3,6)=1/|\mathbf{r}_3-\mathbf{r}_6| V ( 3 , 6 ) = 1/∣ r 3 − r 6 ∣ , this term is called the exchange term. The second term involves the screened Coulomb interaction W ( 3 , 4 ) W(3,4) W ( 3 , 4 ) and is called the direct term; this is formally frequency dependent also, but in most GW-BSE calculations, one uses the static approximation W ( 3 , 4 ) = W ( r 3 , r 4 , ω = 0 ) W(3,4)=W(\mathbf{r}_3,\mathbf{r}_4,\omega=0) W ( 3 , 4 ) = W ( r 3 , r 4 , ω = 0 ) . Finally, dropping the coupling between forwards-in-time and backwards-in-time propagating electron-hole pairs (the Tamm-Dancoff approximation), we arrive at the standard GW-BSE description of dynamics where the equation-of-motion of L L L is generated by a static Hermitian electron-hole effective Hamiltonian H B S E H_{\mathrm{BSE}} H BSE ,
H B S E = H 0 + K (10) H_{\mathrm{BSE}}=H_0+K \tag*{(10)} H BSE = H 0 + K (10)
We can write the two parts of K K K as H o v e x + H o v d i r H_{ov}^{\mathrm{ex}}+H_{ov}^{\mathrm{dir}} H o v ex + H o v dir ; the exchange part describes the scattering from one electron-hole pair into another one by the Coulomb interaction, while the direct part describes the scattering between the electron and hole in an electron-hole pair via the screened interaction. The determination of eigenstates and dynamics within the Bethe-Salpeter equation reduces to the solution of a time-independent and time-dependent Schrödinger equation,
H B S E A = Ω A (11) H_{\mathrm{BSE}}A=\Omega A \tag*{(11)} H BSE A = Ω A (11)
i ∂ t A = H B S E A (12) i\partial_t A=H_{\mathrm{BSE}}A \tag*{(12)} i ∂ t A = H BSE A (12)
where A A A is the excitonic state wavefunction and Ω \Omega Ω is the excitation energy.
We now see that we can make a simple generalization of GW-BSE to multi-excitonic states. This is achieved by taking the Hilbert space to be that of multi-excitonic states, and describing the propagation of electrons and holes by the Fock term H 0 H_0 H 0 and the scattering between electron-hole pairs by H o v e x H^{\mathrm{ex}}_{ov} H o v ex and H o v d i r H^{\mathrm{dir}}_{ov} H o v dir . The only additional ingredient is to treat the electron-electron and hole-hole interactions between different excitons; this takes place via the screened interaction, similar to the direct term.
General nature of speedups versus classical and standard quantum simulation
We may now choose to solve the GW-BSE quasiparticle Schrödinger equations with standard quantum algorithms, for example quantum phase estimation for the eigenvalue problem and Hamiltonian simulation for the dynamics problems. The main difference from the standard quantum simulation problem is that it now involves only m t o t m_{\mathrm{tot}} m tot quasiparticles, counting electrons and holes together. The Hilbert space is polynomial in size and thus the classical GW-BSE simulation methods are polynomial cost in N N N , which is why they are widely used. The quantum speedup we can expect is therefore a polynomial one. We can now establish the origin of the quantum versus classical speedup and the speedup of quasiparticle quantum algorithms versus standard full Hamiltonian simulation quantum algorithms.
The classical linear algebra algorithm involves linear algebra in a Hilbert space of dimension N m t o t N^{m_{\mathrm{tot}}} N m tot . Without additional heuristic structure, we store the classical vector with space N m t o t N^{m_{\mathrm{tot}}} N m tot , and the cost is that of operating on it with the Hamiltonian operator. For a typical 2-body Hamiltonian whose integral matrix elements can be written as an N 2 × N 2 N^2\times N^2 N 2 × N 2 matrix, the cost of applying the Hamiltonian by a matrix-vector product has a O ( N m t o t + 2 ) O(N^{m_{\mathrm{tot}}+2}) O ( N m tot + 2 ) cost.
In the quasiparticle quantum simulation, one is carrying out quantum linear algebra. The qubit count exponentially compresses the Hilbert space, thus there is an exponential savings to represent the state. In terms of gate counts, the cost is to implement the Hamiltonian as a block-encoding [25 , 26 ] , where the cost is related to the classical data that needs to be loaded and the resulting subnormalization of the Hamiltonian, i.e.
C ∼ subnormalization cost × data (13) C \sim\text{subnormalization cost} \times\text{data} \tag*{(13)} C ∼ subnormalization cost × data (13)
However, because the Hamiltonian only contains some fixed-body level of interactions (e.g. two-particle interactions) the amount of data that needs to be loaded is poly ( N ) \operatorname{poly}(N) poly ( N ) , independent of m t o t m_{\mathrm{tot}} m tot . Similarly, because the Hamiltonian is an effective Hamiltonian for m t o t m_{\mathrm{tot}} m tot -particles (regardless of system size), then its subnormalization (lower bounded by the largest singular value of the Hamiltonian) is expected to be poly ( m t o t ) \operatorname{poly}(m_{\mathrm{tot}}) poly ( m tot ) , thus we get the reduction from a N m t o t + c N^{m_{\mathrm{tot}}+c} N m tot + c classical cost to poly ( m t o t ) poly ( N ) \operatorname{poly}(m_{\mathrm{tot}})\operatorname{poly}(N) poly ( m tot ) poly ( N ) quantum cost.
Similarly, we can compare an equivalent operation with the full quantum simulation (either in first or second quantization) [9 , 10 ] . In this case, the cost has a similar form, the amount of data to load to represent the two-particle interactions is similarly poly ( N ) \operatorname{poly}(N) poly ( N ) . However, since the Hamiltonian is now describing N N N -particles, we expect the subnormalization to be poly ( N ) \operatorname{poly}(N) poly ( N ) , thus giving a poly ( N ) / poly ( m t o t ) \operatorname{poly}(N)/\operatorname{poly}(m_{\mathrm{tot}}) poly ( N ) / poly ( m tot ) factor speedup.
While we can tune these speedups to be arbitrarily large by making m t o t m_{\mathrm{tot}} m tot or N N N arbitrarily large, in this work we will be interested in speedup under practical simulation settings. This means that both m t o t m_{\mathrm{tot}} m tot and N N N must correspond to physically relevant problem sizes, while the absolute costs must also be in a reasonable range for an actual simulation. For material sizes we therefore consider N N N in the range of ∼ 1000 \sim1000 ∼ 1000 atoms. For the neutral BSE applications considered here, biexcitons have m = 2 m=2 m = 2 electron–hole pairs (m t o t = 4 m_{\mathrm{tot}}=4 m tot = 4 ), and triexcitons have m = 3 m=3 m = 3 pairs (m t o t = 6 m_{\mathrm{tot}}=6 m tot = 6 ). We mainly focus on the m = 3 m=3 m = 3 triexcitonic case in our resource estimates below as such states are generated and studied in physical experiments [27 , 28 ] , and serve as a balance between classical complexity and direct relevance in multi-excitonic physics.
Explicit formulation
Computational representation
We now specify the multi-exciton Bethe-Salpeter equations, within the Tamm-Dancoff formulation, and using static self-energies and static screening, as commonly used in the GW-BSE framework. We assume we have obtained single-particle mean-field orbitals { ϕ } \{\phi\} { ϕ } and the self-energy corrected orbital energies { ϵ } \{\epsilon\} { ϵ } . We label the occupied (hole) orbitals by i , j , … i,j,\ldots i , j , … and virtual (particle) orbitals, labelled by a , b , … a,b,\ldots a , b , … ; when we do not distinguish between occupied and virtual indices, we use the labels p , q , … p,q,\ldots p , q , … .
The number of occupied labels will be denoted N o N_o N o , the number of virtual labels N v N_v N v , and the total number of labels N A O N_{\mathrm{AO}} N AO . The material contains O ( N ) O(N) O ( N ) electrons, while the neutral m m m -exciton sector contains m t o t = 2 m m_{\mathrm{tot}}=2m m tot = 2 m quasiparticles (m m m electrons and m m m holes), and (without translational symmetry, see below) N A O = O ( N ) N_{\mathrm{AO}}=O(N) N AO = O ( N ) , N o = O ( N ) N_o=O(N) N o = O ( N ) and N v = O ( N ) N_v=O(N) N v = O ( N ) . We will assume a spin-orbital basis, i.e. the basis states are of the form ∣ ϕ σ ⟩ \lvert\phi\sigma\rangle ∣ ϕ σ ⟩ with σ ∈ { ↑ , ↓ } \sigma\in\{\uparrow,\downarrow\} σ ∈ { ↑ , ↓ } . In a crystalline material, the occupied orbitals constitute the core and valence bands, while the virtual orbitals are the conduction bands.
The computational basis is the first-quantized mean-field m m m -particle/m m m -hole basis, i.e. the basis states are labelled
∣ i j … a b … ⟩ ≡ ϕ i ( 1 ) ϕ j ( 2 ) … ϕ a ( 1 ′ ) ϕ b ( 2 ′ ) (14) \lvert ij\ldots ab\ldots\rangle\equiv\phi_i(1)\phi_j(2)\ldots\phi_a(1')\phi_b(2') \tag*{(14)} ∣ ij … ab … ⟩ ≡ ϕ i ( 1 ) ϕ j ( 2 ) … ϕ a ( 1 ′ ) ϕ b ( 2 ′ ) (14)
However, we only interested in the Hamiltonian in the antisymmetric sector of this space, i.e. spanned by states
∣ i j … a b … ⟩ ≡ [ A ϕ i ( 1 ) ϕ j ( 2 ) … ] [ A ϕ a ( 1 ′ ) ϕ b ( 2 ′ ) … ] (15) \lvert ij\ldots ab\ldots\rangle\equiv[\mathcal{A}\,\phi_i(1)\phi_j(2)\ldots][\mathcal{A}\,\phi_a(1')\phi_b(2')\ldots] \tag*{(15)} ∣ ij … ab … ⟩ ≡ [ A ϕ i ( 1 ) ϕ j ( 2 ) … ] [ A ϕ a ( 1 ′ ) ϕ b ( 2 ′ ) … ] (15)
where the two antisymmetrizers act separately on the hole and particle states, and the numeric label range is 1 , 2 , … , m 1,2,\ldots,m 1 , 2 , … , m . Since we will always prepare antisymmetric initial states, we define H B S E H_{\mathrm{BSE}} H BSE to obtain the correct matrix elements under this assumption, which leads to simplifications below, i.e. it removes the need for explicit exchange terms in H o o d i r H_{oo}^{\mathrm{dir}} H oo dir and H v v d i r H_{vv}^{\mathrm{dir}} H v v dir ).
The number of qubits to store the state is O ( m t o t log N ) = O ( m log N ) O(m_{\mathrm{tot}}\log N)=O(m\log N) O ( m tot log N ) = O ( m log N ) , which is to be compared with classical dense vector storage of O ( N 2 m ) O(N^{2m}) O ( N 2 m ) , and first- and second-quantized quantum simulation storage of O ( N log N ) O(N\log N) O ( N log N ) and O ( N ) O(N) O ( N ) , respectively, when the electron number is proportional to N N N . Thus the quasiparticle quantum representation uses exponentially less storage than the classical dense representation, as well as standard first- and second-quantized quantum simulation.
The multi-exciton BSE Hamiltonian is a sum of five terms
H B S E = H 0 + H v v d i r + H o o d i r + H o v e x + H o v d i r . (16) H_{\mathrm{BSE}}=H_0+H_{vv}^{\mathrm{dir}}+H_{oo}^{\mathrm{dir}}+H_{ov}^{\mathrm{ex}}+H_{ov}^{\mathrm{dir}}. \tag*{(16)} H BSE = H 0 + H v v dir + H oo dir + H o v ex + H o v dir . (16)
(Similar forms of H B S E H_{\mathrm{BSE}} H BSE appear in Refs. [29 , 30 , 31 , 32 ] ). The Fock term H 0 H_0 H 0 propagates the electrons and holes. We denote the occupied and virtual Fock matrix by f o f^o f o and f v f^v f v , respectively; here these blocks include the static self-energy correction. In a general basis within each sector,
H 0 = ∑ e ∑ a b σ f a b v ∣ a σ ⟩ ⟨ b σ ∣ e − ∑ h ∑ i j σ f i j o ∣ i σ ⟩ ⟨ j σ ∣ h . (17) \begin{aligned}
H_0={}&\sum_{e}\sum_{ab\sigma}f^v_{ab}\lvert a\sigma\rangle\langle b\sigma\rvert_e\\
&-\sum_{h}\sum_{ij\sigma}f^o_{ij}\lvert i\sigma\rangle\langle j\sigma\rvert_h. \tag*{(17)}
\end{aligned} H 0 = e ∑ abσ ∑ f ab v ∣ aσ ⟩ ⟨ bσ ∣ e − h ∑ ij σ ∑ f ij o ∣ iσ ⟩ ⟨ j σ ∣ h . (17)
Here h , e h,e h , e label the m m m holes and electrons. More commonly, one works in the orbital-energy basis, f i j o = ϵ i δ i j f^o_{ij}=\epsilon_i\delta_{ij} f ij o = ϵ i δ ij and f a b v = ϵ a δ a b f^v_{ab}=\epsilon_a\delta_{ab} f ab v = ϵ a δ ab , so H 0 H_0 H 0 is diagonal. The hole contribution carries − ( f o ) T -(f^o)^{\mathsf{T}} − ( f o ) T . Thus H 0 H_0 H 0 denotes the full Fock term, whereas f o , f v f^o,f^v f o , f v denote its single-particle blocks. H v v d i r H^{\mathrm{dir}}_{vv} H v v dir and H o o d i r H^{\mathrm{dir}}_{oo} H oo dir describe the screened electron-electron and hole-hole interactions
H v v d i r = ∑ e < e ′ ∑ a b c d ∑ σ , σ ′ W a c , b d ∣ a σ ⟩ ⟨ c σ ∣ e ∣ b σ ′ ⟩ ⟨ d σ ′ ∣ e ′ (18) H^{\mathrm{dir}}_{vv}=\sum_{e<e'}\sum_{abcd}\sum_{\sigma,\sigma'}W_{ac,bd}\lvert a\sigma\rangle\langle c\sigma\rvert_e\lvert b\sigma'\rangle\langle d\sigma'\rvert_{e'} \tag*{(18)} H v v dir = e < e ′ ∑ ab c d ∑ σ , σ ′ ∑ W a c , b d ∣ aσ ⟩ ⟨ c σ ∣ e ∣ b σ ′ ⟩ ⟨ d σ ′ ∣ e ′ (18)
H o o d i r = ∑ h < h ′ ∑ i j k l ∑ σ , σ ′ W k i , l j ∣ i σ ⟩ ⟨ k σ ∣ h ∣ j σ ′ ⟩ ⟨ l σ ′ ∣ h ′ (19) H^{\mathrm{dir}}_{oo}=\sum_{h<h'}\sum_{ijkl}\sum_{\sigma,\sigma'}W_{ki,lj}\lvert i\sigma\rangle\langle k\sigma\rvert_h\lvert j\sigma'\rangle\langle l\sigma'\rvert_{h'} \tag*{(19)} H oo dir = h < h ′ ∑ ij k l ∑ σ , σ ′ ∑ W k i , l j ∣ iσ ⟩ ⟨ k σ ∣ h ∣ j σ ′ ⟩ ⟨ l σ ′ ∣ h ′ (19)
The direct term of H o v H_{ov} H o v contains the screened electron-hole interaction
H o v d i r = − ∑ e h ∑ a b i j ∑ σ , σ ′ W b a , i j ∣ b σ ⟩ ⟨ a σ ∣ e ∣ j σ ′ ⟩ ⟨ i σ ′ ∣ h (20) H^{\mathrm{dir}}_{ov}=-\sum_{eh}\sum_{abij}\sum_{\sigma,\sigma'}W_{ba,ij}\lvert b\sigma\rangle\langle a\sigma\rvert_e\lvert j\sigma'\rangle\langle i\sigma'\rvert_h \tag*{(20)} H o v dir = − e h ∑ abij ∑ σ , σ ′ ∑ W ba , ij ∣ bσ ⟩ ⟨ aσ ∣ e ∣ j σ ′ ⟩ ⟨ i σ ′ ∣ h (20)
where we note the minus sign, which produces exciton binding.
The remaining exchange term uses the bare Coulomb interaction in the ( o v ∣ v o ) (ov|vo) ( o v ∣ v o ) ordering and exchanges the two spin labels
H o v e x = ∑ e h ∑ a b i j ∑ σ , σ ′ V i a , b j ∣ j σ ′ ⟩ ⟨ i σ ∣ h ∣ b σ ′ ⟩ ⟨ a σ ∣ e (21) H^{\mathrm{ex}}_{ov}=\sum_{eh}\sum_{abij}\sum_{\sigma,\sigma'}V_{ia,bj}\lvert j\sigma'\rangle\langle i\sigma\rvert_h\lvert b\sigma'\rangle\langle a\sigma\rvert_e \tag*{(21)} H o v ex = e h ∑ abij ∑ σ , σ ′ ∑ V ia , bj ∣ j σ ′ ⟩ ⟨ iσ ∣ h ∣ b σ ′ ⟩ ⟨ aσ ∣ e (21)
This term is responsible for the energy splitting of singlet and triplet excitons.
The one and two-particle terms in H B S E H_{\mathrm{BSE}} H BSE sum over O ( m ) O(m) O ( m ) and O ( m 2 ) O(m^2) O ( m 2 ) quasiparticle terms in their expressions, to be contrasted with the standard first quantized Hamiltonian, which sums over O ( N ) O(N) O ( N ) and O ( N 2 ) O(N^2) O ( N 2 ) terms. This reflects the fact that we are working in a fixed O ( m ) O(m) O ( m ) quasiparticle manifold.
Integral representation and symmetry
The data specifying the Hamiltonian in Eq. (16) are the Fock blocks f o f^{o} f o , f v f^{v} f v (or their eigenvalues ϵ \epsilon ϵ in the orbital-energy basis) and the interaction integrals. We use X ∈ { W , V } X\in\{W,V\} X ∈ { W , V } for either the screened interaction W W W or the bare Coulomb interaction V V V . W W W and V V V have O ( N 4 ) O(N^4) O ( N 4 ) entries and thus dominate the data requirements. However, W W W and V V V are matrix elements of real-space interaction operators, and their data requirements can be reduced using tensor factorization [9 , 33 ] . Here, we use tensor hypercontraction (THC) [34 , 35 ] , similarly to Ref. [33 ] , where we write
X p q , r s ≈ ∑ μ ν χ p μ X ∗ χ q μ X ζ μ ν X χ r ν X ∗ χ s ν X (22) X_{pq,rs}\approx\sum_{\mu\nu}\chi^{X*}_{p\mu}\chi^{X}_{q\mu}\zeta^{X}_{\mu\nu}\chi^{X*}_{r\nu}\chi^{X}_{s\nu} \tag*{(22)} X pq , r s ≈ μν ∑ χ p μ X ∗ χ q μ X ζ μν X χ r ν X ∗ χ s ν X (22)
where μ , ν \mu,\nu μ , ν are auxiliary indices of dimension N T H C N_{\mathrm{THC}} N THC . The orbital indices p , q , r , s p,q,r,s p , q , r , s range over both occupied and virtual orbitals; i , j , … i,j,\ldots i , j , … and a , b , … a,b,\ldots a , b , … select the occupied and virtual rows of the same tensor χ X \chi^{X} χ X . We retain sector labels only for whole block operators, denoting these row restrictions by χ X , o \chi^{X,o} χ X , o and χ X , v \chi^{X,v} χ X , v . The W W W and V V V factorizations are fitted separately and may have different auxiliary dimensions; N T H C N_{\mathrm{THC}} N THC denotes the dimension of the factorization under discussion. In standard electronic structure applications with a local atomic basis of dimension N A O N_{\mathrm{AO}} N AO , the factorization is chosen to preserve a fixed relative error in the total energies by using constant c I P = N T H C / N A O c_{\mathrm{IP}}=N_{\mathrm{THC}}/N_{\mathrm{AO}} c IP = N THC / N AO with system size. This reduces the data to O ( N 2 ) O(N^2) O ( N 2 ) .
As analyzed in Ref. [9 ] , we can further reduce the data requirements using translational symmetry. In a crystalline material, we can construct single-particle Bloch states labelled by crystal momentum k \mathbf{k} k . We use the standard prescription of taking values on an evenly spaced Brillouin zone mesh with N k N_k N k points [36 ] ; N k N_k N k labels the size of an equivalent computational supercell with periodic boundary conditions, and for a fixed number of bands N A O N_{\mathrm{AO}} N AO , N = N k N A O N=N_kN_{\mathrm{AO}} N = N k N AO . The crystalline electron and hole orbitals acquire are labelled by i k i\mathbf{k} i k and a k a\mathbf{k} a k respectively, where N o N_o N o now labels the occupied bands per cell, and N v N_v N v , the virtual bands per cell. Crystal-momentum conservation allows us to write the integrals as
X p k , q ( k ⊖ Q ) , r ( k ′ ⊖ Q ) , s k ′ (23) X_{\mathbf{p}\mathbf{k},\mathbf{q}(\mathbf{k}\ominus\mathbf{Q}),\mathbf{r}(\mathbf{k}'\ominus\mathbf{Q}),\mathbf{s}\mathbf{k}'} \tag*{(23)} X pk , q ( k ⊖ Q ) , r ( k ′ ⊖ Q ) , s k ′ (23)
where ⊖ \ominus ⊖ denotes subtraction modulo reciprocal lattice vectors. The common THC factorization is
X p k , q ( k ⊖ Q ) , r ( k ′ ⊖ Q ) , s k ′ ≈ 1 N k ∑ μ ν χ p k , μ X ∗ χ q ( k ⊖ Q ) , μ X ζ Q , μ ν X χ r ( k ′ ⊖ Q ) , ν X ∗ χ s k ′ , ν X (24) X_{\mathbf{p}\mathbf{k},\mathbf{q}(\mathbf{k}\ominus\mathbf{Q}),\mathbf{r}(\mathbf{k}'\ominus\mathbf{Q}),\mathbf{s}\mathbf{k}'}
\approx\frac{1}{N_k}\sum_{\mu\nu}\chi^{X*}_{\mathbf{p}\mathbf{k},\mu}\chi^{X}_{\mathbf{q}(\mathbf{k}\ominus\mathbf{Q}),\mu}\zeta^{X}_{\mathbf{Q},\mu\nu}\chi^{X*}_{\mathbf{r}(\mathbf{k}'\ominus\mathbf{Q}),\nu}\chi^{X}_{\mathbf{s}\mathbf{k}',\nu} \tag*{(24)} X pk , q ( k ⊖ Q ) , r ( k ′ ⊖ Q ) , s k ′ ≈ N k 1 μν ∑ χ pk , μ X ∗ χ q ( k ⊖ Q ) , μ X ζ Q , μν X χ r ( k ′ ⊖ Q ) , ν X ∗ χ s k ′ , ν X (24)
This expression applies to all orbital sectors. The direct terms use X = W X=W X = W with the orbital-index choices in Eqs. (18) –(20) ; the exchange term uses $X=V$ with the mixed occupied–virtual pairs in (21) . The data size is then O ( N k c I P N A O 2 ) + O ( N k c I P 2 N A O 2 ) O(N_kc_{\mathrm{IP}}N_{\mathrm{AO}}^2)+O(N_kc_{\mathrm{IP}}^2N_{\mathrm{AO}}^2) O ( N k c IP N AO 2 ) + O ( N k c IP 2 N AO 2 ) . Since N A O N_{\mathrm{AO}} N AO and c I P c_{\mathrm{IP}} c IP are independent of system size, and N k = O ( N ) N_k=O(N) N k = O ( N ) , the total data requirement is reduced to O ( N ) O(N) O ( N ) . Beyond lattice translational symmetry, most crystals have additional symmetry elements given by their space group [37 ] . We denote the finite symmetry group of the periodic supercell by G G G and its compatible point group by P P P , so that ∣ G ∣ = N k ∣ P ∣ |G|=N_k|P| ∣ G ∣ = N k ∣ P ∣ . The momentum vectors are then split into approximately N k / ∣ P ∣ N_k/|P| N k /∣ P ∣ momentum stars (with each star specified by the same data), where ∣ P ∣ |P| ∣ P ∣ is the order of the crystal point group. We discuss the detailed implementation of space-group adaptation further in section III C.
Block encoding and data loading
We now determine the quantum resource cost of quantum phase estimation (QPE) [38 ] for computing eigenvalues of the BSE Hamiltonian H B S E H_{\mathrm{BSE}} H BSE . We do not include the initial state preparation cost, although adiabatic state preparation is a natural strategy [39 , 40 ] for weakly- to moderately-correlated semiconductor excitonic states, starting from the orbital product states. We use a fault-tolerant cost model of Toffoli count and logical qubit count. In this cost model, the standard method is to use qubitization [25 , 33 , 41 , 42 ] , where one constructs the walk operator W = ( 2 ∣ 0 ⟩ ⟨ 0 ∣ ⊗ I − I ) U W = (2|0\rangle\langle0| \otimes I - I)U W = ( 2∣0 ⟩ ⟨ 0∣ ⊗ I − I ) U , where U U U is a self-inverse block encoding of H B S E H_{\mathrm{BSE}} H BSE . The eigenvalues of W W W are e ± i arccos ( E / λ ) e^{\pm i\arccos(E/\lambda)} e ± i a r c c o s ( E / λ ) , where E E E are the eigenvalues of H B S E H_{\mathrm{BSE}} H BSE and λ \lambda λ is the subnormalization of the block encoding. As shown in Ref. [33 ] , to estimate an eigenvalue to accuracy ϵ Q P E \epsilon_{\mathrm{QPE}} ϵ QPE , the total cost is
C Q P E = ⌈ π λ 2 ϵ Q P E ⌉ C w a l k . (25) C_{\mathrm{QPE}} = \left\lceil\frac{\pi\lambda}{2\epsilon_{\mathrm{QPE}}} \right\rceil C_{\mathrm{walk}}. \tag*{(25)} C QPE = ⌈ 2 ϵ QPE π λ ⌉ C walk . (25)
Up to the small number of Toffolis associated with the reflection operation in W W W , C w a l k C_{\mathrm{walk}} C walk is equivalent to the block-encoding cost, thus both C w a l k C_{\mathrm{walk}} C walk and λ \lambda λ are set by the block encoding method.
A standard block encoding strategy is to decompose the Hamiltonian into a linear combination of unitaries (LCU) [43 ] , with H = ∑ μ c μ U μ H = \sum_{\mu} c_{\mu}U_{\mu} H = ∑ μ c μ U μ , where U μ U_{\mu} U μ does not require an additional complicated synthesis, and with a total subnormalization λ = ∑ μ ∣ c μ ∣ \lambda= \sum_{\mu} |c_{\mu}| λ = ∑ μ ∣ c μ ∣ . Examples of this approach include the sum of Paulis LCU in second quantized quantum simulation, where the coefficients are the integrals, e.g. V p q , r s V_{pq,rs} V pq , r s , or the tensor hypercontraction analog, where the coefficients are e.g. ζ μ ν Q \zeta^{Q}_{\mu\nu} ζ μν Q , and the unitaries are Givens rotations of Pauli operators [33 , 41 , 44 ] .
However, the BSE Hamiltonian, and especially its exchange part, has a different structure, that makes an analogous LCU summation (and in particular a summation over Q Q Q ) unfavourable. Physically, treating an electron–hole pair as a single exciton (mathematically grouping the i a ia ia and j b jb j b indices in Eq. (21) ), the exchange Hamiltonian for one pair can be written conceptually as
H o v e x , p r o t o = ∑ Q V ( Q ) ∣ e x c i t o n , Q ⟩ ⟨ e x c i t o n , Q ∣ . (26) H_{ov}^{\mathrm{ex,proto}} = \sum_Q V(Q)|\mathrm{exciton}, Q\rangle\langle\mathrm{exciton}, Q|. \tag*{(26)} H o v ex , proto = Q ∑ V ( Q ) ∣ exciton , Q ⟩ ⟨ exciton , Q ∣. (26)
Here ∣ e x c i t o n , Q ⟩ |\mathrm{exciton}, Q\rangle ∣ exciton , Q ⟩ represents a Bloch exciton state with momentum Q Q Q . In the long-range asymptotic limit, V ( Q ) V(Q) V ( Q ) is governed by the dipole–dipole kernel Q Q / ∣ Q ∣ 2 − I / 3 QQ/|Q|^2 - I/3 QQ /∣ Q ∣ 2 − I /3 (see details in Appendix C), therefore each Q Q Q has almost uniform O ( 1 ) O(1) O ( 1 ) operator norm, while the full exchange Hamiltonian also has O ( 1 ) O(1) O ( 1 ) operator norm. Therefore, a naive LCU sum over Q Q Q introduces an unnecessary O ( N k ) O(N_k) O ( N k ) higher subnormalization, even if each momentum block is encoded optimally.
We thus use a more natural LCU construction of H B S E H_{\mathrm{BSE}} H BSE . More specifically, from Eq. (16) , we have (i) a sum over 5 terms (templates), (ii) within each term, we have a sum over the quasiparticles (electrons, e e e , or holes h h h ) and occupied/virtual combinations, and then finally (iii) a summation over the orbital labels, which yields the prototerms, which we can construct by direct synthesis. For example, for H o o d i r H_{oo}^{\mathrm{dir}} H oo dir , the prototerm is
H o o d i r , p r o t o = ∑ σ σ ′ ∑ i j k l W k i , l j ∣ i σ ⟩ ⟨ k σ ∣ ⊗ ∣ j σ ′ ⟩ ⟨ l σ ′ ∣ . (27) H_{oo}^{\mathrm{dir,proto}} = \sum_{\sigma\sigma'}\sum_{ijkl} W_{ki,lj}|i\,\sigma\rangle\langle k\,\sigma| \otimes|j\,\sigma'\rangle\langle l\,\sigma'|. \tag*{(27)} H oo dir , proto = σ σ ′ ∑ ij k l ∑ W k i , l j ∣ i σ ⟩ ⟨ k σ ∣ ⊗ ∣ j σ ′ ⟩ ⟨ l σ ′ ∣. (27)
The prototerm is the same for any pair of holes. Thus the summation in (i) is implemented by a PREPARE of W W W and standard SELECT LCU, but in (ii) PREPARE is followed by a SELECT which is implemented by a routing network which routes the selected hole registers h , h ′ h,h' h , h ′ to a single synthesized prototerm. The resulting Toffoli cost and subnormalization are given by
C w a l k = C 0 + C o o d i r + C v v d i r + C o v e x + C o v d i r + C e x t r a , (28) C_{\mathrm{walk}} = C_0 + C_{oo}^{\mathrm{dir}} + C_{vv}^{\mathrm{dir}} + C_{ov}^{\mathrm{ex}} + C_{ov}^{\mathrm{dir}} + C_{\mathrm{extra}}, \tag*{(28)} C walk = C 0 + C oo dir + C v v dir + C o v ex + C o v dir + C extra , (28)
λ = λ 0 + λ e x + λ d i r , (29) \lambda= \lambda_0 + \lambda_{\mathrm{ex}} + \lambda_{\mathrm{dir}}, \tag*{(29)} λ = λ 0 + λ ex + λ dir , (29)
λ 0 = m λ ~ 0 , λ e x = m 2 λ ~ o v e x , (30) \lambda_0 = m\widetilde{\lambda}_0,\qquad\lambda_{\mathrm{ex}} = m^2\widetilde{\lambda}_{ov}^{\mathrm{ex}}, \tag*{(30)} λ 0 = m λ 0 , λ ex = m 2 λ o v ex , (30)
λ d i r = ( m 2 ) ( λ ~ o o d i r + λ ~ v v d i r ) + m 2 λ ~ o v d i r . (31) \lambda_{\mathrm{dir}} = \binom{m}{2}\left(\widetilde{\lambda}_{oo}^{\mathrm{dir}} + \widetilde{\lambda}_{vv}^{\mathrm{dir}}\right) + m^2\widetilde{\lambda}_{ov}^{\mathrm{dir}}. \tag*{(31)} λ dir = ( 2 m ) ( λ oo dir + λ v v dir ) + m 2 λ o v dir . (31)
Here C 0 C_0 C 0 and λ 0 \lambda_0 λ 0 are the walk cost and subnormalization of the Fock term H 0 H_0 H 0 . λ \lambda λ (without the tilde) denotes subnormalization of the full m m m -exciton effective Hamiltonian and its components, while λ ~ \widetilde{\lambda} λ denotes those of individual one- or two-body terms acting on one or two electrons or holes. The cost C e x t r a C_{\mathrm{extra}} C extra contains extra subleading terms, such as preparing the LCU coefficients, register routing, momentum arithmetic, Fourier transforms, and reflection operator for the walk operator (note all such costs are included in our numerical resource estimates). For gapped systems at fixed basis resolution and fitting accuracy, the prototerm subnormalizations λ ~ \widetilde{\lambda} λ and, at fixed m m m , the total subnormalization λ \lambda λ , are theoretically expected to scale asymptotically as O ( 1 ) O(1) O ( 1 ) (see Appendix § 4 ). In the numerical results for the Coulomb interaction below, we observe an effective scaling λ ∝ N α \lambda\propto N^{\alpha} λ ∝ N α over the system sizes studied, with a small exponent α ≪ 1 \alpha\ll1 α ≪ 1 . Since m = O ( 1 ) m = O(1) m = O ( 1 ) , for N N N of interest, the total subnormalization is within a small factor of the optimal subnormalization of H B S E H_{\mathrm{BSE}} H BSE .
We now discuss the synthesis and subnormalization of the prototerms. We note that the Fock term H 0 H_0 H 0 is diagonal in the orbital-energy basis, and the two-particle matrices X ∈ { W , V } X \in\{W,V\} X ∈ { W , V } are block-diagonal due to translational symmetry. We will use optimized direct synthesis methods based on the interferometer-based unitary synthesis in Sec III of [45 ] , a modified column-by-column isometry synthesis [46 ] , and QROAM-loaded rotations for diagonal operators, all adapted to block-diagonal matrices.
The Fock term can be synthesized easily and contributes little to the total cost, so we start with the two-body o o oo oo , v v vv v v , and o v ov o v direct terms. Since the procedure is similar for all three, we continue with the o o oo oo example. Using the factorized integrals, we rewrite the same prototerm defined in Eq. (27)
H o o d i r , p r o t o = 1 N k ∑ k ′ ⊖ Q ∑ Q ∑ μ ν ζ Q , μ ν W [ ∑ i i ′ χ i ′ ( k ⊖ Q ) , μ W , o χ i k , μ W , ∗ ∣ i ′ , k ⊖ Q ⟩ ⟨ i , k ∣ ] ⊗ [ ∑ j j ′ χ j ′ ( k ′ ⊖ Q ) , ν W , ∗ χ j k ′ , ν W , o ∣ j ′ , k ′ ⊖ Q ⟩ ⟨ j , k ′ ∣ ] (32) H_{oo}^{\mathrm{dir,proto}} = \frac{1}{N_k} \sum_{k' \ominus Q} \sum_{Q} \sum_{\mu\nu} \zeta^{W}_{Q,\mu\nu} \left[\sum_{ii'} \chi^{W,o}_{i'(k\ominus Q),\mu} \chi^{W,*}_{ik,\mu} \lvert i',k\ominus Q\rangle\langle i,k\rvert\right] \otimes\left[\sum_{jj'} \chi^{W,*}_{j'(k'\ominus Q),\nu} \chi^{W,o}_{jk',\nu} \lvert j',k'\ominus Q\rangle\langle j,k'\rvert\right] \tag*{(32)} H oo dir , proto = N k 1 k ′ ⊖ Q ∑ Q ∑ μν ∑ ζ Q , μν W [ i i ′ ∑ χ i ′ ( k ⊖ Q ) , μ W , o χ ik , μ W , ∗ ∣ i ′ , k ⊖ Q ⟩ ⟨ i , k ∣ ] ⊗ j j ′ ∑ χ j ′ ( k ′ ⊖ Q ) , ν W , ∗ χ j k ′ , ν W , o ∣ j ′ , k ′ ⊖ Q ⟩ ⟨ j , k ′ ∣ (32)
where we have suppressed the spin summation for simplicity. (Technically, if we include spin, H o o d i r , p r o t o → H o o d i r , p r o t o ⊗ I σ H_{oo}^{\mathrm{dir,proto}} \to H_{oo}^{\mathrm{dir,proto}} \otimes I_{\sigma} H oo dir , proto → H oo dir , proto ⊗ I σ , where I I I is an identity operator in the spin sector and does not increase the subnormalization, and the additional synthesis can be implemented with subleading costs).
Define the block-diagonal matrix
χ W , o = ∑ k i μ χ k i , μ W ∣ k i ⟩ ⟨ k μ ∣ , (33) \chi^{W,o} = \sum_{ki\mu} \chi^{W}_{ki,\mu} \lvert ki\rangle\langle k\mu\rvert, \tag*{(33)} χ W , o = k i μ ∑ χ k i , μ W ∣ k i ⟩ ⟨ k μ ∣ , (33)
H o o d i r , p r o t o H_{oo}^{\mathrm{dir,proto}} H oo dir , proto can thus be expressed as
H o o d i r , p r o t o = ( χ W , o ⊗ χ W , o ) Z o o d i r ( χ W , o ⊗ χ W , o ) † (34) H_{oo}^{\mathrm{dir,proto}} = \left(\chi^{W,o} \otimes\chi^{W,o}\right) Z_{oo}^{\mathrm{dir}} \left(\chi^{W,o} \otimes\chi^{W,o}\right)^{\dagger} \tag*{(34)} H oo dir , proto = ( χ W , o ⊗ χ W , o ) Z oo dir ( χ W , o ⊗ χ W , o ) † (34)
with
Z o o d i r = 1 N k ∑ k ′ Q ∑ μ ν ζ Q , μ ν W ∣ k ⊖ Q , μ ⟩ ⟨ k , μ ∣ ⊗ ∣ k ′ , ν ⟩ ⟨ k ′ ⊖ Q , ν ∣ (35) Z_{oo}^{\mathrm{dir}} = \frac{1}{N_k} \sum_{k'Q} \sum_{\mu\nu} \zeta^{W}_{Q,\mu\nu} \lvert k\ominus Q,\mu\rangle\langle k,\mu\rvert\otimes\lvert k',\nu\rangle\langle k'\ominus Q,\nu\rvert \tag*{(35)} Z oo dir = N k 1 k ′ Q ∑ μν ∑ ζ Q , μν W ∣ k ⊖ Q , μ ⟩ ⟨ k , μ ∣ ⊗ ∣ k ′ , ν ⟩ ⟨ k ′ ⊖ Q , ν ∣ (35)
and our task is to encode the operators χ W , o \chi^{W,o} χ W , o and Z o o d i r Z_{oo}^{\mathrm{dir}} Z oo dir . We first transform to real space where Z o o d i r Z_{oo}^{\mathrm{dir}} Z oo dir is diagonal, which means that loading the diagonal entries achieves the optimal subnormalization. Define the Fourier-transformed central factor ζ ~ R , μ ν W = N k − 1 ∑ Q e i Q ⋅ R ζ Q , μ ν W \widetilde{\zeta}^{W}_{R,\mu\nu} = N_k^{-1}\sum_Q e^{iQ\cdot R}\zeta^{W}_{Q,\mu\nu} ζ R , μν W = N k − 1 ∑ Q e i Q ⋅ R ζ Q , μν W , together with the diagonal operator
ζ ~ W = ∑ R 1 μ R 2 ν ζ ~ R 1 ⊖ R 2 , μ ν W ∣ R 1 μ R 2 ν ⟩ ⟨ R 1 μ R 2 ν ∣ . (36) \widetilde{\zeta}^{W} = \sum_{R_1\mu R_2\nu} \widetilde{\zeta}^{W}_{R_1\ominus R_2,\mu\nu} \lvert R_1\mu R_2\nu\rangle\langle R_1\mu R_2\nu\rvert. \tag*{(36)} ζ W = R 1 μ R 2 ν ∑ ζ R 1 ⊖ R 2 , μν W ∣ R 1 μ R 2 ν ⟩ ⟨ R 1 μ R 2 ν ∣ . (36)
Then Z o o d i r = ( F ⊗ F ) ζ ~ W ( F ⊗ F ) † Z_{oo}^{\mathrm{dir}} = (F\otimes F)\widetilde{\zeta}^{W}(F\otimes F)^{\dagger} Z oo dir = ( F ⊗ F ) ζ W ( F ⊗ F ) † , where F ∣ R ⟩ = N k − 1 / 2 ∑ k e i k ⋅ R ∣ k ⟩ F\lvert R\rangle= N_k^{-1/2}\sum_k e^{ik\cdot R}\lvert k\rangle F ∣ R ⟩ = N k − 1/2 ∑ k e ik ⋅ R ∣ k ⟩ is the Fourier transform on a momentum register. To encode ζ ~ W \widetilde{\zeta}^{W} ζ W , we compute R = R 1 ⊖ R 2 R=R_1\ominus R_2 R = R 1 ⊖ R 2 in place for addressing and use QROAM [42 , 47 ] to load the elements ζ ~ R , μ ν W / ∥ ζ ~ W ∥ \widetilde{\zeta}^{W}_{R,\mu\nu}/\lVert\widetilde{\zeta}^{W}\rVert ζ R , μν W / ∥ ζ W ∥ via the angles θ R μ ν = arccos ( ζ ~ R , μ ν W / ∥ ζ ~ W ∥ ) \theta_{R\mu\nu}=\arccos(\widetilde{\zeta}^{W}_{R,\mu\nu}/\lVert\widetilde{\zeta}^{W}\rVert) θ R μν = arccos ( ζ R , μν W / ∥ ζ W ∥) and a multiplexed rotation to transfer them into the block encoding [48 ] with subnormalization ∥ ζ ~ W ∥ \lVert\widetilde{\zeta}^{W}\rVert ∥ ζ W ∥ ; the angle and the difference are subsequently uncomputed.
Using ζ ~ W \widetilde{\zeta}^{W} ζ W and the Fourier transform circuit, we compose the block-encoding circuit shown in Figure 1 (a). The matrix χ W , o \chi^{W,o} χ W , o contains N k N_k N k blocks of size N o × N T H C N_o\times N_{\mathrm{THC}} N o × N THC . We normalize all blocks by the common norm ∥ χ W , o ∥ \lVert\chi^{W,o}\rVert ∥ χ W , o ∥ , embed each block into an isometry, and synthesize the blocks together using the column-by-column method described in Appendix A4, where the dominant cost is again the QROAM data-loading of rotation angles. The v v vv v v and direct o v ov o v terms have the same structure, with the appropriate occupied or virtual factors and Fourier directions. Note that there are shared circuit components; for example, the o o oo oo , v v vv v v , and direct o v ov o v terms share the same χ W , o \chi^{W,o} χ W , o , χ W , v \chi^{W,v} χ W , v , ζ ~ W \widetilde{\zeta}^{W} ζ W . The cost accounting for these shared components is summarized in Table III of Appendix A. The primitive direct subnormalizations are computed as
Figure 1. Block encodings of the direct and exchange term. (a) The direct o o oo oo circuit, where F F F is the Fourier transform on the momentum registers, χ W , o \chi^{W,o} χ W , o is the block isometry of Eq. (33) , and ζ ~ W \widetilde{\zeta}^{W} ζ W is the diagonal operator of Eq. (36) . The v v vv v v and direct o v ov o v circuits use the same structure. (b) The exchange o v ov o v circuit, where χ S V , o \chi_{S}^{V,o} χ S V , o is the state preparation of Eq. (46) , controlled by k k k and the auxiliary index.
Table III. Factors in each term. Table III. Primitive composition and leading costs for the translation-only block-encoding.
λ ~ o o d i r = ∥ χ W , o ∥ 2 ∥ ζ ~ W ∥ , (37) \widetilde{\lambda}_{oo}^{\mathrm{dir}}=\lVert\chi^{W,o}\rVert^2\lVert\widetilde{\zeta}^{W}\rVert, \tag*{(37)} λ oo dir = ∥ χ W , o ∥ 2 ∥ ζ W ∥ , (37)
λ ~ v v d i r = ∥ χ W , v ∥ 2 ∥ ζ ~ W ∥ , (38) \widetilde{\lambda}_{vv}^{\mathrm{dir}}=\lVert\chi^{W,v}\rVert^2\lVert\widetilde{\zeta}^{W}\rVert, \tag*{(38)} λ v v dir = ∥ χ W , v ∥ 2 ∥ ζ W ∥ , (38)
λ ~ o v d i r = ∥ χ W , o ∥ ∥ χ W , v ∥ ∥ ζ ~ W ∥ . (39) \widetilde{\lambda}_{ov}^{\mathrm{dir}}=\lVert\chi^{W,o}\rVert\lVert\chi^{W,v}\rVert\lVert\widetilde{\zeta}^{W}\rVert. \tag*{(39)} λ o v dir = ∥ χ W , o ∥ ∥ χ W , v ∥ ∥ ζ W ∥ . (39)
Here ∥ ζ ~ W ∥ \lVert\widetilde{\zeta}^{W}\rVert ∥ ζ W ∥ is the largest absolute real-space matrix element in Eq. (36) . We next describe the synthesis cost and the subnormalization of the exchange o v ov o v term. With THC integrals, and temporarily neglecting spin, this takes the form
H o v e x , p r o t o = 1 N k ∑ k k ′ Q ∑ μ ν ζ Q , μ ν V [ ∑ i j χ j k , μ V χ i k ′ , ν V ∗ ∣ j , k ⟩ ⟨ i , k ′ ∣ ] h ⊗ [ ∑ a b χ b ( k ⊕ Q ) , μ V ∗ χ a ( k ′ ⊕ Q ) , ν V ∣ b , k ⊕ Q ⟩ ⟨ a , k ′ ⊕ Q ∣ ] e . (40) H_{ov}^{\mathrm{ex,proto}} = \frac{1}{N_k} \sum_{\mathbf{k}\mathbf{k}'\mathbf{Q}} \sum_{\mu\nu} \zeta_{\mathbf{Q},\mu\nu}^{V} \left[\sum_{ij} \chi_{jk,\mu}^{V}\chi_{ik',\nu}^{V*} |j,\mathbf{k}\rangle\langle i,\mathbf{k}'| \right]_{h} \otimes\left[\sum_{ab} \chi_{b(\mathbf{k}\oplus\mathbf{Q}),\mu}^{V*}\chi_{a(\mathbf{k}'\oplus\mathbf{Q}),\nu}^{V} |b,\mathbf{k}\oplus\mathbf{Q}\rangle\langle a,\mathbf{k}'\oplus\mathbf{Q}| \right]_{e}. \tag*{(40)} H o v ex , proto = N k 1 k k ′ Q ∑ μν ∑ ζ Q , μν V [ ij ∑ χ j k , μ V χ i k ′ , ν V ∗ ∣ j , k ⟩ ⟨ i , k ′ ∣ ] h ⊗ [ ab ∑ χ b ( k ⊕ Q ) , μ V ∗ χ a ( k ′ ⊕ Q ) , ν V ∣ b , k ⊕ Q ⟩ ⟨ a , k ′ ⊕ Q ∣ ] e . (40)
Factoring out the orbital factors as before gives
H o v e x , p r o t o = ( χ V , o ⊗ ( χ V , v ) ∗ ) Z o v e x ( χ V , o ⊗ ( χ V , v ) ∗ ) † (41) H_{ov}^{\mathrm{ex,proto}} = \left(\chi^{V,o}\otimes(\chi^{V,v})^{*}\right)Z_{ov}^{\mathrm{ex}}\left(\chi^{V,o}\otimes(\chi^{V,v})^{*}\right)^{\dagger} \tag*{(41)} H o v ex , proto = ( χ V , o ⊗ ( χ V , v ) ∗ ) Z o v ex ( χ V , o ⊗ ( χ V , v ) ∗ ) † (41)
with
Z o v e x = 1 N k ∑ k k ′ ∑ Q ∑ μ ν ζ Q , μ ν V ∣ k , μ ⟩ ⟨ k ′ , ν ∣ h ⊗ ∣ k ⊕ Q , μ ⟩ ⟨ k ′ ⊕ Q , ν ∣ e . (42) Z_{ov}^{\mathrm{ex}} = \frac{1}{N_k}\sum_{\mathbf{k}\mathbf{k}'}\sum_{\mathbf{Q}}\sum_{\mu\nu}\zeta_{\mathbf{Q},\mu\nu}^{V}|\mathbf{k},\mu\rangle\langle\mathbf{k}',\nu|_{h}
\otimes|\mathbf{k}\oplus\mathbf{Q},\mu\rangle\langle\mathbf{k}'\oplus\mathbf{Q},\nu|_{e}. \tag*{(42)} Z o v ex = N k 1 k k ′ ∑ Q ∑ μν ∑ ζ Q , μν V ∣ k , μ ⟩ ⟨ k ′ , ν ∣ h ⊗ ∣ k ⊕ Q , μ ⟩ ⟨ k ′ ⊕ Q , ν ∣ e . (42)
Two features distinguish this from Z o o d i r Z_{oo}^{\mathrm{dir}} Z oo dir of Eq. (35) . First, μ \mu μ labels both kets and ν \nu ν both bras, so ζ V \zeta^{V} ζ V acts as a matrix from ν \nu ν to μ \mu μ rather than as a coefficient. Second, the momenta enter as correlated electron–hole pairs, ( k , k ⊕ Q ) (\mathbf{k},\mathbf{k}\oplus\mathbf{Q}) ( k , k ⊕ Q ) on the ket side and ( k ′ , k ′ ⊕ Q ) (\mathbf{k}',\mathbf{k}'\oplus\mathbf{Q}) ( k ′ , k ′ ⊕ Q ) on the bra side, sharing a common exciton momentum Q \mathbf{Q} Q . Both features are expressed by the two isometries,
T = 1 N k ∑ k Q ( ∣ k ⟩ ∣ k ⊕ Q ⟩ ) ⟨ Q ∣ , Φ = ∑ μ ( ∣ μ ⟩ ∣ μ ⟩ ) ⟨ μ ∣ , (43) T=\frac{1}{\sqrt{N_k}}\sum_{\mathbf{k}\mathbf{Q}}(|\mathbf{k}\rangle|\mathbf{k}\oplus\mathbf{Q}\rangle)\langle\mathbf{Q}|,\qquad\Phi=\sum_{\mu}(|\mu\rangle|\mu\rangle)\langle\mu|, \tag*{(43)} T = N k 1 kQ ∑ ( ∣ k ⟩ ∣ k ⊕ Q ⟩) ⟨ Q ∣ , Φ = μ ∑ ( ∣ μ ⟩ ∣ μ ⟩) ⟨ μ ∣ , (43)
which build the correlated momentum pair and duplicate the auxiliary label respectively. Defining the block-diagonal matrix,
ζ V = ∑ Q μ ν ζ Q , μ ν V ∣ Q μ ⟩ ⟨ Q ν ∣ , (44) \zeta^{V}=\sum_{\mathbf{Q}\mu\nu}\zeta_{\mathbf{Q},\mu\nu}^{V}|\mathbf{Q}\mu\rangle\langle\mathbf{Q}\nu|, \tag*{(44)} ζ V = Q μν ∑ ζ Q , μν V ∣ Q μ ⟩ ⟨ Q ν ∣ , (44)
with dense square blocks of sizes N T H C × N T H C N_{\mathrm{THC}}\times N_{\mathrm{THC}} N THC × N THC , we have
Z o v e x = ( T ⊗ Φ ) ζ V ( T ⊗ Φ ) † , (45) Z_{ov}^{\mathrm{ex}}=(T\otimes\Phi)\zeta^{V}(T\otimes\Phi)^{\dagger}, \tag*{(45)} Z o v ex = ( T ⊗ Φ ) ζ V ( T ⊗ Φ ) † , (45)
To block encode ζ V \zeta^{V} ζ V , we decompose each block into the U D U † UDU^{\dagger} U D U † form, construct the eigenbasis transformation using the block unitary synthesis [42 , 45 ] detailed in Appendix A § 10.2 and encode the eigenvalues as a diagonal operator. Similarly to the direct case, we encode χ V , v \chi^{V,v} χ V , v as a block isometry. For χ V , o \chi^{V,o} χ V , o , we find an improved Toffoli count and subnormalization by fusing χ V , o \chi^{V,o} χ V , o with Φ \Phi Φ (which consumes one of the μ \mu μ copies in Φ \Phi Φ , leaving the other to act on by χ V , v \chi^{V,v} χ V , v ). The fused operator corresponds to
χ S V , o : = ∑ k μ ∣ k μ ⟩ ⟨ k μ ∣ [ ( 1 γ o ∑ i χ i k , μ V ∗ ∣ i ⟩ ) + ∣ ⊥ k , μ ⟩ ] , (46) \chi^{V,o}_{S}:=\sum_{\mathbf{k}\mu}|\mathbf{k}\mu\rangle\langle\mathbf{k}\mu|\left[\left(\frac{1}{\gamma_o}\sum_i\chi_{ik,\mu}^{V*}|i\rangle\right)+|\perp_{\mathbf{k},\mu}\rangle\right], \tag*{(46)} χ S V , o := k μ ∑ ∣ k μ ⟩ ⟨ k μ ∣ [ ( γ o 1 i ∑ χ ik , μ V ∗ ∣ i ⟩ ) + ∣ ⊥ k , μ ⟩ ] , (46)
γ o : = max k , μ ( ∑ i ∣ χ i k , μ V ∣ 2 ) 1 / 2 . (47) \gamma_o:=\max_{\mathbf{k},\mu}\left(\sum_i|\chi_{ik,\mu}^{V}|^2\right)^{1/2}. \tag*{(47)} γ o := k , μ max ( i ∑ ∣ χ ik , μ V ∣ 2 ) 1/2 . (47)
where ∣ ⊥ k , μ ⟩ |\perp_{\mathbf{k},\mu}\rangle ∣ ⊥ k , μ ⟩ is an orthogonal component that normalizes the state, which will be projected out in the block-encoding. Compared with the block isometry encoding, this replaces the operator norm with γ o \gamma_o γ o , the largest column norm over ( k , μ ) (\mathbf{k},\mu) ( k , μ ) . The overall circuit construction is shown in Figure 1 (b). Together, these factors give the primitive exchange subnormalization
λ ~ o v e x : = 2 ∥ χ V , v ∥ 2 2 ∥ χ V , o ∥ 2 2 γ o 2 . (48) \widetilde{\lambda}_{ov}^{\mathrm{ex}}:=2\|\chi^{V,v}\|_2^2\|\chi^{V,o}\|_2^2\gamma_o^2. \tag*{(48)} λ o v ex := 2∥ χ V , v ∥ 2 2 ∥ χ V , o ∥ 2 2 γ o 2 . (48)
where the additional factor of 2 now comes from restoring the treatment of spin.
The leading synthesis cost above comes from the use of QROM/QROAM data loading (Appendix A § 10 ). Here, one can use a Toffoli-ancilla tradeoff to change the Toffoli cost from O ( d a t a ) O(\mathrm{data}) O ( data ) to O ( d a t a ) O(\sqrt{\mathrm{data}}) O ( data ) using O ( d a t a ) O(\sqrt{\mathrm{data}}) O ( data ) ancillas. Using the cost formulae in Table III of Appendix A, and taking the N T H C N_{\mathrm{THC}} N THC parameter assumed in earlier second quantized work [9 ] N T H C / N A O = 8 N_{\mathrm{THC}}/N_{\mathrm{AO}}=8 N THC / N AO = 8 and a rotation bit-precision b = 32 b=32 b = 32 , the Toffoli counts per walk query for the qubit- and Toffoli-optimized versions have leading orders
C w a l k ≈ { 313 N k N A O 2 , Qubit-optimal , 1268 N k N A O 3 / 2 , Toffoli-optimal , (49) C_{\mathrm{walk}}\approx
\begin{cases}
313N_kN_{\mathrm{AO}}^2, & \text{Qubit-optimal},\\
1268\sqrt{N_k}N_{\mathrm{AO}}^{3/2}, & \text{Toffoli-optimal},
\end{cases} \tag*{(49)} C walk ≈ { 313 N k N AO 2 , 1268 N k N AO 3/2 , Qubit-optimal , Toffoli-optimal , (49)
and the leading-order peak ancilla count is approximately
A w a l k ≈ { 96 + ⌈ log 2 ( 64 N k N A O 2 ) ⌉ , Qubit-optimal , 45 N k N A O , Toffoli-optimal . (50) A_{\mathrm{walk}}\approx
\begin{cases}
96+\left\lceil\log_2(64N_kN_{\mathrm{AO}}^2)\right\rceil, & \text{Qubit-optimal},\\
45\sqrt{N_k}N_{\mathrm{AO}}, & \text{Toffoli-optimal}.
\end{cases} \tag*{(50)} A walk ≈ { 96 + ⌈ log 2 ( 64 N k N AO 2 ) ⌉ , 45 N k N AO , Qubit-optimal , Toffoli-optimal . (50)
Space-group adaptation, introduced in § 3 B, further reduces the data that must be loaded. Here, this denotes exploiting crystal symmetries beyond the translations already incorporated throughout. An element g g g of the space group G G G defined there maps Bloch orbitals at k \mathbf{k} k to orbitals at g k g\mathbf{k} g k , atomic orbital components to (superposition of) other atomic orbital components, and maps interpolation points to symmetry-equivalent points. We denote its unitary representation on the orbital index ( p , k ) (p,k) ( p , k ) by D g o r b D_g^{\mathrm{orb}} D g orb , which is D g o D_g^{o} D g o or D g v D_g^{v} D g v in the occupied or virtual sector, and its representation on the THC index ( k , μ ) (k,\mu) ( k , μ ) by D g T H C D_g^{\mathrm{THC}} D g THC . The latter is a phased permutation: it permutes momenta and interpolation points and attaches a Bloch phase (Appendix B). The THC fitting of § 3 D makes the factors symmetric,
D g o r b χ X D g T H C † = χ X , D g T H C ζ X D g T H C † = ζ X , g ∈ G . (51) D_g^{\mathrm{orb}}\chi^{X}D_g^{\mathrm{THC}\dagger}=\chi^{X},\qquad D_g^{\mathrm{THC}}\zeta^{X}D_g^{\mathrm{THC}\dagger}=\zeta^{X},\qquad g\in G. \tag*{(51)} D g orb χ X D g THC † = χ X , D g THC ζ X D g THC † = ζ X , g ∈ G . (51)
Let S o r b \mathcal{S}^{\mathrm{orb}} S orb and S T H C \mathcal{S}^{\mathrm{THC}} S THC be unitaries that decompose the two representations into irreducible representations (irreps) [37 ] , S t † D g t S t = ⨁ λ D λ ( g ) ⊗ I n λ t \mathcal{S}^{t\dagger}D_g^t\mathcal{S}^t=\bigoplus_\lambda D_\lambda(g)\otimes I_{n_\lambda}^t S t † D g t S t = ⨁ λ D λ ( g ) ⊗ I n λ t for t ∈ { o r b , T H C } t\in\{\mathrm{orb},\mathrm{THC}\} t ∈ { orb , THC } , where irrep λ \lambda λ has dimension m λ m_\lambda m λ and multiplicity n λ t n_\lambda^t n λ t . By Schur’s lemma, Eq. (51) makes the factors block diagonal in these bases,
ζ s g X = S T H C † ζ X S T H C = ⨁ λ I m λ ⊗ ζ λ X , (52) \zeta_{\mathrm{sg}}^X=\mathcal{S}^{\mathrm{THC}\dagger}\zeta^X\mathcal{S}^{\mathrm{THC}}=\bigoplus_\lambda I_{m_\lambda}\otimes\zeta_\lambda^X, \tag*{(52)} ζ sg X = S THC † ζ X S THC = λ ⨁ I m λ ⊗ ζ λ X , (52)
χ s g X = S o r b † χ X S T H C = ⨁ λ I m λ ⊗ χ λ X , (53) \chi_{\mathrm{sg}}^X=\mathcal{S}^{\mathrm{orb}\dagger}\chi^X\mathcal{S}^{\mathrm{THC}}=\bigoplus_\lambda I_{m_\lambda}\otimes\chi_\lambda^X, \tag*{(53)} χ sg X = S orb † χ X S THC = λ ⨁ I m λ ⊗ χ λ X , (53)
with ζ λ X \zeta_\lambda^X ζ λ X of size n λ T H C × n λ T H C n_\lambda^{\mathrm{THC}}\times n_\lambda^{\mathrm{THC}} n λ THC × n λ THC and χ λ X \chi_\lambda^X χ λ X of size n λ o r b × n λ T H C n_\lambda^{\mathrm{orb}}\times n_\lambda^{\mathrm{THC}} n λ orb × n λ THC . The original factors are recovered exactly as χ X = S o r b χ s g X S T H C † \chi^X=\mathcal{S}^{\mathrm{orb}}\chi_{\mathrm{sg}}^X\mathcal{S}^{\mathrm{THC}\dagger} χ X = S orb χ sg X S THC † and ζ X = S T H C ζ s g X S T H C † \zeta^X=\mathcal{S}^{\mathrm{THC}}\zeta_{\mathrm{sg}}^X\mathcal{S}^{\mathrm{THC}\dagger} ζ X = S THC ζ sg X S THC † . In the space-group-adapted block encoding, we therefore synthesize χ s g X \chi_{\mathrm{sg}}^X χ sg X and ζ s g X \zeta_{\mathrm{sg}}^X ζ sg X instead of the original factors wherever possible. Specifically, we synthesize the block operators χ W , o \chi^{W,o} χ W , o , χ W , v \chi^{W,v} χ W , v , χ V , v \chi^{V,v} χ V , v and ζ V \zeta^V ζ V through their space-group-adapted forms, using the procedures above with blocks indexed by λ \lambda λ , and transform them with S o r b \mathcal{S}^{\mathrm{orb}} S orb and S T H C \mathcal{S}^{\mathrm{THC}} S THC . The identity factor I m λ I_{m_\lambda} I m λ means that all m λ m_\lambda m λ copies of a block share the same data, so only the blocks χ λ X \chi_\lambda^X χ λ X and ζ λ X \zeta_\lambda^X ζ λ X are loaded. The remaining operators, ζ ~ W \widetilde{\zeta}^W ζ W and χ V , o \chi^{V,o} χ V , o , do not take the form of a block-diagonal operator conjugated by S T H C \mathcal{S}^{\mathrm{THC}} S THC . We therefore synthesize them in the original translation-only form. Finally, S o r b \mathcal{S}^{\mathrm{orb}} S orb is a unitary basis change that does not change the spectrum, so it need not be implemented (up to the initial state). The cost of S T H C \mathcal{S}^{\mathrm{THC}} S THC is subleading; its synthesis is described in Appendix B.
Now we analyze the qualitative reduction of cost by space-group adaptation. Symmetry-related momenta form a momentum star, with one representative in the irreducible Brillouin zone. A generic star contains ∣ P ∣ |P| ∣ P ∣ momenta whose blocks share the same independent data, reducing the number of independently synthesized blocks from N k N_k N k to approximately N k / ∣ P ∣ N_k/|P| N k /∣ P ∣ . High-symmetry points, lines, and planes can have smaller stars, but their fraction of a uniformly refined momentum mesh vanishes in the thermodynamic limit. The leading qubit-optimal and Toffoli-optimal costs therefore decrease by factors of approximately ∣ P ∣ |P| ∣ P ∣ and ∣ P ∣ \sqrt{|P|} ∣ P ∣ , respectively.
THC optimization
We initialize THC through the interpolable separable density fitting form [49 , 50 ] , where the index μ \mu μ corresponds to real-space grid points at r μ r_\mu r μ , selected by a pivoted Cholesky operation on the orbital product matrix evaluated on a predefined grid in the cell. Then the χ X \chi^X χ X tensors are simply the orbital values on the grids: χ p k , μ X = ϕ p k ( r μ ) \chi_{pk,\mu}^X=\phi_{pk}(r_\mu) χ p k , μ X = ϕ p k ( r μ ) . Once the χ X \chi^X χ X tensors are determined, the ζ X \zeta^X ζ X tensors can be obtained by a by least-squares fit [35 ] , with a regularization to balance between accuracy and sub-normalization [33 ] . The least-squares loss function is conceptually written
L = log ( relative ERI error ) + α ( subnormalization ) , (54) L=\log(\text{relative ERI error})+\alpha(\text{subnormalization}), \tag*{(54)} L = log ( relative ERI error ) + α ( subnormalization ) , (54)
where the relative ERI error is given by
relative ERI error = ∥ X f i t − X ∥ 2 ∥ X ∥ 2 (55) \text{relative ERI error}=\frac{\lVert X_{\mathrm{fit}}-X\rVert_2}{\lVert X\rVert_2} \tag*{(55)} relative ERI error = ∥ X ∥ 2 ∥ X fit − X ∥ 2 (55)
where X ∈ { W , V } X\in\{W,V\} X ∈ { W , V } as above, and α \alpha α serves as an externally-controlled hyperparameter to balance accuracy and sub-normalization. In practice, the loss function form is slightly adapted for better empirical performance. For each system, we sweep over a few different values of α \alpha α to obtain a set of THC decompositions with different accuracies and subnormalizations. For the bare interaction, we assess the fitting accuracy using the second-order Moller-Plesset (MP2) [51 ] energy error per cell, following Ref. [9 ] . The diamond data show an overall increase in MP2 error with the relative fitting error of the bare ( o v ∣ o v ) (ov|ov) ( o v ∣ o v ) block. We use this relation to calibrate relative-error targets, which are then applied to the ( o v ∣ W ∣ v o ) (ov|W|vo) ( o v ∣ W ∣ v o ) projection of the fitted full screened interaction, as detailed in Appendix E.
To perform the space-group-adapted THC fitting, one additionally requires that the orbitals can be labelled by the additional space-group labels. A sufficient (but not necessary) condition that the fitted THC form has the full A 1 A_1 A 1 symmetry, is that the χ X \chi^X χ X and ζ X \zeta^X ζ X tensors both have full A 1 A_1 A 1 symmetry. To use this, we explicitly symmetrize the input χ X \chi^X χ X tensor by
χ X → 1 ∣ G ∣ ∑ g ∈ G D g o r b χ X D g T H C , † , \chi^X\to\frac{1}{|G|}\sum_{g\in G}D_g^{\mathrm{orb}}\chi^XD_g^{\mathrm{THC},\dagger}, χ X → ∣ G ∣ 1 g ∈ G ∑ D g orb χ X D g THC , † ,
where D g o r b D_g^{\mathrm{orb}} D g orb is one of D g o , D g v D_g^o,D_g^v D g o , D g v , the representation of the element g g g in the orbital space, and similarly for D g T H C D_g^{\mathrm{THC}} D g THC . The symmetry of ζ X \zeta^X ζ X , obtained from the least-squares solution, is automatically guaranteed by this structure. The same loss function is then used for the optimization. In practice, we find that the assumption of fully symmetric χ X \chi^X χ X and ζ X \zeta^X ζ X does not lead to a significant loss of accuracy.
Summary of asymptotic speedups
We now describe the asymptotic speedups achievable by quasiparticle quantum simulation of the multi-exciton BSE Hamiltonian, versus first- and second-quantized simulation of the full Hamiltonian, as well as standard classical simulation. For the quantum algorithms, we report the Toffoli and qubit cost of Λ C w a l k \Lambda C_{\mathrm{walk}} Λ C walk , while for the classical algorithm, we give the scaling assuming BSE is solved iteratively by dense matrix-vector multiplications [52 , 53 ] . We consider increasing the number of translationally equivalent primitive cells N k N_k N k in a supercell with periodic boundary conditions, keeping the primitive-cell structure, orbital basis per cell N A O N_{\mathrm{AO}} N AO , and THC rank ratio c I P c_{\mathrm{IP}} c IP fixed. The size parameter is therefore N = N k N A O ∝ N k N = N_kN_{\mathrm{AO}} \propto N_k N = N k N AO ∝ N k . In Table I we show simplified scalings at fixed electron–hole pair number m m m , retaining the explicit m m m dependence of the classical exponents. Detailed costs of the block-encoding primitives, including their dependence on block dimensions and rotation precision, are given in Appendix A.
Table 1. Resource scaling for crystalline systems with periodic boundary conditions. The system size is varied through the number of translationally equivalent primitive cells N k N_k N k , keeping the orbital basis per primitive cell, THC rank ratio c I P c_{\mathrm{IP}} c IP , and electron–hole pair number m m m fixed. Thus N = N k N A O ∝ N k N = N_kN_{\mathrm{AO}} \propto N_k N = N k N AO ∝ N k , and the tabulated powers describe scaling with the number of primitive cells. (a) Quantum resources at fixed QPE precision. Under a fixed QPE target error, the total Toffoli scaling is proportional to the product of the subnormalization λ \lambda λ and block-encoding cost C w a l k C_{\mathrm{walk}} C walk . For quantum BSE, λ ∝ N α \lambda\propto N^{\alpha} λ ∝ N α , with theoretical asymptotic exponent α = 0 \alpha= 0 α = 0 (Appendices C and D); finite-size numerical estimates instead give a small effective exponent α ≈ 0.2 \alpha\approx0.2 α ≈ 0.2 (Figure 2 ). (b) Classical BSE, exploiting translational symmetry at fixed total crystal momentum. Classical exponents depend explicitly on m m m , whereas quantum BSE exponents are independent of fixed m m m . Logarithmic factors are omitted for the full-Hamiltonian quantum methods.
The subnormalization is theoretically expected to scale asymptotically as λ = O ( 1 ) \lambda= O(1) λ = O ( 1 ) at fixed excitation number and accuracy (Appendix D), giving O ( N 1 / 2 ) O(N^{1/2}) O ( N 1/2 ) and O ( N ) O(N) O ( N ) Toffoli costs for the Toffoli- and qubit-optimized algorithms, respectively. Retaining the effective numerical scaling λ ∝ N α \lambda\propto N^{\alpha} λ ∝ N α , quasiparticle simulation has a cost of O ( N 1 / 2 + α ) O(N^{1/2+\alpha}) O ( N 1/2 + α ) Toffolis and O ( N 1 / 2 ) O(N^{1/2}) O ( N 1/2 ) qubits (Toffoli-optimized), and O ( N 1 + α ) O(N^{1+\alpha}) O ( N 1 + α ) Toffolis and O ( log N ) O(\log N) O ( log N ) qubits (qubit efficient), with a small numerical exponent α ≪ 1 \alpha\ll1 α ≪ 1 over the system sizes studied (see next section). For classical BSE, exploiting translational symmetry at fixed total crystal momentum reduces the cost of a matrix–vector multiplication from O ( N 2 m + 2 ) O(N^{2m+2}) O ( N 2 m + 2 ) to O ( N 2 m ) O(N^{2m}) O ( N 2 m ) and the storage from O ( N 2 m ) O(N^{2m}) O ( N 2 m ) to O ( N 2 m − 1 ) O(N^{2m-1}) O ( N 2 m − 1 ) . For triexcitonic states (m = 3 m = 3 m = 3 ), this gives O ( N 6 ) O(N^{6}) O ( N 6 ) time and O ( N 5 ) O(N^{5}) O ( N 5 ) space. Approximating α ≈ 0 \alpha\approx0 α ≈ 0 , we achieve up to a 12th power time speedup (Toffoli-optimized) and an exponential saving in space (qubit-optimized algorithm) over the default classical algorithm.
First- and second-quantized algorithms using LCU block encodings for full Hamiltonian simulation require O ~ ( N ) \widetilde{O}(N) O ( N ) Toffolis to apply terms across the electron or orbital registers [9 , 10 ] . The associated subnormalization is also expected to scale as O ~ ( N 2 ) \widetilde{O}(N^{2}) O ( N 2 ) : in second quantization, THC sums magnitudes of effective interaction coefficients and exhibits approximately quadratic growth in materials benchmarks [9 , 33 ] , while in first quantization it depends explicitly on the O ( N 2 ) O(N^{2}) O ( N 2 ) electron pairs [10 ] . For excitations, resolving a fixed absolute excitation energy further requires computing both ground- and excited-state total energies to fixed additive accuracy, unlike per-cell accuracy which permits total-energy errors that grow with N N N . Thus at fixed excitation-energy precision, this yields an overall Toffoli cost of O ~ ( N 3 ) \widetilde{O}(N^{3}) O ( N 3 ) , while storing the state requires O ( N ) O(N) O ( N ) or O ( N log N ) O(N\log N) O ( N log N ) qubits. Assuming α ≈ 0 \alpha\approx0 α ≈ 0 , the quasiparticle quantum simulation thus achieves a 6th power speedup in time (Toffoli-optimized) and an exponential saving in space (qubit-optimized) over full Hamiltonian simulation (although, of course, the problem being simulated is not identical). As discussed above, this speedup comes from reducing the block-encoding cost, where the only N N N scaling comes from data-loading, as well as the favourable subnormalization, which physically arises from the O ( 1 ) O(1) O ( 1 ) spectral width of H B S E H_{\mathrm{BSE}} H BSE .
We note briefly that there are very recent full-Hamiltonian simulation algorithms that improve on this LCU scaling. Trotter-based methods with tighter error bounds and cheaper Trotter steps [54 , 55 , 56 ] can reach N 5 / 3 + o ( 1 ) N^{5/3+o(1)} N 5/3 + o ( 1 ) gates when the numbers of electrons and orbitals both scale as N N N , and sum-of-squares spectral amplification [57 , 58 , 59 ] reduces the subnormalization by a factor of O ( N 1 / 2 ) O(N^{1/2}) O ( N 1/2 ) in first quantization. We do not use these methods as baselines, since comparable end-to-end resource estimates for the materials and system sizes considered here are largely unavailable. We note that their asymptotic costs remain well above the O ( N 1 / 2 + α ) O(N^{1/2+\alpha}) O ( N 1/2 + α ) Toffoli scaling of the quasiparticle simulation.
Resource estimates for multi-exciton simulation in semiconductors
We now present logical resource estimates for the BSE simulation of multi-excitonic states. As above, we choose the m = 3 m=3 m = 3 triexcitonic state setting as one which balances physical relevance and classical difficulty. Classical preprocessing of the data is performed using PySCF [62 , 63 ] , and we also use its implementation of periodic GW (specifically, G 0 W 0 G_0W_0 G 0 W 0 ) [64 ] . The calculations used the GTH-cc-pVDZ basis of Ye and Berkelbach [60 ] for diamond, MgO, BN, and AlN, and use the GTH-DZVP-MOLOPT-SR basis [61 ] for CdSe.
The materials were chosen for benchmarking value rather than for a direct relevance to multi-excitonic physics. Diamond, BN, and AlN have previously been studied in the context of first and second quantized simulation resource estimation [9 , 10 ] . MgO is a material with a strongly bound m = 1 m=1 m = 1 exciton [65 ] , and CdSe is a material studied in the context of multi-exciton generation in nanocrystals and engineered nanostructures [66 , 67 ] . However, even for CdSe, which we treat here as a periodic bulk material, the focus of the current work is on resource estimation as a foundation for future simulations of the multi-exciton generation process. Table II summarizes the numbers of atoms, active electrons, and basis functions per unit cell for the various semiconductors.
Table II. System information for resource estimates considered in this work. All counts are per unit cell; N A O N_{\mathrm{AO}} N AO is the number of atomic-orbital basis functions. Diamond, MgO, BN, and AlN use the GTH-cc-pVDZ basis [60 ] , while CdSe uses the GTH-DZVP-MOLOPT-SR basis [61 ] .
We first examine the subnormalization and walk costs, then compare the resulting resource scaling with standard full Hamiltonian quantum simulation at the same target accuracy (a typical electronic spectroscopy computational accuracy of 0.1 e V 0.1\,\mathrm{eV} 0.1 eV ).
Resource scaling of walk cost and subnormalization
We first examine the resources required for each step of the algorithm and their dependence on N k N_k N k , using diamond as an example. Here, we do not use space-group adaptation. To be consistent with Ref. [9 ] , we fit the THC factors so that the estimated ground-state MP2 error is approximately 0.1 m E h 0.1\,mE_h 0.1 m E h per unit cell or less. The detailed parameters are described in Appendix § 5 . Figure 2 shows the subnormalizations in panel (a), the Toffoli-optimized counts for different walk components in (b), and the total walk costs in (c).
Figure 2. Subnormalizations and walk costs for triexcitonic BSE eigenvalue estimation in diamond without using space-group adaptation, using a THC fitting criterion of approximately 0.1 m E h 0.1\,mE_h 0.1 m E h MP2 energy error per unit cell. (a) Fock, direct, exchange, and total subnormalizations, including the m = 3 m=3 m = 3 excitation-order factors defined in Eqs. (30) and (31) . Thin lines connect successive points, scaling fits are obtained from the last three data points, and open markers denote extrapolated data. (b) Toffoli-optimized walk components and their sum. (c) Total walk costs for both T-optimal and Q-optimal compilation; the legend gives the theoretical leading powers N k 0.5 N_k^{0.5} N k 0.5 and N k 1.0 N_k^{1.0} N k 1.0 .
In panel (a), we see that the Fock and direct contributions to the subnormalization are nearly independent of system size, whereas exchange grows as a function of the mesh size. Its growth rate nevertheless decreases for larger N k N_k N k , consistent with the arguments for ∼ O ( 1 ) \sim O(1) ∼ O ( 1 ) asymptotic scaling given in Appendices C and § 4 . Fitting to the last three measured meshes gives N k 0.42 N_k^{0.42} N k 0.42 for exchange and N k 0.21 N_k^{0.21} N k 0.21 for the total, and the total subnormalization increases only from 87.5 87.5 87.5 to 175.7 E h 175.7\,E_h 175.7 E h as N k N_k N k increases 27-fold, from 8 to 216. The open markers show extrapolations to N k = 512 N_k = 512 N k = 512 and 1000.
Panel (b) shows that the direct and exchange terms dominate the Toffoli-optimized walk cost, while the Fock contribution is smaller. (Here the resource estimates allow for general occupied and virtual Fock blocks f o f^o f o and f v f^v f v ; using their diagonal orbital-energy representation would give a small savings). The walk costs are evaluated from the circuit-cost formulae, which allows us to directly extract their scaling. Their leading system-size dependence is N k 0.5 N_k^{0.5} N k 0.5 under Toffoli optimization and N k 1.0 N_k^{1.0} N k 1.0 under qubit optimization, as derived in § 3 E. Panel (c) displays these two behaviors. The slow growth of the subnormalization therefore provides only a modest additional system-size dependence in the total phase-estimation cost.
Comparison to first- and second-quantized simulations
We compare quantum BSE with first- and second-quantized full-Hamiltonian simulations at a QPE error of 0.1 e V ≃ 3.68 m E h 0.1\,\mathrm{eV} \simeq3.68\,mE_h 0.1 eV ≃ 3.68 m E h per eigenvalue estimate. BSE directly estimates excitation energies, whereas the full-Hamiltonian methods require differences between independently resolved total supercell energies. The second-quantized reference’s original tolerance of 1 kcal mol− 1 ^{-1} − 1 per cell [9 ] must therefore be converted to fixed supercell accuracy, introducing an additional factor of N k N_k N k in the QPE cost at the same numerical tolerance; the first-quantized reference already uses total-energy accuracy [10 ] . Figure 3 shows the resulting estimates, retaining the preceding subsection’s THC criterion of 0.1 m E h 0.1\,mE_h 0.1 m E h MP2 error per cell and using no space-group adaptation. Details of the reference estimates are given in Appendix § 17 .
Figure 3. Quantum and classical resource estimates for diamond. The BSE calculations use m = 3 m = 3 m = 3 , a THC fitting tolerance of 0.1 m E h 0.1\,mE_h 0.1 m E h MP2 error per unit cell, and no space-group adaptation. All quantum methods target 0.1 e V 0.1\,\mathrm{eV} 0.1 eV QPE error per eigenvalue estimate: an excitation energy for BSE and a total supercell energy for the full-Hamiltonian methods. Constant overheads for combining ground- and excited-state estimates are omitted. (a) Quantum Toffoli counts and classical BSE FLOPs. (b) Logical qubits and classical BSE storage, counted in floating-point values. Open markers denote extrapolated data.
We show the Toffoli counts in panel (a) of Figure 3 . The BSE Toffoli counts scale as N k 0.71 N_k^{0.71} N k 0.71 and N k 1.21 N_k^{1.21} N k 1.21 under Toffoli and qubit optimizations, respectively. These exponents are consistent with the theoretical N k 1 / 2 + α N_k^{1/2+\alpha} N k 1/2 + α and N k 1 + α N_k^{1+\alpha} N k 1 + α scalings in Table I, with the weak subnormalization growth α ≈ 0.2 \alpha\approx0.2 α ≈ 0.2 observed above. The full-Hamiltonian estimates scale as N k 2.56 N_k^{2.56} N k 2.56 in second quantization and N k 2.89 N_k^{2.89} N k 2.89 in first quantization over the plotted range. This is below their theoretical asymptotic cubic dependence because at these sizes, the lower-order contributions still dominate.
Due to the difference in scaling, the resource advantage of quantum simulation of the BSE problem versus the full Hamiltonian problem increases with system size. At N k = 1000 N_k = 1000 N k = 1000 , the Toffoli-optimized BSE Toffoli count is 5.5 × 10 11 5.5 \times10^{11} 5.5 × 1 0 11 , compared with 3.7 × 10 17 3.7 \times10^{17} 3.7 × 1 0 17 and 4.2 × 10 18 4.2 \times10^{18} 4.2 × 1 0 18 for second and first quantization, respectively, i.e. we achieve a 10 6 10^{6} 1 0 6 –10 7 × 10^{7}\times 1 0 7 × reduction. The corresponding qubit-optimized BSE Toffoli count is 2.0 × 10 13 2.0 \times10^{13} 2.0 × 1 0 13 .
Panel (b) shows the logical qubit requirements. The Toffoli-optimized BSE qubit count scales approximately as N k 0.53 N_k^{0.53} N k 0.53 , close to the theoretical square-root dependence, while the qubit-optimized count grows only from 215 to 266, consistent with logarithmic scaling. The full-Hamiltonian qubit counts have effective exponents 0.57 and 0.66 over this range, below the asymptotic linear dependence in Table I. At N k = 1000 N_k = 1000 N k = 1000 , the BSE formulation requires 3.3 × 10 4 3.3 \times10^{4} 3.3 × 1 0 4 or 266 qubits under the two optimization choices, compared with 4.1 × 10 5 4.1 \times10^{5} 4.1 × 1 0 5 and 2.0 × 10 5 2.0 \times10^{5} 2.0 × 1 0 5 second and first quantization.
Finally, in both panels, we give a classical reference cost for a linear matrix-vector solve, assuming 10 iterations and dense matrix-vector multiplication, with cost 10 N o 3 N v 5 N k 6 10N_o^3N_v^5N_k^6 10 N o 3 N v 5 N k 6 FLOPs. At N k = 1000 N_k = 1000 N k = 1000 , the classical calculation requires 3.30 × 10 27 3.30 \times10^{27} 3.30 × 1 0 27 FLOPs and 6.8 × 10 20 6.8 \times10^{20} 6.8 × 1 0 20 words of memory, both far exceeding any practical computational resource today.
Optimized resource estimates for BSE calculations
We now obtain our best quantum resource estimates by further optimizing the computational settings for multi-exciton BSE calculations targeting 0.1 eV resolution in the excitation energy on the 10 × 10 × 10 10 \times10 \times10 10 × 10 × 10 k k k -point mesh. We focus on minimizing the Toffoli count. Since we are working with a quasiparticle theory and few-body Hamiltonians, it is reasonable to consider the THC error as incurred per electron. We thus adjust the conservative THC fitting criterion used above to achieve an MP2 error below 0.005 eV per active electron, and use space-group adaptation. The corresponding relative-integral-error criterion for the screened interaction is described in Appendix § 5 . Details of the extrapolated inputs and error conventions are given in Appendix § 18 .
Diamond has 48 point-group operations, giving an ideal Toffoli-optimized reduction of approximately 48 ≃ 6.9 \sqrt{48} \simeq6.9 48 ≃ 6.9 . At fixed THC ranks, space-group adaptation reduces the walk cost by a factor of 4.0: the direct central tensor C W \mathcal{C}^{W} C W and exchange state preparation remain in the physical basis, while the S T H C S^{\mathrm{THC}} S THC transforms add overhead. Space-group-adapted fitting also yields a modestly smaller subnormalization at comparable relative ERI error: for m = 3 m = 3 m = 3 and N k = 1000 N_k = 1000 N k = 1000 , the extrapolated value decreases from 157.3 to 126.7 E h E_h E h , which we attribute to the improved optimization landscape. Together, these effects reduce the Toffoli count by a factor of 5.0, to 4.7 × 10 10 4.7 \times10^{10} 4.7 × 1 0 10 , while the logical-qubit count remains 1.7 × 10 4 1.7 \times10^{4} 1.7 × 1 0 4 at the displayed precision. Following [9 ] , assuming each Toffoli gate requires around 25 μ \mu μ s, we obtain a total runtime of about 14 days (as opposed to an estimated 10 5 10^{5} 1 0 5 –10 6 10^{6} 1 0 6 years with existing full Hamiltonian simulation protocols).
For MgO, BN, AlN, and CdSe, we combine the space-group-adapted walk costs with the subnormalizations from the fits without space-group adaptation. These fixed-subnormalization estimates yield Toffoli reductions of 2.7–4.0, as shown in Figure 4 ; detailed values are provided in Appendix § 18 .
Figure 4. Toffoli-optimized multi-exciton BSE resources at N k = 1000 N_k = 1000 N k = 1000 , with a target QPE error of 0.1 eV in the excitation energy and a THC fitting tolerance below 0.005 eV MP2 error per active electron. All cases use m = 3 m = 3 m = 3 unless otherwise labelled. (a) Toffoli counts without (blue) and with (orange) space-group adaptation. Diamond uses subnormalizations from space-group-adapted fits; the other materials retain those from fits without space-group adaptation. (b) Logical-qubit counts, which agree between the two settings at the displayed precision. Input estimates and subnormalization extrapolations are detailed in Appendix § 18 .
Without space-group adaptation, diamond, MgO, and BN have similar costs, between 1.9 × 10 11 1.9 \times10^{11} 1.9 × 1 0 11 and 2.3 × 10 11 2.3 \times10^{11} 2.3 × 1 0 11 Toffolis. These systems have similar basis sizes of 26 26 26 –27 27 27 atomic orbitals per unit cell in the GTH-cc-pVDZ basis (Table II ). AlN has 52 orbitals per unit cell in the same basis and correspondingly higher requirements, at 3.8 × 10 11 3.8 \times10^{11} 3.8 × 1 0 11 Toffolis and 3.3 × 10 4 3.3 \times10^{4} 3.3 × 1 0 4 qubits, compared with 1.7 × 10 4 1.7 \times10^{4} 1.7 × 1 0 4 qubits for the other three materials. CdSe has the largest orbital space with 76 basis functions and 36 active electrons per primitive cell; the full simulation is thus of 76,000 orbitals. The triexcitonic calculation then requires approximately 7.5 × 10 11 7.5 \times10^{11} 7.5 × 1 0 11 Toffolis and 6.6 × 10 4 6.6 \times10^{4} 6.6 × 1 0 4 logical qubits.
Conclusions
We have presented a detailed quasiparticle quantum simulation framework for multi-excitonic states within the Bethe-Salpeter equation. Our analysis of scaling advantage versus standard full Hamiltonian quantum simulation reveals up to 6th power asymptotic speedup in Toffoli gates and up to an exponential reduction in qubit count for quantum phase estimation. We further described an explicit first-quantized, orbital-based, block-encoding compilation and carried out detailed resource estimates for the classically challenging, but physically relevant, problem of tri-excitonic eigenvalue estimation across a range of semiconductor models. For the diamond benchmark system, at a realistic Brillouin zone sampling of 10 × 10 × 10 10 \times10 \times10 10 × 10 × 10 , we achieve a 10 6 10^6 1 0 6 –10 7 10^7 1 0 7 reduction in Toffoli gate count versus standard full Hamiltonian simulation, reducing the estimated quantum run time from 10 4 10^4 1 0 4 –10 5 10^5 1 0 5 years to roughly two weeks.
Overall, this work illustrates the importance of existing classical heuristic frameworks in the era of fault-tolerant quantum simulation. The applicability of the heuristic approximations is to the same physical problem domains as studied in the classical simulations; however, quantum algorithms allow the possibility of extending the problem domains in practice, for example, as pursued here in the description of multi-excitonic as opposed to single-excitonic solutions of the Bethe-Salpeter equation. This supports a broader thesis that existing classical heuristic ideas contain essential information that should be utilized in simulations of the physical world, and that designing quantum algorithms in the regimes where classical heuristics work [21 ] will be an essential direction in the further development of the field.
Primitives used for block-encoding and their costs
The BSE block-encoding mainly uses block unitary synthesis, block isometry synthesis, block state preparation, and diagonal matrix synthesis. We give the Toffoli and ancilla costs of each primitive used to construct the proto-terms in the BSE block-encoding. Table III illustrates their composition and leading costs for the translation-only construction, where each primitive acts on blocks of equal size. Space-group adaptation produces blocks of varying sizes; the same constructions apply using the primitives described below, so we omit a separate summary table. The additional space-group transformation is treated in Appendix B.
Table 2. Primitives used by each factor.
Table 3. Leading resource cost of each primitive.
Table III . Primitive composition and leading costs for the translation-only block-encoding. (a) gives the factors whose product forms each term of the BSE block-encoding, the entries counting how often each factor appears; (b) gives the primitives each factor is synthesized from; and (c) gives the Toffoli and ancilla cost of each primitive for equal-sized blocks. The interaction label on χ o , χ v \chi^{o},\chi^{v} χ o , χ v is suppressed in this cost table: direct terms use χ W , o o , χ W , v v \chi^{o}_{W,o},\chi^{v}_{W,v} χ W , o o , χ W , v v , exchange uses χ V , v v \chi^{v}_{V,v} χ V , v v and the state-preparation operator χ S v , o \chi^{v,o}_{S} χ S v , o , and the separately fitted W W W and V V V factors need not coincide. Multiplying (a) by (b) yields the “walk operator” row of (b). Each shared part is counted once, so the o o oo oo direct term reuses the parts of the direct terms and adds no cost of its own. The Fock term draws on no shared part, being the eigendecomposition of the occupied and virtual Fock blocks f o f^{o} f o and f v f^{v} f v , and is listed in (b) so that the totals stay column sums. Here B B B is the block count, N N N the matrix dimension, M ≤ N M\leq N M ≤ N the number of isometry columns, and b b b the angle precision. For block isometries, N N N is the padded row count. The Q-optimal and T-optimal variants are defined in Appendix A.1 and derived at the end of each primitive’s subsection. Numerical prefactors are rounded to integers and subleading terms omitted; unequal blocks arising from space-group adaptation are handled by the subset constructions below.
QROM and QROAM data-loading
All primitives will consist of a sequence of coherent data-loading of rotation angles, which are fed into multi-controlled rotation gates. Our primary data-loading primitive is quantum read-only memory (QROM) and its improved version QROAM [42 ] . Given a table of L L L entries f ( j ) ∈ { 0 , 1 } b f(j) \in\{0,1\}^{b} f ( j ) ∈ { 0 , 1 } b , QROM implements the coherent map
∣ j ⟩ ∣ 0 ⟩ ⊗ b ⟼ ∣ j ⟩ ∣ f ( j ) ⟩ . \lvert j\rangle\lvert0\rangle^{\otimes b} \longmapsto\lvert j\rangle\lvert f(j)\rangle. ∣ j ⟩ ∣ 0 ⟩ ⊗ b ⟼ ∣ j ⟩ ∣ f ( j )⟩ .
Ref. [41 ] introduced unary-iteration QROM, which uses exactly L − 1 L-1 L − 1 Toffolis. Ref. [47 ] introduced the Select–Swap network, enabling a Toffoli–ancilla trade-off that reduces the forward cost to O ( b L ) O(\sqrt{bL}) O ( b L ) . Ref. [42 ] introduced QROAM, which uses measurement and classical feedforward to uncompute the data registers at cost O ( L ) O(\sqrt{L}) O ( L ) independent of the word size b b b . In what follows, QROAM uses unary-iteration QROM as a subroutine, and all lookup costs include one external control.
In our applications, the set of valid addresses is often a subset S ⊂ { 0 , … , 2 n − 1 } S \subset\{0,\ldots,2^{n}-1\} S ⊂ { 0 , … , 2 n − 1 } (e.g., addresses distributed across padded blocks). We therefore require a lookup that acts as the identity outside S S S , namely the subset-restricted QROM
∑ j ∈ S ∣ j ⟩ ⟨ j ∣ ⊗ X f ( j ) + ∑ j ∉ S ∣ j ⟩ ⟨ j ∣ ⊗ I , (56) \sum_{j\in S}\lvert j\rangle\langle j\rvert\otimes X^{f(j)}+\sum_{j\notin S}\lvert j\rangle\langle j\rvert\otimes I, \tag*{(56)} j ∈ S ∑ ∣ j ⟩ ⟨ j ∣ ⊗ X f ( j ) + j ∈ / S ∑ ∣ j ⟩ ⟨ j ∣ ⊗ I , (56)
where X f ( j ) X^{f(j)} X f ( j ) applies X X X to each target qubit for which f ( j ) f(j) f ( j ) has bit value 1. Relative to the usual unary-iteration formulation, (i) the address set need not be a contiguous interval such as [ 0 , L − 1 ] [0,L-1] [ 0 , L − 1 ] , and (ii) addresses outside the set are explicitly assigned the all-zero word, ensuring that they leave the output unchanged. For a contiguous interval, this corresponds to “restricted partial unary iteration” as studied in Ref. [68 ] ; here we use the same idea for an arbitrary subset.
We construct subset-restricted QROM by pruning the binary-tree traversal used in unary iteration. Leaves represent addresses, and internal nodes represent prefixes shared by the addresses beneath them. Starting from the external control, the circuit checks successive address bits while descending the tree: each internal node uses one Toffoli to select its first child and a CNOT to switch to the other child. At a leaf, CNOTs write the selected data word. The circuit then returns up the tree, clearing temporary controls using measurements and Clifford corrections. For subset restriction, we skip branches containing no address in S S S but keep all address checks on the remaining paths, so that any j ∉ S j \notin S j ∈ / S leaves the output register unchanged. The Toffoli cost is the number of internal nodes remaining after pruning. For a fixed most-significant-bit-first traversal order,
C Q R O M ( S , n ) = ∑ r = 1 n ∣ { ⌊ j 2 r ⌋ : j ∈ S } ∣ . (57) C_{\mathrm{QROM}}(S,n)=\sum_{r=1}^{n}\left\lvert\left\{\left\lfloor\frac{j}{2^{r}}\right\rfloor:j\in S\right\}\right\rvert. \tag*{(57)} C QROM ( S , n ) = r = 1 ∑ n { ⌊ 2 r j ⌋ : j ∈ S } . (57)
The circuit uses n n n clean ancillas, excluding the address register, the output register, and the external control. For S = { 0 , … , L − 1 } S=\{0,\ldots,L-1\} S = { 0 , … , L − 1 } , each term equals ⌈ L / 2 r ⌉ \lceil L/2^{r}\rceil ⌈ L / 2 r ⌉ , giving C Q R O M ( [ 0 , L − 1 ] , n ) = L − 1 + n − popcount ( L − 1 ) C_{\mathrm{QROM}}([0,L-1],n)=L-1+n-\operatorname{popcount}(L-1) C QROM ([ 0 , L − 1 ] , n ) = L − 1 + n − popcount ( L − 1 ) , where popcount counts ones in the binary representation, recovering the contiguous-interval formula in Ref. [68 ] .
To obtain a subset-restricted QROAM, choose a power of two λ ≤ 2 n \lambda\le2^{n} λ ≤ 2 n and split the address as j = q λ + r j=q\lambda+r j = q λ + r with quotient q = ⌊ j / λ ⌋ q=\lfloor j/\lambda\rfloor q = ⌊ j / λ ⌋ and remainder r = j m o d λ r=j\bmod\lambda r = j mod λ . Define the quotient subset S λ = { j / λ : j ∈ S } S_{\lambda}=\{j/\lambda:j\in S\} S λ = { j / λ : j ∈ S } . A quotient lookup loads a block of λ \lambda λ candidate entries into λ \lambda λ registers of b b b qubits each (entries outside S S S are loaded as all zeros). A swap tree controlled by the remainder moves the selected entry into the output register. The swap network has λ − 1 \lambda-1 λ − 1 register swaps, each costing b b b Toffolis, so the total forward cost is
C Q R O A M ( S , n , b , λ ) = C Q R O M ( S λ , n − log 2 λ ) + b ( λ − 1 ) . (58) C_{\mathrm{QROAM}}(S,n,b,\lambda)=C_{\mathrm{QROM}}(S_{\lambda},n-\log_{2}\lambda)+b(\lambda-1). \tag*{(58)} C QROAM ( S , n , b , λ ) = C QROM ( S λ , n − log 2 λ ) + b ( λ − 1 ) . (58)
The forward step uses b ( λ − 1 ) + n − log 2 λ b(\lambda-1)+n-\log_{2}\lambda b ( λ − 1 ) + n − log 2 λ clean workspace qubits. As in Appendix B of Ref. [42 ] , we may measure and release the unused data registers, storing their outcomes so that the induced phases can be corrected during the final uncomputation; Eq. (58) assumes this delayed correction.
For the QROAM uncomputation (Appendix C of Ref. [42 ] ), the output word is measured in the X X X basis and the outcomes are used to build a classical sign-fixup table. Choose an independent power of two 2 ≤ λ ′ ≤ 2 n 2\le\lambda'\le2^{n} 2 ≤ λ ′ ≤ 2 n . The circuit (Fig. 6 of Ref. [42 ] ) encodes the remainder in a one-hot register, uses a quotient lookup to apply the required phase, and clears the one-hot register using measurements and Clifford corrections. Only the quotient lookup requires the external control. Preparing the one-hot register costs λ ′ − 2 \lambda'-2 λ ′ − 2 Toffolis. For erasing a lookup result supported on S S S , the cost is
C Q R O A M − 1 ( S , n , λ ′ ) = C Q R O M ( S λ ′ , n − log 2 λ ′ ) + λ ′ − 2. (59) C_{\mathrm{QROAM}^{-1}}(S,n,\lambda')=C_{\mathrm{QROM}}(S_{\lambda'},n-\log_{2}\lambda')+\lambda'-2. \tag*{(59)} C QROAM − 1 ( S , n , λ ′ ) = C QROM ( S λ ′ , n − log 2 λ ′ ) + λ ′ − 2. (59)
Uncomputation uses λ ′ + n − log 2 λ ′ \lambda'+n-\log_{2}\lambda' λ ′ + n − log 2 λ ′ clean workspace qubits; the measured output can be reset and reused for this workspace. If phase corrections from unused forward registers were delayed, they must be included in the fixup table.
It is sufficient to include every address in any block loaded during the forward step. When λ ′ ≥ λ \lambda' \ge\lambda λ ′ ≥ λ , these additional addresses do not change S λ ′ S_{\lambda'} S λ ′ , so Eq. (59) applies as written; otherwise, the quotient subset must be enlarged to include their corrections.
Finally, subset restriction also covers multiple address registers: we concatenate their bits into one address and take S S S to be the Cartesian product of the valid ranges. For QROAM, the concatenated high-order bits can be handled by subset-restricted QROM, and the remaining low-order bits select within the loaded block via the swap network.
The trade-off parameters are chosen in one of two ways, which define the Toffoli-optimized (T-optimal) and qubit-optimized (Q-optimal) variants of the primitives below and in Table III (c). Consider a lookup of L L L words of b b b bits. In the T-optimal variant, λ ≃ L / b \lambda\simeq\sqrt{L/b} λ ≃ L / b minimizes Eq. (58) , giving approximately 2 b L 2\sqrt{bL} 2 b L Toffolis with b L \sqrt{bL} b L workspace qubits, and λ ′ ≃ L \lambda' \simeq\sqrt{L} λ ′ ≃ L minimizes Eq. (59) , giving approximately 2 L 2\sqrt{L} 2 L Toffolis. In the Q-optimal variant, the forward lookup uses λ = 1 \lambda= 1 λ = 1 , i.e. plain QROM, which costs approximately L L L Toffolis and needs no data registers beyond the b b b -bit output. The uncomputation parameter λ ′ \lambda' λ ′ is not fixed to a small value such as 1 or 2: it is chosen to minimize the Toffoli count subject to not raising the peak qubit count. The uncomputation reuses the measured output register and the released address controls, so every power of two with λ ′ − log 2 λ ′ ≤ b \lambda' - \log_2 \lambda' \le b λ ′ − log 2 λ ′ ≤ b fits within the workspace of the forward step, and the optimum is the largest of them (λ ′ = 32 \lambda' = 32 λ ′ = 32 for b = 32 b = 32 b = 32 ). The uncomputation then costs approximately L / λ ′ L/\lambda' L / λ ′ Toffolis, a negligible correction to the forward lookup. When a loaded angle is applied by addition into the phase-gradient register [69 , 70 ] , the Q-optimal peak consists of the b b b -bit angle word, the b b b -qubit phase-gradient register, the b − 1 b - 1 b − 1 carry qubits of the adder, and the address controls, i.e. approximately 3 b + log 2 L 3b + \log_2 L 3 b + log 2 L qubits.
Multiplexed rotations and diagonal matrix synthesis
Throughout the construction of primitives, data-loading is mainly used to supply rotation angles to standard multiplexed single-qubit rotations [71 , 72 ]
U m u x = ∑ j = 0 N − 1 ∣ j ⟩ ⟨ j ∣ ⊗ R z ( θ j ) , (60) U_{\mathrm{mux}} = \sum_{j=0}^{N-1} |j\rangle\langle j| \otimes R_z(\theta_j), \tag*{(60)} U mux = j = 0 ∑ N − 1 ∣ j ⟩ ⟨ j ∣ ⊗ R z ( θ j ) , (60)
where the address register stores j j j and the target is rotated by an angle θ j \theta_j θ j specified by classical data. One can convert to R x R_x R x and R y R_y R y rotations by Clifford gates. In our implementation, the angles are stored to b b b bits and are loaded coherently with subset-restricted QROAM on a set S S S of addresses that require a nontrivial rotation; after applying the rotation, the angle word is uncomputed. For n = ⌈ log 2 N ⌉ n = \lceil\log_2 N\rceil n = ⌈ log 2 N ⌉ address qubits and λ ′ ≥ λ \lambda' \ge\lambda λ ′ ≥ λ , the Toffoli cost is
C m u x = C Q R O A M ( S , n , b , λ ) + ( b − 2 ) + C Q R O A M − 1 ( S , n , λ ′ ) . (61) C_{\mathrm{mux}} = C_{\mathrm{QROAM}}(S,n,b,\lambda) + (b-2)
+ C_{\mathrm{QROAM}^{-1}}(S,n,\lambda'). \tag*{(61)} C mux = C QROAM ( S , n , b , λ ) + ( b − 2 ) + C QROAM − 1 ( S , n , λ ′ ) . (61)
where the explicit ( b − 2 ) (b-2) ( b − 2 ) term accounts for applying the b b b -bit rotation once the angle has been loaded.
Several steps in the block-encoding reduce to applying diagonal operators (e.g., the diagonal real-space central factor). A single multiplexed R y R_y R y rotation is directly a block-encoding of a real diagonal matrix D = ∑ j = 0 N − 1 d j ∣ j ⟩ ⟨ j ∣ D = \sum_{j=0}^{N-1} d_j|j\rangle\langle j| D = ∑ j = 0 N − 1 d j ∣ j ⟩ ⟨ j ∣ , by treating the target qubit of the rotation as the ancilla and setting ⟨ 0 ∣ R y ( 2 θ j ) ∣ 0 ⟩ = d j / α \langle0|R_y(2\theta_j)|0\rangle= d_j/\alpha ⟨ 0∣ R y ( 2 θ j ) ∣0 ⟩ = d j / α . To satisfy the self-inverse requirement, we append a single Z Z Z gate since ( R y ( 2 θ ) Z ) † = Z R y ( − 2 θ ) = R y ( 2 θ ) Z (R_y(2\theta)Z)^\dagger= ZR_y(-2\theta) = R_y(2\theta)Z ( R y ( 2 θ ) Z ) † = Z R y ( − 2 θ ) = R y ( 2 θ ) Z . Choose a normalization constant α ≥ max j ∣ d j ∣ \alpha\ge\max_j |d_j| α ≥ max j ∣ d j ∣ with α > 0 \alpha> 0 α > 0 so that each entry can be realized as a rotation amplitude. Load θ j = arccos ( d j / α ) \theta_j = \arccos(d_j/\alpha) θ j = arccos ( d j / α ) to b b b bits, apply R y ( 2 θ j ) Z R_y(2\theta_j)Z R y ( 2 θ j ) Z to a signal qubit, and uncompute the angle. The signal-∣ 0 ⟩ |0\rangle ∣0 ⟩ block is D / α D/\alpha D / α up to angle rounding. Let S S S be the set of basis states j j j such that d j ≠ α d_j \ne\alpha d j = α , for n = ⌈ log 2 N ⌉ n = \lceil\log_2 N\rceil n = ⌈ log 2 N ⌉ and λ ′ ≥ λ \lambda' \ge\lambda λ ′ ≥ λ , the Toffoli cost is
C d i a g = C Q R O A M ( S , n , b , λ ) + ( b − 2 ) + C Q R O A M − 1 ( S , n , λ ′ ) . (62) C_{\mathrm{diag}} = C_{\mathrm{QROAM}}(S,n,b,\lambda) + (b-2)
+ C_{\mathrm{QROAM}^{-1}}(S,n,\lambda'). \tag*{(62)} C diag = C QROAM ( S , n , b , λ ) + ( b − 2 ) + C QROAM − 1 ( S , n , λ ′ ) . (62)
Optimized lookups give the leading cost 2 ( b + 1 ) ∣ S ∣ 2(\sqrt{b}+1)\sqrt{|S|} 2 ( b + 1 ) ∣ S ∣ and workspace b ∣ S ∣ \sqrt{b|S|} b ∣ S ∣ , recovering 2 ( b + 1 ) N 2(\sqrt{b}+1)\sqrt{N} 2 ( b + 1 ) N and b N \sqrt{bN} b N in the dense case S = { 0 , … , N − 1 } S = \{0,\ldots,N-1\} S = { 0 , … , N − 1 } .
For a dense diagonal with N N N entries, the T-optimal variant loads the angles with λ ≃ N / b \lambda\simeq\sqrt{N/b} λ ≃ N / b and erases them with λ ′ ≃ N \lambda' \simeq\sqrt{N} λ ′ ≃ N , which gives 2 b N + 2 N = 2 ( b + 1 ) N 2\sqrt{bN} + 2\sqrt{N} = 2(\sqrt{b}+1)\sqrt{N} 2 b N + 2 N = 2 ( b + 1 ) N Toffolis and b N \sqrt{bN} b N workspace qubits. The Q-optimal variant loads them with λ = 1 \lambda= 1 λ = 1 , at N N N Toffolis, and erases them with the optimized λ ′ \lambda' λ ′ of Appendix A1, at N / λ ′ N/\lambda' N / λ ′ Toffolis. Its leading cost is therefore N N N Toffolis with 3 b + log 2 N 3b + \log_2 N 3 b + log 2 N qubits. These are the diagonal entries of Table III (c).
Block-unitary synthesis
The central ζ V \zeta^{V} ζ V matrix in the exchange term is synthesized by performing an eigendecomposition and synthesizing the unitary eigentransformation directly. We extend Refs. [45 , 73 ] to the synthesis of a block-diagonal unitary with unequal block sizes using subset-restricted QROAM. Consider B B B unitary blocks of size N i × N i N_i \times N_i N i × N i , each embedded into an R i × R i R_i \times R_i R i × R i matrix with N i ≤ R i N_i \le R_i N i ≤ R i . We assume N i N_i N i and R i R_i R i are even (an odd dimension can be handled by padding with one identity row and column); all remaining rows and columns act as the identity. Order the blocks by size, N 0 ≥ N 1 ≥ ⋯ ≥ N B − 1 N_0 \ge N_1 \ge\cdots\ge N_{B-1} N 0 ≥ N 1 ≥ ⋯ ≥ N B − 1 . Block i i i begins at address s i = ∑ j < i R j s_i = \sum_{j<i} R_j s i = ∑ j < i R j in an n = ⌈ log 2 ∑ i R i ⌉ n = \lceil\log_2 \sum_i R_i \rceil n = ⌈ log 2 ∑ i R i ⌉ -qubit address register. Any unused basis states beyond the embedded blocks also act as the identity. This formalism covers all unitary blocks in our block-encoding: for the eigenbasis transformation of ζ V \zeta^{V} ζ V under translation symmetry, B = N k B = N_k B = N k , N i = N T H C N_i = N_{\mathrm{THC}} N i = N THC , and R i = 2 ⌈ log 2 N T H C ⌉ R_i = 2^{\lceil\log_2 N_{\mathrm{THC}}\rceil} R i = 2 ⌈ l o g 2 N THC ⌉ , whereas in the space-group-adapted case, B B B is the number of irreducible representations and the unitaries act on the corresponding copy blocks with N i = R i N_i = R_i N i = R i .
The construction applies a sequence of layers that couple adjacent basis states. Successive layers alternate between the two pairing patterns
( ( ∗ ∗ 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 ∗ ∗ ) , ( ∗ 0 0 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 0 0 ∗ ) ) . (63) \left(
\begin{pmatrix}
\ast& \ast& 0 & 0 & 0 & 0 & 0 & 0 \\
\ast& \ast& 0 & 0 & 0 & 0 & 0 & 0 \\
0 & 0 & \ast& \ast& 0 & 0 & 0 & 0 \\
0 & 0 & \ast& \ast& 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & \ast& \ast& 0 & 0 \\
0 & 0 & 0 & 0 & \ast& \ast& 0 & 0 \\
0 & 0 & 0 & 0 & 0 & 0 & \ast& \ast\\
0 & 0 & 0 & 0 & 0 & 0 & \ast& \ast
\end{pmatrix},
\begin{pmatrix}
\ast& 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
0 & \ast& \ast& 0 & 0 & 0 & 0 & 0 \\
0 & \ast& \ast& 0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & \ast& \ast& 0 & 0 & 0 \\
0 & 0 & 0 & \ast& \ast& 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 0 & \ast& \ast& 0 \\
0 & 0 & 0 & 0 & 0 & \ast& \ast& 0 \\
0 & 0 & 0 & 0 & 0 & 0 & 0 & \ast
\end{pmatrix}
\right). \tag*{(63)} ∗ ∗ 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 ∗ ∗ , ∗ 0 0 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 ∗ ∗ 0 0 0 0 0 0 0 0 ∗ . (63)
Here asterisks denote potentially nonzero entries and blanks denote zeros. Each 2 × 2 2 \times2 2 × 2 unitary acting on a selected pair is decomposed into two phase rotations and two Hadamard gates, followed by diagonal phases. The intermediate diagonal phases are pushed into subsequent layers, leaving a single diagonal phase layer at the end. An “odd” layer (the right-hand pattern) is implemented by decrementing the address, applying the pair rotations, and incrementing the address. Figure 5 shows the circuit and how successive layers grow the synthesized blocks.
Figure 5. Block-unitary synthesis. (a) The circuit that synthesizes the block-unitary, composed of alternating layers followed by a diagonal phase layer Δ \Delta Δ . White squares indicate multiplexed rotations; ± 1 \pm1 ± 1 denotes increment/decrement. (b) Growth of the synthesized blocks under the applications of each layer (final phase layer omitted). Blue boxes mark entries updated by each layer, and orange boxes mark entries that were previously zero and become non-zero.
At each layer, the two b b b -bit angles for the 2 × 2 2 \times2 2 × 2 decomposition are loaded jointly via subset-restricted QROAM with trade-off parameter λ \lambda λ and applied using addition into a phase-gradient state [70 ] . After application, the angle registers and any unused QROAM words are measured in the X X X basis and reused; the resulting known signs are tracked classically and folded into later angle data and the final phase layer. With this bookkeeping, each layer effectively costs one forward QROAM.
The Toffoli count is determined by the lookup subsets used in each subset-QROAM call. At layer ℓ \ell ℓ , each unfinished block contributes N i / 2 N_i/2 N i /2 lookup addresses, while blocks completed by layer ℓ \ell ℓ contribute none, giving
S ℓ = ⋃ i : N i > ℓ { s i 2 + j : 0 ≤ j < N i 2 } , ∣ S ℓ ∣ = 1 2 ∑ i : N i > ℓ N i . (64) S_\ell= \bigcup_{i:N_i>\ell}\left\{\frac{s_i}{2}+j:0\le j<\frac{N_i}{2}\right\}, \qquad
|S_\ell|=\frac{1}{2}\sum_{i:N_i>\ell}N_i. \tag*{(64)} S ℓ = i : N i > ℓ ⋃ { 2 s i + j : 0 ≤ j < 2 N i } , ∣ S ℓ ∣ = 2 1 i : N i > ℓ ∑ N i . (64)
When R i = N i R_i=N_i R i = N i , each subset is a contiguous prefix; padding introduces gaps, which subset-QROAM handles directly.
The final diagonal phase layer uses a subset S p h a s e S_{\mathrm{phase}} S phase that contains all unitary-block addresses together with any padding or unused addresses that may acquire signs from QROAM measurements. Because QROAM loads records in groups, a measurement sign can affect the 2 λ 2\lambda 2 λ addresses sharing the same upper bits (i.e., those obtained by varying the last log 2 ( 2 λ ) \log_2(2\lambda) log 2 ( 2 λ ) bits). We therefore include each such group and the address immediately after it (to account for odd-layer shifts), yielding a phase subset satisfying ∑ i N i ≤ ∣ S p h a s e ∣ ≤ 2 n \sum_i N_i \le|S_{\mathrm{phase}}| \le2^n ∑ i N i ≤ ∣ S phase ∣ ≤ 2 n . The final lookup and its erasure are performed only once, so they contribute only a small fraction of the total synthesis cost.
Assume n , b ≥ 2 n,b\ge2 n , b ≥ 2 and that a phase-gradient state is available. Fix a power of two 1 ≤ λ ≤ 2 n − 1 1\le\lambda\le2^{n-1} 1 ≤ λ ≤ 2 n − 1 for all forward lookups, including the final phase lookup. Choose an independent power of two max { 2 , λ } ≤ λ ′ ≤ 2 n \max\{2,\lambda\}\le\lambda'\le2^n max { 2 , λ } ≤ λ ′ ≤ 2 n for the final sign fixup. The constraint λ ′ ≥ λ \lambda'\ge\lambda λ ′ ≥ λ ensures that any additional addresses affected by measurements in the final phase lookup fall within the same λ ′ \lambda' λ ′ quotient blocks already included in S p h a s e S_{\mathrm{phase}} S phase . The Toffoli count is
C b l o c k = ∑ ℓ = 0 N 0 − 1 [ C Q R O A M ( S ℓ , n − 1 , 2 b , λ ) + 2 ( b − 2 ) ] + N 0 ( n − 2 ) + C Q R O A M ( S p h a s e , n , b , λ ) + ( b − 2 ) + C Q R O A M − 1 ( S p h a s e , n , λ ′ ) . (65) \begin{aligned}
C_{\mathrm{block}}={}&\sum_{\ell=0}^{N_0-1}\left[C_{\mathrm{QROAM}}(S_\ell,n-1,2b,\lambda)+2(b-2)\right]+N_0(n-2)\\
&+C_{\mathrm{QROAM}}(S_{\mathrm{phase}},n,b,\lambda)+(b-2)\\
&+C_{\mathrm{QROAM}^{-1}}(S_{\mathrm{phase}},n,\lambda'). \tag*{(65)}
\end{aligned} C block = ℓ = 0 ∑ N 0 − 1 [ C QROAM ( S ℓ , n − 1 , 2 b , λ ) + 2 ( b − 2 ) ] + N 0 ( n − 2 ) + C QROAM ( S phase , n , b , λ ) + ( b − 2 ) + C QROAM − 1 ( S phase , n , λ ′ ) . (65)
The summand accounts for one angle lookup and two rotations per layer. Each shift costs n − 2 n-2 n − 2 Toffolis, contributing N 0 ( n − 2 ) N_0(n-2) N 0 ( n − 2 ) . The remaining terms apply the final phases and uncompute the lookup registers, including measurement-induced sign corrections. Ancillas are reused throughout; phase-gradient-state preparation is counted separately.
For B B B blocks of equal size N N N , the synthesis has N N N layers, and each layer looks up the angles of B N / 2 BN/2 B N /2 rotation pairs. In the T T T -optimal variant, the two b b b -bit angles of a pair are loaded jointly as one 2 b 2b 2 b -bit word, as in Eq. (65) . With λ ≃ B N / ( 4 b ) \lambda\simeq\sqrt{BN/(4b)} λ ≃ B N / ( 4 b ) , each layer costs approximately 2 2 b ⋅ B N / 2 = 2 b B N 2\sqrt{2b}\cdot BN/2=2\sqrt{b}BN 2 2 b ⋅ B N /2 = 2 b B N Toffolis and uses b B N \sqrt{b}BN b B N workspace qubits, so the N N N layers cost 2 b B N 3 / 2 2\sqrt{bB}\,N^{3/2} 2 b B N 3/2 Toffolis. In the Q Q Q -optimal variant, a joint word would occupy 2 b 2b 2 b data qubits, so the two angles are instead loaded by two separate λ = 1 \lambda=1 λ = 1 lookups into a single b b b -bit register. Each layer then costs 2 ⋅ B N / 2 = B N 2\cdot BN/2=BN 2 ⋅ B N /2 = B N Toffolis, and the N N N layers cost B N 2 BN^2 B N 2 Toffolis with 3 b + log 2 ( N B ) 3b+\log_2(NB) 3 b + log 2 ( N B ) qubits. The final phase layer and its sign fixup, with λ ′ \lambda' λ ′ optimized as in Appendix A1, add only O ( B N ) O(BN) O ( B N ) Toffolis. These are the block-unitary entries of Table III (c).
Recent advances in unitary synthesis could further reduce the walk cost. For a single N × N N\times N N × N unitary, recent constructions lower the N 3 / 2 N^{3/2} N 3/2 scaling to O ( N 4 / 3 log 2 / 3 N ) O(N^{4/3}\log^{2/3}N) O ( N 4/3 log 2/3 N ) [74 ] and O ~ ( N 5 / 4 ) \widetilde{O}(N^{5/4}) O ( N 5/4 ) [75 ] T T T gates, and to O ~ ( N ) \widetilde{O}(N) O ( N ) for near-Clifford unitaries [76 ] . Since block-unitary synthesis dominates the ζ V \zeta^{V} ζ V encoding, these could reduce the walk cost further. However, their constant factors have not been worked out and may outweigh the modest asymptotic gain at the block sizes relevant here, so we leave them as potential future improvements.
Block-isometry synthesis
The occupied and virtual factors X X , o X^{X,o} X X , o and X X , v X^{X,v} X X , v contain blocks that have N T H C N_{\mathrm{THC}} N THC columns but only N o N_o N o or N v N_v N v rows. Because the column-row ratio is large, embedding them into unitaries is expensive, motivating an isometry synthesis primitive, i.e. a unitary where only the first few columns need to be specified and the rest can be arbitrary. We synthesize these columns by a column-elimination circuit and then reverse it. This subsection is a blockwise extension of the column-by-column construction of Ref. [46 ] to unequal block sizes, with subset-restricted QROAM providing the phase and rotation angles shared across all active blocks.
Consider B B B blocks V i ∈ C N i × M i V_i \in\mathbb{C}^{N_i \times M_i} V i ∈ C N i × M i satisfying V i † V i = I M i V_i^\dagger V_i = I_{M_i} V i † V i = I M i and 1 ≤ M i ≤ N i 1 \leq M_i \leq N_i 1 ≤ M i ≤ N i , ordered so that N 0 ≥ ⋯ ≥ N B − 1 N_0 \geq\cdots\geq N_{B-1} N 0 ≥ ⋯ ≥ N B − 1 . Pad block i i i to R i = 2 p i R_i = 2^{p_i} R i = 2 p i rows, where p i = ⌈ log 2 N i ⌉ p_i = \lceil\log_2 N_i \rceil p i = ⌈ log 2 N i ⌉ , and embed it at offset s i = ∑ j < i R j s_i = \sum_{j<i} R_j s i = ∑ j < i R j in an n = ⌈ log 2 ∑ i R i ⌉ n = \lceil\log_2 \sum_i R_i \rceil n = ⌈ log 2 ∑ i R i ⌉ -qubit register. Row x x x of block i i i has global address s i + x s_i + x s i + x . Since the padded sizes are decreasing powers of two, each block begins at a multiple of its own size; equivalently, the lowest p i p_i p i address bits are exactly the local row bits. This alignment lets us apply the same binary-tree rotation pattern in every block without mixing rows from different blocks.
We construct a column-elimination circuit U † U^\dagger U † such that, for each block i i i and each prescribed column 0 ≤ c < M i 0 \leq c < M_i 0 ≤ c < M i ,
U † ∑ x = 0 N i − 1 ( V i ) x c ∣ s i + x ⟩ = ∣ s i + c ⟩ . (66) U^\dagger\sum_{x=0}^{N_i-1} (V_i)_{xc} \lvert s_i + x\rangle= \lvert s_i + c\rangle. \tag*{(66)} U † x = 0 ∑ N i − 1 ( V i ) x c ∣ s i + x ⟩ = ∣ s i + c ⟩ . (66)
Reversing this circuit gives the desired synthesis U U U , with input ∣ s i + c ⟩ \lvert s_i + c\rangle ∣ s i + c ⟩ selecting column c c c of block i i i . Although only these columns are specified, the resulting gate sequence fixes a full unitary completion on each padded block; addresses outside the embedded blocks are left unchanged by the corrected circuit.
The elimination proceeds column by column. For a given column c c c , we (i) apply a diagonal phase layer to make the active entries real and nonnegative, and then (ii) apply a conditioned binary tree of real rotations to concentrate the remaining amplitude into the single target row s i + c s_i + c s i + c in every block with c < M i c < M_i c < M i . At tree level t t t , we rotate the qubit n − t n-t n − t and condition on the lower t t t bits matching those of c c c . Because these lower bits are fixed by earlier levels, each enabled rotation combines the two surviving amplitudes in its selected pair, stores the norm in the member whose target-bit value matches c c c , and zeros the other. We omit rotations that intersect already cleared rows or have zero angle; a zero entry does not by itself remove the operation if the nonzero entry lies in the “wrong” member of the pair (in which case a swap is still required). Rotations act on all uncleared columns, so the phase and rotation tables used for later columns must be computed from the ideal elimination sequence. Once a block has no remaining columns, it receives no further reference gates. In particular, column c c c requires at most max i : c < M i p i \max_{i:c<M_i} p_i max i : c < M i p i rotation levels, so a large block with few columns can finish early, reducing the depth of later trees.
The orange entries in Figure 6 (b) illustrate why the elimination may require access to padding: clearing one column can move a different column’s amplitude into padded rows. The first column’s tree preserves the original row support of every supplied column, but later columns can populate padding in a structured way. Writing q i = ⌈ log 2 M i ⌉ q_i = \lceil\log_2 M_i \rceil q i = ⌈ log 2 M i ⌉ , it suffices to track support rounded up to groups of 2 q i 2^{q_i} 2 q i rows,
Figure 6. Block-isometry synthesis. (a) Column elimination using diagonal phase layers Δ \Delta Δ and controlled R y R_y R y rotations; reversing the circuit synthesizes the isometry. In this notation, blank white boxes represent multiplexed rotations, while white boxes marked with bit labels mean the rotation is applied only when the qubit matches the bit value shown in the box. (b) Ideal elimination of the first two columns of a 5 × 3 5 \times3 5 × 3 block and a 3 × 2 3 \times2 3 × 2 block, padded to eight and four rows, respectively. The upper and lower sequences clear columns zero and one. Blue boxes mark entries whose phases are cancelled, blue dots mark rows participating in a rotation, and orange boxes mark nonzero entries in padding. Stars denote nonzero entries; ellipses abbreviate the remaining columns of each full unitary block and the trailing identity block. Gates 5 and 10 are identity levels. The larger block’s third column is cleared by a subsequent sequence, not shown.
N i e f f = 2 q i ⌈ N i 2 q i ⌉ ≤ R i . (67) N_i^{\mathrm{eff}} = 2^{q_i} \left\lceil\frac{N_i}{2^{q_i}} \right\rceil\leq R_i. \tag*{(67)} N i eff = 2 q i ⌈ 2 q i N i ⌉ ≤ R i . (67)
The lowest q i q_i q i address bits mix rows only within these groups. At higher levels, every destination c < M i c < M_i c < M i has target-bit value zero, so if a pair straddles the boundary of this support then its “outside” member already has amplitude in the correct member and the rotation is skipped.
Subset-restricted QROAM supplies one angle table for each nontrivial phase layer or rotation level, combining all active blocks in a single lookup. Let P c \mathcal{P}_c P c be the set of full row addresses requiring a nonzero phase at column c c c , and let S c , t \mathcal{S}_{c,t} S c , t be the set of pair addresses requiring a nonzero rotation at level t t t . Phase lookups use all n n n address bits and are confined to uncleared rows below N i e f f N_i^{\mathrm{eff}} N i eff in active blocks. Rotation lookups use the upper n − t − 1 n-t-1 n − t − 1 bits: deleting the target bit and the fixed lower bits yields a unique address per selected pair, and the lookup is enabled only when the lower t t t bits match c c c . Completed blocks and zero-angle records are omitted, leaving gaps that subset-restricted QROAM handles directly. We compute these tables from the ideal elimination sequence, round each angle once to b b b bits, and retain the same lookup subsets after rounding.
After each loaded angle is applied, we measure all QROAM data registers in the X X X basis and reuse them. We can follow similar strategies of Ref. [45 ] which delays the uncomputation towards the last layer, leaving only the forward computation cost for each layer. To achieve this, the measurements introduce known signs on computational-basis amplitudes. Rather than correcting after every lookup, we track these signs classically. Before a subsequent real rotation, we flip the sign of its angle if the two basis states in the selected pair have different tracked signs; if their signs agree, the angle is left unchanged. This passes the accumulated signs through the rotation without changing the intended operation (diagonal phase layers already commute with them). Since each rotation record addresses one selected pair, this adjustment changes only the sign of the angle and does not change the lookup subset.
A final diagonal correction removes the accumulated signs on the entire register, preserving the chosen unitary completion in either circuit direction (this is required to ensure the entire block-encoding unitary is self-inverse). Let F \mathcal{F} F be a sufficient set of addresses for this correction. It must include signs induced by measuring unused QROAM words, which can occur even when a selected angle is zero. For each lookup with computation parameter λ \lambda λ , we therefore expand its retained subset to whole aligned groups of λ \lambda λ lookup addresses (restoring the deleted bits for rotation lookups by inserting the lower t t t bits of c c c and both values of the target bit). Taking the union over all lookups defines F \mathcal{F} F , including any affected padding, completed blocks, or unused addresses. The final correction table records the accumulated sign on each address in F \mathcal{F} F and applies no correction elsewhere.
To count Toffolis, let ℓ \ell ℓ index the nonempty phase and rotation lookups, with subset S ℓ S_\ell S ℓ and address width n ℓ n_\ell n ℓ (equal to n n n for phases and n − t − 1 n-t-1 n − t − 1 for a level-t t t rotation). Each lookup has an independently chosen power-of-two computation parameter 1 ≤ λ ℓ ≤ 2 n ℓ 1 \leq\lambda_\ell\leq2^{n_\ell} 1 ≤ λ ℓ ≤ 2 n ℓ . Lower-bit conditions are built incrementally as shared temporary ANDs [69 ] , starting from the external control. If d c d_c d c is the highest level t t t with a retained rotation at column c c c (or zero if there are none), these controls require d c d_c d c Toffolis to compute and only measurements and Clifford corrections to erase. Writing M ∗ = max i M i M_*=\max_i M_i M ∗ = max i M i , the scheduled cost in either circuit direction is
C i s o m e t r y = ∑ ℓ [ C Q R O A M ( S ℓ , n ℓ , b , λ ℓ ) + ( b − 2 ) ] + ∑ c = 0 M ∗ − 1 d c + C Q R O A M − 1 ( F , n , λ ′ ) . (68) \begin{aligned}
C_{\mathrm{isometry}} &= \sum_{\ell}\left[C_{\mathrm{QROAM}}(S_\ell,n_\ell,b,\lambda_\ell)+(b-2)\right] \\
&\quad+ \sum_{c=0}^{M_*-1}d_c+C_{\mathrm{QROAM}^{-1}}(\mathcal{F},n,\lambda'). \tag*{(68)}
\end{aligned} C isometry = ℓ ∑ [ C QROAM ( S ℓ , n ℓ , b , λ ℓ ) + ( b − 2 ) ] + c = 0 ∑ M ∗ − 1 d c + C QROAM − 1 ( F , n , λ ′ ) . (68)
The three contributions are the angle lookups and applications, the shared controls, and the final sign correction. The last term uses the measurement-based QROAM uncomputation primitive with an independent power of two 2 ≤ λ ′ ≤ 2 n 2 \leq\lambda' \leq2^n 2 ≤ λ ′ ≤ 2 n , and it vanishes when F \mathcal{F} F is empty. No ordering condition between λ ′ \lambda' λ ′ and the computation parameters is needed because F \mathcal{F} F already covers the full support of the deferred signs. Ancillas are reused throughout; the cost excludes preparation of the phase-gradient state and classical table processing.
For B B B blocks with N N N padded rows and M M M columns each, every column needs one phase lookup over N B NB N B addresses and, at successive tree levels, rotation lookups over N B / 2 NB/2 N B /2 , N B / 4 NB/4 N B /4 , … \ldots … pair addresses. In the T-optimal variant, each lookup uses its own optimal λ ℓ \lambda_\ell λ ℓ , so a column costs approximately 2 b N B ( 1 + 2 − 1 / 2 + 2 − 1 + ⋯ ) = 2 ( 2 + 2 ) b N B ≃ 7 b N B 2\sqrt{bNB}\left(1+2^{-1/2}+2^{-1}+\cdots\right)=2(2+\sqrt{2})\sqrt{bNB}\simeq7\sqrt{bNB} 2 b N B ( 1 + 2 − 1/2 + 2 − 1 + ⋯ ) = 2 ( 2 + 2 ) b N B ≃ 7 b N B Toffolis. The M M M columns cost 7 b M N B 7\sqrt{b}\,M\sqrt{NB} 7 b M N B Toffolis, with b N B \sqrt{bNB} b N B workspace qubits set by the phase lookup. In the Q-optimal variant, every lookup uses λ ℓ = 1 \lambda_\ell=1 λ ℓ = 1 : a column costs N B NB N B Toffolis for its phases and N B ( 1 2 + 1 4 + ⋯ ) ≃ N B NB\left(\frac{1}{2}+\frac{1}{4}+\cdots\right)\simeq NB N B ( 2 1 + 4 1 + ⋯ ) ≃ N B for its rotations, so the M M M columns cost 2 M N B 2MNB 2 M N B Toffolis with 3 b + log 2 ( N B ) 3b+\log_2(NB) 3 b + log 2 ( N B ) qubits. The final sign correction, with λ ′ \lambda' λ ′ optimized as in Appendix A § 10 , adds approximately N B / λ ′ NB/\lambda' N B / λ ′ Toffolis. These are the block-isometry entries of Table III (c).
Block-state preparation
In the synthesis of exchange proto-term, we will use the block-state preparation, which is the single-column case of block-isometry synthesis: for each block i i i , an operator S i S_i S i satisfies S i ∣ 0 ⟩ = ∣ ψ i ⟩ ∈ C N i S_i|0\rangle=|\psi_i\rangle\in\mathbb{C}^{N_i} S i ∣0 ⟩ = ∣ ψ i ⟩ ∈ C N i and can be implemented with the same binary-tree pattern of rotations, but without the lower-bit controls needed to select among multiple columns.
When the state dimension is much smaller than the number of blocks, it is more efficient to “load all angles at once” (rather than querying a new angle at every tree node). We therefore use the load-all construction of § 3 .C (Fig. 10) of [77 ] . Concretely, we pad all states to a common power-of-two dimension R = 2 p ≥ max i N i R=2^p\geq\max_i N_i R = 2 p ≥ max i N i so that a single fixed rotation tree can be reused for every block. One QROAM query addressed by the block index then loads the full set of angles needed for that tree: the R − 1 R-1 R − 1 magnitude angles and the R R R phases, as a single word of width W = ( 2 R − 1 ) b W=(2R-1)b W = ( 2 R − 1 ) b . Controlled swaps route the appropriate angle to the active rotation at each tree level (and route the final phase); after applying the rotations, we reverse the swaps and erase the loaded word using measurement-based QROAM uncomputation.
Writing B = { 0 , … , B − 1 } B=\{0,\ldots,B-1\} B = { 0 , … , B − 1 } and n B = ⌈ log 2 B ⌉ n_B=\lceil\log_2 B\rceil n B = ⌈ log 2 B ⌉ , the Toffoli cost is
C s t a t e = C Q R O A M ( B , n B , W , λ ) + C Q R O A M − 1 ( B , n B , λ ′ ) + 2 b ( 2 R − p − 2 ) + ( p + 1 ) ( b − 2 ) . (69) \begin{aligned}
C_{\mathrm{state}}={}&C_{\mathrm{QROAM}}(B,n_B,W,\lambda)\\
&+C_{\mathrm{QROAM}^{-1}}(B,n_B,\lambda')+2b(2R-p-2)+(p+1)(b-2). \tag*{(69)}
\end{aligned} C state = C QROAM ( B , n B , W , λ ) + C QROAM − 1 ( B , n B , λ ′ ) + 2 b ( 2 R − p − 2 ) + ( p + 1 ) ( b − 2 ) . (69)
Here λ ′ ≥ λ \lambda'\geq\lambda λ ′ ≥ λ ensures that the final uncomputation accounts for signs induced by measurements on unused QROAM words. The explicit 2 b ( 2 R − p − 2 ) ≃ 4 b R 2b(2R-p-2)\simeq4bR 2 b ( 2 R − p − 2 ) ≃ 4 b R term comes from routing the angle word to the rotation sites and then restoring it; the rotations themselves and any shared controls contribute only ( p + 1 ) ( b − 2 ) (p+1)(b-2) ( p + 1 ) ( b − 2 ) , for the p p p magnitude levels and the final phase. The inverse applies the same rounded rotations in reverse order and has the same cost.
For B B B states of dimension N = R N=R N = R , the T-optimal variant costs ( 2 W B − W + 2 ) B + 2 b B + 2 b N B ≃ 2 b N B + B + 2 b N (2\sqrt{W B-W}+2)\sqrt{B}+2\sqrt{b}B+2\sqrt{bNB}\simeq2\sqrt{bNB}+\sqrt{B}+2bN ( 2 W B − W + 2 ) B + 2 b B + 2 b N B ≃ 2 b N B + B + 2 b N Toffolis, with W = ( 2 N − 1 ) b ≃ 2 b N W=(2N-1)b\simeq2bN W = ( 2 N − 1 ) b ≃ 2 b N , which rounds to the 3 b N B + 2 b N 3\sqrt{bNB}+2bN 3 b N B + 2 b N of Table III (c); its peak ancilla count is max { W λ , λ ′ } + O ( b + n B + p ) \max\{W\lambda,\lambda'\}+O(b+n_B+p) max { W λ , λ ′ } + O ( b + n B + p ) , with W λ ≃ 2 b N B W\lambda\simeq\sqrt{2bNB} W λ ≃ 2 b N B . Since the loaded word alone requires W ≃ 2 b N W\simeq2bN W ≃ 2 b N ancilla qubits, even at λ = 1 \lambda=1 λ = 1 , the Q-optimal variant instead uses the single-column case of the block-isometry synthesis of Appendix A § 11 : a phase lookup over N B NB N B addresses and rotation-angle lookups over N B / 2 NB/2 N B /2 , N B / 4 NB/4 N B /4 , … \ldots … addresses, each with λ = 1 \lambda= 1 λ = 1 and one b b b -bit angle register. It costs 2 N B 2NB 2 N B Toffolis and 3 b + log 2 ( N B ) 3b + \log_{2}(NB) 3 b + log 2 ( N B ) ancilla qubits, with the measurement-based uncomputation using the optimized λ ′ \lambda' λ ′ of Appendix A § 10 . These are the block-state-preparation entries of Table III (c).
This appendix describes the circuit for the THC-side basis change S T H C S^{\mathrm{THC}} S THC of Eqs. (52) –(53) . Its columns form a space-group-adapted basis for the representation D g T H C D^{\mathrm{THC}}_{g} D g THC on the THC index ( k , μ ) (\mathbf{k},\mu) ( k , μ ) . A space-group irrep λ = ( f , α ) \lambda= (f,\alpha) λ = ( f , α ) is labelled by a momentum star f f f , with representative momentum k f \mathbf{k}_{f} k f , and an irrep α \alpha α of the little group of k f \mathbf{k}_{f} k f [37 ] ; its dimension m λ m_{\lambda} m λ is the number of star members times the dimension of α \alpha α .
The key idea is to avoid synthesizing an independent unitary at every momentum. Since D g T H C D^{\mathrm{THC}}_{g} D g THC maps the THC space at k f \mathbf{k}_{f} k f to that at g k f g\mathbf{k}_{f} g k f , the basis vectors at every star member follow from those at the representative by applying the symmetry itself, i.e. by a permutation of interpolation points and a Bloch phase. We therefore (i) synthesize unitary blocks only at the star representatives, using the block-unitary primitive of Appendix A § 10.2 , and (ii) use QROAM to convert coherently between the space-group labels and the momentum labels needed to apply the appropriate permutation and phase. The circuit has five stages, described below.
a. Registers and target map. Let B B B be the number of irrep blocks and N f N_f N f the number of momentum stars. The input register ∣ L ⟩ \lvert L\rangle ∣ L ⟩ encodes ( λ , c ) (\lambda,c) ( λ , c ) , where c < n λ c < n_{\lambda} c < n λ is the copy index. Block λ \lambda λ occupies n ˉ λ \bar{n}_{\lambda} n ˉ λ addresses, with n ˉ λ \bar{n}_{\lambda} n ˉ λ the smallest power of two at least n λ n_{\lambda} n λ for χ X \chi^{X} χ X and the smallest even integer at least n λ n_{\lambda} n λ for ζ X \zeta^{X} ζ X . The partner register ∣ a ⟩ = ∣ κ ⟩ ∣ β ⟩ \lvert a\rangle= \lvert\kappa\rangle\lvert\beta\rangle ∣ a ⟩ = ∣ κ ⟩ ∣ β ⟩ indexes the m λ m_{\lambda} m λ copies in I m λ I_{m_{\lambda}} I m λ : it contains the star-member index κ \kappa κ and the row index β \beta β of the little-group irrep α \alpha α . The target map is
∣ L ⟩ ∣ a ⟩ ⟶ ∣ k ⟩ ∑ μ S ( k , μ ) , ( λ , a , c ) T H C ∣ μ ⟩ . (70) \lvert L\rangle\lvert a\rangle\longrightarrow\lvert\mathbf{k}\rangle\sum_{\mu} S^{\mathrm{THC}}_{(\mathbf{k},\mu),(\lambda,a,c)}\lvert\mu\rangle. \tag*{(70)} ∣ L ⟩ ∣ a ⟩ ⟶ ∣ k ⟩ μ ∑ S ( k , μ ) , ( λ , a , c ) THC ∣ μ ⟩ . (70)
b. Stage 1: space-group labels. We first recover the space-group labels from L L L . With offsets s λ = ∑ j < λ n ˉ j s_{\lambda} = \sum_{j<\lambda}\bar{n}_{j} s λ = ∑ j < λ n ˉ j and compact offsets t λ = ∑ j < λ n j t_{\lambda} = \sum_{j<\lambda}n_{j} t λ = ∑ j < λ n j , the staircase shift L ↦ L + ∑ j : L ≥ t j + 1 ( n ˉ j − n j ) L \mapsto L + \sum_{j:L\geq t_{j+1}}(\bar{n}_{j}-n_{j}) L ↦ L + ∑ j : L ≥ t j + 1 ( n ˉ j − n j ) separates the block and copy indices. Ordering the power-of-two blocks by decreasing size aligns each s λ s_{\lambda} s λ to a multiple of n ˉ λ \bar{n}_{\lambda} n ˉ λ , so the lowest log 2 n ˉ λ \log_{2}\bar{n}_{\lambda} log 2 n ˉ λ bits already encode c c c for χ X \chi^{X} χ X . A coherent binary search over the B − 1 B-1 B − 1 block boundaries recovers λ \lambda λ in ⌈ log 2 B ⌉ \lceil\log_{2}B\rceil ⌈ log 2 B ⌉ levels, using comparators of width n = ⌈ log 2 ∑ λ n ˉ λ ⌉ n=\lceil\log_{2}\sum_{\lambda}\bar{n}_{\lambda}\rceil n = ⌈ log 2 ∑ λ n ˉ λ ⌉ . The first threshold is constant and the second is selected by CNOTs; only levels r ≥ 3 r\geq3 r ≥ 3 require lookups, with 2 r − 1 2^{r-1} 2 r − 1 entries per level and O ( B ) O(B) O ( B ) entries in total. Two B B B -entry lookups map λ \lambda λ to ( f , α ) (f,\alpha) ( f , α ) and erase λ \lambda λ , while an offset lookup and subtraction recover c = L − ∑ j < λ n j c=L-\sum_{j<\lambda}n_{j} c = L − ∑ j < λ n j . Schur’s lemma makes these lookups independent of a a a , so padding a a a into fixed-width κ \kappa κ and β \beta β subregisters requires no gates. The label-conversion cost is O ( log B + B log B ) O(\log B+\sqrt{B}\log B) O ( log B + B log B ) Toffolis.
c. Stage 2: momentum. The momentum is reconstructed as k = A g k f \mathbf{k}=A_{g}\mathbf{k}_{f} k = A g k f , where k f \mathbf{k}_{f} k f is loaded from an N f N_{f} N f -entry table, g g g is the coset representative selected by κ \kappa κ , and A g A_{g} A g is the action of g g g on momenta (g k ≡ A g k g\mathbf{k}\equiv A_{g}\mathbf{k} g k ≡ A g k ). In cubic coordinates, A g A_{g} A g is a signed permutation of the three components, giving a specialized cost of O ( ∣ P ∣ + N f log N k ) O(|P|+\sqrt{N_{f}}\log N_{k}) O ( ∣ P ∣ + N f log N k ) , where ∣ P ∣ |P| ∣ P ∣ is the point-group order. The tabulated implementation instead uses a ( g , f ) (g,f) ( g , f ) -indexed lookup in primitive reciprocal coordinates.
d. Stage 3: representative blocks. At each star representative, the little group permutes the interpolation points, which therefore separate into little-group orbits. In this orbit basis, the representative block of S T H C S^{\mathrm{THC}} S THC is
S f T H C = ⨁ ω U ω , U ω ∈ C N ω × N ω , (71) S^{\mathrm{THC}}_{f}=\bigoplus_{\omega}U_{\omega},\qquad U_{\omega}\in\mathbb{C}^{N_{\omega}\times N_{\omega}}, \tag*{(71)} S f THC = ω ⨁ U ω , U ω ∈ C N ω × N ω , (71) where the orbit sizes N ω N_{\omega} N ω divide ∣ P ∣ |P| ∣ P ∣ and sum to N T H C N_{\mathrm{THC}} N THC within each star. We apply the block-unitary synthesis of Eq. (65) , with lookups addressed by ( f , ω ) (f,\omega) ( f , ω ) . The circuit has max ω N ω ≤ ∣ P ∣ \max_{\omega}N_{\omega}\leq|P| max ω N ω ≤ ∣ P ∣ layers, and layer ℓ \ell ℓ loads ∑ N ω ≥ ⌈ N ω / 2 ⌉ \sum_{N_{\omega}\geq\lceil N_{\omega}/2\rceil} ∑ N ω ≥ ⌈ N ω /2 ⌉ rotation pairs. Subset lookups leave completed orbits and unused addresses unchanged. The synthesis cost is O ( ∣ P ∣ N f N T H C b ) O(|P|\sqrt{N_{f}N_{\mathrm{THC}}}b) O ( ∣ P ∣ N f N THC b ) ; its mesh dependence enters only through the number of stars N f N_{f} N f .
e. Stage 4: remaining star members. The block at k = A g k f \mathbf{k}=A_{g}\mathbf{k}_{f} k = A g k f is obtained by applying the corresponding block of D g T H C D^{\mathrm{THC}}_{g} D g THC to the representative block (induction):
S k T H C = Π ( g ) Λ ( g , k ) S f T H C , Λ μ μ ( g , k ) = e − i k ⋅ L μ ( g ) . (72) S^{\mathrm{THC}}_{\mathbf{k}}=\Pi(g)\Lambda(g,\mathbf{k})S^{\mathrm{THC}}_{f},\qquad\Lambda_{\mu\mu}(g,\mathbf{k})=e^{-i\mathbf{k}\cdot\mathbf{L}_{\mu}(g)}. \tag*{(72)} S k THC = Π ( g ) Λ ( g , k ) S f THC , Λ μμ ( g , k ) = e − i k ⋅ L μ ( g ) . (72) Here Π ( g ) \Pi(g) Π ( g ) maps μ \mu μ to perm [ g , μ ] \operatorname{perm}[g,\mu] perm [ g , μ ] , and the lattice vector L μ ( g ) \mathbf{L}_{\mu}(g) L μ ( g ) satisfies r μ = r perm [ g , μ ] + L μ ( g ) \mathbf{r}_{\mu}=\mathbf{r}_{\operatorname{perm}[g,\mu]}+\mathbf{L}_{\mu}(g) r μ = r perm [ g , μ ] + L μ ( g ) . Two geometry tables of size ∣ P ∣ × N T H C |P|\times N_{\mathrm{THC}} ∣ P ∣ × N THC store these permutations and lattice vectors, independently of k \mathbf{k} k . The Bloch phase factorizes over the three axes, e − i k ⋅ L μ ( g ) = ∏ j e − 2 π i k j L μ , j ( g ) / N j e^{-i\mathbf{k}\cdot\mathbf{L}_{\mu}(g)}=\prod_{j}e^{-2\pi i k_{j}L_{\mu,j}(g)/N_{j}} e − i k ⋅ L μ ( g ) = ∏ j e − 2 π i k j L μ , j ( g ) / N j for a N 1 × N 2 × N 3 N_{1}\times N_{2}\times N_{3} N 1 × N 2 × N 3 mesh. For each axis, a lookup over the N j N_{j} N j
mesh values loads the b b b -bit phase k j / N j k_j/N_j k j / N j , which is then added into the phase-gradient register once per bit of L μ , j ( g ) L_{\mu,j}(g) L μ , j ( g ) , controlled on that bit (subtracted for the sign bit); the weights 2 i 2^i 2 i are bit shifts. It cancels across the diagonal central factor of the direct term but remains in the exchange term. The induction cost is O ( ∣ P ∣ N T H C log N T H C + b ∑ j w j ) O(\sqrt{|P|}N_{\mathrm{THC}}\log N_{\mathrm{THC}}+b\sum_j w_j) O ( ∣ P ∣ N THC log N THC + b ∑ j w j ) , where w j w_j w j is the bit width of L μ , j ( g ) L_{\mu,j}(g) L μ , j ( g ) , fixed by the geometry.
f. Stage 5: uncomputation. Finally, k k k uniquely determines ( f , κ ) (f,\kappa) ( f , κ ) , so these temporary labels can be erased by measurement-based QROAM uncomputation over N k N_k N k addresses, at a cost of O ( N k ) O(\sqrt{N_k}) O ( N k ) Toffolis. Alternatively, the canonical representative k ∗ = min g ∈ A g g k k^*=\min_{g\in A_g}gk k ∗ = min g ∈ A g g k can be computed over the ∣ P ∣ |P| ∣ P ∣ group operations at cost O ( ∣ P ∣ log N k ) O(|P|\log N_k) O ( ∣ P ∣ log N k ) ; the lookup is cheaper for the meshes considered here.
g. Cost. Table IV reports the cost of one application of S T H C S^{\mathrm{THC}} S THC . It increases by a factor of 1.24 between 2 × 2 × 2 2\times2\times2 2 × 2 × 2 and 6 × 6 × 6 6\times6\times6 6 × 6 × 6 , while N k N_k N k increases by a factor of 27. The representative unitaries have dimension at most ∣ P ∣ |P| ∣ P ∣ , but their number grows with the number of stars N f N_f N f , which accounts for most of the mesh dependence; the label conversion, the momentum lookup, and the final momentum-addressed uncomputation contribute the rest.
Table IV. Illustrative space-group synthesis costs for diamond. Counts for one application of S T H C S^{\mathrm{THC}} S THC from the implemented five-stage model at b = 32 b=32 b = 32 and N T H C = 208 N_{\mathrm{THC}}=208 N THC = 208 use the selected-point geometry to determine the momentum stars, irreps, and little-group orbits, with even-padded copy blocks. Momentum reconstruction uses a ( g , f ) (g,f) ( g , f ) lookup in primitive reciprocal coordinates. The counts exclude phase-gradient-state preparation.
Operator norm of the BSE Hamiltonian
The goal of this appendix is to explain why the physical BSE Hamiltonian has an O ( 1 ) O(1) O ( 1 ) operator norm in the thermodynamic limit, at fixed excitation number and basis resolution. We consider a gapped system and assume that the occupied and retained virtual spaces admit exponentially localized orbitals, with localization lengths independent of system size [78 , 79 ] .
Assuming bounded eigenvalues of the Fock blocks, we only need to show that the individual direct and exchange Hamiltonians have O ( 1 ) O(1) O ( 1 ) norm. The full m m m -exciton Hamiltonian then also has O ( 1 ) O(1) O ( 1 ) norm in system size, up to a poly ( m ) \operatorname{poly}(m) poly ( m ) factor from the number of Fock and two-body terms.
For the direct interaction, exponential localization gives
( p q ∣ W ∣ r s ) = O ( e − a d ( p , q ) e − a d ( r , s ) ) , (73) (pq|W|rs)=O\left(e^{-a d(p,q)}e^{-a d(r,s)}\right), \tag*{(73)} ( pq ∣ W ∣ r s ) = O ( e − a d ( p , q ) e − a d ( r , s ) ) , (73)
where d ( p , q ) d(p,q) d ( p , q ) is the separation between the orbital centers. Here we assume that short-range interaction matrix elements remain bounded at fixed basis resolution. Viewed as a matrix with row index ( p , r ) (p,r) ( p , r ) and column index ( q , s ) (q,s) ( q , s ) , the exponential decay means that each row couples appreciably to only O ( 1 ) O(1) O ( 1 ) entries. The direct Hamiltonian therefore has O ( 1 ) O(1) O ( 1 ) operator norm, even though the interaction between the two orbital pairs remains long-ranged.
For exchange, the occupied–virtual transition densities are charge-neutral because the occupied and virtual orbitals are orthogonal. Their leading long-range interaction is therefore dipole–dipole, giving
( p q ∣ V ∣ r s ) = O ( e − a d ( p , q ) e − a d ( r , s ) d ( p q , r s ) 3 ) (74) (pq|V|rs)=O\left(\frac{e^{-a d(p,q)}e^{-a d(r,s)}}{d(pq,rs)^3}\right) \tag*{(74)} ( pq ∣ V ∣ r s ) = O ( d ( pq , r s ) 3 e − a d ( p , q ) e − a d ( r , s ) ) (74)
at large separation d ( p q , r s ) d(pq,rs) d ( pq , r s ) between the two orbital pairs. Including its angular dependence, the dipole–dipole interaction transforms into a momentum-space kernel [80 ] proportional to
Q Q ∣ Q ∣ 2 − I 3 , (75) \frac{Q Q}{|Q|^2}-\frac{I}{3}, \tag*{(75)} ∣ Q ∣ 2 QQ − 3 I , (75)
which is bounded independently of system size. Together with the bounded short-range contribution, this gives an O ( 1 ) O(1) O ( 1 ) norm for the exchange Hamiltonian viewed as a matrix between transition-pair indices. Thus the full BSE Hamiltonian has O ( 1 ) O(1) O ( 1 ) operator norm for fixed m m m .
THC rank and subnormalization
The goal of this appendix is to explain why the THC-based block-encoding can retain the O ( 1 ) O(1) O ( 1 ) physical norm established in Appendix C while using an O ( N ) O(N) O ( N ) THC rank. We use the same assumptions of a gapped system, fixed basis resolution, and exponentially localized occupied and virtual orbitals. To guide the argument, we exhibit an explicit, although unoptimized, construction at fixed approximation accuracy. This provides a baseline that THC optimization can further improve by reducing the rank and subnormalization.
For either interaction X ∈ { W , V } X \in\{W,V\} X ∈ { W , V } and any ERI block, consider the exact THC representation in which the auxiliary index is the orbital-pair label ( P Q ) (PQ) ( P Q ) :
( p q ∣ X ∣ r s ) = ∑ ( P Q ) , ( R S ) χ p , ( P Q ) X , A χ q , ( P Q ) X , B × χ r , ( R S ) X , C χ s , ( R S ) X , D ζ ( P Q ) , ( R S ) X (76) (pq|X|rs)=\sum_{(PQ),(RS)}\chi^{X,A}_{p,(PQ)}\chi^{X,B}_{q,(PQ)}\times\chi^{X,C}_{r,(RS)}\chi^{X,D}_{s,(RS)}\zeta^{X}_{(PQ),(RS)} \tag*{(76)} ( pq ∣ X ∣ r s ) = ( P Q ) , ( R S ) ∑ χ p , ( P Q ) X , A χ q , ( P Q ) X , B × χ r , ( R S ) X , C χ s , ( R S ) X , D ζ ( P Q ) , ( R S ) X (76)
with
χ p , ( P Q ) X , A = δ p P , χ q , ( P Q ) X , B = δ q Q , ζ ( P Q ) , ( R S ) X = ( P Q ∣ X ∣ R S ) . \begin{aligned}
\chi^{X,A}_{p,(PQ)}&=\delta_{pP},\\
\chi^{X,B}_{q,(PQ)}&=\delta_{qQ},\\
\zeta^{X}_{(PQ),(RS)}&=(PQ|X|RS).
\end{aligned} χ p , ( P Q ) X , A χ q , ( P Q ) X , B ζ ( P Q ) , ( R S ) X = δ pP , = δ q Q , = ( P Q ∣ X ∣ R S ) .
and similarly for χ X , C \chi^{X,C} χ X , C , χ X , D \chi^{X,D} χ X , D . Here A A A , B B B , C C C , D D D label the four tensor-leg selector maps.
This representation is exact but has an unhelpful rank. Exponential locality allows us to discard orbital pairs whose members are far apart [81 ] , with an error that decreases exponentially with the retained separation. At fixed accuracy, each P P P connects to only O ( 1 ) O(1) O ( 1 ) values of Q Q Q , and vice versa. Hence the number of surviving pair indices scales as O ( N ) O(N) O ( N ) .
The same structure keeps the operator norms of the χ X , A \chi^{X,A} χ X , A , χ X , B \chi^{X,B} χ X , B , χ X , C \chi^{X,C} χ X , C , χ X , D \chi^{X,D} χ X , D matrices O ( 1 ) O(1) O ( 1 ) : each row contains only O ( 1 ) O(1) O ( 1 ) nonzero entries, and each column selects a single orbital. For the direct channels, ζ W \zeta^W ζ W enters the circuit as a diagonal operator whose norm is its largest absolute entry, which remains O ( 1 ) O(1) O ( 1 ) . For exchange, ζ V \zeta^V ζ V is the physical exchange matrix restricted to the retained transition pairs, so its operator norm remains O ( 1 ) O(1) O ( 1 ) by Appendix C. The resulting products of factor norms therefore give O ( 1 ) O(1) O ( 1 ) primitive subnormalizations.
This explicit construction demonstrates that O ( N ) O(N) O ( N ) THC rank is sufficient to achieve O ( 1 ) O(1) O ( 1 ) subnormalization at fixed excitation number and accuracy. The construction is not intended to give optimal constants; further THC optimization can reduce the required rank and subnormalization while maintaining the target accuracy.
Calibration of THC fitting accuracy
The bare and screened interactions require a common criterion for selecting THC decompositions with sufficient accuracy. For the bare interaction V V V , the MP2 correlation-energy error provides an energy-based measure of the fitting error in the occupied–virtual block ( o v ∣ v o ) (ov|vo) ( o v ∣ v o ) [82 ] , as used in Ref. [9 ] . The screened interaction W W W entering the BSE does not have a corresponding standard MP2 energy-error metric. We therefore calibrate a relative-integral-error tolerance using the bare interaction and transfer that tolerance to the screened interaction. In the following, we state the principle using diamond as an example, while other materials just follow the same principle.
Figure 7 shows the diamond calibration data for n × n × n n \times n \times n n × n × n meshes with n = 2 , … , 6 n=2,\ldots,6 n = 2 , … , 6 and THC rank as N T H C = c I P N A O N_{\mathrm{THC}}=c_{\mathrm{IP}}N_{\mathrm{AO}} N THC = c IP N AO , c I P = 5 c_{\mathrm{IP}}=5 c IP = 5 and 8 8 8 , including varying α \alpha α from 0.003 0.003 0.003 to 0.3 0.3 0.3 that balances the fitting accuracy and subnormalization via the optimization loss function (see Eq. (54) ). The MP2 energy error per primitive cell generally increases with the relative error of the bare ( o v ∣ v o ) (ov|vo) ( o v ∣ v o ) block, although the relation has scatter and depends on the mesh and fitting parameters. We use this relation to estimate the relative-error scale associated with each of the two energy-accuracy criteria used in the main text. For comparison with the full-Hamiltonian quantum simulation references, an MP2 error of 0.1 m E h 0.1\,\mathrm{m}E_h 0.1 m E h per cell corresponds to relative integral errors of ∼ 10 − 3 \sim10^{-3} ∼ 1 0 − 3 ; we use a target of 4 × 10 − 3 4 \times10^{-3} 4 × 1 0 − 3 . For the realistic BSE estimates, the target is 0.005 e V 0.005\,\mathrm{eV} 0.005 eV per active electron. Diamond has 8 active electrons in its two-carbon primitive cell, excluding the core electrons represented by the pseudopotential [83 , 84 ] . This criterion is therefore 0.040 e V ≃ 1.47 m E h 0.040\,\mathrm{eV} \simeq1.47\,\mathrm{m}E_h 0.040 eV ≃ 1.47 m E h per cell. The corresponding relative-error scale is a few percent; we use a target of 2 × 10 − 2 2 \times10^{-2} 2 × 1 0 − 2 .
For X = V X=V X = V or W W W , write the relative error in the projected block as
ϵ X = ∥ X o v , v o T H C − X o v , v o ∥ 2 ∥ X o v , v o ∥ 2 , (77) \epsilon_X=\frac{\left\|X^{\mathrm{THC}}_{ov,vo}-X_{ov,vo}\right\|_2}{\left\|X_{ov,vo}\right\|_2}, \tag*{(77)} ϵ X = ∥ X o v , v o ∥ 2 X o v , v o THC − X o v , v o 2 , (77)
using the same relative-error norm as in the main text. We fit the full screened ERI tensor and evaluate ϵ W \epsilon_W ϵ W on its ( o v ∣ W ∣ v o ) (ov|W|vo) ( o v ∣ W ∣ v o ) projection. The two screened-interaction fitting targets are thus ϵ W ≲ 4 × 10 − 3 \epsilon_W \lesssim4 \times10^{-3} ϵ W ≲ 4 × 1 0 − 3 and ϵ W ≲ 2 × 10 − 2 \epsilon_W \lesssim2 \times10^{-2} ϵ W ≲ 2 × 1 0 − 2 , respectively. This projection is used to assess the accuracy of the full screened fit, rather than restricting the fit to that block. The transfer from the bare-integral calibration is an empirical fitting criterion; it does not introduce an MP2 energy for the screened interaction.
Figure 7. Calibration of THC fitting accuracy in diamond. Absolute MP2 energy error per primitive cell versus the relative THC fitting error ϵ V \epsilon_V ϵ V of the bare ( o v ∣ v o ) (ov|vo) ( o v ∣ v o ) block. Marker size indicates the mesh edge n n n , with N k = n 3 N_k = n^3 N k = n 3 , and color indicates the norm-ratio parameter α \alpha α used in the THC optimization, on a logarithmic color scale. Circles and squares indicate c I P = 5 c_{\mathrm{IP}} = 5 c IP = 5 and c I P = 8 c_{\mathrm{IP}} = 8 c IP = 8 , respectively. All sampled optimization settings are included. Horizontal dashed lines mark 0.1 m E h 0.1\,mE_h 0.1 m E h per cell and 0.005 0.005 0.005 eV per active electron, the latter equivalent to 1.47 m E h 1.47\,mE_h 1.47 m E h per diamond cell when counting its 8 active electrons. Vertical dotted lines mark the relative-error targets 4 × 10 − 3 4 \times10^{-3} 4 × 1 0 − 3 and 2 × 10 − 2 2 \times10^{-2} 2 × 1 0 − 2 used in the calculations for the ( o v ∣ W ∣ v o ) (ov|W|vo) ( o v ∣ W ∣ v o ) projection of the full screened THC fit.
Extrapolation details
This appendix describes how the first- and second-quantized full-Hamiltonian estimates in Figure 3 are extended beyond the meshes reported in Refs. [9 , 10 ] . At every mesh we evaluate the published circuit formulas, and fit only the quantities that the sources do not give in closed form.
a. Precision. All quantum methods in Figure 3 use ϵ Q P E = 0.1 e V ≃ 3.675 m E h \epsilon_{\mathrm{QPE}} = 0.1\,\mathrm{eV} \simeq3.675\,mE_h ϵ QPE = 0.1 eV ≃ 3.675 m E h for one eigenvalue estimate: an excitation energy for BSE or a total supercell energy for the full Hamiltonian. Constant overheads for combining two total-energy estimates into an excitation energy are omitted. The published reference estimates use ϵ r e f = 1.6 m E h \epsilon_{\mathrm{ref}} = 1.6\,mE_h ϵ ref = 1.6 m E h ; changing the numerical tolerance therefore rescales the number of walk steps by ϵ r e f / ϵ Q P E ≈ 0.435 \epsilon_{\mathrm{ref}}/\epsilon_{\mathrm{QPE}} \approx0.435 ϵ ref / ϵ QPE ≈ 0.435 . For second quantization [9 ] , the additional conversion from per-primitive-cell to total-supercell accuracy contributes a factor of N k N_k N k , giving an overall walk-count factor of approximately 0.435 N k 0.435N_k 0.435 N k relative to the published convention. No such N k N_k N k conversion is needed for first quantization [10 ] . Circuit costs and phase-estimation register sizes are evaluated at the new precision.
b. Second quantization. We use the symmetry-adapted k k k -point THC construction of Ref. [9 ] with 52 spin orbitals per primitive cell and N T H C = 8 N A O = 208 N_{\mathrm{THC}} = 8N_{\mathrm{AO}} = 208 N THC = 8 N AO = 208 . The subnormalization N T H C N_{\mathrm{THC}} N THC depends on the optimized THC factors and is reported only for diamond meshes up to 2 × 2 × 2 2 \times2 \times2 2 × 2 × 2 . The THC sum contains O ( N k 3 ) O(N_k^3) O ( N k 3 ) momentum combinations, but each effective coefficient is expected to decay as O ( N k − 1 ) O(N_k^{-1}) O ( N k − 1 ) , giving
λ T H C = O ( N k 2 ) (78) \lambda_{\mathrm{THC}} = O(N_k^2) \tag*{(78)} λ THC = O ( N k 2 ) (78)
at fixed N T H C N_{\mathrm{THC}} N THC [9 ] . The fits in Fig. 9(b) of Ref. [9 ] are consistent with this: over the benchmark set, λ T H C \lambda_{\mathrm{THC}} λ THC grows slightly faster than quadratically for symmetry-adapted THC and slightly slower for supercell THC. We therefore take λ T H C \lambda_{\mathrm{THC}} λ THC to be quadratic, so that λ T H C / N k \lambda_{\mathrm{THC}}/N_k λ THC / N k is linear in N k N_k N k , and fix the line with the two cubic meshes 1 × 1 × 1 1 \times1 \times1 1 × 1 × 1 and 2 × 2 × 2 2 \times2 \times2 2 × 2 × 2 :
λ T H C N k = 557.5808 N k − 214.5719. (79) \frac{\lambda_{\mathrm{THC}}}{N_k} = 557.5808N_k - 214.5719. \tag*{(79)} N k λ THC = 557.5808 N k − 214.5719. (79)
The walk cost and logical-qubit count then follow from the published Appendix-D circuit formulas at each mesh; the qubit count includes the phase-estimation register required by the larger number of walk steps. At 10 × 10 × 10 10 \times10 \times10 10 × 10 × 10 , this gives λ T H C = 5.6 × 10 8 \lambda_{\mathrm{THC}} = 5.6 \times10^{8} λ THC = 5.6 × 1 0 8 , 1.6 × 10 6 1.6 \times10^{6} 1.6 × 1 0 6 Toffolis per walk, 4.1 × 10 5 4.1 \times10^{5} 4.1 × 1 0 5 logical qubits, and 3.7 × 10 17 3.7 \times10^{17} 3.7 × 1 0 17 Toffolis. At fixed THC rank ratio and precision, the total Toffoli count scales as
O ~ ( λ T H C N k N A O ) . (80) \widetilde{O}(\lambda_{\mathrm{THC}}N_kN_{\mathrm{AO}}). \tag*{(80)} O ( λ THC N k N AO ) . (80)
c. First quantization. We use the pseudopotential plane-wave construction of Ref. [10 ] , anchored at its diamond 3 × 3 × 3 3 \times3 \times3 3 × 3 × 3 instance: λ = 8.402 × 10 6 \lambda= 8.402 \times10^{6} λ = 8.402 × 1 0 6 , 23,576 Toffolis per walk, and 1.94 × 10 14 1.94 \times10^{14} 1.94 × 1 0 14 Toffolis in total at 1.6 mE h E_h E h . We hold the 80 Ry plane-wave resolution of that instance fixed, so that the extrapolation isolates the mesh dependence. For a k × k × k k \times k \times k k × k × k crystal, the momentum register then has width
n ( k ) = ⌈ log 2 ( 21 k + 1 ) ⌉ . (81) n(k) = \left\lceil\log_{2}(21k + 1) \right\rceil. \tag*{(81)} n ( k ) = ⌈ log 2 ( 21 k + 1 ) ⌉ . (81)
At each k k k , we evaluate the kinetic, electron–electron, local-pseudopotential, and nonlocal-pseudopotential subnormalizations and the block-encoding cost from the source formulas on this grid; no fit is applied. The logical-qubit count adds the system register, the phase-estimation register, and 8000 arithmetic ancillas, the last being an extrapolation assumption. At 10 × 10 × 10 10 \times10 \times10 10 × 10 × 10 , this gives λ = 1.2 × 10 10 \lambda= 1.2 \times10^{10} λ = 1.2 × 1 0 10 , 8.1 × 10 5 8.1 \times10^{5} 8.1 × 1 0 5 Toffolis per walk, 2.0 × 10 5 2.0 \times10^{5} 2.0 × 1 0 5 logical qubits, and 4.2 × 10 18 4.2 \times10^{18} 4.2 × 1 0 18 Toffolis. At fixed composition, pseudopotential parameters, and precision, the total Toffoli count scales as
O ~ ( N k 2 n P W 2 / 3 + N k 3 n P W 1 / 3 + N k 3 ) , (82) \widetilde{O}\left(N_k^2 n_{\mathrm{PW}}^{2/3} + N_k^3 n_{\mathrm{PW}}^{1/3} + N_k^3\right), \tag*{(82)} O ( N k 2 n PW 2/3 + N k 3 n PW 1/3 + N k 3 ) , (82)
where n P W n_{\mathrm{PW}} n PW is the number of plane waves per primitive cell. The three terms arise from the kinetic, Coulomb, and pseudopotential subnormalizations, respectively, and give cubic scaling in N k N_k N k at fixed n P W n_{\mathrm{PW}} n PW .
Resource data and tables
Table V extends Figure 4 to the smaller k k k -point meshes, and lists the data used to extrapolate to 10 × 10 × 10 10 \times10 \times10 10 × 10 × 10 . The settings are those of the figure: Toffoli-optimized walks, 0.1 eV QPE precision, and THC fits at 0.005 eV MP2 error per active electron, with rank c I P = 5 c_{\mathrm{IP}} = 5 c IP = 5 for the exchange terms and c I P = 4 c_{\mathrm{IP}} = 4 c IP = 4 for the direct terms. For CdSe, we use c I P = 5 c_{\mathrm{IP}} = 5 c IP = 5 for both the exchange and direct terms, and extrapolate from only two evaluated meshes, 2 × 2 × 2 2 \times2 \times2 2 × 2 × 2 and 3 × 3 × 3 3 \times3 \times3 3 × 3 × 3 . The 2 × 2 × 2 2 \times2 \times2 2 × 2 × 2 mesh has subnormalization λ = 71.7 E h \lambda= 71.7 E_{\mathrm{h}} λ = 71.7 E h and is not shown in the table. Rows marked (SG) use space-group adaptation and the same ranks as the rows without it. The exchange terms use the symmetric selection of interpolating points at c I P = 5 c_{\mathrm{IP}} = 5 c IP = 5 . The direct and exchange terms have different irrep blocks and separate S T H C S^{\mathrm{THC}} S THC }, giving ten applications of S T H C S^{\mathrm{THC}} S THC per walk (four from direct and six from exchange). For diamond, MgO, BN, and AlN, the direct terms use c I P = 4 c_{\mathrm{IP}} = 4 c IP = 4 . For CdSe, both terms use c I P = 5 c_{\mathrm{IP}} = 5 c IP = 5 . For diamond, λ \lambda λ (SG) is the subnormalization of the space-group-adapted fits. The diamond (SG) Toffoli and qubit counts use this fitted subnormalization. For MgO, BN, AlN, and CdSe, the (SG) rows combine the space-group-adapted walk with the subnormalization from the fit without space-group adaptation.
Table V. BSE resources across k k k -point meshes. Tricxiconitic (m = 3 m = 3 m = 3 ) estimates unless labelled, with space-group adaptation only in the (SG) rows; the 10 × 10 × 10 10 \times10 \times10 10 × 10 × 10 column is Figure 4 . Diamond (SG) totals use the space-group-adapted fitted subnormalizations; the other materials retain the subnormalizations without space-group adaptation. Subnormalizations λ \lambda λ are in E h E_h E h . Asterisks mark subnormalizations, and the resulting Toffoli counts, obtained from a power-law fit to the total subnormalization at the last three evaluated meshes except CdSe (CdSe uses 2 × 2 × 2 2 \times2 \times2 2 × 2 × 2 and 3 × 3 × 3 3 \times3 \times3 3 × 3 × 3 for extrapolation), as in Figure 2 (a). Walk costs are evaluated at every mesh, and logical qubits are total counts: the 2 m 2m 2 m particle registers (momentum, band, and spin), the LCU control, the THC-index extension of the two routed registers, two exchange qubits (spin-projector signal and state-preparation flag), the peak primitive workspace, and the phase-estimation register of 2 ⌈ log 2 ( I + 1 ) ⌉ − 1 2\lceil\log_2(\mathcal{I}+1)\rceil- 1 2 ⌈ log 2 ( I + 1 )⌉ − 1 qubits for I \mathcal{I} I walk steps [33 ] .