Method for preparing gates in an analog quantum computer
By combining global and local rotations optimized through variational techniques, the method addresses the challenge of always-on interactions in analog quantum computers, enabling efficient single-qubit addressability and SWAP networks, thereby improving connectivity and operational flexibility.
Patent Information
- Application Number
- PCT/EP2024/087759
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-29
- Filing Date
- 2024-12-19
- Publication Date
- 2025-07-03
AI Technical Summary
Existing analog quantum computers face challenges in implementing single-qubit addressability and digital gates due to always-on interactions between qubits, limiting their connectivity and operational flexibility.
A method involving a combination of global and local rotations, optimized through variational techniques, to approximate local quantum gates in the presence of always-on interactions, enabling single-qubit addressability and approximating networks like SWAP gates.
This approach allows for efficient implementation of single-qubit gates and SWAP networks, enhancing the connectivity and operational capabilities of analog quantum computers, particularly in neutral atom systems, while minimizing experimental complexity and error rates.
Smart Images

Figure EP2024087759_03072025_PF_FP_ABST
Abstract
Description
[0001]1 PAS01-133868PCMethod for preparing gates in an analog quantum computerFieldThe field of the present disclosure relates to quantum computing, in particular to analog quantumcomputing. The present disclosure relates more specifically to preparing gates (quantum unitaries) in ananalog quantum computer, and in particular to signals used for preparing application-oriented quantumunitaries, such as by variational methods. BackgroundQuantum computing is discussed as being a future of computing, in particular for areas such assimulating quantum systems and factoring large numbers. The main goals of quantum computing are usually described to be ‘quantum advantage’ and ‘quantum supremacy’. Quantum advantage is wherethe speed of the computation is faster for the quantum computing system than the classical computingsystem. Quantum supremacy is the goal of showing the quantum computing system can solve a problemthat is not solvable on a classical computer in a useful time frame.There are several core principles that differentiate a classical computing system from a quantumcomputing system. The main principle is that, whilst classical computers utilise classical binary bits ‘0’and ‘1’, quantum computing systems utilise states represented by a superposition of a plurality oforthogonal (and normalised) states. These orthogonal states are often called basis states. When limitedto a two-level quantum system, this state is called a ‘qubit.’ Such quantum superpositions have noanalogue in classical bits. The general pure qubit state |^^ can be represented by equation 1.|^^ = ^|0^ + ^|1^ Equation 1Where ^ and ^ are complex coefficients that are normalised such that ^^ + ^^ = 1 and |0^ and |1^ arethe basis vectors (basis states) of the qubit. The classical 0 and 1 of conventional computers are specialexamples of qubits where ^ = 1 and ^ = 0 for the measured state ‘0’ and where ^ = 0 and ^ = 1 forthe measured state ‘1’. Other qubits whose values of ^ and ^ are greater than 0 and less than 1 give riseto quantum superposition whereby there is a finite chance to yield either state upon measurement.The coefficients ^ and ^ of the qubit are complex numbers and are more generally represented on theBloch sphere shown in figure 1, and by equations 2 and 3, where ^(^^) represents relative phase and^(^^) represents global phase. The classical states |0^ and |1^ are shown on the Bloch sphere as beingthe point where the sphere intersects the ^-axis. These classical states are alternatively labelled by upand down arrows to accord with an alternative qubit nomenclature. For a pure qubit state |^^, ^ and ^2 PAS01-133868PCare the angles on the Bloch sphere representation wherein 0 ≤ ^ ≤ ^ and 0 ≤ ^ ≤ 2^. The points onthe surface of the Bloch sphere are pure states of the quantum system whilst interior points are mixedstates. Equation 2 Equation 3 A parametrised form of equation 1 is shown in equation 4. Because the physics of quantum systemsrepresenting single qubits only considers relative phase, the coefficient of |0^ is real and non-negative soa qubit can be generally represented by equation 4. ^ ^Equation 4 Therefore, a qubit state with, for example, a 100% probability of measuring the state of 1 has^ = ^^^hence a coefficient ^ of 1 and a coefficient ^ of 0. Such a qubit state is equivalent to a classicalcomputing state of 1. However, a qubit state with a 50% chance of being in either basis state 0 or 1,when measured, and assuming no relative phase, may have pre-measurement qubit coefficients definedby ^ = ^ =^, or to put it another wa ^ ^√^y ^ = ^ = 1 / 2.In the Bloch sphere representation, a state stays in this superposition until either a measurement is made on the qubit, which collapses the qubit into the classical regime, or an operation is applied to the qubit to change its projection on the Bloch sphere. Until the qubit is measured it exists in all states permitted by the qubit superposition. Indeed, qubits that represent different states in the quantum realm may yield the same physical value when measured. However, when in a superposition state (pre-measurement) the different phases of the qubits may be utilised in the quantum circuit to effectdifferent operations. Several approaches for realising quantum computation are being investigated in the field, both in terms of the computing technique and the technologies required to implement them. There are a number ofdifferent hardware platforms currently being developed to implement quantum computers.Technologies being utilised include ion traps, superconducting qubits, atomic-scale solid-state defects, neutral atoms and photonics.In classical computers, a bit is physically represented by the voltage across a semiconductor transistor.In quantum computers, qubits are implemented using two level quantum states, which are specific to3 PAS01-133868PCthe exact implementation and physical system being used. Examples of quantum states for fermions arethe spin up and spin down of an electron. Other examples of quantum states are the hyperfine states ofatomic energy levels. In addition to several competing hardware platforms, there are also a number of different paradigms for performing the quantum computation itself. These include using quantum gates (in the ‘gate model’) and cluster (or graph) states (in the measurement-based computing model), as well as others. Some of the most commonly used gates include the Controlled-NOT (CNOT) gate and the Hadamard (H) gate. The CNOT operator operates in an analogous manner to the XOR gate in classical computing. The Hadamard gate applies a rotation to the superposition state on the Bloch sphere and is an important gate because it can transform a deterministic classical state to an equal superposition state.A sequence of quantum gates, such as the Hadamard and CNOT gates that act upon qubits, is termed aquantum circuit. For quantum computing to work, these gates must be reversible. The gates of aquantum circuit are forms of unitary operators, ‘U’, often referred to as unitaries. Unitaries, and indeedqubits, are often represented and manipulated in matrix form. A unitary is a unitary matrix, i.e., Umultiplied by its conjugate transpose U* is equal to the identity matrix. One hardware solution to implementing a quantum computer is the neutral atom system. In thissystem, a plurality of atoms are spatially separated from each other and each held in a different positionabout a spatial extent, often forming a spatial array. The atoms are close enough to each other such that entanglement operations are possible. Input signals are used to control the quantum state of atoms. In neutral atom quantum computers, as well as in other quantum computers, the time taken to complete the computation is critical to the success of the computation. This is due to the decoherence of the quantum states over time. The control signals used to control the quantum computers are typically required to have some form of sequence, particularly when used to form quantum gates. The control signals are typically used to drive one or more lasers to output light pulses.Silvério Henrique et al “Pulser: An open-source package for the design of pulse sequences inprogrammable neutral-atom arrays”, Quantum, 12 Jan 2022, pg 629, (XP055958292) describes an open- source Python library for programming neutral-atom devices at the pulse level.T. M. Graham et al., “Multi-qubit entanglement and algorithms on a neutral-atom quantum computer”,Nature, vol.604, pages 457-462, describes a system in which qubit levels are encoded in ground states4 PAS01-133868PCin which there are no interactions between the atoms. The required interactions for entanglement are obtained by briefly exciting the atoms to highly excited states. These highly excited states are not part of the computational subspace. Daoquan Zhu et al., “Quantum computing with superconducting circuits in the picosecond regime”, XP081859767, describes fast operations with superconducting quantum circuits. A fundamental bound on the minimal gate time is said to be identified. US 2022 / 0284334 describes trapped-ion quantum computing techniques. A method includes selecting a gate duration value and a detuning frequency of pulses to be individually applied to a plurality of participating ions. Summary In an aspect there is presented a computer-implemented method of determining a pulse sequence as claimed in claim 1. In another aspect there is presented a computer-implemented method of determining a pulse sequence as claimed in claim 9. Other features are defined in the dependent claims.In another aspect there is presented a method of determining a pulse sequence to apply anapproximation of a local rotation in a first basis of a three-basis coordinate system to a particle of a plurality of particles in a quantum computer, wherein a set of particles having one or more particles of the plurality of particles is associated with a corresponding qubit of a plurality of qubits, the method comprising: identifying a first global rotation in a second basis of the three-basis coordinate system to apply to the plurality of particles, the second basis being different to the first basis; a local rotation in a third basis of the three-basis coordinate system to apply to the particle, the third basis being different from each of the first and second bases; a second global rotation in the second basis to apply to the plurality of particles; whereby the ordered combination of the first global rotation, the local rotation and the second global rotation approximate the local rotation in the first basis. The local rotation in the first basis suitably corresponds to a single-basis quantum gate. That is, a local Rxrotation suitably corresponds to an ^ gate. The approach of combining two global rotations and a localrotation enables access to a local rotation even in a basis in which such a local rotation is not directly accessible. This approach enables single-qubit addressability in analog quantum systems.5 PAS01-133868PCThe phase of the second global rotation may be opposite to the phase of the first global rotation. Providing the second global rotation to be of opposite phase to the first global rotation enables a straightforward implementation of the single-qubit addressability pulse sequence. Such an approach can help ensure experimental feasibility.The first global rotation may be an R(^ / 2) rotation, the location rotation in the third basis may be anR(^) rotation and the second global rotation may be an R(−^ / 2) rotation. Providing the global rotationsto be R(±^ / 2) and the local rotation to be R(^) enables a straightforward implementation of the single-qubit addressability pulse sequence, to effect a phase change of ^ to the qubit in the third basis. Such anapproach can help ensure experimental feasibility. Where ^ = ^, the set of three rotations can flip astate |1^ to a state |0^ and vice versa.Identifying the local rotation in the third basis may comprise determining a Hamiltonian describing a time evolution of the plurality of particles in dependence on a Rabi frequency, Ω, a detuning frequency,^, and qubit interactions; setting Ω to zero to remove the kinetic term of the Hamiltonian; selecting anevolution time to reduce the influence of an interaction term describing the qubit interactions; selecting^(^) to tune the Hamiltonian to act as a local rotation in the third basis with an angle of ^.Ω may be effectively set to zero by turning off the control field laser or blocking the beam, where a laseris used to affect energy levels of particles of the plurality of particles. Selecting the evolution time in this way provides a way to effectively reduce or even remove the influence of the interaction term. Reducing the Hamiltonian to comprise just the detuning term (or to substantially only comprise the detuning term if a negligible contribution from the interaction term remains) enables single-qubit addressability in the analog quantum computer system. Determining the Hamiltonian may comprise determining the interaction term to be where ^ =^^ with ^^ being a constant defined by the Rydberg state and ^ a qubit separation, and theevolution time, ^, is selected as ^ = 2^ / ^.Selecting ^(^) may comprise selecting ^^ =^^^ , whereby the Hamiltonian can be tuned to act as a local gate in the third basis, with an angle of ^^. This approach enables access to local gates in one of the6 PAS01-133868PCbases, for example in the ^ basis, i.e. an Rz gate, with controllable angles.Identifying the local rotation in the third basis may comprise determining a local rotation pulse length to maximise a fidelity of the local rotation in the third basis, comprising modelling nearest-neighbour interactions between qubits; and varying the determined local rotation pulse length to increase the fidelity of the local rotation in the third basis. Varying the determined local rotation pulse length in this way enables the use of a simple model to initially determine the local rotation pulse length, at lower computational complexity and / or time than performing a more complex model (for example a model taking full account of interactions that are not limited to nearest-neighbour interactions), whilst being able to increase fidelity when non-nearest-neighbour interactions are also taken into account. Varying the determined local rotation pulse length may comprise reducing the determined local rotation pulse length. Varying the determined local rotation pulse length may comprise reducing the determined localrotation pulse length by ≤ 10 ns. Varying the determined local rotation pulse length may comprisereducing the determined local rotation pulse length by ≤ 5 ns, for example by 5 ns. Varying thedetermined local rotation pulse length may comprise reducing the determined local rotation pulselength by ≤ 3 ns.Identifying one or both of the first and second global rotations may comprise determining a global rotation pulse length to maximise a fidelity of the first global rotation and / or the second global rotation, comprising modelling nearest-neighbour interactions between qubits; and varying the determined global rotation pulse length to increase the fidelity of the first global rotation and / or the second global rotation. Varying the determined global rotation pulse length in this way enables the use of a simple model to initially determine the global rotation pulse length, at lower computational complexity and / or time than performing a more complex model (for example a model taking full account of interactions that are not limited to nearest-neighbour interactions), whilst being able to increase fidelity when non-nearest-neighbour interactions are also taken into account. Varying the determined global rotationpulse length may comprise increasing the determined global rotation pulse length. Varying the determined global rotation pulse length may comprise increasing the determined global rotation pulselength by ≤ 10 ns. Varying the determined global rotation pulse length may comprise increasing thedetermined global rotation pulse length by ≤ 5 ns. Varying the determined global rotation pulse lengthmay comprise increasing the determined global rotation pulse length by ≤ 3 ns. Varying the determinedglobal rotation pulse length may comprise increasing the determined global rotation pulse length byapproximately 1.5 ns.In another aspect there is presented a method of determining a pulse sequence to apply an7 PAS01-133868PCapproximation of a global rotation to a plurality of particles in an analog quantum computer, wherein a set of particles having one or more particles of the plurality of particles is associated with acorresponding qubit of a plurality of qubits, the pulse sequence being characterised by a parameter, themethod comprising: (i) in an initial stage: determining an initial value for the parameter over an initial time period of the pulsesequence; the initial value being determined by an optimisation process carried out on the pulse sequence over the initial time period. The optimisation process may comprise performing an annealing process to find a global minimum of a function. The function may be based on the pulse sequence. This approach allows a global minimum to be found in an efficient manner. The method may comprise: A) (ii) in a first stage subsequent to the initial stage:dividing the initial time period of the initial stage into a plurality of first stage time periods, and for each first stage time period of the plurality of first stage time periods: assigning the initial value for the parameter to be a first value for the parameter for that first stage time period, and varying the first value for the parameter to determine a varied value for the parameter for that first stage time period, thereby to optimise the parameter over that first stage time period, wherein the respective first values for the parameter in each of the first stage time periods are allowed to vary independently; or B) (ii) in a first stage subsequent to the initial stage:multiplying the initial time period of the initial stage by a positive factor > 1 togenerate a new time period for the pulse sequence longer than the initial time period of the pulse sequence; dividing the new time period into a plurality of time period sections, and for each time period section of the plurality of time period sections: assigning the initial value for the parameter to be a first value for the parameter for that time period section, and varying the first value for the parameter to determine a varied value for8 PAS01-133868PCthe parameter for that time period section, thereby to optimise the parameter over that time period section, wherein the respective first values for the parameter in each of the time period sections are allowed to vary independently. This variational method enables the parameter to be optimised quickly and efficiently. The parameter may comprise one or more of a global Rabi frequency, Ω, a global phase and a global detuning frequency, ^, of the pulse sequence. Each of the first stage time periods may be of equal length. Each of the time period sections may be of equal length. This can help simplify the variational method. Theinitial time period may be divided into two time periods. Each time period section in the first stage maybe the same length as the initial time period. This can help simplify the variational method.The initial value for the parameter may be a value within a range of possible initial values. The initialvalue may be determined by an optimisation process over the initial time period. Optimising the parameter may comprise determining a function characterising the pulse sequence and determining a turning point in the behaviour of that function, the optimised value for the parameter being the value of the parameter at which the function has a gradient of zero. Optimising the parameter may comprise determining a function characterising the pulse sequence and determining a maximum or minimum of that function in a range of function values, the optimised value for the parameter being the value of the parameter at which the function has the maximum or minimum. The function may comprise a loss function. Optimising the parameter may comprise determining the value for the parameter at which the loss function is minimised. Where the method comprises dividing the initial time period of the initial stage into a plurality of firststage time periods, the method may further comprise:(iii) in a succeeding stage: dividing at least one time period of the preceding stage into a plurality of new time periods, and for each new time period of the plurality of new time periods: assigning the varied value for the parameter in the at least one time period of the preceding stage to be a new value for the parameter for that new time period, and varying the new value for the parameter to determine a new varied value for the parameter for that new time period, thereby to optimise the parameter over that new time period, wherein the respective new values for the parameter in each of the new time periods9 PAS01-133868PCare allowed to vary independently;wherein step (iii) is performed ^ times, where ^ ≥ 1.Each of the new time periods may be of equal length. This can help simplify the variational method. The at least one time period of the preceding stage may be divided into two time periods. This can help simplify the variational method. All of the time periods of the preceding stage may be divided. This can allow the variational method to more quickly reach an optimised value for the parameter over the initial time period.Performing step (iii) ^ times can enable an iterative refinement of the parameter value. The variationalmethod may be performed iteratively until the loss function is less than a loss threshold. The variational method may be performed iteratively whilst the smallest new time period remains greater than or equal to a minimum time period. Where the method comprises multiplying the initial time period of the initial stage by a positive factor to generate a new time period for the pulse sequence longer than the initial time period of the pulse sequence, the method may further comprise: (iii) in a succeeding stage: multiplying at least one time period section of the preceding stage by a positive factor > 1 to generate a further time period longer than the new time period;dividing the further time period into a plurality of further time period sections, and for each further time period section of the plurality of further time period sections: assigning the varied value for the parameter in the at least one time period section to be a new value for the parameter for further time period section, and varying the new value for the parameter to determine a new varied value for the parameter for that further time period section, thereby to optimise the parameter over that further time period section, wherein the respective new values for the parameter in each of the further time period sections are allowed to vary independently. Each of the further time period sections may be of equal length. This can help simplify the variational method. The at least one time period section of the preceding stage may be multiplied by the positive factor. The positive factor may be a positive integer greater than 1, e.g.2 or 3. This can help simplify the variational method. All of the time period sections may be multiplied by the positive factor. This can10 PAS01-133868PCallow the variational method to more quickly reach an optimised value for the parameter over the length of the pulse sequence. The method may comprise smoothing the determined pulse sequence. Smoothing the determined pulse sequence may comprise one or more of interpolating between points, extrapolating from points,applying a spline curve and applying a Bézier curve. Smoothing the determined pulse sequence enablesthe determination of a more experimentally feasible pulse sequence. The method may comprise using the determined pulse sequence in a state preparation process for a register of an analog quantum computer.In another aspect there is presented a method of determining a pulse sequence to apply a quantumprocessing operation to a particle of a plurality of particles in a quantum computer, wherein a set of particles having one or more particles of the plurality of particles is associated with a corresponding qubit of a plurality of qubits, the method comprising: determining an approximation of a local rotation as described herein; determining an approximation of a global rotation as described herein; determining an approximation of one or more ^^ gates to the plurality of particles, comprising:determining a sequence of ^^ gates in an analog pulse sequence;determining an unwanted ^^ gate to remove from the sequence of ^^ gates;removing the unwanted ^^ gate by applying a refocussing algorithm; anddetermining the pulse sequence to apply a quantum processing operation by combining at least one of each of the determined local rotation, the determined global rotation and the determined one ormore ^^ gates.The refocussing algorithm may comprise applying to the plurality of particles a first pulse, the first pulse comprising a first term characterising an unwanted interaction between qubits; and applying to the plurality of particles a second pulse, the second pulse being of the same length as the first pulse and comprising a second term characterising the unwanted interaction between qubits, the second term being of opposite sign to the first term.Removing the unwanted ^^ gate may comprise determining a pulse in the pulse sequence relating to aninteraction between a first qubit and a second qubit that corresponds to the unwanted ^^ gate, andsurrounding the determined pulse by one of ^ gates or ^ gates acting on one of the first qubit and thesecond qubit.11 PAS01-133868PCThe method may comprise using single-qubit detuning to compensate for linear terms introduced byapplying the one of ^ gates or ^ gates. The particles are suitably matter particles, for example neutralatoms. The quantum computer may comprise a neutral atom quantum computer.In another aspect there is presented a method of determining a pulse sequence to apply anapproximation of a network exhibiting all-to-all connectivity to a plurality of particles in an analog quantum computer, wherein a set of particles having one or more particles of the plurality of particles is associated with a corresponding qubit of a plurality of qubits, the method comprising: determining one or more single-qubit gates approximated in an analog system; determining one or more ^^ gates approximated in an analog system; anddetermining the pulse sequence to apply an approximation of the network by combining theone or more single-qubit gates and the one or more ^^ gates.Providing a network exhibiting all-to-all connectivity, such as a SWAP network or a Givens SWAP network, in an analog device may enable the amelioration of limited connectivity that can affect analog quantum devices. The network may comprise a SWAP network. Determining the pulse sequence to apply an approximation of the SWAP network may comprise determining three CNOT gates to form each SWAP gate of the SWAP network. A CNOT gate may be expressable as where Ru indicates Rx or Ry. The network may comprise a Givens SWAP network comprising a plurality of Givens SWAP gates. The use of Givens SWAP gates is useful because these can provide an effective ansatz for variational quantum eigensolver problems. A Givens SWAP gate of the plurality of GivensSWAP gates may be expressable as a plurality of ^^ gates and a plurality of single-qubit rotations.For two qubits, q0 and q1, the Givens SWAP gate may be expressable as a) Ru^^ ^^ on q0b) ^^(0,1)^ f) ^^(0,1)12 PAS01-133868PCg) Ru^−^ ^^ on q0where Ru indicates Rx or Ry.In another aspect there is presented a method of applying a variational quantum eigensolver (VQE),using a pulse sequence to apply an approximation of the network determined as described herein. TheVQE may be applied to find the ground state of a molecule. Finding the ground state of a molecule maycomprise finding the state |^^ such that the energy ^ = is minimal. For a variational state |^^^, where for any ^, we have ^^ =^^ ^where ^^ is the ground state energy, the VQE algorithm may comprise: 1. choosing a variational circuit |^^^2. choosing an initialisation for ^3. measuring the value of the energy on a quantum computer (each Hamiltonian may bedecomposed into a sum of Pauli operators, and each term may be measured on a quantumcomputer) 4. giving the value of the energy to a classical optimizer, which will give a new ^5. start again from point 3 until convergence of the optimization procedure.The method may comprise applying a paired-electron approximation to the VQE to halve a number ofqubits required. The method may comprise changing basis between one or more of ^, ^ and ^, therebyenabling measurement of one or more of 〈^^^^〉, 〈^^〉, 〈^^^^〉, 〈^^〉, 〈^^^^〉 and 〈^^〉. Changing basisto enable such measurements permits access to a greater number of measurables than was previouslyaccessible. For example, the ability to measure 〈^^^^〉, 〈^^〉, 〈^^^^〉 and 〈^^〉 permits measurement ofthe energy of a system.The method may comprise changing the basis by applying a global (^ / 2) rotation. The global (^ / 2)rotation may be determined according to the variational techniques discussed herein. The number of layers of SWAP gates or Givens SWAP gates used to determine the result of the VQE maybe equal to or greater than the number of qubits. The number of layers of SWAP gates or Givens SWAPgates used to determine the result of the VQE may be dependent on the fidelity with which the gateapproximations are determined. The lower the fidelity with which the gate approximations aredetermined, the greater the number of layers of SWAP gates or Givens SWAP gates that may be used.The method may comprise varying the number of layers of SWAP gates or Givens SWAP gates as afunction of the number of paired electrons.13 PAS01-133868PCThere is also presented a non-transitory computer readable medium comprising instructions forexecuting any one or more of the methods described herein. Any one or more of the methods describedherein may be a computer-implemented method. In this respect, computer-implemented is intended tomean implemented by a classical computer. There is also presented a system comprising an electronic computer comprising:I) a processor;II) memory comprising instructions for executing any one or more of the methods describedherein. Brief description of the figuresEmbodiments of the present invention will now be described by way of example only, with reference tothe accompanying drawings, in which: Figure 1 shows the Bloch sphere; Figure 2a shows a schematic depicting a setup for a neutral atom quantum computer; Figure 2b shows an example of a setup for a neutral atom quantum computer; Figures 3a-3c show examples of atomic system energy level transitions; Figures 4a and 4b show an example of the Rydberg blockade; Figure 5 shows a schematic example of a CNOT gate; Figures 6a-6d show examples of energy level transitions of a CZ gate;Figures 7a-7c show example rotations;Figure 8a shows a schematic of combining global pulses with local Z gates to perform local X or Y gates;Figure 8b illustrates example pulse sequences to implement global rotations;Figures 9a-9c show a variational method for optimising a pulse sequence;Figure 10a shows a schematic of a pulse sequence to perform a ^^(0, 1)^^(2, 3) gate on a four-qubitnearest-neighbour linear chain with periodic boundary conditions;Figure 10b shows a schematic of a pulse sequence to perform a ^^(0, 1)^^(1, 2) gate on a four-qubitnearest-neighbour linear chain with periodic boundary conditions;Figure 10c shows a schematic of a pulse sequence to perform a ^^(0, 1) gate on a four-qubit nearest-neighbour linear chain with open boundary conditions;Figure 10d shows a schematic of a pulse sequence to perform a ^^(1, 2) gate on a four-qubit nearest-neighbour linear chain with open boundary conditions;Figure 11a shows the equivalence between a SWAP gate and three CNOT gates;Figure 11b schematically shows how a Givens SWAP network can be decomposed into three ^^ gates14 PAS01-133868PCand layers of single-qubit gates; Figure 12a shows analog VQE results for the H2 molecule; Figure 12b shows analog VQE results for the LiH molecule; Figure 13a shows a plot of fidelity against pulse length with the number of qubits for analog Rz;Figure 13b shows resultant local magnetisations of each qubit in an 18-qubit system after the analogpulses for a global RY rotation; Figure 13c shows a plot of fidelity against pulse length with the number of qubits for a global rotation gate;Figure 13d shows resultant local magnetisations of each qubit in an 18-qubit system after the analogpulses for a local ^^gate; and Figure 14 shows resultant local magnetisations of each qubit in an 18-qubit system after the analog pulses for a local ^^gate. Detailed descriptionThere is presented a method for preparing quantum unitaries in an analog quantum computer, forexample a neutral atom quantum computer. Gates of a quantum circuit are forms of unitary operators,often referred to as unitaries. Thus, the method relates to methods for preparing gates in an analogquantum computer. In the following description, reference is made to ‘quantum computing’ and‘quantum computer(s)’. This form of computing is taken to be different to standard electronic computing or computers, which may be referred to as ‘classical’ computers. Examples of classical computing hardware and software that can be used with the method are provided elsewhere herein. The method may be enacted by an apparatus, a system of components, a device or a plurality of devices. Figure 2a shows a general schematic of a setup for a neutral atom quantum computer. The setup may be referred to as a ‘quantum computing system’. Figure 2b shows a further, more detailed, example of such a setup. General example of a neutral atom quantum computer system setup As a schematic, the positions and configurations of the elements in figure 2a are not supposed to imply any real-world size, positioning or configuration of features, but merely to illustrate an example of the key functioning components of a neutral atom quantum computing system that can be used with the methods discussed herein. As illustrated in figure 2a, the setup for a neutral atom quantum computer comprises a chamber 2, a15 PAS01-133868PCholding apparatus 4, an atom positioner 8, an atomic state actuator 12 and a detector 20. The chamber2 is configured to accommodate a plurality of atoms. The atoms are of the same element. The atomsare, from a chemical standpoint, identical when no external interactions are imposed upon them. The atoms are unbound to other atoms in the group, for example, by being in a gaseous matter state. Atoms used in the chamber 2, for trapping, positioning and atomic-state-manipulating may be any suitableatom, for example, but not limited to, any of Rubidium, Caesium, Strontium and Ytterbium. Otherexamples of particular elements or element groups are discussed elsewhere herein. Preferably the atoms used are those having one or two valence electrons such as alkali metals and alkali earth metals.Other atoms may be used, such as rare earth elements.The holding apparatus 4 is configured to hold a group of the atoms. The holding apparatus 4 acts toisolate each individual atom such that each atom, in the group, is held in a different point in space (tothe other atoms of the group) within the chamber 2. The term ‘isolate’ in this context means that theatoms are physically held away from each other, in space, and nominally do not interact (when in a non- excited atomic state) with adjacently held atoms of the same group. If the atoms are acted upon by an input stimulus such as, for example, an electromagnetic signal of one or more photons, held atoms may interact with other held atoms using particular physical effects such as, but not limited to the Rydbergblockade. There may be a pattern of spatially separated traps. The pattern may be an array of regular orirregular spaced traps. The pattern may be 1D. The pattern may be 2D. For example, the traps in the pattern may all align along one plane. The pattern may be 3D. An example of a set of traps is a 3D array of traps spaced periodically in all of X, Y and Z dimensions, for example a 3D grid. Other patterns are also possible. The spacing in one spatial dimension may be the same or different to the spacing in other spatial dimensions.The holding apparatus 4 may be configured to maintain the atoms in their respective stationarypositions using different mechanisms including, but not limited to, magnetics traps and optical traps. The holding apparatus 4 may provide a plurality of trap sites wherein, when first activated to output the traps, some trap sites are filled by one or more atoms whilst other trap sites are vacant. Preferably the holding apparatus 4 is configured to present trap sites that hold only one atom. Referring to figure 2a, the holding apparatus 4 suitably uses one or more electromagnetic signals, such as optical signals 6, that are input into the chamber 2 to affect the optical traps. The holding apparatus can be configured to generate the one or more electromagnetic signals, such as optical signals 6. The one or more electromagnetic signals may be of any suitable wavelength, including but not limited to 800-1500nm,more preferably 820 – 880nm. Figure 2a shows the holding apparatus 4 being external to the chamber2. However, the holding apparatus 4 may form part of the chamber 2 or be inside the chamber 2.16 PAS01-133868PCPortions of the holding apparatus 4 can be distributed between locations including two or more oflocations external to the chamber, locations forming part of the chamber or locations inside thechamber. Although only a single holding apparatus 4 is shown in figure 2a, it is envisaged that more than one holding apparatus 4 may be provided. The atom positioner 8 is configured to controllably move one or more held atoms from one spatial position to another spatial position. For example, the atom positioner 8 may be configured to move an atom trapped in one of the optical trap sites to another different trap site. Figure 2a shows the atom positioner 8 being external to the chamber 2. The atom positioner 8 may form part of the chamber 2.The atom positioner 8 may be inside the chamber 2. Portions of the atom positioner 8 can bedistributed between locations including two or more of locations external to the chamber, locations forming part of the chamber or locations inside the chamber. The atom positioner 8 and holding apparatus 4 may be part of the same device or system for holding and moving the atoms. The atom positioner 8 may be configured to use different technologies to manipulate the position of the atoms including, but not limited to, moving the atoms using magnetic signals or electromagnetic signals such as optical signals. The electromagnetic signals may be of anysuitable wavelength, including but not limited to 800-1500nm, more preferably 820 – 880nm. Referringto figure 2a, optical signals 10 are used such as, but not limited to optical tweezers. Suitably the atompositioner 8 is configured to generate the optical signals 10. Although only a single atom positioner 8 isshown in figure 2a, it is envisaged that more than one atom positioner 8 may be provided.The atomic state actuator 12 is configured to output one or more signals to control and manipulate theatomic states of one or more of the atoms in the chamber 2, preferably the trapped atoms. E.g. theatomic state actuator 12 is configured to actuate the transition between atomic states. The signalsoutput by the atomic state actuator 12 suitably comprise electromagnetic signals 14 of one or morephotons. Different signals may be output by the atomic state actuator 12 including signals at differentwavelengths. Each wavelength may correspond to (i.e. be resonant with) a different atomic transition.Although only a single atomic state actuator 12 is shown in figure 2a, it is envisaged that more than oneatomic state actuator 12 may be provided. For example, a first atomic state actuator 12 may beconfigured to output a different wavelength or set of wavelengths than a second atomic state actuator12. The atomic state actuator may facilitate the transition between atomic states of a single trapped atom or a plurality of trapped atoms. For example, two or more, three or more, trapped atoms, or all ofthe trapped atoms. Figure 2a shows the atomic state actuator 12 being external to the chamber 2.However, the atomic state actuator 12 may form part of the chamber 2. The atomic state actuator 1217 PAS01-133868PCmay be inside the chamber 2. Portions of the atomic state actuator 12 can be distributed betweenlocations including two or more of locations external to the chamber, locations forming part of the chamber or locations inside the chamber. The electromagnetic wavelength for transitioning a rubidium atom to the Rydberg state may be 297nm. The electromagnetic wavelength for transitioning a Caesium atom to the Rydberg state may be 318.6nm. The electromagnetic frequency for transitioning a rubidium atom between hyperfine statesmay be 6.835 GHz. The electromagnetic frequency for transitioning a Caesium atom between hyperfinestates may be 9.192 GHz. The excitation from the ground state to the Rydberg state may be facilitatedby two-photon absorption. This may be accomplished using two different electromagnetic (EM) sourcessuch as lasers or other EM sources. These two EM sources may have different wavelengths. Preferably any electromagnetic signals used to trap and move the atoms are preferably different, at least in wavelength, to the optical signals used to manipulate the quantum states of the atoms. In particular, any electromagnetic signals for trapping and moving the atoms are preferably off-resonance, i.e. the wavelength of the holding and positioning electromagnetic signals do not act to excite the atom between different atomic states.The detector 20 is configured to monitor electromagnetic signals 18 output from the atoms in thechamber 2. The detector may comprise a camera. The camera may be configured to image thefluorescence output by the atoms held by the holding apparatus 4. Figure 2a shows the detector 20 being external to the chamber 2. However, the detector 20 may form part of the chamber 2. Thedetector 20 may be inside the chamber 2. Portions of the detector 20 can be distributed betweenlocations including two or more of locations external to the chamber, locations forming part of the chamber or locations inside the chamber. An example of the general operation of the neutral atom quantum computing system may be as follows. Any of the following steps may be omitted, combined, rearranged in order, or adapted using features from other examples herein. Furthermore, other steps may be included before, at the same time, or after any of the steps listed below. A) The holding apparatus 4 emits signals into the chamber 2 to create a plurality of optical traps.B) Some of the ensemble of atoms in the chamber 2 are automatically trapped by the plurality oftraps. C) The atom positioner 8 is optionally used to move some, or all, of the trapped atoms betweentraps so that at least a particular set of the traps are each filled by an atom. This set of traps may18 PAS01-133868PCbe referred to as a ‘register’. The detector 20 may be used in this process to help identify which traps are occupied or vacant. In some examples the atom positioner may not be required. D) The atomic state actuator 12 outputs one or more electromagnetic signals 14 to control atomicstate transitions of at least one of the atoms. This step may be performed a plurality of times to implement processing operations of the quantum computer, for example, time-sequentially inputting a plurality of electromagnetic signals to implement quantum logic gate operations. E) The detector 20 is used to determine the atomic states of the atoms, e.g. after the signals instep D) have been performed. The quantum system may be re-set at least by removing the traps. The quantum system may, forexample after being re-set, be re-initialised for a further quantum computation by repeating steps A)-E)above for a further time period.Any features described with respect to the general example of a neutral atom quantum computer setupas illustrated in figure 2a, including but not limited to any one or more of the atoms used; the atomicstate actuator 12; the atom positioner 8; the holding apparatus 4; the detector 20, and the generaloperation, may be used with any other example presented herein.Detailed example of a neutral atom quantum computer system setup Figure 2b shows a specific example of a neutral atom quantum computing / system setup 30. Thechamber 2 comprises a vacuum chamber. A dilute atomic vapour is formed inside the chamber 2.Suitably, the chamber 2 comprises an ultra-high vacuum system operating at room temperature. Otherenvironmental temperatures may be formed inside the chamber 2. Figure 2b is a more detailed example of figure 2a wherein like references in the figures represent like components. This setup may be adaptedaccording to any teaching herein including, but not limited to, the features described in respect of figure2a. The setup illustrated in figure 2b may be referred to as a ‘quantum processor’ or ‘quantum system’. It is to be understood that the example illustrated in figure 2b is just one example of a setup for a quantum processor and provides a 2D array of optical trapping sites. Other setups may be provided, forexample to implement a 3D array of trapping sites, by including a plurality of the components describedherein and / or by providing one or more components at different component locations and / or withdifferent configurations. The example illustrated in figure 2b may be adapted by removing components, adding components, combining components and re-positioning components.In the example illustrated in figure 2b, a laser system 32, comprising a laser and beam-expanding optics,outputs a cross-sectionally-wide collimated laser beam 34 towards a spatial light modulator (SLM) 36.19 PAS01-133868PCThe SLM 36 and the laser system 32 can be considered as being equivalent to the holding apparatus 4 in figure 2a. The SLM 36 comprises a 2D periodic array of controllable deformable mirrors 38 which receive the collimated beam 34 and selectively reflect portions of the beam 34 towards a polarising beamsplitter (PBS) 40. The SLM 36 outputs an adjustable phase pattern on the light 34, that in turn getsconverted into an intensity pattern 58 by first lens 52a, as described elsewhere herein. The polarisationof the reflected portions of the beam 34 pass through the PBS 40 and propagate towards a dichroic mirror 42. It is understood that the laser system may have other components such as a polarisation rotator (not shown) for controllably adjusting the polarisation of output light 34 incident upon the SLM 36, so that the polarisation of light 34 is aligned to the transmission axis of the PBS 40. The PBS 40 also receives electromagnetic signals 44 from an atom positioner 8. The atom positioner 8comprises a laser 46 and a 2D acousto-optic laser beam deflector 48. The 2D acousto-optic laser beamdeflector 48 receives laser light from the laser 46 and controls the direction of the laser light into the PBS 40. In turn, this allows the deflector 48 to use the laser light 44 as an optical tweezer or an array of optical tweezers. The light 44 output from the atom positioner 8 is reflected by the PBS 40 such that it is output from the PBS 40 along a substantially similar path to the light 34 output from the PBS 40 that originates from the laser system 32. The light beams 34 and 44 may at least partially overlap in space when output from the PBS 40. The light 44 originating from positioner 8 that is reflected and output by the PBS 40 is incident upon the dichroic mirror 42. It is noted that the position and direction of light rays in figure 2b, such as beams 34 and 44, are shown spatially separate to each other, however this is merely for purposes of visual clarity in the figure and may not represent the beam positions in practice.Both the light 34 and 44 output from the PBS pass through the dichroic mirror 42 and are incident upona window 50 of the chamber 2. The window 50 may be one of a plurality of windows in the chamber that are at least partially transparent to the wavelengths of the light that are incident upon them that are generated by the electromagnetic sources of the system 30. The window 50 forms part of the body of the chamber 2 and is sealed with respect to the walls of the chamber such that the chamber 2 holds a vacuum environment within it. Other components may be associated with the vacuum chamber 2 by either being inside the chamber 2, integrated with the chamber 2 or immediately surrounding the chamber 2. Components may be considered to be associated with the chamber 2 by being configured to input stimuli into the chamber 2, such as electromagnetic fields or magnetic fields. One or more magnetic coils (not shown) may be included about the chamber 2 to provide a spatially-varyingmagnetic field that, with the laser light 34, acts to provide a magneto-optical trap (MOT). The laser light20 PAS01-133868PC34 may have a wavelength configured to cool the atoms via the mechanism of doppler cooling. The light 34 may be split and / or reflected by other optical components (not shown) to provide a plurality ofbeams propagating along different directions that intersect a trapping area 54. Such beams may be usedto provide cooling in a plurality of directions such as along one or more of X, Y, and Z cartesian axes.Further laser light beams from one or more further sources may be used to cool and trap the atoms. The coils may comprise two coils in an anti-Helmholtz configuration that are used to generate a weakquadrupolar magnetic field to facilitate, with the laser light 34, the magneto-optical trap.The quantum system 30 may use different forms of trapping mechanisms and associated equipment to trap the neutral atoms, as known in the art, for example, but not limited to any of the trapping and cooling systems described in: “Harold J Metcalf and Peter van der Straten. Laser cooling and trapping ofatoms. JOSA B, 20(5):887-908, 2003” the entire contents of which are included herein by reference.The quantum system 30 comprises a pair of convex lenses 52a, 52b located inside the chamber 2. A firstlens 52a is positioned to receive light beams 34, 44 passing through the window 50. The first lens 52a isconfigured to focus the light beams 34, 44 onto the trapping area 54. The trapping area 54 is an area ofminimum beam waist (i.e., at the focal plane of the first lens 52a). A second lens 52b is located on theopposite side of the focal plane from the first lens 52a. The second lens 52b is configured to capturelight exiting the trapping area 54 and to focus or collimate the light into a plurality of light beams that may be incident upon: a beam dump inside the chamber 2 (not shown) or another chamber window 60 that allows the light to escape the chamber 2. An expanded view 56 of the focal plane in area 54 is also shown in figure 2b. An array of optical trappingsites 58 is shown that are created from the mirrors 38 of the SLM 36 reflecting portions of the light 34.The quantum system 30 comprises two atomic state actuators 12a, 12b, as illustrated in figure 2b. Theatomic state actuators comprise or take the form of lasers that output light for manipulating the statesof the atoms trapped at the trapping sites 58. In figure 2b, atomic state actuator 12a is a systemcomprising two lasers. Each of these two lasers is configured to output light 62a, 62b at a differentwavelength from the other of the two lasers. The different wavelengths of this light 62a, 62b matchdifferent atomic transitions of the atomic system (or ‘ensemble’) held in the chamber 2. The light from the actuator 12a is incident upon a chamber window 60, through which the light travelsand is incident upon the second lens 52b. The second lens 52b, in turn, focusses the light onto the atomsin the trapping sites 58. A further atomic state actuator 12b is shown in figure 2b as being positioned,21 PAS01-133868PCabout the plan view of the chamber 2, orthogonally to the first actuator 12a. This second actuator 12bmay be substantially similar to the first actuator 12a. A further chamber window 64 allows light outputfrom the second actuator 12b into the chamber 2. The second actuator 12b may be used to help address and manipulate atoms, particularly when the system provides a 3D array of optical traps. The optics forfocussing light inside the chamber 2 from the second actuator are not shown in figure 2b.It is to be understood that figure 2b and its accompanying description is an example of a setup for aneutral atom quantum computer. The atomic state actuators 12a, 12b may be positioned in differentlocations, including inside or outside the chamber 2 or part of the chamber 2. There may be one or aplurality of different atomic state actuators 12a, 12b. The atomic state actuators 12 may be integratedor otherwise co-located with other electromagnetic sources such as the laser 46 or laser system 32. It isalso to be understood that the quantum system 30 may include other optical or electronic components and / or configurations to allow the neutral atoms to be addressed by the different electromagnetic sources. An EM source may be configured to act on one or more qubits concurrently. An EM source may be configured to output one or more EM signals simultaneously. EM signals may be pulses of EM radiation of different durations, wherein during that duration the EM signal may have different amplitude profiles over time. An EM source may be configured to act on one or more qubits at the same time by emittingone or more EM signals in response to one or more control signals. An EM source may be configured toapply pulses to one or more qubits concurrently. For example, the laser system 32 may emit a laser beam 34 which may comprise sequential EM pulses. The path length of the laser beam 34 may vary. The EM pulses may travel different distances, so that thepulses may act on more than one qubit simultaneously. The quantum system 30 may have componentsfor delaying an EM pulse. In another example, the focal spot size of the laser beam 34 may be large enough to encompass the area in which two or more qubits are positioned. The laser beam 34 may act on two or more qubits. Light, for example fluorescence, emitted by the trapped atoms may be output from the chamber 2through any of the windows 50, 60, 64. In figure 2b, the light 65 emitted from the trapped atomstravelling out of the window 50 is, prior to exiting window 50, collimated by the first lens 52a. This light65 is incident upon the dichroic mirror 42. The dichroic mirror 42 reflects the emitted light 65 towards adetector 20. In the illustrated example, the detector comprises a camera 66. The camera 66 maycomprise an electron-multiplying charge-coupled-device (EMCCD) camera. The dichroic mirror may have22 PAS01-133868PCan edge or pass-band characteristic filter response that substantially reflects emitted light 65 butsubstantially transmits light 34, 44.Figure 2b illustrates the quantum system 30 as comprising a collection, or system, of separatecomponents, including bulk-optic devices wherein light is propagated between components using free- space propagation. It should be appreciated that other versions or setups of the quantum system 30 may be implemented using fibre-optics or integrated optic components, or a mixture of components described herein. One or more of the components of the quantum system 30, such as, but not limited to, one or more of the laser system 32, the atom positioner 8, the camera 66, and the atomic state actuators 12a, 12b may be controlled by a classical computer system running one or more pieces of software and / or providingmanual user input through an interface to control these one or more components. Details of classicalcomputer system features are provided elsewhere herein. Example of operating the quantum processorThere now follows an example of operating a quantum processor such as, but not limited to, the setupas shown in figure 2b. The atoms in this example are rubidium atoms. However other atoms may be used. The atoms in the chamber 2 are initially not in an arrangement suitable for performing quantum computing operations. To get the atoms in an arrangement for quantum processing, a 3D MOT isinitiated, as described herein, wherein a cold ensemble of approximately 106 atoms with a 1mm3volume is prepared inside the trapping area 54. This array of atoms may be referred to as a ‘register.’ Locating atoms in the trapping sites may be referred to as ‘register loading’. The optical tweezers using light 44 isolate individual atoms in the ensemble. The trapping volume of a tweezer may be between 1- 10^m3or generally in the order of a few ^m3. Such a volume may trap at most one atom at a time. The number and arrangement of tweezers may be in any 1D, 2D or 3D pattern. The tweezers may be tailored by holographic methods known in the art such as, but not limited to that described in: “Florence Nogrette, Henning Labuhn, Sylvain de Leseleuc, Thierry Lahaye and Antoine Browaeys. Synthetic three- dimensional atomic structures assembled atom by atom. Nature 561 (7721):79-82, September 2018”, the entire contents of which are included herein by reference. When first initiated, the trapping sites of the register may each hold an atom. In practice the sites arenot all likely to initially be occupied. For example, only 50% may be occupied. This occupation may be in23 PAS01-133868PCa non-ordered or random manner. As such a sub-register may be formed from the initial register by determining which sites are occupied and then using the tweezer light beam to move atoms from one site to another so that at least one set of two or more trapping sites are occupied according to a predetermined arrangement, for example a 3D periodic grid of atom-occupied sites. Each site in the sub-register holds a single atom. Hence each site has unit filling. This may be referred to as being a defect-free sub-register wherein a defect is a site in the sub-register that is intended to be filled but is not, or conversely, a site that is intended to be unfilled but is filled. Other sub-register atom arrangements are possible. To determine where the atoms are initially held in the register, the atoms are imaged by collecting their fluorescence on the camera 66. Suitably, the camera 66 is configured to capture or form one or moreimages indicating the fluorescence of the atoms in the register and / or in the sub-register. A programthat may be run on a classical computer system may be used to determine the position of the initially occupied sites 58, for example from the one or more images captured or formed by the camera 66.Additionally or alternatively, a user may provide input to determine such positions. When a classicalcomputer is used, an algorithm is used to determine a set of moves, which can be effected by the optical tweezers, to rearrange the initial configuration of the register or sub-register to the desiredpredetermined configuration of the register or sub-register. The algorithm may be run on a GPU.Running the algorithm on a GPU can enable real time processing of the algorithm. A Field ProgrammableGate Array (FPGA) may be used to transfer data in this operation. The data that corresponds to the required ‘moves’ is then communicated to the 2D acousto-optic laser beam deflectors 48. Optionally a further image may be acquired in a similar way to check whether the register or sub- register formed has atoms in the predetermined positions. Furthermore, when any quantum processing is complete, the sub-register may be read out in a similar way using the camera 66, or more generally the detector 20. The described process of setting up a sub-register is optional. The use of the atoms in the register may be performed, in principle, without the need for setting up a sub register. Quantum processing using the registerThe sub-register of atoms described herein that is operated on to perform quantum computingoperations may be referred to in the following discussions as simply the ‘register’. Furthermore, it is to be understood that any quantum operations made on the register, according to a desired quantum algorithm, may be repeated one or more times to reconstruct the relevant statistical properties of the final quantum state produced. This is typically done because of the probabilistic nature of each possible outcome imposed by quantum mechanics.24 PAS01-133868PCAs described herein, the quantum states of the atoms may be controlled by one or more atomic state actuators such as the atomic state actuators 12a, 12b exemplified in figure 2b. It is assumed in thefollowing discussions that the atomic state actuators 12a, 12b comprise lasers. Other atomic stateactuators or types of atomic state actuators may be used. The quantum system 30 may be used foranalog computing. The atomic state actuators 12a, 12b, comprising lasers in this example, are applied tothe atoms to realise a Hamiltonian. The quantum system 30 may be used for digital computing where a quantum algorithm is decomposed into a plurality of quantum logic gates, typically wherein two ormore of the gates are in succession. The quantum gates can be realised by inputting laser light from thelasers 12a, 12b into selected individual atoms in the register.The two qubit states used in this example are the hyperfine ground states of the rubidium atom.Hyperfine states of other atoms may be used in the alternative. These ground states have long or infinite lifetimes that prevent radiative coupling to the electromagnetic environment. This is advantageous because digital quantum computing requires qubits that are robust against decoherence. The spacing between atoms in the register may be several micrometres. The lasers 12a, 12b are typically focussed using lenses such as the second lens 52b, and other lenses not shown in figure 2b. The laser used for transitioning the atoms between these two hyperfine ground states may be a Raman laser.Such a Raman laser and its output light may be referred to herein as the ‘Raman channel’. There may bea plurality of Raman channels used. Quantum logic gates may be implemented by operating on a single qubit or operating on multiple qubits, such as two or more qubits. A single-qubit gate may be implemented by having a laser 12a, 12b act upon the atom wherein any single-qubit gate may be implemented by tuning the properties of the incoming laser signal. This laser signal may be referred to as a ‘control field’. By changing the properties of the control field, any arbitrary rotation of the qubit state, on the Bloch sphere, may be performed. The atom-laser field interaction is affected by the Rabi frequency (its strength, proportional to theamplitude of the laser field); the detuning ^ (the difference between the qubit resonance and the fieldfrequencies) and their relative phase. Driving the control field for a duration ^ induces rotations aroundthe (x, y, z) axes. Hence, any single-qubit gate can be implemented by tuning the pulse duration, thelaser intensity, and the detuning and the phase of the laser.In more detail, the transitions between atomic states – hence between quantum states – of the atomicsystem, may be driven through the emission of pulses by one or more electromagnetic sources. A pulsemay be defined as the modulation of a channel’s output amplitude, detuning, and phase over a finite25 PAS01-133868PCduration ^. For a channel targeting the transition between notional energy levels ^ and ^, withresonance frequency ^^^ = |^^ − ^^|⁄ ℏ , the output amplitude determines the Rabi frequency Ω(^),and the detuning ^(^) is defined relative to ^^^ and the frequency of the channel’s output signal ^(^),as ^(^) = ^(^) − ^^^. Additionally, the phase ^ of a pulse can be set to an (arbitrary) constant value. Apulse-driven transition between two energy levels can be mapped to a spin-1 / 2 system through thedrive Hamiltonian: Equation 5 Where ^ = (^^ , ^^ , ^^ )^ is the Pauli vector and ^(^) = (Ω(^) cos(^) , −Ω(^) sin(^) , −^(^))^ is therotation vector.In the Bloch sphere representation, for each instant ^, this Hamiltonian describes a rotation around theaxis ^ with angular velocity: Equation 6as illustrated in figure 1.These parameters for driving the control field may be controlled using direct digital synthesizers (DDS)or RF sources that drive acousto- and electro-optic modulators (AOM and EOM) placed on the laserbeams or other electromagnetic sources. As an illustration, when driving the control field at resonance(^ = 0), the qubit oscillates in time between the states |0^ and |1^.One-qubit gates are specific unitary transformations described by 2-by-2 complex matrices transformingone qubit state into another. Notable examples are the NOT gate that changes the state |0^ into |1^ andvice-versa. The NOT gate is shown in equation 7. NOT = ^0 11 0^ Equation 7The Hadamard (H) gate is another single-qubit gate that generates superposition of both states startingfrom a pure state. In the { |0^, |1^ } basis, the Hadamard gate is as shown in equation 8.^1−1^ Equation 8 The NOT gate may be implemented by a ^ rotation about the ^ axis in the Bloch sphere whilst theHadamard gate may be implemented by a ^ rotation about the (^ + ^) axis.26 PAS01-133868PCTwo-qubit gates are unitary transformations described by 4-by-4 matrices that transform one two-qubitstate into another, allowing the generation of entanglement in the register. From a physics viewpoint,their implementation requires an interaction between the qubits. However, neutral atoms in theirelectronic ground state can only interact significantly via contact physical collisions. Single atoms aretypically separated by a few micrometres in the register and therefore do not naturally ‘feel’ each other.Therefore they do not normally interact. Two or more qubit gates described herein may cause differentqubits to interact using Rydberg states, in particular through the Rydberg blockade effect. An atom in aRydberg state or a ‘Rydberg atom’ is an excited atom with one or more electrons that have a very highprincipal quantum number, ^, entailing that the electron is far from the nucleus and thus allowing thatatom to interact with another atom. The laser(s) 12a, 12b used to impart light at the wavelength needed for the Rydberg transition may be referred to as the Rydberg laser. The Rydberg laser and its output light may be referred to herein as the ‘Rydberg channel’.Figures 3a-3c schematically show three levels of the atomic system of the rubidium atoms used in thisexample. The energy levels ‘g’ and ‘h’ denote the hyperfine states that represent the |0^ and |1^ qubitstates respectively, whilst ‘R’ represents the Rydberg state of the atomic system and is associated with quantum state|r^. The label ‘^’ in figures 3a and 3b is shown when a single transition is made betweenthe g and R state indicating that a ^ change in ^ (see equation 4) has been imparted into the atomicsystem because of the overall transition. Similarly, when a laser field of sufficient duration and amplitude has been imparted onto the atom to transition it from the g energy level up to the R energy level and then back to the g energy level (within the same control field input), this is labelled as‘2^’^indicating that a 2^ change in ^ (i.e., a full Bloch sphere rotation) has been imparted into theatomic system because of the overall transition. The laser fields that give rise to these ^ and 2^transitions may be respectively referred to as a ^-pulse and a 2^-pulse. The corresponding change in ^may be referred to herein as a ‘phase change’ or ‘phase factor’. It is understood that the input controlfields causing these transitions have a wavelength resonant with the |0^ to |r^ transition and notresonant between the |0^ and |1^ transition. Figure 3a shows the atomic transition from the g level tothe R level with a ^-pulse. Figure 3b shows the atomic transition from the R level to the g level with a ^- pulse. Figure 3c shows the atomic transition from the g level to the R level and back to the g level again with a 2^-pulse. The Rydberg blockade may be used in the situation where two neighbouring atoms are both in the |0^state, i.e., both at the g energy level as shown in figure 4a. In the example illustrated in figure 4a, thedescribed energy levels are shown for two identical rubidium atoms wherein the first atom is termedthe ‘control’ atom (or control qubit), labelled ‘C’. The second atom is termed the ‘target’ atom (or target27 PAS01-133868PCqubit) labelled ‘T’. The Rydberg blockade may come into effect when one of the atoms, for example the control atom C is transitioned to the R energy level with a ^-pulse as shown in figure 4a. At a time after the C atom has transitioned to the R state, the equivalent R state energy level for the T atom is raised above its normal energy level due to the effect of the C atom being in a higher energy state. If a ^-pulse is then introduced to the T atom whilst this ‘blockade’ is in effect, as shown in figure 4b, the ^-pulse will not transition the T atom from the g energy level to the R energy level due to the laser wavelength nowbeing detuned from the energy difference between the new Rydberg energy level and the g energylevel. As such, the T atom remain in the g state. The Rydberg blockade may therefore be used to enable the state of one qubit (C atom) to affect the state of another qubit (T atom). The cross over the arrow in figure 4b, and in other figures, indicates that the transition did not occur. The Rydberg blockade may be used to implement a Controlled-Z (CZ) gate with the atomic system of thequantum computer 30. As shown in the example quantum circuit of figure 5, a CZ gate may be used withtwo Hadamard (H) gates, one each side of the CZ gate, to form a CNOT gate 70. The CNOT gate flips atarget qubit state if, and only if, a control qubit is in the state |1^. The CNOT gate 70 can beimplemented as follows. The target (T) qubit atom is operated on with a first H gate 72; then the T and C atoms are operated on by the CZ gate; then the T atom is operated on again by a further second H gate74. The CNOT gate is an important gate in quantum computing because it may be shown that anyquantum algorithm may be implemented by combinations of CNOT gates and / or single-qubit operations changing the qubit state to any arbitrary state around the Bloch sphere.The CNOT gate and the CZ gate are shown below in matrix form in equations 9 and 10 respectively.1 0 0 0^0 1 0 00 0 0 1 ^ Equation 90 0 1 01 0 0 0^0 1 0 00 0 1 0 ^ Equation 100 0 0 −1The atomic states of a two-qubit neutral atom system may be used to form a gate that, together with aglobal phase of ^^^is equivalent to the CZ gate as shown in equation 11.−1 0 0 0 1 0 0^0 −1 0 00 0 −1 0 ^ = ^^^ ^ 0 1 00 0 1 Equation 110 0 0 1 0 0 0 28 PAS01-133868PCFigures 6a-6d show an example of how the above CZ gate may be implemented using the Rydberg blockade. In this example the CZ gate is implemented using three time-consecutive electromagneticfields labelled (i), (ii) and (iii) respectively in the figures. Field (i) is a ^-pulse operating on the controlqubit (C atom). After field (i) has operated on the C atom, the second field (ii) operates on the target qubit (T atom). This second field is a 2^-pulse. After field (ii) has operated on the T atom, the third field(iii) operates on the control qubit (C atom). This third field is a ^-pulse. This pulse sequence may bereferred to as a ‘^-2^-^ mechanism’ or ‘^-2^-^ pulses’. Methods and systems presented herein mayutilise such a ‘^-2^-^’ mechanism. However, it should be appreciated that other pulse sequences fordriving the quantum computer may be used, for example, but not limited to, a ‘^-^-2^-^-^’ mechanismfor a CCZ gate or another MCZ gate. A CCZ gate has two control ‘C’ qubits (such as q0 and q1) and asingle target ‘T’ qubit (such as q2). Therefore the implementing pulses may be as follows: A) the first ^-pulse operates on one of the two control qubits, such as q0; B) the second ^-pulse operates on the other of the two control qubits, such as q1; C) the 2^-pulse operates on the target qubit q2; D) the third^-pulse operates on the same qubit targeted in B), such as q1; E) the fourth ^-pulse operates on theother of the two control qubits, such as q0. Figures 6a-6d show the resulting atomic transitions for the C and T atoms when this pulse sequence is imparted. Each of figures 6a-6d show a different set of initial atomic states of the combined C-T atomicsystem. The black circles in the figures indicate the starting position of the atomic states. The whitecircles indicate the final positions after all the pulses (i)-(iii) have acted on the C-T atomic system. Figure 6a shows the effect of the pulses when both the C and T atoms start in the lower h energy level (hence both in qubit state |1^). None of the pulses (i), (ii) or (iii) are at the resonant wavelength to promote the atoms to the Rydberg energy level and therefore both the C and T atoms make no transitions with any of the input pulses (i)-(iii). Figure 6b shows the effect of the pulses (i)-(iii) when the C atom starts at the higher g energy level(hence in qubit state |0^) whilst the T atom starts in the lower h energy level (hence in qubit state |1^).The (i) pulse causes the C atom to transition from the g to the R energy level, incurring a ^ phase factor.The (ii) pulse is off-resonance for the h-R energy level transition so the T atom stays at the h energy level and does not make an atomic energy level transition upon receiving the (ii) pulse. The (iii) pulse causesthe C atom to transition from the R energy level back to the g energy level, incurring a further ^ phasefactor. The total phase factor imparted onto the two-qubit quantum system with the (i)-(iii) pulses istherefore 2^^^29 PAS01-133868PCFigure 6c shows the effect of the pulses (i)-(iii) when the C atom starts at the lower g energy level (hencein qubit state |1^) whilst the T atom starts in the higher g energy level (hence in qubit state |0^). The (i)pulse does not cause the C atom to transition from the g to the R energy level because it is off-resonance. The (ii) pulse is on-resonance for the g-R energy level transition so the T atom transitions upto the R energy level and back to the g energy level, picking up a 2^ phase factor. Like the (i) pulse, the(iii) pulse does not causes the C atom to transition. The total phase factor imparted onto the two-qubitquantum system with the (i)-(iii) pulses is therefore 2^^^Figure 6d shows the effect of the pulses when both the C and T atoms are in the higher g energy level(hence both in qubit state |0^). The (i) pulse causes the C atom to transition from the g to the R energylevel, incurring a ^ phase factor. The temporary transition of the C atom to the Rydberg state imposes aRydberg blockage to the T atom, thus preventing the (ii) pulse transitioning the T atom from the g to the R back to the g energy level. The (iii) pulse causes the C atom to transition from the R energy level backto the g energy level, incurring a further ^ phase factor. The total phase factor imparted onto the two-qubit quantum system with the (i)-(iii) pulses is therefore 2^^^ ^The above phase factors incurred from the (i)-(iii) pulse sequence give rise to the matrix values on theleft-hand side of equation 11. The above is an example of a CZ gate that can be used to generate a CNOT gate, as discussed herein. Other gates may be used using similar principles of a pulse sequence utilising the Rydberg blockade. The effect of the Rydberg blockade entangles the two qubits in the system described, but it is to beunderstood that other entanglement mechanisms may be used, and more than two qubits may beentangled by the Rydberg blockade. General comments about the neutral atom quantum computerThe atoms of a neutral atom quantum computer, as can be used by the methods and systems describedherein, may be formed of any of the alkali metal atoms or Group 1 atoms of the periodic table; namely,Lithium (Li), Sodium (Na), Potassium (K), Rubidium (Rb), Caesium (Cs), and Francium (Fr). An advantageof alkali element atoms is that they are suitable for laser cooling. Although atoms used in the ensemble of a neutral atom quantum computer are typically alkali elements, other elements may be used including, but not limited to, alkali earth elements where one of the two valence electrons is promoted to a metastable state before being transitioned to a Rydberg state for implementing a blockade effect. Of the alkali elements, neutral atom quantum computers may preferably use heavy alkali atoms Rb and Cs. Such heavy alkali atoms have relatively large hyperfine energy splitting in the excited manifolds of30 PAS01-133868PCthe first resonance lines. Such hyperfine states allow for qubit measurements by light scattering.Example methods described herein use a Rydberg state to entangle qubits. Rydberg-mediated quantuminformation processing can be implemented using the blockade effect or other Rydberg related effects.The Rydberg state used by example methods may be any of the states in the Rydberg series for thatatom type. Rydberg states are not long-lived states and have a finite lifetime due to radiative decay. Theamplitude, hence, Rabi frequency, of the electromagnetic pulse to excite an atom to a Rydberg statemay vary. This can affect the speed at which the transition takes place. A fast transition minimisesspontaneous emission, but a slow transition maximises Rydberg blockade effectiveness. The choice of EM pulse amplitude and duration may therefore be a trade-off between these two factors. An advantage of using the Rydberg blockade is that as long as the value of the blockade shift in the target atom energy level is large enough, then the blockade does not need to be further controlled in terms of energy-shift magnitude for the effect of the blockade to be present and implement the gate functionality. Furthermore, the interaction range, in terms of atom-atom distance, is large enough so that atoms involved in the blockade effect can be spaced far enough apart so that they are optically resolvable without needing to further move the atoms from their positions after the interaction. The Rydberg blockade may be optimised for MHz range of gate-speed operations due to the finite lifetime of the energy states. The Rydberg blockade effect from exciting one atom may affect (hence block the subsequent Rydberg transition of) more than one other neighbouring atom, for example an ensemble of atoms. Furthermore, the blockade may in principle be initiated by a control field transitioning atoms from a lower energy hyperfine state (than shown in the figures herein) to the Rydberg state.Different types of traps may be used including, as described herein, Magneto-Optical Traps (MOT).Other traps may be used including Far-Off Resonance optical Traps (FORT) and magnetic traps such as cryogenic magnetic traps. Multiple traps may be formed, for example by optical trapping in lattices formed by counterpropagating beams such as in the near infrared or by using long wavelength CO2 lasers. Other alternatives include vapour cells. The spatial control and positioning / re-positioning of the atoms may use different types of devices and systems including but not limited to one or more, or a combination of, electro-optic deflectors, acousto-optic deflectors and micro-opto-electromechanical systems.A common approach to quantum computing is digital. Here, a set of one-qubit and two-qubit gates areused to build a theoretically universal quantum computer. There have been attempts to build such a universal device with varying technologies, for example, superconducting circuits, trapped ions, neutral atoms and photonic devices.31 PAS01-133868PCIn order to generate a graph from statistical properties for digital quantum simulation one could use a standardised method. For example, the Voronoi method can be used to generate a lattice with well- defined nearest neighbours. The corresponding interactions between nearest neighbours can be separately defined through sampling from the desired statistical distribution. Together these methods can establish a graph with the statistical properties needed and the implementation can be done through trotterisation and a SWAP network. More precisely, the interactions of the graphs aredecomposed into single-qubit gates and two-qubit gates using the Suzuki-Trotter decomposition. Aseries of SWAP gates allows each interaction between the two qubits of interest to be performedirrespective of the connectivity of the device in use. A reduction in the resources required in this processcan be obtained via heuristic methods.Currently, a fully fault-tolerant quantum computer remains out of reach, but the last decade has seenmuch progress towards this goal. Quantum error correction protocols have been proposed to remove these errors but, before they can be implemented at a meaningful scale, the number of qubits in Noisy Intermediate-Scale Quantum (NISQ) devices and the noise level must be improved by many orders of magnitude. As the quantum circuits that are promised to solve real-world problems require large numbers of qubits and deep circuits, for example due to trotterisation, these devices are not yet practically useful. Despite these issues, there have been impressive results in recent years, for example, solving classically intractable sampling problems, and accurate quantum simulation of a spin system using more than 100 qubits, albeit for a classically tractable problem. As a result of these successes, quantum computers have the potential for short-term application in fields such as quantum chemistry, the financial sector, pharmaceuticals, and artificial intelligence. Analog quantum processors are an alternative avenue for solving complex problems. Such devices use the extremely accurate control that has been developed experimentally with quantum systems in recent decades. By carefully isolating a given register of particles and understanding the underlying physics that governs the interactions between these particles we have access to and control over a resource Hamiltonian which we can use to encode and solve problems of interest. In an attempt to build analog devices, technologies such as trapped ions, cold atoms and photonics have been used. In the presenttechniques, examples are given that are focussed on neutral atoms as the particles in use, but it is to beappreciated that the present techniques are more broadly applicable. While analog devices are not fully universal, and are thus more limited in their potential use cases, they have lower error rates than current digital quantum computers and therefore are likely to show the first industry-relevant quantum advantage.32 PAS01-133868PCNaturally, as analog devices are closely related to quantum experimental setups, applications for quantum simulation are the most promising contender for early quantum advantage. In fact, there have been experimental results published that challenge state-of-the-art classical simulation methods already. Generalising the use of an analog system to problems outside the realm of quantum simulationis difficult. One issue is that of “always-on” interactions. Typically in physical systems, interactionsbetween particles scale with their separation. While the exact scaling is defined by the type of particlesin use the consequence is the same. For a fixed register of particles the interactions are fixed. As aresult, performing quantum operations that act on an isolated part of the quantum system is difficult. This greatly limits the potential applications for analog quantum devices. Analog quantum processor devices are typically limited to pulses that correspond to time evolution under a given Hamiltonian, for example an Ising Hamiltonian. Within the Ising Hamiltonian there arefixed, always-on, interactions between qubits. The Ising Hamiltonian comprises a spin-spin couplingcoefficient. In an example Hamiltonian useful in the present techniques, the always-on interactionsbetween qubits scale down with the sixth power of their separation. Unless the qubits are shuttledaround, these interactions are fixed throughout any quantum simulation experiment. As a result, therealization of digital quantum gates between a subset of the qubits is challenging as it is not possible to physically ‘turn off’ the interactions between this subset and the rest of the system. In digital quantum computing, each operation is assumed distinct and applied separately. Such assumptions do not necessarily hold true in the analog paradigm, which poses a challenge to simulations in analog quantum processors. A third regime of interest is Digital-Analog Quantum Computing (DAQC). Here, a quantum device has access to both analog pulses alongside single-qubit gates. NMR setups are known to work within this regime, and proposals have considered realising a DAQC device in superconducting qubits with some early-stage experimental results. In fact, under the right conditions, this type of quantum computing can be universal. There are many proposed applications for such a device, for example, quantum chemistry, implementing the quantum approximate optimization and Harrow-Hassidim-Lloyd algorithms, and computing the quantum Fourier transformation. However, in order to realise single-qubit gates previous work has assumed either that interactions can be turned off, for example by using external laserstrengths much larger than these interactions (a regime that is difficult to realise for manytechnologies), or the availability of analog pulses with lengths that are below experimental feasibility.The present techniques aim to provide a general set of single-qubit gates for a device that has always-on33 PAS01-133868PCinteractions. The present techniques are applicable in architectures where there are modes of operationin which one can operate with always-on analog interactions and controllable pulses. Examples of sucharchitectures include neutral atom quantum computing, superconducting quantum computing, ion trapquantum computing, and so on. Generally, the techniques described herein are applicable to any analogdevice, and / or any device operating at least partly in an analog regime. The limitations of the devicemight influence the capabilities of the techniques, and / or their application. The effects of this can betaken into account within the techniques themselves, such that the techniques remain applicable. The present techniques aim to provide a general set of single-qubit gates for a device that has always-oninteractions, for example in a regime where the external laser fields and pulse lengths are on the sameorder as the interactions between qubits.Single-qubit addressability in a given field of the governing Hamiltonian is initially assumed. Techniquesdiscussed herein, alongside a refocusing algorithm, allow for approximating a wide variety of two-qubitgates in a purely analog fashion. The present techniques may therefore act as a step to bridge the gapbetween analog and digital quantum computing. These techniques therefore potentially allow purelydigital algorithms to be implemented in an analog quantum device.Variational methods are proposed to find pulse sequences which approximate the effect of a widefamily of conventionally known ‘digital gates’. These methods aim to use minimal experimentalrequirements with the strictest only assuming the use of global pulses (i.e. the same Ω and ^ for allqubits) and single-qubit addressability in a given field. Furthermore, while the methods can be optimized on a small number of qubits, they generalize well to many-qubit simulations given they obeycertain conditions. This means that, advantageously, the numerical optimization may be performed on aclassical computer even for informing the programming of larger quantum computers.The applications of protocols and methods described herein are wide reaching. The designed pulsesequences can be used to implement an approximation of a network of quantum gates, for example aSWAP network. This, in turn, may approximate all-to-all connectivity in a 1D system. In analog quantumcomputing, such as neutral atom hardware with fixed atomic positioning, tailored two-qubit interactions between atoms which lie far apart are not directly possible. Where the physical qubits (atoms) themselves are not moved, logical SWAP operations are necessary to move logical qubits to neighbouring atoms before performing the desired operation, incurring a heavy overhead. Furthermore, in a traditional system, single SWAP gates would require dealing with always-on interactions between other qubits.34 PAS01-133868PCWith SWAP networks, which effectively implement a logical all-to-all connectivity between qubits, many kinds of algorithms are enabled which require qubits to interact in specific ways with all (or a large subset of) other qubits.All-to-all connectivity allows for the implementation of one or more of annealing procedures,simulations of higher dimensional systems and efficient simulation of fermionic systems. Suchsimulations of fermionic systems can include Variational Quantum Eigensolver (VQE) methods, e.g.through the implementation of a Givens SWAP network. Furthermore, the suggested pulse sequences prescribe how to implement effective single-qubit digital gates, emerging from the application of single-qubit pulse sequences under a significant always-on interaction term. The implementation of single qubit gates allows for the rotation of qubits to a wide range of different bases, in turn this allows for improved state preparation, measurement of many observables, notably measurements of energy and the implementation of randomized measurements protocols. Another use of this method is in the implementation of the refocusing algorithm. This allows one to ‘turn off’ the interaction between two given qubits which, in the most optimistic case, brings us closer to digital-analog quantum simulation.In the present discussions, the Hamiltonian that governs an analog quantum computing device isintroduced – the example focusses on a neutral atom setup. A discussion is then made of methods toapproximate layers of single-qubit gates using only global pulses and single-qubit addressability in a single field. Given access to layers of single-qubit gates, a discussion is presented on how to perform the refocusing algorithm and thus approximate two-qubit gates. The use of these methods is exemplified through preparing an approximate SWAP gate network and solving simple chemistry problems.Experimental considerations to be taken into account to realise this protocol are discussed.Hamiltonian for An example of an analog quantum system is a neutral atom device. In neutral atom devices a qubit is encoded into two electronic states of an atom. As discussed elsewhere herein, typical choices for atomic species are rubidium or strontium atoms, in which two energy levels can be chosen to represent the two-level system of a qubit. Since the number of electronic states for a given atom is large, the variouspossible choices of |0^ and |1^ can lead to different interaction landscapes. In particular, if we encodeboth |0^ and |1^ in a highly excited state, a Rydberg state, the dominant interactions are resonantdipolar interactions. As a result the Hamiltonian of the system is the XY model, in which the interaction35 PAS01-133868PCterm scales as 1 / r^^^, where is the distance between qubits ^ and ^. However, the present discussions consider encoding |0^ in a low-lying energy level and encoding |1^ in a Rydberg state. The resultantHamiltonian of the system with this choice is of Ising type, in which the interaction term scales as 1 / r^^^. Given that all atoms of a given species are inherently identical, this results in a qubit register free from manufacturing differences. Furthermore, the choice to use neutral atoms (e.g. net zero free charges)means that they do not interact strongly with the environment as compared to, for example, chargedions in ion trap quantum computing. This uniformity and neutrality provides a significant advantage in achieving low error rates. The present techniques are applicable in architectures other than neutral atom architectures. The present techniques are applicable to platforms where always-on interactions are present. The present techniques are applicable where the Hamiltonian comprises a term representing always-on interactions. Such a Hamiltonian describing a system other than a neutral atom system may be similar to the Hamiltonian describing a neutral atom system. Examples of such systems include superconducting quantum computing, ion trap quantum computing, and so on. The techniques described herein are applicable to trapped ion setups. A discussion is provided herein on nearest-neighbour and next-nearest-neighbour interactions. In the trapped ion setup, next-nearest-neighbour interactions wouldhave a greater influence than in the neutral atom setup. Accordingly, to improve fidelities, these are more likely to need to be taken into account than in the neutral atom setup.The positions of the atoms within a neutral atom device are controllable through the use of opticaltweezers - tightly-focused laser beams that are used to generate a trap that holds the atoms in place.The positions of the atoms can be chosen in an arbitrary fashion. Additional laser pulses can then be used to excite and de-excite atoms into and down-from their Rydberg levels. The relative positions of the atoms fully define the interaction landscape through the Van der Waals interaction that is present between two Rydberg atoms. The resulting effective Hamiltonian of the system is Equation 12 Where ^^^,^,^^ ^are the Pauli ^, ^ and ^ matrices acting on the ^th qubit, ^^ = is the number operator,r^^ is the distance between the qubits ^ and ^, Ω is the Rabi frequency and ^ the detuning of the externallaser that couples the qubit ground and Rydberg states. These can be seen as an effective magneticfield, with transverse and longitudinal components ∝ Ω(^) and ∝ ^(^) respectively. The detuning isallowed to be site-dependent. Each field can be varied by changing the intensity and frequency of the36 PAS01-133868PClaser field. The third term in equation 12 relates to the interactions between individual atoms. Morespecifically, it corresponds to an energy penalty that two qubits experience if they are both in theRydberg state at the same time - this leads to the well-known Rydberg blockade. This coupling betweentwo atoms depends on the coefficient C^which is defined by the choice of Rydberg state, ^. It is desirable to ‘turn off’ the interaction term in the Hamiltonian. In other words, it is desirable to tryand minimise or avoid the effect of this interaction term. Minimising or avoiding this interaction termresults in a situation that is similar to single-qubit addressing. There are several approaches to ‘turningoff’ this interaction term in the Hamiltonian. One approach is to reduce interactions by physically moving qubits away from one another. This can be achieved in a neutral atom setup that incorporates qubit shuttling. A qubit can be moved away from other qubits, then a pulse applied to that single qubit. The aim of this separation of the qubit is for theeffect of the pulse on that single qubit to not depend (or only insignificantly depend) on interactionswith other qubits. The single qubit can then be moved towards another one or more qubits, e.g. back toits initial position. A drawback with this approach is the complexity and cost of the system needed to move one or more qubits back and forth, e.g. using additional lasers acting as optical tweezers, and the time taken to do so.Another approach to reduce the effect of the interaction term in the Hamiltonian is to try and increasethe values of the other terms in the Hamiltonian, effectively reducing the proportion of the overallHamiltonian that is due to the interaction term. This can be done by increasing Ω and ^, e.g. byincreasing the power of the lasers in the system. Such an approach could be implemented in an NMR-based quantum system. A drawback with such a system is the cost of higher-powered lasers. There arealso concerns with scalability of NMR-based quantum systems, e.g. how the signal-to-noise ratio scales. A significant concern with NMR-based quantum systems is the very limited number of qubits. It isdifficult to follow the approach of increasing Ω and δ in neutral atom systems due to constraints on Ωand ^.In an approach in which Ω is increased, pulse lengths can decrease. Applying short pulses to qubits canbe used to try and reduce the effect of the interaction term, thus reducing the time for interactions to occur and for the interactions to become ‘noticeable’ in the system, i.e. by affecting the state of one ormore qubits. For a system of qubits arranged in a lattice, the Lieb-Robinson bound sets an upper limit onthe speed at which information can propagate through the lattice. Over short periods of time, parts of such a lattice can be treated as acting independently of one another. A drawback with this approach is37 PAS01-133868PCthe cost and complexity of optics enabling short, accurate pulses. Such an approach is also likely to need relatively higher power lasers and / or faster electronics for delivering a desired pulse shape.A further approach identified by the present inventors is to approximate single-qubit addressabilityusing a combination of pulses representing global and local rotations. Note that the notation RX is usedfor a global rotation and Rx for a local rotation (and equivalently for ^ and ^ rotations). Approximatingsuch pulses can be performed and / or improved by taking a variational approach to pulse design. As isdescribed in more detail herein, the variational approach can make use of minimising a loss function. The methods to perform the pulse sequences described herein on an analog quantum device, having an underlying Hamiltonian that is device-specific, may vary depending on the experimental limitations of the experimental set up. Single-qubit addressabilityConsider a set of four qubits in states |1^, |1^, |1^, |1^ and that we want to change the state of thesecond qubit, such that the states become |1^, |0^, |1^, |1^. With reference to the Bloch sphererepresentation illustrated in figure 1, the state |1^ can be considered as being aligned with the positive^-axis. Whilst is it possible to apply a local rotation about the ^-axis, i.e. Rz, this will have no effect onthe state of the qubit, which in this representation will still be pointing along the positive ^-axis, i.e. instate |1^. However, a rotation of ^ about the ^-axis (or the ^-axis) would ‘flip’ the state to |0^, since therepresentation would then be pointing about the negative ^-axis. Applying a global rotation, RX(^), would not provide the desired selectivity of flipping only the second qubit, since all qubits would beflipped by such a global rotation. A local rotation, Rx(^), is not readily accessible in the analog setup.However, the present inventors have realised that a combination of global and local rotations that are accessible in such systems can result in the desired local rotation. In an example, a global rotation of^ / 2 can be made about the ^-axis, i.e. RY(^ / 2). This can be followed, for the selected qubit, by a localrotation of ^ about the ^-axis, i.e. Rz(^). This can then be followed by a global rotation of −^ / 2 aboutthe ^-axis, i.e. RY(−^ / 2). The qubits whose states are to be left unchanged will see rotations of RY(^ / 2)and RY(−^ / 2). Thus after both rotations, these qubits will be in their initial states (there is no overallchange to these states). The selected qubit whose state is to be flipped, will see all three rotations.These are illustrated, in the Bloch sphere representation, in figures 7a to 7c. Figure 7a shows that theRY(^ / 2) rotation changes the representation from pointing along the positive ^-axis to pointing alongthe positive ^-axis. Figure 7b shows that the Rz(^) rotation changes the representation from pointingalong the positive ^-axis to pointing along the negative ^-axis. Figure 7c shows that the RY(−^ / 2)38 PAS01-133868PCrotation changes the representation from pointing along the negative ^-axis to pointing along thenegative ^-axis. Thus, the RY(^ / 2)Rz(^)RY(−^ / 2) rotation has changed the state of the selected qubitfrom |1^ to |0^, whilst leaving the states of the other qubits unchanged in state |1^.Thus, it will be appreciated that the sequence RY(^ / 2)Rz(^)RY(−^ / 2) corresponds to an Rx(^) rotation.Similarly, it will be appreciated that a sequence RX(^ / 2)Rz(^)RX(−^ / 2) corresponds to an Ry(^)rotation.In systems limited to single-qubit addressability in a single field, to perform gates in another basis, globalrotations can be used. For example, by performing a global RY(^ / 2) followed by single-qubit gates in the^ basis, then performing a global RY(^ / 2), we effectively perform gates in the ^ basis.Hence, this technique permits single-qubit addressability in analog quantum systems. This techniquethus allows access to a wide set of single-qubit gates in the analog paradigm.Note that, to realise a single-qubit rotation, Rz, use is made of the fact that a field term commutes withthe inherent interactions in the neutral atom setup. This is not necessarily applicable to other setups.For example, this assumption may not hold for dipole-dipole interactions in a neutral atom set up.Determining pulse sequences to approximate analog single-qubit gatesMethods are described to engineer layers of single-qubit gates on a purely analog device, i.e., in the presence of always-on interactions described by equation 12. Given the local addressability of detuningsin equation 12 coupled with the fact that the effect of detuning in the Hamiltonian commutes with thequbit interactions, the implementation of a single qubit Rz gate is quite natural. In order to create pulse sequences (sequences of time-evolution under the Rydberg Hamiltonian withdifferent values of Ω and ^) that are equivalent to single-qubit Rx and Ry gates, we turn to global ^ / 2rotations that allow us to change freely between the ^, ^ and ^ bases. Given that the strength of theRabi frequency and detuning are on the same order as the interaction strength between particles, the protocols that will achieve this are non-trivial. However, in the following we show a surprisingly effectiveway to variationally prepare experimental pulse sequences that approximate these rotations with highaccuracy. Once these global rotations are obtained, they can be combined with local Rz gates to implement layersof Rx, Ry gates. Figure 8(a) shows a schematic of how global pulses can be combined with local ^ gates39 PAS01-133868PCto perform local ^ or ^ gates. For example,^Equation 13Equation 14 where θ^⃗ is a vector of angles in which each qubit will rotate. Thus, the combination of these rotationsand Rz gates allows one to then perform very general layers of single-qubit gates. As these rotations are global, they scale well to larger systems that obey the underlying structure on which the optimization was performed. Choice of geometryThese methods can be adapted for more general lattice geometries, but as an example we consider alinear chain of ^ qubits with nearest-neighbour (NN) separation ^ and periodic boundary conditions(PBC). Furthermore, we neglect next-nearest-neighbour interactions as they are 64 times smaller thanthe nearest-neighbour interactions. As a result, the interaction term in the Hamiltonian simplifies toEquation 15 where ^ =^^The effect of the full long-range tail of the qubit interactions on the fidelities of the pulsesequences we determine in the NN setting will be considered elsewhere herein.A direct consequence of the NN approximation is that we can easily realise any Rz rotation through thesingle-qubit addressability in detuning. For Ω = 0, the evolution operator is given byEquation 16 where Equation 17 Given that the longitudinal field induced by the laser detuning commutes with the qubit interactions, the effect of these interactions in the Hamiltonian evolution can be removed by carefully choosing theevolution time ^ such that tJ = 2π and thus the effect of exp(−^^^ ∑^ ^^^^^^ ) ≡ exp(−^2^ ∑^ ^^^^^^ )is equivalent to the identity. Thus, we are left with U^2^ / ^, ^⃗^ = exp ^^^^^^ ^^ℏ∑^^^^^ ^ and, by choosing40 PAS01-133868PC^^=^^^ , this can be tuned to act as Rz gates acting on each qubit with angles ^^.Optimization – variational approach to obtaining global rotationsAs shown in equations 13 and 14, the combination of local Rz rotations with global π / 2 rotations allowsfor the realisation of single qubit Rx and Ry rotations. The procedure to variationally determine these^^ ,RX ^−^ ^^ ,RY ^^,R ^^ global rotation gates, ^RX^^Y −^^, in an analog setting, will now be discussed. ^It is desirable to determine a pulse sequence that approximates a globalThis can be done, for example, by optimizing one or more of a global Rabi frequency, global phase and global detuning ofeach pulse. The input pulse sequence that simulates a desired rotation can be found by one of several methods. In one example, the method comprises varying a parameter of a pulse or pulse sequence, such as a pulseamplitude, and comparing the results for the original parameter (e.g. pulse amplitude) and the variedparameter (e.g. pulse amplitude). The varying of the parameter of the pulse or pulse sequence can beperformed in a multi-step process, such as an iterative process. An example of such an iterative process will now be described.In this example, the parameter is the pulse amplitude, Ω. An initial amplitude, Ω^, is selected. This initialamplitude can be selected in any desired manner, for example by random selection, by an educated guess, by reference to the effects of known pulse amplitudes and so on. Preferably, the initial amplitude is selected based on an amplitude range that is known to be experimentally suitable.An initial pulse is set up that has amplitude Ω^ for a time duration ^. That is, Ω = Ω^ for 0 ≤ ^ ≤ ^. Theamplitude of the pulse is then varied to obtain a more accurate result. The result can be considered tobe more accurate where it more accurately approximates the desired rotation, for example a globalR(^ / 2) rotation. This variation of the amplitude will determine a new value for the amplitude, Ω^, whichleads to a more accurate result than amplitude Ω^. This initial variation of the pulse amplitude isillustrated in figure 9a. In a second step, the time period, ^, can be divided into two or more sub-periods. The sub-periods can be of equal or unequal duration. Where there are more than two sub-periods, any given sub-period maybe of the same duration as another sub-period and a different duration to a further sub-period. Thenumber of sub-periods into which to divide the time period can be determined in dependence on, inter41 PAS01-133868PCalia, the complexity of the amplitude variation, the time taken to determine the amplitude variation, the processing power needed to determine the amplitude variation, the accuracy with which the amplitude variation is to be determined, and so on. The relative duration of each of the sub-periods can be determined in dependence on, inter alia, the complexity of the amplitude variation, the time taken to determine the amplitude variation, the processing power needed to determine the amplitude variation, the accuracy with which the amplitude variation is to be determined, and so on. In the present example the time period is divided into two sub-periods of equal duration, i.e. the timeperiod, ^, is divided in half, resulting in two sub-periods, ^^, for 0 ≤ ^ ≤ ^ / 2, and ^^, for ^ / 2 < ^ ≤ ^.It will be apparent that the time period can be divided into three or more sub-periods, and / or that thesub-periods can be of any desired relative duration. Note that it is not critical that ^^ encompasses ^ / 2and that ^^ does not. Either or both of ^^ and ^^ can include, or not include, the value of ^ = ^ / 2.The amplitude is allowed to vary for at least one of the sub-periods. The variation of the amplitude for a sub-period can be performed independently of the variation (or otherwise) of the amplitude of anyother sub-period. Preferably, the amplitude is allowed to vary for each of the sub-periods. Theamplitude of one or more sub-periods is varied to obtain a more accurate result. Again, the result can beconsidered to be more accurate where it more accurately approximates the desired rotation. Thestarting amplitude for each sub-period is suitably the value for the amplitude for that portion of thepulse obtained in the previous step. In the example illustrated in figure 9b, the initial time period of the pulse is split in two. The amplitude of the pulse determined in the first step, Ω^, is used as the starting amplitude for each of the two sub-periods. The amplitude of the pulse in each of the sub-periods is allowed to vary independently of theother. A new value of the amplitude in each sub-period is thereby determined. In the illustratedexample, the new value of the amplitude in the first sub-period is Ω^. This process can be repeated, as desired, for example until a result is achieved of a desired accuracy, orwith an accuracy above a threshold accuracy. The process can be repeated until a desired time durationof a sub-period is reached. The process can be repeated whilst the time duration of the shortest sub-period remains greater than or equal to a minimum time period. The minimum time period can be selected as desired. For example, the minimum time period can be a shortest experimentally-feasibletime period, such as 100 ns. Figure 9c illustrates a further division of each of the sub-periods of figure9b, in this example by half again.42 PAS01-133868PCIn another example of determining an input pulse sequence that simulates a desired rotation, the method comprises determining an initial sequence of pulses and performing an annealing process tofind a global minimum of a function based on the initial sequence of pulses. The initial sequence ofpulses can be determined in any suitable manner. For example, the initial sequence of pulses can be selected by random selection, by an educated guess, by reference to the effects of known pulses or known sequences of pulses (which may be shorter than, the same length as, or longer than the initialsequence of pulses), and so on. The initial sequence of pulses can, for example, be described as afunction of a parameter associated with each pulse or with the sequence of pulses, for example Ω. The annealing process can be used to determine the value(s) of this parameter for each pulse or for the sequence of pulses. In this way, the parameter can be optimised. In another example of determining an input pulse sequence that simulates a desired rotation, themethod comprises, similarly to the earlier example, varying a pulse amplitude (more generally, aparameter of the pulse sequence) and comparing the results for the original pulse amplitude and thevaried pulse amplitude. The varying of the pulse amplitude can be performed in a multi-step process,such as an iterative process. An initial amplitude, Ω^, is selected. This initial amplitude can be selected inany desired manner, for example by random selection, by an educated guess, by reference to the effects of known pulse amplitudes and so on. Preferably, the initial amplitude is selected based on an amplitude range that is known to be experimentally suitable.An initial pulse is set up that has amplitude Ω^ for a time duration ^. Here, ^ may represent the minimumtime period, but it need not. The amplitude of the pulse is then varied to obtain a more accurate result. The result can be considered to be more accurate where it more accurately approximates the desired rotation, for example a global R(^ / 2) rotation. This variation of the amplitude will determine a new value for the amplitude, Ω^, which leads to a more accurate result than amplitude Ω^. This initialvariation of the pulse amplitude can correspond to the variation illustrated in figure 9a with reference tothe earlier example. Subsequently, the pulse length can be increased by a factor ^, i.e. the total length of the new pulse is^^. Suitably ^ > 1. Suitably, ^ is a positive integer. In some examples, ^ might be a positive numberthat is not an integer. The value of Ω found in the preceding step (Ω^) can be reduced to a new value sothat the new pulse is equivalent to the initial pulse. The new value of Ω is suitably determined independence on ^, that is, the new value of Ω is suitably determined in dependence on the length of thenew pulse, or the change in length from the initial pulse to the new pulse.43 PAS01-133868PCThe value of Ω is then allowed to vary for the new pulse. The value of Ω can be allowed to varyindependently for ^ sections within the new pulse length ^^. That is, the new pulse can be divided into^ sections, and the value of Ω (e.g. starting from the new value of Ω for each section) allowed to varyseparately for each. In this way, the value of Ω can be optimised for the new pulse. ^ may be a positiveinteger, where ^ > 1. In some examples, ^ = ^. That is, where the pulse length is doubled from ^ to 2^(i.e. where ^ = 2), the total pulse length can be divided into two sections, each of length ^. The valueof Ω can be allowed to vary separately for both of these sections of length ^.In some implementations, each section of the pulse sequence is doubled, and the value of Ω for thatsection is replicated for both new sections before being optimised. I.e., where an initial pulse of length ^has an optimised amplitude of Ω^, the succeeding steps may comprise:i) doubling the initial pulse to a pulse of length 2^, having two sections, ^^and ^^, each of length ^. The starting value for the amplitude of each section is Ω^. The amplitude is allowed to vary separately for each section, resulting in an optimised value of for section ^^and an optimised value of Ω^for section ^^. ii) doubling each of the section ^^pulse and the section ^^pulse, so that the total pulse length is 4^: section ^^^ of length ^ and starting amplitude value Ω^,section ^^^ of length ^ and starting amplitude value Ω^,section ^^^ of length ^ and starting amplitude value Ω^, andsection ^^^ of length ^ and starting amplitude value Ω^.Then the amplitude is allowed to vary separately for each section, resulting in optimised values of Ω^^, Ω^^, Ω^^and Ω^^for section ^^^, ^^^, ^^^, ^^^, respectively. This process can be repeated as desired. For example, the process can be repeated until a result is achieved of a desired accuracy, or with an accuracy above a threshold accuracy. The process can be repeated until a desired number of sections is reached, and or a desired total pulse sequence duration isreached, e.g.4^, 8^ or 16^. The minimum time period can be selected as desired. For example, theminimum time period can be a shortest experimentally-feasible time period, such as 100 ns.The accuracy of the result can be determined by any suitable method. One example is to minimise a loss function, though other approaches are possible. The approach can be selected based on a speed with which the desired accuracy is to be obtained, and / or based on computing power and / or time needed to perform the determination of the result.44 PAS01-133868PCSuitably, the fidelity of the result achievable with the present techniques can reach 99% (or more, e.g. at least 99.9%) with just four iterations of one of the iterative approaches described above. With a suitable loss function (an example of which is described elsewhere herein), the loss may decrease to 0.001 or less with just four iterations of one of the iterative approaches described above, for example where the initial time period, ^, is split into eight equal sub-periods. The particular loss function used is not critical to this approach, nor is the way in which the loss functionis minimised. One example of minimising the loss function is to apply a Python minimising function.Considering the experimental restrictions of the neutral atom quantum system, constraints can beimposed on Ω and ^. In a typical neutral atom setup, restrictions on Ω and ^ can be as follows. Ω / 2^can be in the range (0.1 to 2.5) MHz, with < 5% calibration error. ^ / 2^ can be in the range (-8 to8) MHz, with < 10% calibration error. Practically, the calibration error can be reduced in each case toapproximately 2% with hardware changes and / or optimisations, and it is expected that this calibrationerror will reduce over time, as experimental systems improve. A restriction on the pulse length, ^^, canrequire that ^^ > 100 ns.For example, the following constraints can be imposed: ℏΩ < J and ℏ|δ| < 2J. In the following example,a four-qubit periodic system with nearest-neighbour interactions is considered. The loss function istaken as the infidelity, ^ = 1 − F, such that^ Equation 18 where ^ is the desired unitary operation acting on ^ qubits, in our case G = R ^^ ^^, ^ is the number ofpulses considered, Θ = δ^, ⋯ , Ω^, Φ^, δ^^ and ^ is the Ising Hamiltonian described by equation 12 restricted to NN interactions and strictly global pulses. Note that ^ = 0 implies that the pulsesequence found is correct up to a global phase shift.In an example, ^ is minimised for a single pulse, i.e. ^ = 1, of length ^, using an L-BFGS-B optimizer. Theparameters found with this first optimisation process are used as inputs to a second round ofoptimisation with two pulses, both of length T / 2. The effect of this is to increase the expressibility ofthe pulse sequence. This is repeated, with each pulse in the sequence split into two individual pulses ateach step, until a pulse length ^^ for each pulse is reached, where ^^ is, for example, a predetermined45 PAS01-133868PCminimum pulse length set by experimental considerations. An example of the algorithm used is given in Algorithm 1. Algorithm 1 Global rotation pulseinitialised by user ←initialised by user^ ← initialised to a value > threshwhile ^ > thresh doΘ^ ← initialised to random values^ ^ end whileNote that, given each global rotation can be transformed into any other via a constant shift in the valuesfound for ϕ, this procedure only needs to be performed once. This improves the efficiency of the pulsesequence determination described herein.The results of the outlined procedure are shown in figure 8(b), illustrating pulse sequences found toimplement global rotations. The pulse sequences found through this procedure realise all ±π / 2rotations with > 99.9% fidelity for a chain with periodic boundary conditions. The fidelities found forthe implementation of these pulses on different qubit systems are presented in Table 1. While this optimisation was performed on a small system, as the optimisation was performed by considering global pulses and the limit of negligible next-nearest-neighbour interactions, these pulses generalise well tolarger chains. As can be seen, using this measure of fidelity we obtain very accurate results even whendoubling the number of qubits in the chain with respect to the number on which the optimisation procedure was implemented. Further, even on such small systems the fidelities of these pulses arecomparatively higher when we switch from PBC to open boundary conditions (OBC).^^^^^^^ NN PBC NN OBC4 99.92% 99.97%5 99.90% 99.94%6 99.87% 99.92%7 99.85% 99.90%46 PAS01-133868PC8 99.83% 99.88%Table 1: Fidelities of the global analog qubit rotations for a NN interacting linear chain with PBC andOBC.These techniques are useful for state preparation. That is, given an overall state of multiple qubits,which may be a random mix of states of |0^ and |1^ for all qubits, or all qubits having state |0^ or allqubits having state |1^, or some other state, these techniques for changing the state of a selected qubit are useful to prepare the qubits, such as an array of qubits, into the desired initial register state forquantum simulation. It is advantageous for the state preparation to take as little time as possible. This isso that, within an overall decoherence time, there is sufficient time remaining for quantum simulationto occur. In a process such as changing the state of a given qubit, for example as part of a state preparation process, a small number of rotation pulses is applied. In the example discussed here, to change the state of a single qubit, three rotation pulses are applied. This process is therefore tolerant to a fidelity lower than that achieved above. This is because the fidelity will decrease as pulses are concatenated (i.e. as apulse sequence is lengthened by adding additional pulses). A state preparation process, such as thatdescribed, is tolerant to lower fidelity pulses since there are not many pulses to be applied. It can,however, be useful to obtain a high fidelity (for example at least 80%, or at least 85%, preferably at least 90% or at least 95%, more preferably at least 99.5%, even more preferably at least 99.8%, and morepreferably still at least 99.9%) so that even when a longer pulse sequence is used, the overall fidelityremains sufficiently high that the outcome of qubit states from applying that pulse sequence is consistent. Thus, the iterative approach to pulse sequence determination described is useful, since it offers a way to achieve a desired fidelity. The iterations can be continued until a fidelity that meets or exceeds a desired threshold fidelity is obtained. Suitably, the threshold fidelity can vary. For example, the threshold fidelity can be dependent on a number of pulses in a pulse sequence, and / or a number of times that the determined pulse sequence will be applied, and / or the confidence with which an initial state is known, and / or a desired confidence in a state resulting from one or more applications of the pulse sequence. In a practical implementation of a quantum system, such as a neutral atom quantum system, there will be a minimum time resolution of the hardware. There is little to no advantage to be obtained by optimising a pulse sequence to a time resolution that is lower than the minimum time resolution of thesystem on which the pulse sequence is to be applied. This is one reason why the time duration of the47 PAS01-133868PCsmallest sub-period can be restricted to being greater than or equal to a minimum time period, whichminimum time period can be the time resolution of the system.In a practical implementation of a quantum system, such as a neutral atom quantum system, there will be a maximal gradient between pulse strengths (amplitudes). That is, whilst it is possible to change apulse strength in a very short timeframe, e.g.1 ns, there is a maximum amount by which this pulsestrength can be varied in that short timeframe. A larger timeframe of, e.g.20 ns, or 50 ns or 100 ns isneeded to vary the pulse strength by a greater amount (the longer the timeframe, the greater the permissible change in pulse strength, for a given maximum pulse strength gradient). In examples herein,a timeframe of 100 ns is given. In current experimental setups of neutral atom systems, this timeframeallows a change in pulse strength of appropriate amplitude to enable approximating gates as discussedherein, without exceeding the maximum pulse strength gradient. There is little to no advantage to beobtained by optimising a pulse sequence to require a change in pulse strength greater than a maximum allowed gradient of pulse strength.Typically, the hardware on which a quantum system is to be simulated will contain imperfections, suchas hardware imperfections. Such imperfections could arise due to tolerance in manufacturing processes,instabilities in lasers used to control particle movements and / or energy transitions, and so on. Thetechniques described herein for determining a pulse sequence to apply to cause one or more selected rotations are suitably performed whilst taking such imperfections into account. Thus, the presence of the imperfections does not deleteriously affect the outcome of applying the pulse sequence, since, in effect, the pulse sequence will be optimised on the system that includes the imperfections. In the pulse splitting and variational process described, the pulse sequence comprises a step-wise Ω(^).This step-wise pulse sequence is likely to comprise sharp transitions in amplitude between sub-portions,or pulses in the pulse sequence. Since, in a practical embodiment, it will take a finite time to increase or decrease the amplitude Ω, and / or to stabilise the amplitude at the new value, this means that the physical pulse sequence will approximate the determined pulse sequence, which is itself an approximation of the desired rotation. However, since the techniques described herein lead to the determination of a pulse sequence with a high fidelity (typically greater than 99.8%, and often greater than 99.9%), the approximation of the determined (step-wise) pulse sequence with a physically realisticpulse maintains a high fidelity. The time taken for transitions between amplitude levels and / or the timetaken to stabilise at an amplitude level can be small compared to the time duration of the individualpulses in the pulse sequence (i.e. the sub-portions). Thus, the physically-realisable pulse sequence mapswell to the determined pulse sequence, and the result of applying such a physically-realisable pulse48 PAS01-133868PCsequence achieves the desired aims of changing states of selected, i.e. individually-addressable, qubits.In at least some currently-realisable implementations of a neutral atom quantum processor, the lasersused to effect the pulse sequence are controllable on very short timescales. A pulse can have a durationin the range of approximately 80 ns to 120 ns. The pulse may have a duration of up to approximately110 ns or up to approximately 100 ns. The pulse may have a duration down to approximately 90 ns, ordown to approximately 100 ns. Typically a pulse can have a duration of approximately 100 ns. The timetaken to effect a change in amplitude can be up to approximately 15 ns, or up to approximately 10 ns, orup to approximately 5 ns. The time taken to stabilise the amplitude at a new value can be up toapproximately 15 ns, or up to approximately 10 ns, or up to approximately 5 ns. It is expected that asexperimental advances are made, the minimum duration of a pulse will decrease. It is expected that the time taken to effect a change in amplitude will decrease as experimental improvements are made. It is expected that the time taken for a pulse amplitude to settle at a new value will decrease as experimental improvements are made. Thus, the present techniques are expected to become more accurate and / or more applicable to a wider variety of situations, over time. It is not necessary in all examples to apply a step-wise pulse sequence. Any one or more transition between separate pulse amplitudes in the pulse sequence can be smoothed out. For example, asmoothing function can be applied. It is possible for the step-wise function Ω(^) to be converted to asmooth function Ω^^^^^^(^) that is continuous over time. Such a continuous function can be the sameas a physically-realisable function or closer to or the same as what will be physically realisable. One wayof converting a step-wise function to a continuous function is to interpolate between points lying on thestep-wise function, for example values at the mid-points or edges of the sub-portions or individualpulses. It will be apparent that any desired point (be it a mid-point, and edge, or some other point in a sub-portion) can be used. The point used for one sub-portion need not be the same as the point used for a different sub-portion, but it can be. Correspondingly, a continuous function can be obtained byextrapolating from amplitude values in a determined pulse sequence such as a step-wise pulsesequence. The extrapolation can comprise extrapolating between points lying on the step-wise function,for example values at the mid-points or edges of the sub-portions or individual pulses. It will be apparent that any desired point (be it a mid-point, and edge, or some other point in a sub-portion) can be used. The point used for one sub-portion need not be the same as the point used for a different sub-portion, but it can be. The continuous function can be determined using a spline approximation. Thecontinuous function can be determined using a Bézier approximation.Suitably, the system can be calibrated using the continuous function. Such calibration can help ensurethat the use of the continuous function does not degrade the fidelity achievable by applying the49 PAS01-133868PCcontinuous function as the pulse sequence. The modelling of the pulse sequence that best approximatesthe desired rotation can be performed, as above, in a step-wise manner. The modelling of the pulse sequence can be performed using a continuous function. Thus, there need not be any loss in fidelity inusing a continuous function as the pulse sequence to be applied to a quantum system.In some implementations, the frequency range, and / or frequency ranges, to simulate in the modelling can be selected. In some implementations, the frequency, and / or frequencies, to simulate in the modelling can be selected. Selecting one or more frequencies and / or frequency ranges can be achievedby weighting frequencies and / or frequency ranges in the modelling. Fourier decomposition can be usedin the modelling. The Fourier decomposition can be used to select the frequency or frequency range atwhich sampling is to be performed in the modelling. It can be advantageous to select the frequencyand / or frequency range so that a frequency and / or frequency range can be selected that is appropriatefor the physical system, i.e. to ensure that the frequency and / or upper end of the frequency range is nottoo fast for the system to reproduce. That is, a pulse sequence such as a continuous pulse sequence canbe parametrised through a Fourier basis.The optimisation of the pulse sequence can be performed by using an alternative pulse sequence, suchas bang-bang pulses. The bang-bang pulses can be used instead of, or as well as, another type of pulse sequence. The techniques for determining global rotation gates are discussed herein in the context of a neutral atom quantum computing system, but are not limited thereto. Given any analog quantum processorunit Hamiltonian and the bounds in experimentally feasibility, the present techniques to realise globalrotations would be applicable. The accuracy with which the present techniques approximate global gates will depend on the nature of the analog system on which the techniques are implemented. For example, in systems with strong next-nearest-neighbour interactions, due care would be required tosuccessfully implement the present techniques. The present description includes examples consideringboth nearest-neighbour interactions only, and considering the full long-range tail of interactions. It will therefore be appreciated that differing levels of interactions can be dealt with by the present techniques. Analog two-qubit gatesUsing the techniques discussed herein, it is possible to realise two-qubit gates by performing analogrotations. In implementing such two-qubit gates, it is useful to be able to, effectively, ‘turn off’interactions between qubits, for example with a refocusing algorithm. The fundamental idea behind the50 PAS01-133868PCrefocusing algorithm is that, by evolving a system under a given pulse, followed by a second pulse of thesame length in which the sign of the unwanted interactions is reversed, the resultant effect of this entire pulse sequence is only that of the desired interactions throughout the whole evolution.Consider, as an example, a linear chain of three qubits, q0, q1 and q2, with open boundary conditionsand nearest-neighbour interactions. A first pulse can be expressed with evolution, exp ^−^(^^^^^^+ ^^) ^^. A se (^^^ ^^ ^^^^^cond pulse can be expressed with evolution, exp ^−^ ^^^^ − ^^^^) ^ ^. The result ofapplying both the first pulse and the second pulse will be an overall evolution, exp [−^(^^^^^^)^]. That is,the interaction between qubits q0 and q1 remains, whilst the interaction between qubits q1 and q2 canbe considered to be ‘turned off’.In general, even though reversing the interaction strength of a given quantum system is not necessarilyphysical, this can be effectively achieved for an Ising-type Hamiltonian by using single qubit ^ gates,^^ ^Equation 19 which relies on temporarily flipping the computational basis from {0,1} to {1,0}: in that basis the Pauli-Zoperator acquires a sign flip. The single-qubit gate, e.g. the ^ gate, can be obtained using the techniquesdescribed herein, for example. Given the close relationship between Rydberg interactions and Ising interactions, and given that layersof ^ gates can be engineered through the pulse sequences outlined herein, an analog implementationof the refocusing algorithm can be realised. This permits entanglement of subsections of the qubitregister in a controllable manner.From NN interaction to ^^ gatesAs a natural example for an analog device, consider a procedure to perform different layers of effective^^ gates in an analog operation. A ^^ gate acting on two qubits, ^ and ^, may be defined asEquation 20 From this definition, it is possible to recognise the evolution of the nearest-neighbour device on an ^-qubit linear chain with periodic boundary conditions and no external laser fields as^^^, 0^⃗ ^ = ^^(0,1)^^(1,2)⋯^^(^, 0) Equation 2151 PAS01-133868PCproviding ^ = π / ^. Once this equivalence has been established, we can consider using the refocusingalgorithm to remove the unwanted ^^ gates from equation 21. This can be done with reference to theeffect of ^ gates surrounding such a pulse ofEquation 22 By combining these two results and utilising single-qubit detuning to compensate for the linear term inthe exponent of equation 22, we are able to produce layers of ^^ gates between desired qubits. Moreexplicitly, to compensate for the terms ^^^^^^^^^^^^^^^ picked up in Equation 22 we would require adetuning pulse on both the ^ − 1 and ^ + 1 qubits of strength ^ = −^ ^. Note, to ‘turn off’ the interactionbetween qubits ^ and ^, we surround the second pulse in the sequence by ^ gates acting on one of thetwo qubits involved in the interaction we wish to turn off. When no ^ gates act on the qubit pair or an ^gate acts on both qubits, the interaction will not be affected. For example, to remove the ^^(0,1) and^^(2,3) from equation 21 we can perform the pulse sequence where ^⃗∗ is chosen to account for the unwanted linear terms accumulated by the action of each ^ gate.The types of layers of ^^ gates realisable through this protocol of removing given interactions dependson the geometry and boundary conditions of the system.The ability to realise selected ^^ gates, coupled with desired single-qubit gates in a desired basis, allwithin the analog paradigm, opens up the possibility to build up complex quantum processing operations all within the analog system. For example, as is described herein, it becomes possible toprovide an analog framework for a network of gates, such as a SWAP network. It becomes possible toprovide an analog framework for a Givens SWAP network. These possibilities increase the usefulness ofanalog quantum processing. In an example, described herein, the analog framework described provides an ansatz for VQE analyses. Pulse sequences that approximate both global rotations and single-qubit gates are discussed herein in the context of neutral atom systems. Methods are discussed to approximate other gates based on suchpulse sequences. The techniques and methods herein can readily be applied to other analog quantumcomputing system and are not limited to neutral atom quantum computing systems. Periodic Boundary Conditions: Even and odd qubit chains52 PAS01-133868PCGiven that the action of each ^ gate is to remove the effect of two distinct interactions in a system withperiodic boundary conditions, it becomes clear that the number of qubits in the chain, even or odd,defines the subset of ^^ gates realisable. Explicitly, in an even-numbered qubit chain we are able torealise layers of an even number of ^^ gates, and in an odd-numbered qubit chain we are able to realiselayers of an odd number of ^^ gates. As a result, in order to realise a single ^^ gate, for example^^(0,1), we are required to work on a system containing an odd number of qubits. However, as many applications benefit from parallelisation of two-qubit gates, this does not greatly restrict potential use cases of methods described herein.As an explicit example, consider a four-qubit chain with periodic boundary conditions. The possible twotypes of layers of ^^ gates realisable (up to transnational symmetry) are ^^(0,1)^^(2,3), by, forexample, using ^ gates on qubits q0 and q1, and ^^(0,1)^^(1,2) by, for example, using an ^ gate onqubit q3 (details of the pulse sequence are given in equations 24 and 25). These pulse sequences are, inthis example, each of length 4^ + 5π / ^. These achieve a fidelity of 99.6% and 99.7% respectively for asystem with NN interaction. Figure 10a gives a schematic of a pulse sequence to perform a ^^(0,1)^^(2, 3) gate on a four-qubit nearest-neighbour linear chain with periodic boundary conditions. Figure10b gives a schematic of a pulse sequence to perform a ^^(0, 1)^^(1, 2) gate on a four-qubit nearest-neighbour linear chain with periodic boundary conditions. ^ ^ Equation 25 Open Boundary ConditionsGiven a linear chain with open boundary conditions, it is possible to prepare a given layer of ^^ gateswith no restrictions - this is a consequence of the end qubits interacting with only one other qubit. Forexample, we can prepare a ^^(0,1) gate through the use of an ^ gate on qubit q2 or a ^^(1,2) throughthe use of ^ gates on qubits q1 and q2 (details of the pulse sequence are given in equations 26 and 27).These pulse sequences are, in this example, each of length 4^ + 5π / ^. These achieve a fidelity of 99.7%and 99.6% respectively for a system with NN interaction. Figure 10c gives a schematic of a pulsesequence to perform a ^^(0, 1) gate on a four-qubit nearest-neighbour linear chain with open boundaryconditions. Figure 10d gives a schematic of a pulse sequence to perform a ^^(1, 2) gate on a four-qubitnearest-neighbour linear chain with open boundary conditions.53 PAS01-133868PC^ ^ Equation 27 Variationally generated pulse sequences for global rotations have higher fidelity on linear chains withopen boundary conditions than on linear chains with periodic boundary conditions. Further, linearchains with open boundary conditions provide additional flexibility to realise layers of ^^ gates. Thus,such systems will be considered in the following examples, discussing how analog single-qubit and ^^ gates can be used to build a network of gates such as a full SWAP network to produce all-to-allconnectivity in an analog device. Such a network with all-to-all connectivity can be used to performsome simple analog VQE simulations of small molecules.Generating a network with all-to-all connectivityAttempts have been made to build devices with all-to-all connectivity (for instance using trapped ions, or photons). In currently available NISQ devices based on superconducting qubits and neutral atoms connectivity is limited. An example in which this low connectivity can be an issue is the simulation of fermionic systems. When simulating the physics of such systems, the occupation number of a spin orbital is encoded in the qubit state. Therefore, in order to allow all orbitals to interact with each other, two-qubit gates are applied between all pairs of qubits. Mathematically, this can be seen through the loss of locality when applying the Jordan-Wigner transformation on simple molecular Hamiltonians to convert between the fermionic basis and qubit basis. Using quantum annealing to solve certain difficult quadratic unconstrained binary optimization (QUBO) problems is another example in which all-to-all connectivity is required. Such connectivity allows many NP-hard optimisation problems to be encoded in the ground state of an Ising model. This is thought to be a promising direction for useful quantum computation. One method to circumvent the issue of low connectivity within a digital device is a SWAP network. Such a network uses SWAP gates that switch the quantum information between two given qubits. A SWAP network effectively inverts the position of the qubits in the circuit and allows one to enact the required operations between the given qubits when they are adjacent to each other in this cycle. Performing such a SWAP network is not native to an analog device, thus conventional analog devices54 PAS01-133868PCsuffer from limited connectivity with no way to ameliorate this issue. Typically, in analog systems, long-range entanglement is generated through quench dynamics and is limited by a Lieb-Robinson bound of the resource Hamiltonian. However, using the protocols outlined herein, a SWAP network can beeffected in the analog setting. The approximations to single-qubit gates in arbitrary bases and ^^ gatesdescribed herein permit the generation of an approximation to a SWAP network, in the analog setting.In particular, a SWAP gate can be decomposed into three CNOT gates as shown in figure 11(a). A CNOTgate can be realised through ^Equation 28 Thus, it can be concluded that with the pulse sequences given herein, an analog SWAP gate becomesrealisable.As a simple benchmark, by using the described gates to perform a SWAP network on four qubits in a NNlinear chain, a long-range CNOT gate can be realised between qubits q0 and q3. Such a pulse sequencecan achieve a fidelity of at least 94% with SWAP gates that each require pulse sequences of length3(6^ + 5π / ^). Another layer of complexity can be added to this proposal by replacing SWAP gates withGivens SWAP gates. This is useful since Givens SWAP gates can provide an effective ansatz for VQEproblems. Application: Variational quantum eigensolversAs mentioned, a promising application of quantum computing that strongly benefits from all-to-allconnectivity is the simulation of molecules.A goal of molecular simulation is finding the ground state of a molecule, i.e., finding the state |^^ suchthat the energy ^ = ^^|^|^^|^^|^^|is minimal. To do so, a technique called the Variational QuantumEigensolver (VQE) can be used. Consider a variational state |^^^.For any ^, we then have ^^ ^ ^ ^ ^ ^Equation 29 where ^^ is the ground state energy. This gives the scheme of the VQE algorithm:1. choose a variational circuit 2. choose an initialisation for ^.55 PAS01-133868PC3. measure the value of the energy on a quantum computer (each Hamiltonian can be decomposed into a sum of Pauli operators, and each term can be measured on a quantumcomputer). 4. give the value of the energy to a classical optimizer, which will give a new ^. 5. start again from point 3 until convergence of the optimization procedure. An important consideration when attempting to implement the VQE algorithm is to choose an ansatz(|^^^) that is expressive enough, i.e., the ground state belongs to the family of states spanned by |^^^.To solve the molecular problem, the UCCSD (Unitary Coupled Cluster with Single and Double excitations)ansatz is often said to be one of the most accurate. Its principle is to start from the Hartree-Focksolution |Φ^^ (the number state that has the lowest energy, and the right number of electrons) and seeif exciting each "electron" (represented by ^^ = ^ ^^^^ = 1, where ^ is the number of an orbital) andpair of electrons (hence singles and doubles excitations) on other orbitals lowers the energy of the state.In the Hartree-Fock basis, each basis function can be said to represent a fermionic mode.A method to simplify the task of simulating these systems as well as halve the required resources is the paired-electron approximation. In this approximation, electrons are treated as only being able to occupy orbitals as pairs. Here, consider the simplification such that each molecular orbital is either occupied by an electron singlet pair or unoccupied. Under this assumption the Hamiltonian of a molecule is given by Equation 30 where ^^^ are hardcore bosons representing the electron-pair annihilation operator in mode ^ thatsatisfy the relevant (anti-)commutation relations, i.e. ^^^^, ^^ ^^^ = ^ ^ = ^^^^, ^^^^ = 0, and ^^^^, ^^ ^^^ = 1, and ℎ^(^,^^)and ℎ(^^)^,^ can be calculated from the one- and two-electronintegrals. To map this problem to a form that is applicable for a quantum computer we can use the transformation^^^ =^^ + ^^^^^^, resulting in a Hamiltonian of the form Equation 31 This form of the Hamiltonian is now in a basis that directly maps to qubits and allows us to find the56 PAS01-133868PCground state energy through a Variational Quantum Eigensolver (VQE) approach.Importantly, the techniques described herein permit measurement of additional values compared toprior systems. It is possible to change basis between the ^, ^ and ^ axis with high fidelity, for exampleusing the described procedure to variationally prepare global π / 2 rotations. With the analog pulsesoutlined above, we are able to prepare both ^ and ^ polarised states as well as product states with highfidelities.A typical quantum simulation will generate an output in the form 〈^^^^ + ^^ + ^^〉. Since this is alinear sum, it can be rewritten as 〈^^^^〉 + In typical analog quantum systems such asneutral atom quantum systems it is possible to measure 〈^^^^〉 and 〈^^〉, but not 〈^^〉. Hence, the totalenergy of the system is not directly measurable. Using the techniques described herein, it becomes possible, via rotations such as RY and Rx etc., toadditionally access 〈^^^^〉, 〈^^〉, 〈^^^^〉 and 〈^^〉, for example by changing the basis into one that ismeasurable. Thus, whereas the total energy of the system was not formerly measurable, the presenttechniques enable access to additional measurables, permitting system energies to be measured inanalog systems. This provides analog systems, in particular neutral atom systems, with increasedsimulation and measurement capabilities. Hence, this work opens the door to measurements in ageneral basis. This would allow for measurements of new observables, for example energy and dynamical structure factors.Returning to the VQE approach, and noting that the molecular Hamiltonian is number conserving, i.e.,∑^ ^^^ ^^^ ^^^^ = ^ where ^ is the number of electrons in the system, then as mentioned a good choice forinitial state during a VQE protocol is the Hartree-Fock state. This is the state in which the ^ lowestenergy molecular orbitals are occupied with pairs of electrons, here ^ is the total number of pairs ofelectrons in the system. From this initial state a Givens SWAP network is a promising variational ansatzto find the ground state within the paired-electron approximation. A Givens SWAP gate is the combination of a Givens rotation followed by a SWAP gate, mathematically it is defined by in which θ is a variational parameter. A full digital Givens SWAP network is equivalent to the SWAP57 PAS01-133868PCnetwork with each SWAP gate being replaced by a Givens SWAP gate. The analog implementation ofsuch an ansatz is now considered. A Givens SWAP network can be decomposed into three ^^ gates andlayers of single-qubit gates, as schematically illustrated in figure 11b. Thus, the methods describedherein for determining analog pulses to approximate ^^ gates and single-qubit gates can be used tobuild an analog pulse sequence that approximates the digital Givens SWAP network.Referring to the example in figure 11b, a Givens SWAP gate between two qubits, q0 and q1, can be approximated by the following analog pulses. 1. Ry^^ ^^ on q02. ^^(0,1)^ 6. ^^(0,1)7. Ry^−^ ^^ on q0Such a variational architecture can be used to find the ground state energy of H2and LiH using an analogGivens SWAP network. For H2, consider the 631g basis in which four qubits are required in the paired-election approximation. For LiH we consider the sto-3g basis in which six qubits are required in thepaired-electron approximation. The evolution of errors throughout the VQE protocol is shown in figure12a and figure 12b. Figure 12a shows analog VQE results for the H2 molecule. Figure 12b shows analogVQE results for the LiH molecule. Figures 12a and 12b show the results for multiple ansatzes withvarying depths of Given SWAP gates as a function of the number of qubits, ^. In the figure labels, ‘1n’represents a depth of Givens SWAP gates equal to the number of qubits; ‘2n’ represents a depth ofGivens SWAP gates equal to twice the number of qubits, and so on. For H2, ^ = 4 and for LiH, ^ = 6. Ascan be seen, the error of the VQE protocol can be reduced to be on the same order of magnitude of thechemical accuracy (indicated by the dashed line in each of figures 12a and 12b) with appropriate depthsof the Givens SWAP gates. The error is defined as the difference between the measured energy and the lowest value achievable inthe paired-electron approach. Theoretically, the number of layers of Givens SWAP gates, required toreach the ground state is equal to the number of qubits. However, since the analog gates describedherein (i.e. the analog approximations to such gates) do not have 100% fidelity, additional layers are58 PAS01-133868PCrequired to account for this. The depth of the network (the number of layers of Givens SWAP gates) canbe varied as a function of the number of paired electrons ^, i.e. ^ = 4 for H2 and ^ = 6 for LiH. Here, weused BFGS, a gradient-based optimizer and a convergence criterion of ^ = ^^^. In figures 12a and 12b itcan be seen that the present techniques are able to achieve an error on the same order of magnitude asthe chemical accuracy (an error of ≤ 1.6 × 10^^ Ha).Implementing gates on other quantum processor unit systems Given a digital quantum processor unit, then implementing a global rotation, single-qubit gates or two- qubit gates (or an arbitrary sequence built using the present techniques) involves breaking down the circuit into the native gates of the system. On a quantum device where the native gates are single-qubit rotations as well as CNOT gates, single-qubit rotations are trivial, global rotations can be given by a layer of single-qubit gates, and CZ gates can be realised via two Hadamard gates (a type of single-qubit rotation) and a single CNOT gate by CZ= (I⊗H)CNOT(I⊗H). Experimental considerationsIn this section realistic experimental constraints are considered, such as particle positions, interactionstrengths, Rabi frequencies, detunings and coherence times. From these, coherence times to realise thegates described herein are presented. Further, the effect of the long-range nature of interactions in arealistic qubit register on the accuracy of the pulses is shown.Pulse sequence depthsIn this example, a rubidium-based neutral atom device with Rydberg level 60 is considered. The full 1 / ^^long-range tail of the Van der Waals interactions is included. This example considers^ atoms in acircular geometry with inter-atomic spacing of ^ = 6.24 μm. This results in a nearest-neighbourinteraction of ^ ∼ 2π × 2.3 MHz. Consider ^^ = 108 ns, such that the time to perform a local ^^ gateis 428 ns with = ^. The variationally prepared pulse sequences for the global π / 2 rotation gates aresuch that ^ = 864 ns, Ω / 2π < 1.2 MHz and |δ / 2π| < 4.6 MHz. From these values the required pulselengths of each of the gates can be calculated, see Table 2. Note, in order to run deep quantum circuitswith more than one unique layer of qubit gates, it is desirable to have temporal control of the single-qubit addressability in laser detunings. An example of how this might be done is by having multiple SLMmasks. (layer of) Gate Pulse sequence length (μs)RZ 0.459 PAS01-133868PCGlobal ^ / 2 rotation 0.9Local Rx, Ry 2.1CZ 4.5CNOT 6.2SWAP 18.7Givens SWAP 22.1Table 2: Pulse lengths of given gates using proposed analog pulses. Effect of long-range interactionsIn this example the effect of the full long-range interaction tail on the fidelities of the described local Rzgates as well as on the pulses given in figure 8b (implementing global ^ and ^ rotations) are considered.To estimate the effect of these long-range interactions in the limit ^ ≫ 1, consider a linear spin chainwith open boundary conditions. Figures 13a and 13c show results for the fidelity of analog Rz and globalrotation gates, respectively, in the presence of long-range interactions showing the effect of varying thepulse length from the analytically predicted value using NN interactions (shown as a vertical dashed line). Figures 13b and 13d show the resultant local magnetisations after the analog pulses for a global and local ^^ gates respectively.While the methods described herein to produce a local Rz gate are exact for NN interactions, they areapproximate in the presence of the full long-range interaction tail defined in equation 12. As a result,the fidelity drops to ~98.9% for a system of eight qubits. However, by deviating the pulse length usedaway from the theoretically exact time for a NN system it is possible to retain a fidelity of 99.6% (seefigure 13a, in which the fidelity is increased by shortening the pulse length used, by approximately 5 nsin this example). Further, in this setting of eight qubits, the fidelity of the global rotation pulsesequences falls by about 2-3%. However, by again allowing the length of the pulse sequence to vary it ispossible to obtain a fidelity of 98.7% (see figure 13c, in which the fidelity is increased by lengthening thepulse length used, by approximately 1.5 ns in this example).Generalisation to larger system sizesIn figures 13a to 13d, the generalisation to large qubit systems of the techniques described herein isdemonstrated. The pulses, in the examples described herein, were optimised over a chain of four qubits.These pulses are applied, as shown in figure 13a for example, to a larger qubit system with ^ = 18. As isseen from figures 13a to 13d, the generalisation of the present techniques to such larger qubit systemsshows good results, exemplified by high fidelity values. Thus, the present techniques are shown to be60 PAS01-133868PCgenerally applicable.In simulations considering the full long-range tails of the Van der Waals interactions, the qubits can beplaced in a linear chain with open boundary conditions. As the fidelity given in equation 18 requires thecalculation of the full unitary time evolution operator for a given pulse sequence, it is an expensivemetric for chains of this length (i.e. longer chains such as with ^ = 18). Thus, as a simplified metric forfidelity, consider the overlap of (i) the state prepared by enacting the determined pulse sequence on theground state with (ii) the exact state that is prepared via the target gate, ^, i.e. ^ Equation 33 For the pulse sequences variationally found for global π / 2 rotations, there is an overlap of ^^ > 97%.This therefore provides an alternative useful metric for determining pulse sequences.Further, simulations for a local ^ gate on a single qubit were run in this experimentally inspired set upwith a resulting overlap of ^^ ≈ 85%. However, as mentioned previously, when introducing long-rangeinteractions the Rz gate implementation is no longer exact. On further investigation, it was found thatdeviating the pulse length from the NN predicted time to 412 ns (a decrease of 16 ns), enabled anincrease in the overlap of the single qubit Rx gate to ^^ > 93%.In figures 13b and 13d, the resultant local magnetisations of each qubit after the analog pulses for botha global RY rotation and a local ^^ gate are shown. The methods described herein work well for anedge qubit (e.g. q0 and q17 in the chain of eighteen qubits, considering a linear chain with openboundary conditions; see figure 14, showing resultant local magnetisations of each qubit in an 18-qubitsystem after the analog pulses for a local ^^gate) as well as for non-edge qubits.These results show that the determined pulse sequences, optimised on only four qubits with NNinteractions, are still highly effective in larger systems such as those in which the full long-range tail isconsidered. The determined pulse sequences clearly show (up to small errors) the desired gate effects.Examples of features of a classical computer / computing system for use with the method Some portions of the description herein present the features of the method / system in terms of algorithms and symbolic representations of operations on information performed by a classical computer. These algorithmic descriptions and representations are the means used by those skilled in the data processing61 PAS01-133868PCarts to most effectively convey the substance of their work to others skilled in the art. These operations, while described functionally or logically, are understood to be implemented by computer programs. Furthermore, the reference to these arrangements of operations in terms of modules should not be considered to imply a structural limitation and references to functional names is by way of illustration and does not infer a loss of generality. Unless specifically stated otherwise as apparent from the description, it is appreciated that throughout the description, discussions utilising terms such as "processing" or "identifying" or "determining" or "displaying" or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system memories or registers or other such information storage, transmission or display devices. Certain aspects of the method or system include process steps and instructions described herein in theform of one or more algorithms. It should be understood that the process steps, instructions, of the saidmethod / system as described and / or claimed, may be executed by computer hardware operating under program control, and not mental steps performed by a human. Similarly, all of the types of data described and claimed may be stored in a computer readable storage medium operated by a computer system and are not simply disembodied abstract ideas. The method / system also relates to an apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general-purpose computer selectively activated or reconfigured by a computer program stored on a computer readable medium that can be executed by the computer. Such a computer program is stored in a computer-readable storage medium, such as, but not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, application specific integrated circuits (ASICs), or any type of mediasuitable for storing electronic instructions. Any one or more, or any combination of, the computer-readable storage media may each be coupled to a computer system bus. Furthermore, the computersreferred to in the specification may include a single processor or may be architectures employing multipleprocessor designs, for example for increased computing capability.Any controller(s) referred to herein may take any suitable form. For instance, the controller(s) maycomprise processing circuitry, optionally including the one or more processors, and / or the memorydevices comprising a single memory unit or a plurality of memory units. The memory devices may store62 PAS01-133868PCcomputer program instructions that, when loaded into processing circuitry, control the operation of the route provider and / or route requester. The computer program instructions may provide the logic and routines that enable the apparatus to perform the functionality described herein. The computer program instructions may arrive at the apparatus via an electromagnetic carrier signal or be copied from a physicalentity such as a computer program product, a non-volatile electronic memory device (e.g. flash memory)or a record medium such as a CD-ROM or DVD. Typically, the processor(s) of the controller(s) may be coupled to both volatile memory and non-volatile memory. The computer program is stored in the non- volatile memory and may be executed by the processor(s) using the volatile memory for temporary storage of data or data and instructions. Examples of volatile memory include RAM, DRAM, SDRAM etc. Examples of non-volatile memory include ROM, PROM, EEPROM, flash memory, optical storage, magnetic storage, etc. The terms ‘memory’, ‘memory medium’ and ‘storage medium’ when used in this specification are intended to relate primarily to memory comprising both non-volatile memory and volatile memory unless the context implies otherwise, although the terms may also cover one or more volatile memories only, one or more non-volatile memories only, or one or more volatile memories and one or more non-volatile memories. The algorithms and operations presented herein can be executed by any type or brand of computer or other apparatus. Various general-purpose systems may also be used with programs in accordance with the teachings herein, or it may prove convenient to construct more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will be apparent to those of skill in the art, along with equivalent variations. In addition, the method / system is not described with reference to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the invention as described herein.
Claims
63 PAS01-133868PCCLAIMS1. A computer-implemented method of determining a pulse sequence to apply an approximationof a local rotation in a first basis of a three-basis coordinate system to a particle of a plurality of particlesin an analog quantum computer, wherein a set of particles having one or more particles of the pluralityof particles is associated with a corresponding qubit of a plurality of qubits, where the qubits interact viaalways-on interactions, the method comprising:identifying afirst global rotation in a second basis of the three-basis coordinate system to apply tothe plurality of particles, the second basis being different to the first basis; a local rotation in a third basis of the three-basis coordinate system to apply to the particle, the third basis being different from each of the first and second bases; a second global rotation in the second basis to apply to the plurality of particles; whereby the ordered combination of the first global rotation, the local rotation and the second globalrotation approximate the local rotation in the first basis.
2. A computer-implemented method as claimed in claim 1, in which the phase of the second globalrotation is opposite to the phase of the first global rotation.
3. A computer-implemented method as claimed in claim 1 or claim 2, in which the first globalrotation is an R(^ / 2) rotation, the location rotation in the third basis is an R(^) rotation and the secondglobal rotation is an R(−^ / 2) rotation.
4. A computer-implemented method as claimed in any preceding claim, in which identifying thelocal rotation in the third basis comprises determining a Hamiltonian describing a time evolution of the plurality of particles independence on a Rabi frequency, Ω, a detuning frequency, ^, and qubit interactions; setting Ω to zero to remove the kinetic term of the Hamiltonian;selecting an evolution time to reduce the influence of an interaction term describing the qubitinteractions; selecting ^(^) to tune the Hamiltonian to act as a local rotation in the third basis with an angleof ^.
5. A computer-implemented method as claimed in claim 4, in which determining the Hamiltonian64 PAS01-133868PCcomprises determining the interaction term to be ^^^^^^^^^where ^ =^^ with ^^ being a constant defined by the Rydberg state and ^ a qubit separation, and theevolution time, ^, is selected as ^ = 2^ / ^.
6. A computer-implemented method as claimed in claim 4 or claim 5, in which selecting ^(^)comprises selecting ^^=^^^, whereby the Hamiltonian can be tuned to act as a local gate in the thirdbasis, with an angle of ^^.
7. A computer-implemented method as claimed in any preceding claim, in which identifying thelocal rotation in the third basis comprises determining a local rotation pulse length to maximise a fidelity of the local rotation in the thirdbasis, comprising modelling nearest-neighbour interactions between qubits; andvarying the determined local rotation pulse length to increase the fidelity of the local rotation inthe third basis.
8. A computer-implemented method as claimed in any preceding claim, in which identifying one orboth of the first and second global rotations comprises determining a global rotation pulse length to maximise a fidelity of the first global rotationand / or the second global rotation, comprising modelling nearest-neighbour interactions between qubits; and varying the determined global rotation pulse length to increase the fidelity of the first globalrotation and / or the second global rotation.
9. A computer-implemented method of determining a pulse sequence to apply an approximationof a global rotation to a plurality of particles in an analog quantum computer, wherein a set of particleshaving one or more particles of the plurality of particles is associated with a corresponding qubit of aplurality of qubits, where the qubits interact via always-on interactions, the pulse sequence being characterised by a parameter, the method comprising: (i) in an initial stage:determining an initial value for the parameter over an initial time period of the pulsesequence; the initial value being determined by an optimisation process carried out on the pulse65 PAS01-133868PCsequence over the initial time period.
10. A computer-implemented method as claimed in claim 9, in which the optimisation processcomprises performing an annealing process to find a global minimum of a function.
11. A computer-implemented method as claimed in claim 9 or claim 10, in which the methodcomprises: A) (ii) in a first stage subsequent to the initial stage:dividing the initial time period of the initial stage into a plurality of first stagetime periods, and for each first stage time period of the plurality of first stage timeperiods: assigning the initial value for the parameter to be a first value for theparameter for that first stage time period, andvarying the first value for the parameter to determine a varied value forthe parameter for that first stage time period, thereby to optimise the parameter over that first stage time period, wherein the respective first values for the parameter in each of the first stage time periods are allowed to vary independently; orB) (ii) in a first stage subsequent to the initial stage:multiplying the initial time period of the initial stage by a positive factor > 1 togenerate a new time period for the pulse sequence longer than the initial time period of the pulse sequence; dividing the new time period into a plurality of time period sections, and for each time period section of the plurality of time period sections: assigning the initial value for the parameter to be a first value for the parameter for that time period section, and varying the first value for the parameter to determine a varied value for the parameter for that time period section, thereby to optimise the parameter over that time period section, wherein the respective first values for the parameter in each of the time period sections are allowed to vary independently.66 PAS01-133868PC12. A computer-implemented method of determining a pulse sequence to apply a quantumprocessing operation to a particle of a plurality of particles in an analog quantum computer, wherein aset of particles having one or more particles of the plurality of particles is associated with a corresponding qubit of a plurality of qubits, the method comprising: determining an approximation of a local rotation as claimed in any of claims 1 to 8; determining an approximation of a global rotation as claimed in any of claims 9 to 11; determining an approximation of one or more ^^ gates to the plurality of particles, comprising:determining a sequence of ^^ gates in an analog pulse sequence;determining an unwanted ^^ gate to remove from the sequence of ^^ gates;removing the unwanted ^^ gate by applying a refocussing algorithm; anddetermining the pulse sequence to apply a quantum processing operation by combining at least one of each of the determined local rotation, the determined global rotation and the determined one ormore ^^ gates.
13. A computer-implemented method as claimed in claim 12, in which removing the unwanted ^^gate comprises determining a pulse in the pulse sequence relating to an interaction between a firstqubit and a second qubit that corresponds to the unwanted ^^ gate, and surrounding the determinedpulse by one of ^ gates or ^ gates acting on one of the first qubit and the second qubit.
14. A computer-implemented method as claimed in claim 13, comprising using single-qubitdetuning to compensate for linear terms introduced by applying the one of ^ gates or ^ gates.
15. A computer-implemented method as claimed in any preceding claim, in which the quantumcomputer comprises a neutral atom quantum computer.
Citation Information
Patent Citations
Simultaneously entangling gates for trapped-ion quantum computers
US20220284334A1