<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Programmable Simulations of Molecules and Materials with Reconfigurable Quantum Processors</title></titleStmt>
			<publicationStmt>
				<publisher>arXiv</publisher>
				<date>12/04/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10536103</idno>
					<idno type="doi"></idno>
					<title level='j'>arXivorg</title>
<idno>2331-8422</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Nishad Maskara</author><author>Stefan Ostermann</author><author>James Shee</author><author>Marcin Kalinowski</author><author>Abigail McClain Gomez</author><author>Rodrigo Araiza Bravo</author><author>Derek S Wang</author><author>Anna I Krylov</author><author>Norman Y Yao</author><author>Martin Head-Gordon</author><author>Mikhail D Lukin</author><author>Susanne Yelin</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Simulations of quantum chemistry and quantum materials are believed to be among the most important potential applications of quantum information processors, but realizing practical quantum advantage for such problems is challenging. Here, we introduce a simulation framework for strongly correlated quantum systems that can be represented by model spin Hamiltonians. Our approach leverages reconfigurable qubit architectures to programmably simulate real-time dynamics and introduces an algorithm for extracting chemically relevant spectral properties via classical co-processing of quantum measurement results. We develop a digital-analog simulation toolbox for efficient Hamiltonian time evolution utilizing digital Floquet engineering and hardwareoptimized multi-qubit operations to accurately realize complex spin-spin interactions, and as an example present an implementation proposal based on Rydberg atom arrays. Then, we show how detailed spectral information can be extracted from these dynamics through snapshot measurements and single-ancilla control, enabling the evaluation of excitation energies and finite-temperature susceptibilities from a single-dataset. To illustrate the approach, we show how this method can be used to compute key properties of a polynuclear transition-metal catalyst and 2D magnetic materials.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>A major thrust of quantum chemistry and material science involves the quantitative prediction of electronic structure properties of molecules and materials. While powerful computational techniques have been developed over the past decades, especially for weakly correlated systems <ref type="bibr">[1]</ref><ref type="bibr">[2]</ref><ref type="bibr">[3]</ref><ref type="bibr">[4]</ref>, the development of tools for understanding and predicting the properties of materials that feature strongly correlated electrons remains a challenge <ref type="bibr">[5]</ref><ref type="bibr">[6]</ref><ref type="bibr">[7]</ref>. Quantum computing is a promising route to efficiently capturing such quantum correlations <ref type="bibr">[8]</ref><ref type="bibr">[9]</ref><ref type="bibr">[10]</ref>, and algorithms for Hamiltonian simulation and energy estimation <ref type="bibr">[11]</ref> with good asymptotic scaling have been developed. However, existing methods for simulating large-scale electronic structure problems are prohibitively expensive to run on near-term quantum hardware <ref type="bibr">[12]</ref>, highlighting the need for more efficient approaches.</p><p>One approach to capturing the complexity of strongly correlated systems utilizes model Hamiltonians <ref type="bibr">[13]</ref>, such as the generalized Ising, Heisenberg, and Hubbard models, which describe the interactions between the active degrees of freedom at low temperatures. Like other coarse-graining or effective Hamiltonian approaches <ref type="bibr">[14]</ref>, model parameters can be computed from an ab initio electronic structure problem using a number of classical techniques <ref type="bibr">[15]</ref><ref type="bibr">[16]</ref><ref type="bibr">[17]</ref><ref type="bibr">[18]</ref><ref type="bibr">[19]</ref><ref type="bibr">[20]</ref>. Furthermore, model Hamiltonians exhibit features such as low-degree connectivity that simplify implementation, making them particularly promising candidates for quantum simulation <ref type="bibr">[21]</ref><ref type="bibr">[22]</ref><ref type="bibr">[23]</ref><ref type="bibr">[24]</ref><ref type="bibr">[25]</ref><ref type="bibr">[26]</ref>. Though approximate, simplified model Hamiltonians have proved valuable in analyzing strongly correlated problems <ref type="bibr">[27]</ref><ref type="bibr">[28]</ref><ref type="bibr">[29]</ref> for small system sizes, where accurate but costly classical methods can be applied. However, as the system size increases, classical numerical methods struggle to reliably solve strongly correlated model systems, as the relevant low-energy states often exhibit a large degree of entanglement. In this Article, we focus on the programmable quantum simulations of spin models. These correspond to a class of Hamiltonians that describe compounds where unpaired electrons become localized at low-temperatures and can therefore be represented as effective local spins with S &#8805; 1/2. These include many polynuclear transition metal compounds and materials containing d-and f-block elements, which play a central role in chemical catalysis and magnetism <ref type="bibr">[20,</ref><ref type="bibr">[28]</ref><ref type="bibr">[29]</ref><ref type="bibr">[30]</ref><ref type="bibr">[31]</ref><ref type="bibr">[32]</ref><ref type="bibr">[33]</ref><ref type="bibr">[34]</ref>.</p><p>Recent advances in quantum simulation <ref type="bibr">[35,</ref><ref type="bibr">36]</ref> have enabled the study of paradigmatic model Hamiltonians with local connectivity. In particular, experiments have probed non-equilibrium quantum dynamics <ref type="bibr">[37]</ref><ref type="bibr">[38]</ref><ref type="bibr">[39]</ref>, exotic forms of emergent magnetism <ref type="bibr">[40]</ref><ref type="bibr">[41]</ref><ref type="bibr">[42]</ref><ref type="bibr">[43]</ref>, and long-range entangled topological matter <ref type="bibr">[44,</ref><ref type="bibr">45]</ref>, in regimes that push the limits of state-of-the-art classical simulations <ref type="bibr">[46]</ref>. The model Hamiltonians describing realistic molecules and materials however often contain more complex features, including anisotropy, non-locality, and higher-order interactions <ref type="bibr">[29]</ref>, demanding a higher degree of programmability <ref type="bibr">[18]</ref>. While universal quantum computers can in principle simulate such systems, standard implementations based on local two-qubit gates require large circuit depths <ref type="bibr">[23]</ref> to realize complex interactions and long-range connectivity. Thus, for optimal performance in devices with limited coherence, it is essential to utilize hardware-efficient capabilities to simulate such systems.</p><p>In what follows we introduce a framework to simulate model spin Hamiltonians (Fig. <ref type="figure">1</ref>) on reconfigurable quantum devices. The approach combines two elements. First, we describe a hybrid digital-analog simulation toolbox for realizing complex spin interactions, which combines the programmability of digital simulation with the efficiency of hardware- The key simplification comes from capturing charge fluctuations perturbatively, which is a good approximation in certain contexts. (c) Programmable quantum simulation is then used to calculate properties of the model Hamiltonian. We develop a simulation framework, based on encoding spins into clusters of qubits, that can be readily implemented on existing hardware. The toolbox enables efficient generation of complex spin interactions by leveraging dynamical reconfigurability and hardware-optimized multiqubit gates (Figs. <ref type="figure">2</ref> and <ref type="figure">3</ref>). The quantum simulator performs time-evolution under the spin Hamiltonian for various simulation times t, and each qubit is projectively measured to produce an set of snapshots. Subsequent classical processing extracts properties like the low-lying excitation spectrum and magnetic susceptibilities, all from the same dataset (see Figs. <ref type="bibr">[4]</ref><ref type="bibr">[5]</ref><ref type="bibr">[6]</ref>.</p><p>optimized multi-qubit analog operations. Then, we introduce an algorithm, dubbed "many-body spectroscopy" that leverages time-dynamics and snapshot measurements to extract detailed spectral information of the model Hamiltonian in a resource-efficient way <ref type="bibr">[47]</ref>. We describe in detail how these methods can be implemented using Rydberg atom arrays <ref type="bibr">[48]</ref><ref type="bibr">[49]</ref><ref type="bibr">[50]</ref><ref type="bibr">[51]</ref><ref type="bibr">[52]</ref>, and discuss its applicability to other emerging platforms which can support multi-qubit control and dynamic, programmable connectivity <ref type="bibr">[53]</ref>, such as the ion QCCD architecture <ref type="bibr">[54,</ref><ref type="bibr">55]</ref>. Finally, we illustrate potential applications of the framework on model Hamiltonians describing a prototypical biochemical catalyst and 2D materials.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Engineering spin Hamiltonians</head><p>The general Hamiltonian we consider is</p><p>where &#348;&#945; i , &#945; = x, y, z are spin-S operators (S &#8805; 1/2) acting on the i-th spin, and the interaction coefficients (J &#945;&#946; ij , K &#945;&#946; ijk , etc.) are potentially long-range. Hamiltonians of this form can capture the effects of many processes arising in physical com-pounds, including super-exchange, spin-orbit coupling, ringexchange, and more <ref type="bibr">[29]</ref>. In our approach, spin-S variables are encoded into the collective spin of 2S qubits, such that the i-th spin in <ref type="bibr">(1)</ref> is rewritten as</p><p>where &#349;&#945; i,a are the spin-1/2 operators of the a-th qubit in the i-th spin. Valid spin-S states live in the symmetric subspace with maximum total spin per site &#10216;( &#348;i ) 2 &#10217; = S i (S i +1). While several alternate approaches to encoding spins with hardwarenative qudits have been proposed recently <ref type="bibr">[58]</ref><ref type="bibr">[59]</ref><ref type="bibr">[60]</ref><ref type="bibr">[61]</ref>, the cluster approach introduced here uses the same controls as qubitbased computations ensuring compatibility with existing setups <ref type="bibr">[57]</ref>, and naturally supports simulation of models with mixed on-site spin.</p><p>The core of our protocol involves applying a K step sequential evolution under simpler interaction Hamiltonians H i = g&#8712;Gi h i,g , i = 1, ..., K, acting on disconnected groups G i of a few qubits each. The combined sequence realizes an effective Floquet Hamiltonian H F which approximates <ref type="bibr">(1)</ref>. To controllably generate effective Hamiltonians, we use the average Hamiltonian approach. In the limit of small step-sizes &#964; &#8810; 1/K, the evolution is wellapproximated by H (0) F = 1 K K i=1 H i to leading order, and contributions from higher-order terms are bounded <ref type="bibr">[62]</ref>.</p><p>Reconfigure 2 4 6 8</p><p>Qubits per Cluster</p><p>10 2 10 4</p><p>Two Qubit Gates</p><p>Qubits per Cluster Here, we illustrate an implementation of a complex spin model using the dynamical projection approach. Spin-Si variables are encoded in the collective spin of a cluster of 2Si qubits. Then, interactions between spins are generated by evolving pairs of qubits from each cluster under an interaction Hamiltonian HI . Second-order interactions Jij act on two qubits, while higher-order interactions act on multiple qubits, such as the fourth-order coefficient L iijk of &#348;&#945; i &#348;&#946; i &#348;j &#348;k . Then, interactions are dynamically projected into the symmetric encoding space within each cluster by evolving under Hamiltonian HP . The target large spin Hamiltonian H is simulated by alternately evolving under HI and HP . This protocol can be realized in any reconfigurable quantum processor. Here, we present an implementation for Rydberg atom arrays, which has two long-lived qubit states |0&#10217;, |1&#10217;, and an excited Rydberg state |r&#10217; with strong interactions. The interaction connectivity is dynamically changed by moving optical tweezers <ref type="bibr">[56]</ref>, and interactions are generated using all-to-all Rydberg blockade interactions within each cluster and simultaneous global driving of the qubit &#8486;q(t) and Rydberg &#8486;r(t) transitions. (b) Fast and efficient multi-qubit spin operations US, UP are identified using optimal control to optimize pulse sequences. Gates times are measured in units of the Rydberg driving frequency &#8486;T , where the two-qubit CZ gate from Ref. <ref type="bibr">[57]</ref> takes &#8486;T /2&#960; &#8776; 1.2. The alternating ansatz (solid lines) decomposes the target operations into symmetric diagonal gates and single qubit rotations, which can be are individually optimized (see Methods). Simultaneous (dual) driving of both transitions (dotted lines) enables even faster realization of approximate US and UP gates with ideal error rates below &#8764; 10 -3 . (c) We compare against decomposition of US and UP into a two-qubit gate set composed of CPhase gates and single-qubit rotations. Such a decomposition rapidly becomes very costly as the cluster size grows, in contrast to the optimized hardware-native operation.</p><p>In general, the performance of this approach will be limited by simulation errors, characterized by the difference between H F and the target Hamiltonian H, and gate errors, determined by the hardware overhead required to implement individual evolutions e -ihi,g&#964; . To mitigate the leading sources of error, we next develop Hamiltonian engineering protocols that leverage multi-qubit spin operations to realize (1) with short periodic sequences.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Dynamical projection with digital Floquet engineering</head><p>Our Hamiltonian engineering approach is based on the cluster encoding <ref type="bibr">(2)</ref>. The key idea is to first generate interactions in the full Hilbert space using a spin-1/2 (qubit) version H I of (1), and then dynamically project back onto the encoding space. We select H I such that projection recovers the target Hamiltonian, by mapping each n-body large spin interaction in (1) onto an equivalent n-body qubit interaction acting on representatives from the n-clusters (see Methods and Fig. <ref type="figure">2a</ref>).</p><p>While this generates the target interactions between spin clusters, it also moves encoded states out of the symmetric subspace. Therefore, to prevent evolution under H I from destroying the encoding, we alternately apply evolution under</p><p>composed of projectors P [( &#348;i )] onto the symmetric spin states, by applying multi-qubit gates within spin clusters. This Hamiltonian creates an energy gap &#955; between symmetric and non-symmetric states. For &#955; &#8811; J ij , the static Hamiltonian H I + H P is effectively projected into the ground-space of H P at low-energies, realizing H. However, accurate Trotter simulation in this regime, by alternating H I and H P , requires two separations of time-scale between the step-size and the target interactions &#964; &#8810; &#955; -1 &#8810; J -1 ij , leading to a large number of gates.</p><p>Instead, we develop an approach which enables projection of H I onto the ground-state of H P with significantly fewer gates, using ideas inspired by dynamical decoupling <ref type="bibr">[63]</ref>. This is achieved by using large-angle rotations e -i&#964; H P , where &#964; &#955; &#8764; 1, to generate a time-dependent phase on the parts of H I that couple encoded states to non-symmetric states. These phases cancel out on average, leaving the symmetric part which commutes with H P . More precisely, the combined evolution is described by</p><p>where H I has been decomposed into D non-overlapping groups H I,j , K = N p D is the full length of the sequence, and &#952; p , &#964; parameterize the evolution times. In the second line, we transform into an interaction picture, such that intermediate terms are evolved by H P with a cumulative phase</p><p>for the rotating frame to be periodic, we require &#920; K (mod 2&#960;) = 0.</p><p>Then the transformed interactions can be written as (see Methods):</p><p>Here, H (n) I captures unwanted terms that change the total spin on n sites, and the symmetric part is the target Hamiltonian H (0) I = H T . To cancel out symmetry-violating terms at leading order in &#964; , we choose an appropriate sequence of cumulative phases</p><p>When n max = 2, i. e., up to two-spin interactions, the sequence &#920; = (0, 2&#960;/3, 4&#960;/3) satisfies this condition. This sequence, being p-independent, produces a Floquet Hamiltonian which commutes with H P in a dressed frame <ref type="bibr">[64]</ref>, and therefore preserves the encoding up to exponentially long times in &#964; -1 .</p><p>This approach provides significant benefits in simulating complex spin-models, where the number of overlapping terms in H grows rapidly with parameters such as the spin-size S, number of interactions per spin d, and interaction weight n max . In this regime, a Trotter decomposition of H into nonoverlapping terms h i,g would require a sequence of length K &#8805; d(2S) nmax-1 , where d measures the number of interactions each spin S i is involved in. Instead, the projection approach produces decompositions of H into sequences of length K = (n max + 1) d 2S (see Methods), leading to performance improvements of several orders of magnitude for models with large spins and higher-order interactions.</p><p>Similar tools can also be used realize a large class of spin circuits, by generating different evolutions H (i) F during each cycle. This effectively implements discrete time-dependent evolution</p><p>Variational optimization can be further used to engineer higher-order terms in H F , enabling generation of more complex spin gates at no additional cost (see Extended Data Fig. <ref type="figure">9</ref>). Although the classical variational optimization procedure is limited to small circuits, Hamiltonian learning protocols could be used to perform larger-scale optimization on a quantum device directly <ref type="bibr">[65,</ref><ref type="bibr">66]</ref>. Such circuits can be used for operations besides Hamiltonian simulation, including statepreparation <ref type="bibr">[21]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Hardware-efficient implementation</head><p>The digital Hamiltonian engineering sequence can, in principle, be realized on any universal quantum processor, but it is especially well suited for reconfigurable processors with native multi-qubit interactions <ref type="bibr">[53,</ref><ref type="bibr">55,</ref><ref type="bibr">56,</ref><ref type="bibr">69]</ref>. Neutral atom arrays are a particularly promising candidate for realizing these techniques, for which we develop a detailed implementation proposal. In this platform, two long-lived atomic states encode the qubit degree of freedom {|0&#10217;,|1&#10217;}, which can be individually manipulated with fidelity above 99.99% <ref type="bibr">[70,</ref><ref type="bibr">71]</ref>. Strong interactions between qubits are realized by coupling to a Rydberg state |r&#10217; <ref type="bibr">[72,</ref><ref type="bibr">73]</ref>, which enables parallel multiqubit operations <ref type="bibr">[73]</ref>, with state-of-the-art two-qubit gate fidelities exceeding 99.5% <ref type="bibr">[57]</ref>. Further, qubits can be transported with high fidelity by moving optical tweezers <ref type="bibr">[56]</ref>, to realize arbitrary groupings G i . By placing atoms sufficiently close together, atoms within a group can undergo strong allto-all interactions, while interactions between groups can be made negligible by placing them far apart.</p><p>The key ingredient required for efficiently implementing H I and H P are hardware-efficient multi-qubit spin operations. We show how these can be realized by using pulse engineering to transform the native Rydberg-blockade interaction <ref type="bibr">[72,</ref><ref type="bibr">74]</ref> into the desired form. We illustrate this on two families of representative spin operations</p><p>where &#348;2 is the total-spin operator for a cluster of 2S atoms, and P [ &#348;2 ] are the projectors appearing in <ref type="bibr">(3)</ref>. One approach to engineering these operations is based on an ansatz which naturally extends Ref. <ref type="bibr">[57]</ref>, where U S and U P are found by optimizing an alternating sequence of diagonal phase gates and single-qubit rotations. As in prior</p><p>Hamiltonian HT</p><p>.01</p><p>.1 1.0 Sim. Coherence T sc &#215; ||HT || local (i) (ii) Hamiltonian HT 0 2 4 6 Sim. Coherence T sc &#215; ||HT || local Two-qubit Trotter Multi-qubit Enhanced (a) (i) (b) (ii) (iii) (iv) FIG. 3. Efficiency of Hamiltonian simulation framework. Estimates of the quantum simulation's coherence time Tsc, in the target Hamiltonian's units ||HT || local for various models. We consider Hamiltonian simulation implemented using the dual driving gates from Fig. <ref type="figure">2b</ref>, and assume an error proportional to the gate time, such that &#8486;T /2&#960; = 1 incurs an error of 0.1% <ref type="bibr">[57,</ref><ref type="bibr">67,</ref><ref type="bibr">68]</ref>. In all cases, we compare against an implementation using two-qubit CPhase gates with fidelity 99.9% and perfect single-qubit rotations (see Methods for detailed descriptions of the estimation procedure).</p><p>(a) The first two two models are (i) the spin-1/2 Kagome Heisenberg model, and (ii) two interacting spin-5/2's with Heisenberg and Dzyaloshinskii-Moriya (DM) terms, both of which are composed of only two-qubit interactions. In (i), a significant speedup is achieved by utilizing three-qubit multi-qubit gates e -i&#964; S 2 , which more efficiently generates Heisenberg interactions and reduces the period of the Floquet cycle from K = 4 to K = 2. In (ii) improvement is achieved using dynamical projection, which reduces K from 2S to 2 but at the cost of additional multi-qubit gates. (b) Two complex spin-models which include spin-interactions up to (iii) bi-quadratic interactions J1(Si &#8226; Sj) + J2(Si &#8226; Sj) 2 and (iv) bi-quartic interactions (Si &#8226; Sj) 4 . These correspond to four-body and eight-body qubit interactions respectively. In (iii), the dramatic speedup originates from using dynamical projection to significantly reduce the Floquet period, as well as the hardware-efficiency of a native fourqubit gate. The individual contribution to the speedup from both sources is also analyzed in Methods. In (iv), the speedup arises fully from the hardware-efficiency of native eight-qubit operations.</p><p>works <ref type="bibr">[57,</ref><ref type="bibr">75,</ref><ref type="bibr">76]</ref>, the pulse profiles generating symmetric diagonal operations can be obtained with numerical optimization via GrAPE <ref type="bibr">[77]</ref>. For this alternating ansatz, we find a roughly linear scaling of total gate time T gate with size of the cluster (see Fig. <ref type="figure">2b</ref>). Similar gates can also be implemented in ion-trap architectures, where coupling to collective motional modes can be used to implement diagonal phase gates <ref type="bibr">[78,</ref><ref type="bibr">79]</ref>.</p><p>However, Rydberg atom arrays offer additional control, which allows us to go beyond the alternating ansatz. Specifically, we consider simultaneously driving the qubit transi-tion &#8486; q (t) in addition to the usual Rydberg transition &#8486; r (t). We find that this dual driving enables significantly faster realizations of U S and U P . After optimizing with GrAPE to identify approximate gates with ideal fidelities above 99.9%, we find total gate times below &#8486;T gate /2&#960; = 6.0 up to cluster sizes n = 8 and nearly constant scaling with n (see Fig. <ref type="figure">2b</ref>). These gates generate complex interactions in a very hardware-efficient way, making them ideal for accelerating spin-Hamiltonian simulations. Finally, we develop optimized decompositions of target spin operations into two-qubit gates (see SM), and find they are still orders of magnitude more costly than the hardware-efficient implementation (Fig. <ref type="figure">2c</ref>).</p><p>In Fig. <ref type="figure">3</ref>, we illustrate the performance of this method on four representative examples that lie within the family of Hamiltonians (1). To quantify the performance of the simulation, we present heuristic estimates of the accessible coherent simulation time, measured in units of the target Hamiltonian's local energy scale. We leverage access to multi-qubit spin operations of the form e -i n &#952;nS n , and estimate gate errors based on the physical evolution time necessary to realize the target operation. The step-size &#964; is chosen to to maximize coherent simulation time, balancing simulation and gate errors (see Methods). In the representative examples, we find the combination of dynamical projection and optimized multiqubit gates outperforms a similarly constructed implementation based on Trotterized interactions and two-qubit gate decomposition. Our approach significantly extends the available simulation time (up to &#8764;two orders of magnitude), and enables much more efficient generation of complex spin Hamiltonians.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Spectral information from dynamics</head><p>Having described a toolbox for implementing timeevolution and state-preparation, we next present a generalpurpose algorithm for calculating chemically relevant information. The approach, dubbed "many-body spectroscopy", leverages dynamical snapshot measurements and classical coprocessing <ref type="bibr">[47]</ref> to compute a wide variety of spectral quantities including low-lying states and finite-temperature properties. The procedure, combining insights from statistical phase estimation <ref type="bibr">[80]</ref><ref type="bibr">[81]</ref><ref type="bibr">[82]</ref><ref type="bibr">[83]</ref> and shadow tomography <ref type="bibr">[84]</ref>, is noiseresilient and sample-efficient, making it especially promising for near-term experiments.</p><p>Specifically, the quantity we extract is an operator-resolved density of states</p><p>where &#1013; n and |n&#10217; are the energies and eigenstates of the evolution Hamiltonian H, and A denotes an arbitrary operator. Spectral functions like equation ( <ref type="formula">8</ref>) can be used to access detailed information about the properties of H: the location of peaks provides information about energies <ref type="bibr">[80,</ref><ref type="bibr">82,</ref><ref type="bibr">83]</ref>, and</p><p>-30 -20 -10 0 10 20 Energy &#969;/J 0 2 4 6 8 D A (&#969;) A = I P3 P2 P1 P0 10 0 10 1 10 2 10 3</p><p>Temperature T /J</p><p>0.00 0.02 0.04 0.06 0.08 0.10 Susceptibility &#967;(T ) Samples 10k 50k Exact (a) (b) (c) FIG. 4. Many-body spectroscopy of model Hamiltonians. (a) Schematic quantum circuit diagram for the algorithm. The first step is to apply a state-preparation circuit S to prepare a reference state |S&#10217; = S|0&#10217;, followed by an ancilla-controlled perturbation R preparing a superposition of |S&#10217; and the probe state |R&#10217; = R|S&#10217;. This superposition is time-evolved by the target Hamiltonian, and then each qubit is projectively measured to produce a snapshot. By repeating the procedure for various evolution times t, different perturbations R, and potentially different measurement bases, this setup provides access to detailed information about the spectrum of H. (b) Consider a spin Hamiltonian H2 with two anti-ferromagnetically coupled spin-3/2's. We simulate 20,000 snapshot measurements and classical post processing to calculate the densityof-states D 1 (&#969;) (black line), and total-spin resolved versions D P S (&#969;) (colored lines). Vertical dashed lines correspond to exact energies and colored regions represent 95% confidence intervals. Peaks are broadened due to finite (coherent) simulation time JTsim = 0.26, which sets the spectral resolution. Hardware-efficient simulation schemes, which extend the simulation time (e.g. Fig. <ref type="figure">3</ref>), are favorable because they improve spectral resolution. Many-body spectroscopy further improves the effective spectral resolution, by leveraging multiple observables to distinguish overlapping peaks. Here, we see that spin-resolution significantly sparsifies the signal, enabling accurate peak detection and energy estimation, while the bare spectrum D 1 (&#969;) is too broad to resolve all states. (c) The magnetic susceptibility &#967;, can also be computed from snapshot measurements using S z -resolved density-of-states (here JTsim = 1.04). For these calculations, it is important to prevent exponential amplification of shot-noise. We therefore use a simple empirical truncation procedure which introduces a small amount of bias (see Methods), but enables rapid convergence with number of snapshots to the ideal value (black line).</p><p>properties of eigenstates can be computed by choosing A appropriately <ref type="bibr">[81]</ref>. For example, we can compute total-spin of an eigenstate using A = ( i &#348;i ) 2 , or the local spin polarization with A = &#348;i .</p><p>The output of the quantum computation are projective measurements (snapshots), produced by the circuit depicted in Fig. <ref type="figure">4a</ref>. First, we initialize a system of N qubits and apply a state-preparation procedure to prepare a reference state |S&#10217; = S|0 N &#10217;. Next, we use a single ancilla qubit to apply a controlled perturbation, preparing a superposition of |S&#10217; and a probe state |R&#10217; = R|S&#10217;, which is then evolved under H for time t. Finally each qubit is projectively measured, producing a sequence of N + 1 bits -a snapshot. By measuring the ancilla in the X or Y basis, this circuit effectively performs an interferometry experiment between the reference and probe states. The resulting snapshot measurements enable parallel estimation of two-time correlation functions of the form C O,R (t) = &#10216;S|e iHt Oe -iHt R|S&#10217; for all 2 N operators O that are diagonal in the measurement basis.</p><p>To estimate the spectral function D A (&#969;), we use a hybrid quantum-classical computation based on the following expression,</p><p>quantum evolution (Fig. <ref type="figure">4</ref>)</p><p>For this to be formally equivalent to <ref type="bibr">(8)</ref>, the distribution over perturbations R and ensemble of observables {O s } must couple uniformly to all eigenstates, to ensure unbiased estimation (see Methods). For example, given a polarized reference state |0&#10217; &#8855;N , X-basis measurements are sufficient.</p><p>To realize the distributional average and time-integral, the quantum circuit has to be executed (Fig. <ref type="figure">4a</ref>) for randomly sampled perturbations R and evolution times t. In order to efficiently evaluate the classical part of (9), we require efficient classical representations of |R&#10217; and e -iHt |S&#10217;. A good choice is to select |S&#10217; to be a known eigenstate of H, such that the time-evolution is trivial, and preferentially sample |R&#10217; to maximize the overlap with relevant target states. In contrast, the quantum part of (9) includes time-evolution of |R&#10217;, which has overlap with unknown eigenstates, and often includes large amounts of entanglement. Therefore, this is estimated from snapshot measurements produced by quantum simulation (see Methods).</p><p>As an example, consider two interacting spin-3/2 particles, described by H 2 = JS 1 &#8226;S 2 . We prepare a polarized reference eigenstate |S&#10217; = |0&#10217; &#8855;6 , and sample perturbations R from an ensemble of random single-spin rotations. This corresponds to a trivial state-preparation circuit and a simple controlledperturbation composed of two-qubit gates in Fig. <ref type="figure">4</ref>. Next, we measure the system in the X-basis, which provides access to the full spectrum for this choice of |S&#10217; (Methods). Finally, during classical processing, the bare density of states is obtained by choosing A = 1, and evaluating <ref type="bibr">(9)</ref>. The result contains peaks at frequencies &#969; associated with eigenstates of H 2 (see Fig. <ref type="figure">4b</ref>). Further, we can isolate individual contributions of total spin sectors by instead choosing A = P S , the projectors onto S = 0, 1, 2, and 3. This not only allows us to identify the total spin of the eigenstates, but also increases the effective spectral resolution in the presence of noise as it sparsifies the signal. Finite-temperature response functions <ref type="bibr">[85]</ref>, like the z-component of the zero-field magnetic susceptibility</p><p>can also be computed from the same dataset, by integrating the S z -projected density-ofstates D Sz (&#969;) (see Methods). To illustrate this, the magnetic susceptibility is extracted from the same dataset and shown in Fig. <ref type="figure">4c</ref>. The algorithm is especially promising for near-term devices, having favorable resource requirements quantified by the number of snapshots (sample complexity) and maximum evolution time (coherence) required for accurate spectral computation (see Methods for further discussion).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Application to transition metal clusters and magnetic solids</head><p>As an illustration of a relevant computation in chemical catalysis, we consider the Mn 4 O 5 Ca core of the oxygenevolving complex (OEC), a transition metal catalyst central to photosynthesis which is still not fully understood <ref type="bibr">[86,</ref><ref type="bibr">87]</ref>. Classical chemistry calculations have been used to fit model Heisenberg Hamiltonians, containing three spin-3/2 sites and one spin-2 site <ref type="bibr">[27,</ref><ref type="bibr">28,</ref><ref type="bibr">88]</ref> (Fig. <ref type="figure">5a</ref>). While this spin representation cannot directly capture chemical reactions, it can capture the ground and low-lying spin-states, i. e., the spin-ladder, which are important in catalysis because reaction pathways depend critically on the spin multiplicity <ref type="bibr">[89]</ref>. We simulate our framework applied to the S 2 H-1b structural model from Ref. <ref type="bibr">[28]</ref>, by first computing the bare density-of-states D 1 (A) (Fig. <ref type="figure">5b</ref>). Then, we identify a low-lying cluster of eigenstates, and compute spin-projected densities D Ps (A) to resolve the spin ladder (Fig. <ref type="figure">5c</ref>). The spin ladder can also be measured experimentally, providing a way to evaluate candidate models of reaction intermediates. To highlight this, we simulate the Heisenberg model for an alternate pathway (S 2 H-2b) <ref type="bibr">[28]</ref>, and observe the modification reverses the ordering of the spin ladder, indicating S 2 H-1b is more consistent with measurements (see Fig. <ref type="figure">5d</ref>).</p><p>The framework can also be applied to study low-energy properties of extended systems, including strongly correlated materials. We illustrate this on the ferromagnetic, square lattice Heisenberg model (Fig. <ref type="figure">6</ref>). For such large systems, we envision utilizing an approximate ground-state preparation method for |S&#10217;, so that low-energy properties can be accessed</p><p>0 20 40 &#8710;E (cm -1 ) 9/2 11/2 13/2 13/2 11/2 9/2 7/2 5/2 S 2 H-1b 0.0 0.3 5/2 7/2 5/2 7/2 e x p . S 2 H -1 b S 2 H -2 b (d) (a) (b) S 2 H-2b (c) -380 -370 -360 -350 Energy &#969; (cm -1 ) 0 5 10 15 D A (&#969;) -400 -300 -200 -100 0 Energy &#969; (cm -1 ) 0 10 20 D 1</p><p>(&#969;)</p><p>FIG. <ref type="figure">5</ref>. Application to the oxygen-evolving complex (OEC). Our programmable quantum simulation framework can be used to compute detailed model spin Hamiltonian properties. (a) Here, we illustrate the procedure on the OEC, an organometallic catalyst with strong spin correlations. In particular, we simulate model spin Hamiltonians for two structures S2H-1b and S2H-2b, which have three spin-3/2 and one spin-2 Mn (purple) active sites (reproduced from Ref. <ref type="bibr">[28]</ref> with permission from the Royal Society of Chemistry). Model Heisenberg coefficients for both hypothetical structures have been computed from broken-symmetry DFT <ref type="bibr">[28]</ref>. (b) A density of states D 1 (&#969;) calculation is simulated for the S2H-1b model spin Hamiltonian. Here, we use a polarized reference state |S&#10217; = |0&#10217; &#8855;13 a probe states |R&#10217; generated by random single-site rotations, and a evolution times t. We select 50,000 circuits with independently chosen |R&#10217;, t pairs, and draw 10 snapshots from each circuit. (c) Focusing on the lowest-lying states, we see three distinct peaks in D 1 (&#969;). However, by evaluating spin-resolved quantities D Ps (&#969;) on the same set of measurements, we identify three additional peaks, whose energies and total-spin match exact diagonalization results (vertical dotted lines). (d) This information is known as the spin-ladder, and can be computed using many-body spectroscopy for both the 1b and 2b states. Importantly, the spin-ladder can also be measured experimentally, and therefore can be used to help determine which structure appears in nature. In this example, experimental measurements indicate a spin-5/2 ground state and spin-7/2 first excited state. However, the ordering of low-energy states is flipped in the 2b configuration, indicating the S2H-1b hypothesis is more likely <ref type="bibr">[28]</ref>. We note that quantities beyond total-spin can also be readily evaluated in low-lying eigenstates by inserting different operators A (see Methods).</p><p>in a noise-resiliant manner via local controlled-perturbations R. Then, local Green's functions -two-point operators at different positions and times -can be measured to access properties of low-lying quasi-particle excitations, such as the dispersion relation of single-particle excitations (see Methods, 2D Heisenberg, for details). </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Outlook</head><p>These considerations indicate that reconfigurable quantum processors enable a powerful, hardware-efficient framework for quantum simulation of problems from chemistry and materials science, illustrating potential directions for the search for useful quantum advantage. Specifically, in addition to the OEC, other organometallic catalysts could be studied with this approach, including iron-sulfur clusters <ref type="bibr">[23,</ref><ref type="bibr">90]</ref>, for which bi-quadratic terms appear in the model Hamiltonian to capture higher-order perturbative charge fluctuation effects <ref type="bibr">[91]</ref>. Another promising direction involves quantum simulation of low-energy properties of 2D and 3D frustrated spin systems, including model Hamiltonians for Kitaev materials <ref type="bibr">[92]</ref><ref type="bibr">[93]</ref><ref type="bibr">[94]</ref> and molecular magnets <ref type="bibr">[95,</ref><ref type="bibr">96]</ref>. The ability to realize nonlocal interactions further opens the door to simulation of spin-Hamiltonians defined on non-Euclidean interaction geome-tries <ref type="bibr">[97,</ref><ref type="bibr">98]</ref>.</p><p>The efficiency of the Hamiltonian engineering approach originates from co-designing Floquet engineering and hardware-specific multi-qubit gates. Extending this approach to larger classes of strongly-correlated model Hamiltonians is an outstanding and exciting frontier. In particular, it would be especially interesting to further develop the toolbox to incorporate charge transport and electron-phonon interactions. This could enable simulation of more complex model Hamiltonians, such as the t-J, Hubbard, and Hubbard-Holstein models, and expand the class of accessible chemistry problems <ref type="bibr">[9,</ref><ref type="bibr">99]</ref>. Application to other settings, including lattice gauge theories <ref type="bibr">[100,</ref><ref type="bibr">101]</ref> and quantum optimization problems <ref type="bibr">[102]</ref> are also of interest. Incorporation of error mitigation and correction into the Hamiltonian simulation should be considered; specifically, the present method can potentially be generalized to control logical, encoded degrees of freedom in a hardware-efficient way <ref type="bibr">[103]</ref>.</p><p>Finally, characterization and development of the model Hamiltonian approach itself is an interesting and challenging problem. Key challenges include development of efficient schemes to compute parameters for higher-order interactions <ref type="bibr">[91]</ref>, estimation of corrections arising from coupling to states outside the model space <ref type="bibr">[104]</ref>, and validation of the model Hamiltonian approximation <ref type="bibr">[19]</ref>. Feedback between the classical and quantum parts of the computation is an important part of these developments <ref type="bibr">[25,</ref><ref type="bibr">105,</ref><ref type="bibr">106]</ref>. For these reasons, the large-scale simulation of model Hamiltonians on quantum processors will be invaluable for testing approximations by comparing simulation outputs with experimental measurements. Hence, the approach proposed in this work facilitates exciting directions in computational chemistry and quantum simulation, aiming towards constructing a novel ab initio simulation pipeline that utilizes hybrid quantum-classical resources.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX Hamiltonian Engineering</head><p>The Hamiltonian engineering toolbox introduced here is based on the average Hamiltonian approach. This approach uses the fact that in the high-frequency limit, the effective Floquet cycle period K&#964; is much smaller than the inverse local energy scales of H(k), and the Floquet Hamiltonian H F can be well-approximated by expanding in a small parameter <ref type="bibr">[62]</ref>. The leading contribution is the average Hamiltonian</p><p>The second order term also takes a simple form, H</p><p>The results presented in the main text involve engineering the average Hamiltonian H</p><p>F to reproduce the target <ref type="bibr">(1)</ref>. In this setting, the second order term generates simulation errors, and is order O(&#964; ). It can be cancelled by selecting time-reversal symmetric sequences of length 2K, where the second half of the pulse is defined by &#920; k = &#920; K-1-k . This reduces simulation errors to order O(&#964; 2 ), but might potentially alter the pre-thermal properties of the Floquet Hamiltonian, which is an interesting problem for further research.</p><p>Going beyond average Hamiltonian engineering is also possible by optimizing the Floquet sequence <ref type="bibr">[66,</ref><ref type="bibr">107,</ref><ref type="bibr">108]</ref>. We demonstrate engineering of higher-order terms for a small system composed of two interacting spin-3/2's, to controllably engineer up to bi-cubic terms ( &#348;i &#8226; &#348;j ) 3 using only two-and three-qubit operations in Extended Data Fig. <ref type="figure">7</ref> and SM.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>High-spin Hamiltonian engineering with dynamical Floquet projection</head><p>To compute the form of the interaction Hamiltonian in the rotated frame H I (k) = e i&#920; k H P H I e -i&#920; k H P as used in (5) let's consider a single spin-1/2 particle belonging to a spin-S i cluster, and define projectors P i = P [ &#348;2 i ] onto the symmetric space and Q i = 1 -P i onto its complement. The spin-1/2 term can be split into four parts &#349;i,1 = P i &#349;i,1</p><p>where the first two terms preserve the on-site total spin, and the second two change the on-site total spin. Since H P acts as 1 -P i on the i-th spin, we label terms by how they change the expectation value of (1</p><p>i,1</p><p>This rule can be extended to higher-weight operators. For example, two-spin interactions between clusters</p><p>corresponding to the different ways to change the expectation value of 2 -P i -P j . n-spin interactions will have parts running from h (-n) to h (+n) . Therefore, in the rotating frame, the Hamiltonian terms transform as</p><p>We further choose a sequence of &#920; k 's such that only the h (0) contribution is non-zero on average. The simplest sequence which satisfies these conditions are a family of cyclic pulses of order P .</p><p>which satisfy the cancellation condition as long as n max &lt; P .</p><p>In the two-body case, of the terms which contribute to h</p><p>j,1 acts non-trivially in the symmetric subspace, so we focus on this term. An explicit form can be computed by decomposing &#349;i,1 into its permutation-symmetric and orthogonal components,</p><p>Therefore, the symmetric part &#349;(0) i,1 = 1 2Si &#348;i is proportional to the collective spin.</p><p>With this understanding, we can construct a spin-1/2 interaction Hamiltonian H I that recovers (1) under projection, by replacing each n-site high-spin interaction with an analagous spin-1/2 one. For example, for n = 2 the replacement proceeds as</p><p>where intra-cluster indexes a, b encode which representative from spin's i and j are used to generate the interaction. The interaction strength is further boosted to J ij , to account for the 1 2S factor in <ref type="bibr">(21)</ref>. A straightforward calculation shows that for higher-weight interactions (e.g. n max ), the interaction should also be boosted (e.g. K ijk = 8S i S j S k K ijk ) to recover the target large-spin operator under projection.</p><p>In general, it may not be feasible to uniquely assign each spin-S i interaction in H to qubits in H I especially when a spin-S i is involved in more than 2S interactions. In this case, H I can be implemented by splitting it into a sequence of nonoverlapping groups H I,1 , ..., H I,D that approximate H I on average. Each sequence can handle up to D(2S) interactions per spin, so if d is the interaction degree then we require a sequence of length D = &#8968; d 2S &#8969;. While manual decompositions sufficed for the models studied here, automated methods to determine efficient decompositions will have to be developed for more complex systems.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Multi-qubit gates with Rydberg blockade</head><p>The Rydberg Hamiltonian governing a cluster of N atoms is</p><p>where &#8486; q (t), &#8486; r (t) are complex valued driving fields. In the blockade approximation, which is valid when V ij &#8811; &#8486; r , there is at most one atom in state |r&#10217;. Therefore, at leading order in &#8486; r /V ij , H cluster is approximated by projecting into the manifold of blockade consistent states. This produces an interacting model with an emergent permutation symmetry (see SM). This symmetry allows us to write H cluster in a low-dimensional representation of the Hilbert space scaling as O(N N S ) for a representation including the N S largest totalspin sectors (see SM).</p><p>Figure <ref type="figure">2b</ref> shows optimization results for an alternating ansatz with separate &#8486; r (t) and &#8486; q (t) applications (solid lines) versus a dual driving scheme with simultaneous field control (dashed lines). For the alternating ansatz the optimization process begins with finding short sequences of symmetric diagonal gates D(&#981;) and global single-qubit rotations Q(&#952;) that combined realize U S and U P (see SM). While Q(&#952;) uses global &#8486; q (t) control, D(&#981;) involves multiqubit interactions, and the pulse sequences to realize D(&#981;) can be optimized through gradient ascent pulse engineering (GrAPE) <ref type="bibr">[57,</ref><ref type="bibr">75,</ref><ref type="bibr">77]</ref>. Numerical optimization is feasible due to the manageable size of the low-dimensional basis. We find that the maximum gate time T * (n) for generic phases (see SM). Gate times in Fig. <ref type="figure">2</ref> are computed by multiplying T * (n) with the shortest sequence length determined in the first step. The operations Q(&#952;) and D(&#981;) can also be promoted to controlled operations (see SM), as required for the controlled perturbation in Fig. <ref type="figure">4a</ref>.</p><p>Dual driving gate profiles are directly optimized using GrAPE, with an added smoothness regularization to ensure driving profiles can be implemented with available classical controls (see SM and Extended data Fig. <ref type="figure">7</ref>). Interestingly the optimized fidelity is roughly system size independent, up to error rates around 10 -3 . We select this fidelity threshold, and plot the resulting gate times in Fig. <ref type="figure">2b</ref> (dotted lines). For more stringent thresholds, such as 10 -6 , we recover an approximately linear dependence in n, producing gate times comparable to the alternating decomposition.</p><p>For comparison, we estimate gate counts for a decomposition of U S and U P into single and two qubit gates (see Fig. <ref type="figure">2c</ref>). Using the Qiskit transpiler <ref type="bibr">[109]</ref>, we find two-qubit decompositions into single qubit rotations and CPhase gates for U P . For U S , the diagonal gates D(&#981;) found numerically in the alternating ansatz only require two-qubit interactions, and can be decomposed into n 2 two-qubit CPhase gates, outperforming the Qiskit result for n &#8805; 3. Finally, we show in SM that symmetric operations like U S and U P can be implemented with poly(n) two-qubit gates using ancilla qubits, by constructing an efficient MPO representation of arbitrary nspin operations.</p><p>The fidelity of the multi-qubit gates is subject to errors like spontaneous emission and dephasing due to a finite T * 2 , as seen in current Rydberg gates <ref type="bibr">[57]</ref>. These errors can be mitigated by improving the excitation schemes. Specifically, single-photon schemes as used in as in Refs. <ref type="bibr">[67,</ref><ref type="bibr">68]</ref>, avoiding intermediate-state scattering, may enhance performance for bigger clusters. This is because the rate of decay from the Rydberg state does not depend on cluster size, since the number of Rydberg excitations is never larger than one.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Estimating simulation time</head><p>The simulation time is defined as the maximum evolution time, before which the typical error-per-qubit is below some target threshold &#1013;. We account for both coherent Hamiltonian simulation errors and incoherent gate errors. For a symmetrized sequence, we estimate the scaling of both contributions to be</p><p>with target evolution time T and step-size &#964; . Here, the coefficient c 2 depends on the detail of the Hamiltonian simulation protocol, and can be estimated from numerics or the third order term in the Magnus expansion (see SM). The coefficient g measures the gate error probability per cycle, and is determined by asuming each multi-qubit gate has a fixed probability of failure T gate g 0 which scales linearly in the time of the gate. For simplicity, we utilize the estimated T gate for largeangle unitary U P with &#952; = &#960;. Both c 2 and g are estimated to grow extensively in system size. Thus, we work instead with the intensive version of these quantities, c2 = c 2 /L and g = g/L.</p><p>Optimizing the step-size &#964; to minimize error (see SM), the maximum evolution time scales as</p><p>for a target error rate &#949;.</p><p>In Fig. <ref type="figure">3</ref>, we use this formula, along with numerical estimates for c 2 in models (i) and (ii), and heuristic estimates for models (iii) and (iv). We further estimate g using the simultaneous driving gate times of Fig. <ref type="figure">2b</ref>, and select an error per Rabi cycle of g 0 = 10 -3 . The target error we select is &#949; 5/6 /L = 0.1, which grows approximately extensively with system size.</p><p>We illustrate the benefits of our approach on four example Hamiltonians (Fig. <ref type="figure">3</ref>). First we consider the spin-1/2 Heisenberg model on a Kagome lattice (i). The standard two-qubit decomposition involves applying a sequence of six-steps, each applying a e -i&#952;si&#8226;sj gate along an edge (i, j) (solid lines in Fig. <ref type="figure">3</ref>). However, using native three-qubit Heisenberg gates, we group the interactions into upwards and downwards facing triangles (dotted lines Fig. <ref type="figure">3</ref>), reducing the sequence to only two-steps, improving c 2 . The three-qubit gate also generates interactions more efficiently, further improving g. Note that four-qubit version of this scheme could simulate the spin-1/2 Heisenberg model on a pyrochlore lattice using K = 2 <ref type="bibr">[110]</ref>.</p><p>The second model (ii) are two interacting high-spins with S i = 5/2, which interact via a mix of Heisenberg and Dzyaloshinskii-Moriya (DM) interactions,</p><p>The conventional decomposition splits the 25 pairwise interactions into five groups of five, which are applied sequentially.</p><p>In contrast, there is a dynamical projection scheme for this model with K = 2 (see SM). This improvement in Floquet engineering efficiency compensates the overhead from introducing a five-qubit gate, leading to slightly higher accessible simulation times. Scaling with S i is discussed in SM.</p><p>The final two models (iii and iv) are composed of spin-2 particles on a square lattice. In model (iii), nearest-neighbor spins interact via a Heisenberg and bi-quadratic interaction, 2 k=1 J k (S i &#8226; S j ) k . The conventional Trotter approach requires realizing many four-qubit interactions per spin-2 producing very long Floquet periods. In contrast, dynamical projection can be implemented by applying a single four-qubit gate per edge, resulting in smaller K (see SM). The multiqubit implementation is also signficantly more efficient, as the two-qubit decomposition of a four-qubit interaction comes with large overhead, as illustrated in Fig. <ref type="figure">2c</ref>. To highlight the separate contribution from Floquet projection and multi-qubit gates, we compute the effective simulation time for four cases in the table below.</p><p>Tsc &#215; ||H|| local Two-qubit gates Four-qubit gates Trotterization 0.15 1.0 Dynamical Projection 0.25 2.5 TABLE I. The quantum simulation's achievable coherence time Tsc in the target Hamiltonian's units ||H|| local (see also Fig. 3) for four different simulation schemes applied to model (iii). This comparison illustrates the advantages of the techniques we propose here. Hamiltonian engineering based on dynamical projection in combination with efficient, hardware-optimized interactions outperforms alternative approaches based on bare Trotter evolution of two-or multi-qubit gates, as well as dynamical projection just using two-qubit gates.</p><p>Finally, we consider a model including up to bi-quartic terms k &#8804; 4. Here, we further consider using an eight-qubit multi-qubit gate to directly realize the interaction between two large-spins (iv). This interaction naturally preserves the symmetry, so dynamical projection is not needed in this case. As such, the speedup comes entirely from the efficiency of the optimized eight-qubit operation, compared against the large overhead associated with a two-qubit decomposition of an eight-qubit interaction.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Many-body Spectroscopy</head><p>To complete our simulation framework, we also develop tools for resource-efficient readout of Hamiltonian properties. First, we illustrate how to compute two-time correlation functions of the form</p><p>using the circuit in Fig. <ref type="figure">4a</ref>. The real and imaginary parts of C O,R (t) are independently accessed by measuring the ancilla in the X and Y basis, respectively <ref type="bibr">[80,</ref><ref type="bibr">81,</ref><ref type="bibr">83,</ref><ref type="bibr">111]</ref>. More concretely, consider the state of the system right before measurement, including both the ancilla qubit and the system,</p><p>where U is the time-evolution operator. Measuring</p><p>which together gives the full complex-valued C O,R (t) by taking a linear combination of the two,</p><p>For observables O diagonal in the measurement basis, C O,R can be efficiently estimated in parallel from snapshots. During the i-th run, let &#181; (i) = {x, y} be the randomly sampled ancilla measurement basis, and a (i) = {0, 1}, and |b (i) &#10217; be the ancilla and system measurement outcomes respectively. Then, the estimator can be written as</p><p>where &#963; is a function taking on the values</p><p>and |b (i) &#10217; is the measured projected state. These measurements can be used to compute the operatorresolved density of states <ref type="bibr">(8)</ref>, which can be rewritten as follows</p><p>where we have replaced &#948;(&#969;&#1013; n ) &#8594; dt e i(&#969;-&#1013;n)t . In practice, we will sample evolution times t from a probability distribution p(t), such that the integral is normalized to one when &#969; = &#1013; n , i. e., dt = &#8734; -&#8734; p(t)dt = 1. To arrive at (9), we can replace the trace with an average over probe states <ref type="bibr">[112]</ref> Tr</p><p>where &#7868;R&#8764;R = Tr <ref type="bibr">[1]</ref>E R&#8764;R is a normalized expectation value, and Tr <ref type="bibr">[1]</ref> is the dimensionality of the Hilbert space. This is valid, as long as the ensemble forms a 2-design,</p><p>Observables such as <ref type="bibr">(34)</ref> can in principle be computed via a modified Hadamard test by applying controlled-time evolution (see Ref. <ref type="bibr">[81]</ref>). Since time-evolution is generally the most costly step, we avoid the overhead associated with controlledevolution and instead utilize a reference state |S&#10217; with simple time-evolution. In particular, we select an ensemble of observables O s such that</p><p>The normalization factor N (O s ) depends on the choice of ensemble. Then, we can insert this resolution of the identity into (34) to get <ref type="bibr">(9)</ref>. In Fig. <ref type="figure">4</ref> and Fig. <ref type="figure">5</ref>, we consider the polarized reference state |S&#10217; = |0&#10217; &#8855;N which is an exact eigenstate of the Heisenberg Hamiltonian, and the ensemble of Pauli-</p><p>where s is an Nbit string. This satisfies the condition, and has N (X s ) = 1 since X s |0&#10217; &#8855;N is an orthonormal basis. For generic reference states |S&#10217; prepared by applying S to |0&#10217; &#8855;N , the ensemble O s = SX s S &#8224; satisfies the condition, and can be measured by applying the inverse preparation circuit S &#8224; before measuring in the X-basis. Lastly, an ensemble which is independent of the reference state, is the set of Pauli strings</p><p>where s is a base-four string, and &#963; si denotes the four Pauli operators I, X, Y, Z; this can be accessed with randomized measurements (see SM), and has a normalization factor N (P s ) = 2 N .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Efficient estimation of D A R (t) from snapshots</head><p>One of the key advantages of our approach, is the ability to compute many estimators D A R (t) from one dataset, including complex operators such as projectors onto spin-sectors A = P S . This enhances the sample efficiency and reduces simulation time requirements, which are crucial limited resources in quantum computation.</p><p>To estimate density-of-states in a sample efficient way, we introduce a classical co-processing algorithm which utilizes knowledge of the prepared reference state. In particular, we discuss the estimation procedure for</p><p>which becomes <ref type="bibr">(9)</ref> after averaging over times t and perturbations R. In the second line, we assumed |S&#10217; is a known eigenstate, so U (t)|S&#10217; = e -iE S t |S&#10217;, and the classical part becomes equivalent to a zero-time correlation function. One challenge is that the sum in (37) involves exponentially many observables. However, by using the estimator <ref type="bibr">(31)</ref> this reduces to a sum over M snapshots. In particular, for the polarized reference state, and Pauli-X measurements, a simple calculation (see SM) shows that</p><p>is an unbiased estimator. The variance of this estimator is independent of system size for appropriately chosen ensembles R, and scales as O(1/ &#8730; M ). While C * Os,AR (0) could instead be estimated by measuring the unevolved state, this would produce an estimator that converges very slowly, leading to a sample complexity that is exponential in N . However, classical methods can compute C * Os,AR (0) with no error, making the procedure much more sample-efficient. In the SM, we discuss how such calculations can be efficiently performed for any pair of reference and probe states with an efficient matrix product state (MPS) description, and any observable A with a matrix product operator (MPO) description. Further, we show that projectors P S onto spin-sectors can be written as MPOS with poly(N ) bond-dimension, making evaluation of D P S (&#969;) classically efficient and scalable. We further discuss how entangled measurements between two systems could be used to estimate these correlators efficiently, even when |S&#10217; does not have a known classical description.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Thermal expectation values</head><p>The operator-resolved density of states can be used to compute thermal expectation values via <ref type="bibr">[81]</ref> &#10216;A&#10217; &#946; = e -&#946;&#969; D A (&#969;)d&#969; e -&#946;&#969; D 1 (&#969;)d&#969; .</p><p>For example, to compute the magnetic susceptibility, we simply select the operator A = &#946;(S z ) 2 , where &#946; = 1/T is the inverse temperature. Interestingly, this method of estimating thermal expectation values is insensitive to uniform spectral broadening of each peak, due to a cancellation between the numerator and denominator (see SM). However, it is highly sensitive to noise at low &#969;, which is exponentially amplified by e -&#946;&#969; . To address this, we estimate the SNR for each D A (&#969;) independently, and zero-out all points with SNR below three times the average SNR. This potentially introduces some bias by eliminating peaks with low-signal, but ensures the effects of shot-noise are well controlled.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Noise Modelling</head><p>To quantify the effect of noise on the engineered timedynamics, we simulate a microscopic error model by applying a local depolarizing channel with an error probability p at each gate. This results in a decay of the obtained signals for the correlator D A R (t). The rate of the exponential decay grows roughly linearly with the weight of the measured operators (see Extended Data Fig. <ref type="figure">8</ref>). This scaling with operator weight can be captured by instead applying a single depolarizing channel at the end of the time-evolution, with a per-site error probability of &#947;t with an effective noise rate &#947;. This effective &#947; also scales roughly linear as a function of the singlequbit error rate per gate p (see Extended Data Fig. <ref type="figure">8</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Scaling the approach</head><p>Quantum simulations are constrained by the required number of samples and the simulation time needed to reach a certain target accuracy. These factors are crucial for determining the size of Hamiltonians which can be accessed for particular quantum hardware.</p><p>Focusing on a single gapped eigenstate we determine the number of snapshots C M needed to distinguish a spectral peak from noise (Fig. <ref type="figure">10</ref>). The signal arises from the overlap of the probe states with the target eigenstate. The noise is given by the variance of the estimator <ref type="bibr">(38)</ref>, and decays as &#1013; &#8764; M -1/2 . For certain ensembles of probe states, the variance can be made system size independent (see SM). However, a random probe state will have exponentially vanishing overlap with any specific eigenstate. One approach to mitigate this, is to initialize probe states with higher overlap. In Fig. <ref type="figure">9b</ref> we show that for a spin-1 AFM chain a simple bond-dimension two MPS can outperform product states by orders-of-magnitude in ground-state estimation. While bond-dimension two states can be efficiently prepared with simple circuits of two qubit gates, more general ansatze can also be efficiently realized using the simulation techniques described here <ref type="bibr">[113,</ref><ref type="bibr">114]</ref>. Optimized ansatze could be further combined with importance sampling <ref type="bibr">[115]</ref>, to improve the sample-efficiency of computing finite-temperature or excited state properties (see SM).</p><p>The simulation time T max will depend on the required spectral resolution, which does not scale with system size for a gapped eigenstate. However, the rate of spectral broadening depends sensitively on the weight of measured observables (Fig. <ref type="figure">8</ref>). When the reference state is high in energy, such as the polarized state for an AFM chain, the relevant observables typically have extensive weight, requiring T max &#8764; N to maintain constant spectral resolution. In contrast, preparing a lowenergy reference state, such as the ground-state |S&#10217; = |GS&#10217;, allows coupling to other low-energy states using low-weight operators. This results in a noise-resilient and system-size independent procedure (Fig. <ref type="figure">9</ref>). We further note that groundstate preparation can be approximate, which would result in additional spectral broadening in the computation of D A (&#969;). While the spectral resolution requirements should also grow as the gap shrinks, we have illustrated that operator-resolution can mitigate this in certain settings (e.g. Fig. <ref type="figure">5</ref> and Fig. <ref type="figure">6</ref>). As such, understanding the general capabilities of this approach is an interesting direction for continued research.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>OEC Hamiltonians</head><p>The two candidates for the closed S2 state of the oxygen evolving complex (OEC) are parameterized with Heisenberg models H =ij J ij &#348;i &#8226; &#348;j <ref type="bibr">[27,</ref><ref type="bibr">88]</ref>. The coupling constants for the two cases used to generate the data presented in Fig. <ref type="figure">5</ref> are summarized in Table <ref type="table">II</ref>. The corresponding spin sizes of the different sites are S 1 = 3/2, S 2 = 3/2, S 3 = 3/2, S 4 = 2. J12 J13 J14 J23 J24 J34 S2H-1b 30.5 12.9 4.5 36.5 1.3 -7.3 S2H-2b 32.6 11.7 4.0 37.3 1.5 -2.6 TABLE <ref type="table">II</ref>. Exchange coupling constants in units of wavenumbers (cm) -1 for the two different candidates for the S2 stage of the OEC used in Fig. <ref type="figure">5</ref>.</p><p>Additional information about eigenstates can be calculated by choosing the operator A in the operator resolved density of states appropriately, and multiplying by a narrow "band-pass" filter in Fourier space to isolate a small set of frequencies <ref type="bibr">[81,</ref><ref type="bibr">116]</ref>. For example, we investigate the total spin of the cubane sub-unit, i. e., the three magnetic sites supported on opposite vertices of the cube, using A = ( &#348;1 + &#348;2 + &#348;3 ) 2 , and compute</p><p>evaluated at energies &#969; n of the eigenstates, which can be extract from peaks in the spectral functions (Extended data fig. <ref type="figure">11</ref>). We further use spin-projection to improve the estimate in the presence of broadening. For example, if the peak at &#969; n occurs in spin-sector P S , we insert the projector P S in the numerator and denominator, A(&#969; n ) = D AP S (&#969;n) D P S (&#969;n) .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>2D Heisenberg calculations</head><p>The square lattice Heisenberg calculation was performed on a large (L &#215; L) system, with Hamiltonian</p><p>We measure the Green's function G(r, t) = &#10216;S|X r (t)X 0 |S&#10217; from a polarized reference |S&#10217; &#8855;L 2 <ref type="bibr">[117]</ref>. Since S z is conserved under the dynamics G(r, t) is classically simulated by restricting it to the space containing the |S&#10217; and single spinflip states X r |S&#10217;, which has dimension L 2 + 1. We evolve under equally spaced times up to JT max = 8, and select L = 23 which is large enough such that G(r, t) vanishes far from the boundaries. Therefore, by letting G(r, t) = 0 outside the simulated region, this provides a good approximation for the L &#8594; &#8734; limit. As such, we define projectors onto (unnormalized) plane-wave states P k = |k&#10217;&#10216;k|, where &#10216;k|X r |S&#10217; = e -ik&#8226;r . Then, D P k (&#969;) can be written as</p><p>which reduces to the Fourier transform G(k, &#969;) when the energy of the polarized state &#969; 0 is set to zero. Plotting this for a continuous set of k and &#969; produces the spectral weight depicted in Fig. <ref type="figure">6</ref>. This further shows that finite-size systems are sufficient to simulate extended systems at finite evolution times.</p><p>By computing the peak value of &#969; for each k in the vicinity of the single-particle excitations, we estimate the dispersion relation &#969;(k) associated with a single spin-flip excitation. Computations of the many-particle Green's function could be performed similarly by applying multi-site perturbations, to extract finite-temperature properties and characterize the interactions between the quasi-particles. In particular, the roughly horizontal gray lines correspond to constant &#948; grid lines, and roughly vertical gray lines correspond to values with constant &#964; . We see that changing &#948; primarily modifies J2 and J3, while changing &#964; primarily modifies J1, consistent with our analysis that &#948; picks out certain higher-order terms. We further note that the especially interesting AKLT family, with J2/J1 = 116/243 and J3/J1 = 16/243 lies among the family of efficiently engineerable interactions.</p><p>0.00 0.02</p><p>(b) (c) (d) 0.000 0.002 0.004 0.006 0.008 0.010 Gate Error Probability p 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Phenomenological Noise Rate &#947;/|J| Sz Spin Flip Sector 1 2 3 4 6 8</p><p>Extended Data -FIG. <ref type="figure">8</ref>. Gate-level noise simulations. (a)-(c) Time evolution of the correlations D A R (t) for a polarized reference state |S&#10217; = |0&#10217; and A chosen to be projectors onto different S z sectors. This involves measuring operators of fixed weight. We see that the simulation of gate-level noise modelled as a depolarizing channel with a gate error probability p = 0.001 (orange dash dotted curve) matches well with the dynamics obtained by adding an additional phenomenological noise &#8733; exp(-&#947;t) with rate &#947; = (0.128, 0.251, 0.36) for N spin flip = (1, 4, 8) (solid yellow lines) to the loss-less time evolution D A R,Floquet (green dashed). (d) Relationship between the optimal phenomenological noise rate &#947; and the gate error probability p for different spin flip sectors. We see a roughly linear-relationship of the decay rate &#947; with the gate error rate p and operator weight Sz. All data are obtained using time-steps J&#964; = 0.05.</p><p>2 8 14 20 26 32 Chain Length 0.0 0.2 0.4 0.6 Ground-state Overlap D = 1 D = 2 10 -3 10 -1 P (&#969;) |S = | &#8593; N n flips = 1 n flips = 2 n flips = 6 -15 -10 -5 0 5 10</p><p>Energy &#969; (cm -1 )</p><p>spin-1</p><p>Extended Data -FIG. <ref type="figure">9</ref>. Noise susceptibility and eigenstate overlaps. Density-of-states for a spin-1 AFM chain, computed from a polarized reference state |S&#10217; = |0&#10217; &#8855;N (top), and ground state reference |S&#10217; = |GS&#10217; (bottom). The spectrum is separated into sectors distinguished by their operator weight from |S&#10217;. For the polarized state, these correspond to sectors with well-defined S z . For the groundstate, each sector is orthogonalized with respect to lower-weight sectors. Each sector is phenomenologically broadened by e -&#947;tn flips to simulate the operator-weight dependence of decoherence. When computing low-energy properties, the ground-state reference is more robust to noise, since the low-energy eigenstates can be reached with lower-weight operators. (b) The amplitude of the corresponding spectral peak is determined by the eigenstate overlap. We analyze the ground-state overlap for an AFM spin-1 chain performing DMRG for low bond dimensions (D = 1, 2) and find that it is significantly larger for bond-dimension D = 2 matrix product states (red diamonds) compared to bond-dimension D = 1, i. e., mean-field states (green circles). Interestingly, the ground state overlap decays slower with the chain length for D = 2 indicating that the fidelity density is large. This feature makes low bond dimension states a promising direction for efficient state preparation within our scheme since they can efficiently be decomposed into short circuits.</p><p>(a) (b)</p><p>Chain Length Here, we consider a polarized reference state |S&#10217; and random single-qubit rotations R for the controlled-perturbation. For the bare density of states the standard deviation slowly scales with the chain length (blue circles). For the projectors into the zero (gray diamonds) and three (orange circles) spin-flip sectors the standard deviation is consistent with being independent of system size. (b) Convergence of estimator with number of samples for two different observables. Shaded regions correspond to 2&#963; error bars around the mean, and decrease with the number of measurements as 1/ &#8730; M . Dark lines are running averages for a specific sampled dataset. The sample complexity is defined as the number of samples needed such that the error bars around the mean do not include zero. After this point, spectral peaks can be reliably distinguished from noise.</p><p>-250 0 250</p><p>Energy &#969; (cm -1 ) if all other atoms are in the qubit (|0&#10217;, |1&#10217;) states. Define P i = |1&#10217; i &#10216;1| + |0&#10217; i &#10216;0| to be the projector onto the qubit state at site i, and P = n i=1 P i to be the global projector. Then, the constrained Hamiltonian can be written as</p><p>where we have defined collective raising and lowering operators &#931; + q = i |0&#10217; i &#10216;1| and &#931; + r = i |r&#10217; i &#10216;0|. This is a good approximation for the dynamics at leading order in &#8486; r /V , and has an emergent permutation symmetry. In particular, notice that H proj is invariant under exchange of any two sites. In general, the Hilbert space of an N -atom cluster has 3 N states, and the blockade projection further reduces this to an O(2 N ) scaling. However, to efficiently perform numerical optimization for larger clusters, we construct a basis whose dimension grows quadratically in N by leveraging the permutation symmetry of H proj .</p><p>We start by defining a class of symmetric states which are fully specificed their occupation numbers |n 1 , n 0 , n r &#10217;. Each state is constructed by taking a symmetric superposition of all configurations with the corresponding occupations. For example, the N = 2 triplet state is given by</p><p>More generally, the states spanned by |n 1 , n 0 , 0&#10217; form the degenerate ground space of &#348;2 , and have total spin N/2 (where N = n 1 + n 0 ). Excited states of S 2 live outside the symmetric space, and have total spin &lt;N/2; thus, to form the lowest-lying excited states, i.e., states with total spin N/2 -1, we need to expand our basis.</p><p>In general, there are N -1 independent irreducible representations (irrep) with S = N/2 -1 [S119]. One irrep can be formed by constructing states that are symmetric under permutation of spins i = 1, ..., N -1, but orthogonal to the fully symmetric state. A simple way to construct a basis spanning this S = N/2 -1 irrep and the symmetric S = N/2 irrep is to take a tensor product of symmetric spaces on N -1 atoms and 1 atom. To do this, we split the atoms into two groups, A and B, and label states by six numbers |n A 1 , n A 0 , n A r , n B 1 , n B 0 , n B r &#10217;, associated with the occupation of each group. Therefore, states must satisfy</p><p>The blockade constraint is imposed by further requiring n A r + n B r &#8804; 1. Then, matrix elements of H proj can be efficiently constructed in this manifold. More generally, we can construct a basis which spans irreps of spin S = N/2k,S = N/2k + 1, to S = N/2, by splitting the system into Nk atoms and k atoms. Simulations are still efficient, since the dimensionality scales as &#920;(N 2 ) when k = &#8970;N/2&#8971;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Simultaneous drive -Smooth gates with GrAPE</head><p>The primary tool we utilize to identify fast, hardware-optimized gate operations is gradient ascent pulse engineering (GrAPE) [S77], which has recently been utilized to develop high-fidelity diagonal gates based on Rydberg driving [S57, S75]. Here, we extend the optimization results to include off-diagonal gates based on simultaneous Rydberg &#8486; r (t) and hyperfine &#8486; q (t) driving. The core of the algorithm involves approximating time-dependent evolution under H(t) with discrete, Trotterized time evolution. The time-dependent profile we consider has two parameters, a phase on the Rydberg drive &#8486; r (t) = &#8486; r e -i&#981;(t) , and a hyperfine rotation angle &#952;(t) defined by &#8486; q (t) = &#8706; t &#952;(t). The action of the continuous pulse is approximated by discretizing evolution of n T steps with step-size &#964; each, resulting in a unitary of the form</p><p>Optimization is performed by fixing T = n T &#964; , and tuning discrete set of variational parameters &#952;(k&#964; ), &#981;(k&#964; ) by computing the distance between U F and the target unitary U target . Since the initial and final states should be fully supported in the qubit manifold, we evaluate the distance between U target and U F within this manifold. Then, we can measure the gate fidelity using the expression</p><p>where |q&#10217; is an orthonormal basis for the qubit states and N q is the dimensionality of the associated subspace [S120]. We note that in our implementation we use the reduced symmetric basis described above, with k = &#8970;N/2&#8971;, so the gate fidelity differs slightly from a calculation in the full qubit space. In particular, it weights the symmetric subspace more heavily than lower-spin subspaces. Nevertheless, the basis is complete, so if F = 1 in the reduced subspace, it also is unity in the full qubit subspace. When we optimize dual-driving gates, we further add a regularization to the cost function to bias the solution towards smooth gates. Unlike Refs. [S75], we initialize the optimization with random profiles to avoid local minima, so the smoothening regularization is crucial for obtaining continuous pulse profiles which can realistically be implemented experimentally. The combined cost function is therefore</p><p>Here, we penalize the derivative of &#981; and &#952;, which correspond to the detuning of the Rydberg drive and amplitude of the hyperfine drive.</p><p>Next, we discuss a systematic procedure for calculating high-fidelity smooth gates (see Extended Data Fig. <ref type="figure">7</ref>). To bias the optimizer towards finding smooth gates, we first minimize the cost function C &#955; with &#955; = 10 -3 , and evaluate each profile by calculating C 0 . For sufficiently long evolution times T , we are able to reduce C 0 to be about 10 -3 , and see the gate is reasonably smooth. However, the regularization introduces a small amount of bias. As such, we subsequently re-optimize &#952;, &#981; using C 0 as the cost function, and see the ideal fidelity improves dramatically but the final gates remain smooth (see Extended Data Fig. <ref type="figure">7</ref>). Intuitively, the first step where rapid changes in the pulse profile are penalized confines the subsequent second search into a region of search space where gates are smooth.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Alternating Ansatz</head><p>A simpler but less time efficient method to realize the required multi-qubit gates involves applying &#8486; r (t) and &#8486; q (t) separately. This alternating approach is a natural extension of the capabilities demonstrated in Ref.</p><p>[S57], and further generalizes more readily to other reconfigurable architectures [S53, S55].</p><p>We parameterize a generic symmetric diagonal operation, and a global qubit rotation, as</p><p>where Z j = i1,...,ij Z i1 Z i2 ...Z ij is a linear combination of all weight-j Pauli-Z strings supported on the N qubits. In particular, a diagonal gate is characterized by time-evolution under the Rydberg part of the Hamiltonian &#8486; r (t), such that all qubit states return to qubit states at the end of the evolution, with a path-dependent phase. Different qubit states acquire different phases, producing a phase gate. The intuition is that D(&#981;) parameterizes all possible diagonal gates which can be generated by the all-to-all Rydberg blockade interaction. After removing the global phase &#981; 0 , and the part which can be generated by a single-qubit Hamiltonian &#981; 1 , there are N -1 remaining parameters which characterize the interaction. The global qubit rotations Q(&#952;) generate single-qubit off-diagonal rotations since &#348;&#945; = 2S a=1 &#349;&#945; a , but generate no interactions between qubits. As such, alternately applying diagonal and off-diagonal operations enables generation of a large class of off-diagonal interaction operations. To find sequences which realize U S and U P , we again use GrAPE-style optimization. In particular, we parameterize the unitary as</p><p>and variationally optimize &#952; k , &#981; k to try and match U alternating to the target unitary. We identify the shortest sequences which are capable of implementing the target unitary, and present the corresponding sequence lengths (n seq ) in Table <ref type="table">I</ref>. We further note TABLE I. Optimized sequence lengths nseq for target error below &#8764;10 -3 .</p><p>that for U S , the sequences only require using the two-qubit phase &#981; 2 , likely because the evolution Hamiltonian &#348;2 is composed of two-qubit operators. We use this fact below to construct shorter two-qubit decompositions for U S compared to U P . Similarly, we find for all sequences (U S and U P ), the odd-qubit phases &#981; 3 , &#981; 5 , ... can be set to zero.</p><p>In neutral-atom setups, the global qubit rotation Q(&#952;) can be realized with very high fidelity [S73]. As such, the gate errors are dominated by the interaction step D(&#981;), which involves coupling to the Rydberg state. To minimize gate errors, we therefore use GrAPE to identify Rydberg driving profiles &#8486; r (t) that can implement a generic symmetric diagonal gate D(&#981;). For a given system size N , by randomly sampling target phases &#981;, and using GrAPE to optimize the profile independently for each setting, we identify a threshold evolution time T * (n) above which the GrAPE algorithm always reliably identifies a high-fidelity gate (Fig. <ref type="figure">S1</ref>). These times, combined with n seq are used to compute the values in Fig. <ref type="figure">2b</ref>.</p><p>Finally, we discuss how gates D(&#981;) can be conveniently promoted to controlled-D(&#981;) gates. A generic control gate can be parameterized by</p><p>where 1+Za 2 = |0&#10217;&#10216;0| is a projector onto the |0&#10217; state. We see that CU diag can be decomposed into two symmetric diagonal gates.</p><p>The first gate applies a symmetric diagonal operation on the ancilla and target qubits, where Zj is the linear combination of weight-j Pauli-Z strings supported on the n + 1 ancilla and target qubits. This realizes the interactions terms with Z a on the ancilla site. However, it also creates additional unwanted terms within the target qubits. Therefore, the second term simultaneously produces interactions terms with 1 on the ancilla site, and removes the additional terms from the first step, such that CU diag = U 1 U 2 . This diagonal gate can be combined with the optimized alternating ansatz to construct controlled-spin operations CU S and CU P . Such operations can be used for controlled probe-state preparation in Fig. <ref type="figure">2a</ref>. Lastly, we note that the MPO construction for the symmetric spin projectors P s , presented in the final section, could be turned into an ancilla-mediated scalable construction for generating spin-gates using two-qubit gates. In particular, the constructed MPO corresponds to a sequence of controlled-gates from the system qubits onto an ancilla register which effectively measures the total-spin information. Then, spin-operations can be systematically generated by applying the MPO circuit between the system and ancilla, applying a diagonal gate on the ancilla, and then undoing the MPO circuit [S11].</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Heuristic Simulation Time Estimates</head><p>In this section, we provide more details on the heuristics used to estimate coherent simulation times in Fig. <ref type="figure">3</ref>. The estimates involve breaking down the error contribution into two parts: simulation error and gate error. Simulation errors arise from imperfect Hamiltonian engineering, due to mismatch between the engineered Hamiltonian H F and the target Hamiltonian H T . Gate errors arise from experimental imperfections which accumulate during implementation of few-qubit interactions. Our goal is to study qualitatively how our Hamiltonian engineering techniques, including both novel Hamiltonian simulation schemes and hardware-optimized multi-qubit operations, can improve the performance of a quantum simulation.</p><p>To characterize simulation errors, we look at the decay of the many-body fidelity between the state evolved under H F and H T . For symmetrized pulse sequences the decay should exhibit a characteristic t 2 and &#964; 4 dependence.</p><p>where we have only kept leading contributions in t and &#964; , averaged over valid initial states |&#968;&#10217;, and introduced a coefficient c 2 which captures the magnitude of the leading order error term in H F -H T . This coefficient depends on the details of the</p><p>0 2 4 6 8 Evolution Time &#8486;T/2&#960; 10 -13 10 -11 10 -9 10 -7 10 -5 10 -3 10 -1 Gate Infidelity 2 3 4 5 6 7 Group Size N 0 2 4 &#8486;T * (N )/2&#960;</p><p>Extended Data -FIG. <ref type="figure">S1</ref>. We determine the maximum evolution time T * (n) required to implement arbitrary symmetric diagonal gates D(&#981;) using the blockade interaction for clusters of N = 2, ..., 7 qubits. To do this, for each evolution time &#8486;T we randomly select a target rotation angles &#981;, and use GrAPE to find phase profiles implementing D(&#981;). Above the critical times T * (vertical dotted lines), the infidelity achieved was always below 10 -6 . Identified values for T * (N ) are also presented in the inset.</p><p>Hamiltonian simulation protocol, and can be understood as arising from the third order term in the Magnus expansion H</p><p>In what follows, we characterize simulation errors via c 2 , and focus on the effect of the cycle length K on the value of c 2 . At a first glance, we observe that in (S18) there are K 3 terms with k 1 &#824; = k 2 &#824; = k 3 , and K 2 terms with k 1 = k 2 or k 2 = k 3 , and K</p><p>1 terms where k 1 = k 2 = k 3 . In general, the nested commutators contain a lot of additional structure which will affect c 2 , including large cancellations between individual terms. For example, the terms where k 1 = k 2 = k 3 automatically vanish. Further, for symmetrized pulse sequences, H(k) = H(K -k +1), and many pairs of triple commutators also vanish. Finally, the fact that each H(k) can be decomposed as n H (n) e -i&#920; k n , paired with choose pulse sequences such that k e -i&#920; k n , implies many of the phases will interfere destructively. A more detailed analysis of the Floquet engineering would take these structures into account explicitly, but is beyond the scope of this work. Nevertheless, the structure of the third-order term suggests that c 2 scales as most as O(K 2 ), but also may have a large O(K) contribution. As such, we will utilize numerical simulations to determine a heuristic relationship between K and c 2 .</p><p>To characterize the contribution from incoherent gate errors, we assume the error is accumulated linearly in time. If we let g be the typical gate error per cycle, then the total incoherent error accumulated during simulation to time T is approximately gT /&#964; . We neglect coherent gate errors, which will grow as T 2 , for simplicity. Our estimates are based on using hardware-optimized operations for the Rydberg platform, so we estimate g based on the dual-driving gate time from Fig. <ref type="figure">2b</ref>, and assume an error rate g 0 = 10 -3 per physical Rabi time &#8486;T = 2&#960;.</p><p>When combined with the Floquet error, sourced by c 2 , the total error of a simulation can be written as</p><p>There is a tradeoff between these two error sources, which can be tuned by adjusted the step-size &#964; . Minimizing the total error &#949; for a fixed evolution time T , we see the optimal step-size is</p><p>which results in a minimum error of</p><p>Step-step &#964;</p><p>10 -7 10 -5 10 -3 10 -1 Short-time error (1 -F (t))/t 2 S = 1, Proj. S = 1, Trot. S = 5/2, Proj. S = 5/2, Trot. 0.6 0.7 0.8 0.9 1.0 1.1 1.2</p><p>Step-size &#964; (&#215;10 -2 ) . In (a), we compare a Trotterization approach to one using dynamical projection and multi-qubit gates.</p><p>For an ensemble of randomly chosen initial states the symmetric subspace, we time evolve to a target t and compute the average fidelity</p><p>We further vary the stepsize &#964; , and observe the characteristic &#964; 4 scaling associated with symmetrization, which eliminates the &#964; 2 term. The overall coefficient c2 is also extracted from the same fits.</p><p>or equivalently, in a maximum evolution time given a particular error tolerance</p><p>Notice that both c 2 and g are extensive quantities, growing linearly in the number of qubits N . As such, we will typically work with intensive quantities, c2 = c/N and g = g/N , and absorb the N dependence into the target error tolerance</p><p>This corresponds to selecting an error which grows (almost) extensively as well, i.e. a (nearly) constant error density.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Two interacting spin-S's</head><p>We next describe how c 2 and g are estimated heuristically for the four models studied in Fig. <ref type="figure">3</ref>. We start by simulating the two spin-S model with generic two-body interactions described by</p><p>In particular, we consider a mixture of Heisenberg and DM interactions, J &#945;&#946; = J&#948; &#945;&#946; + D &#947; &#1013; &#945;&#946;&#947; . The c 2 coefficient is fitted numerically from noise-free dynamics, for both a two-qubit Trotter and multi-qubit dynamical projection approach. In particular, we simulate ideal and simulated Hamiltonian dynamics from random product states |&#968;&#10217; in the symmetric subspace, and compute the error at short times t. Then, we extract the coefficient c 2 &#964; 2 by averaging over a small time window, and fit c 2 by varying &#964; (see Fig. <ref type="figure">S2</ref>).</p><p>In the Trotter approach, the Hamiltonian simulation protocol involves applying a sequence of 2S Hamiltonians, each of which act pairwise between the two clusters.</p><p>This decomposition ensures every pair of constituent qubits between the two clusters interacts exactly once during the 2S stepsequence. Note that we say this sequence has K = 2S, even though the symmetrized sequence we simulate actually has period 2K.</p><p>In the dynamical projection approach, we select H 2,I = (H 2,Trotter ) 0 to be the first pairing of the cluster of qubits. It turns out, for this problem, a K = 2 sequence is sufficient to symmetrize H 2,I . The key observation, is to notice that H (S25)</p><p>However, notice that &#349;&#946; j,a (0) = 1 2S S j , and a &#349;&#945; 1,a (&#177;n) = 0 for any n &#824; = 0 due to symmetry. As such, the terms which change H P by &#177;1 vanish, leaving only the &#177;2 terms. This means the cancellation condition can be satisfied using the two-step sequence &#920; k = (0, &#960;/2).</p><p>The fitted values of c 2 from numerical simulations are presented in Table . II. In particular, we present an intensive version c2 which is normalized by the total number of qubits in the system. Furthermore, note that the value of c 2 depends on the characteristic energy scale of the Hamiltonian. To handle this systematically, we scale the simulation time by a simple measure of the local Hamiltonian strength |H| local . This is computed by simply adding the number of Pauli operators which intersect with any given qubit i weighted by the magnitude of their coefficients, and dividing by the weight of each operator. For example, for H 2 , there are 2S &#215; 3 two-body Pauli operators with coefficient J, and 2S &#215; 6 two-body operators with coefficient D. Therefore, |H| local = 6S(J + 2D)/2 = 9SJ for D J. 0.17 0.17 0.18 TABLE II. Numerically estimated values for the normalized, intensive coefficients c2, for two interacting large spin S's. The Trotter error is consistent with roughly linear growth, arising the growth of the sequence length K = 2S. In contrast, dynamical projection appears consistent with a constant c2, matching the constant sequence length K = 2.</p><p>The computation of g involves counting the total number of gate per step. In the Trotter approach, there are 2S two-qubit interactions. Because each interaction involves a symmetric and anti-symmetric part, it needs to be further decomposed, e.g. into a sequence of symmetric gates and single-qubit rotations. In particular, a three step sequence of symmetric interactions h 1 = J(s x 1 s x 2 + s y 1 s y 2 + s z 1 s z 2 ), h 2 = D(s x 1 s y 2 + s y 1 s z 2 + s z 1 s x 2 ), and h 3 = D(s x 1 s z 2 + s y 1 s x 2 + s z 1 s y 2 ) can realize the target Hamiltonian on average. Importantly, h 2 and h 3 can be brought into the same form as h 1 by applying a single-qubit rotation on the second site around the s x + s y + s z axis. Note that, while this introduces additional simulation error at higher-order, variational gate optimization as in the alternating ansatz could be used to identify higher-fidelity local sequences. As such, each cycle in the Trotter approach utilizes 2S &#215; 3 two-qubit symmetric gates. In the dynamical projection approach, there are still 2S &#215; 3 two-qubit gates per cycle, but also two additional 2S-qubit gates to apply H P . However, in practice some pairs of gates applied during separate steps can be merged, such as when the interaction frame &#920; k = &#920; k+1 is the symmetrized sequences, this happens during the 1st and K-th gates in the 2K cycle. As such, we multiply g by K-1 K to account for this reduction. The intensive quantity g is presented in Table. III.  <ref type="table">III</ref>. Numerically estimated values for the gate error per cycle (&#215;10 -3 ), per qubit, g. Note that despite the overhead, the projection approach becomes more efficient than Trotter due to the ability to combine gates during the 1st and K-th cycle. Further, the projection overhead decreases with 2S since this quantity is intensive.</p><p>Since K is constant for dynamical projection, and grows with 2S for Trotterization, the dynamical projection approach becomes more favorable as the spin-size grows. Combining the estimated values for c 2 and g produces the simulation times in Table <ref type="table">IV</ref>.</p><p>to rewrite |R(t)&#10217; as a linear combination correlation functions C Xs,R (t), which can be measured simultaneously for each s,</p><p>where we additionally use the fact that |0&#10217; &#8855;N is an eigenstate of the Hamiltonian with energy E 0 and does not evolve in time.</p><p>We can use the estimator of C Xs,R (t) from Eq. ( <ref type="formula">31</ref>) to form an estimator for linear functionals of |R(t)&#10217;, which makes Eq. (S42) analagous to a classical shadow. The classical shadow is an object in Ref.</p><p>[S84], composed of snapshot measurements, which replicates the properties of a density matrix &#961; as the number of measurements M &#8594; &#8734; tends to infinity. The verison here, tends to the wavefunction |R(t)&#10217;, and is hence estimators for wavefunction amplitudes &#10216;&#981;|R(t)&#10217; can be written as</p><p>2&#963;(&#181; (i) , a (i) )2 N/2 &#10216;&#981;|b (i) &#10217; (S43)</p><p>where |b (i) &#10217; is the i-th measured X-basis bitstring. To be able to efficiently evaluate this expression, it is important that |&#981;&#10217; has an efficient classical representation, so that the coefficient &#10216;&#981;|b (i) &#10217; are computable classically. Note that, while any wavefunction amplitude can be efficiently computed.</p><p>Unlike the original versions of shadow tomography [S84], here we utilize partial knowledge of the measured state (namely the form of |S&#10217;) in order to extract all of the unknown information (functionals of |R(t)&#10217;) from a single-basis measurement. Further, our procedure is sensitive to global phase information in |R(t)&#10217;, since it works by performing interferometry relative to a reference state |S&#10217;. This phase information is crucial for estimation of spectral information via the Fourier-transformed state |R(&#969;)&#10217;. In Ref.</p><p>[S47], snapshot measurements were combined with time-series data, to extract a different Hamiltonian spectrum that has peaks corresponding to energy differences &#1013; i&#1013; j between eigenstates. Our method, utilizing the ancilla and reference state, is capable of detecting individual energies &#1013; i and filtering their corresponding eigenstates [S81].</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>The operator-resolved DOS estimator</head><p>The key quantity required to evaluate the DOS estimator <ref type="bibr">(9)</ref> is the calculation of D A R defined in <ref type="bibr">(37)</ref>. One way of arriving at the expression for the estimator, is by noticing that D A R = &#10216;R|A|R(t)&#10217;, which is equivalent to selecting |&#981;&#10217; = A|R&#10217; in (S42). This estimator is also equivalent to computing C O,R for a non-hermitian operator O. Focusing for simplicity on the polarized reference state |S&#10217; = |0&#10217; &#8855;N = |0 N &#10217;, the observable is</p><p>and can be written as a linear combination of Pauli-X operators. We can verify that C O A R ,R reproduces D A R up to the global time-dependent phase shift,</p><p>where we assumed that |0 N &#10217; is an eigenstate of H with energy E S . Despite the exponentially large sum over {s}, the density-of-states estimator can often be evaluated efficiently from snapshot data, as long as the states |R&#10217; and |S&#10217; are chosen correctly. For the polarized reference state the diagonal matrix elements take a simple form,</p><p>which is straightforward to evaluate for many choices of the probe state |R&#10217; and operators A. A large class of states for which this can be efficiently evaluated classically, is when |R&#10217;, |S&#10217; are matrix product states (MPS) with poly(N ) bond-dimension, and A is an matrix product operator (MPO) with poly(N ) bond-dimension. For example, the projectors onto different total spin-sectors P s we leverage in Fig. <ref type="figure">4</ref> and Fig. <ref type="figure">5</ref> can be written efficiently using the MPO formalism, as we discuss further below.</p></div></body>
		</text>
</TEI>
