Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
FUSION-BASED QUANTUM REPEATER
Document Type and Number:
WIPO Patent Application WO/2023/122348
Kind Code:
A1
Abstract:
A quantum repeater circuit can include a resource state interconnect circuit that outputs one resource state per clock cycle, with each resource state having a number of entangled qubits. The circuit can also include circuits and delay lines to perform entangling measurement operations on qubits of resource states generated by the same resource state generator in different clock cycles. The circuit can be operated as a quantum repeater that receives an encoded logical qubit and produces a reduced-noise version of the encoded logical qubit.

Inventors:
PANT MIHIR (US)
Application Number:
PCT/US2022/054003
Publication Date:
June 29, 2023
Filing Date:
December 23, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
PSIQUANTUM CORP (US)
International Classes:
H04B10/70; B82Y10/00; G06N10/00; G06N10/20; G06N10/40
Domestic Patent References:
WO2020257772A12020-12-24
Foreign References:
US20120155870A12012-06-21
Other References:
SARA BARTOLUCCI; PATRICK BIRCHALL; DAMIEN BONNEAU; HUGO CABLE; MERCEDES GIMENO-SEGOVIA; KONRAD KIELING; NAOMI NICKERSON; TERRY RUD: "Switch networks for photonic fusion-based quantum computing", ARXIV.ORG, 28 September 2021 (2021-09-28), 201 Olin Library Cornell University Ithaca, NY 14853, XP091061236
Attorney, Agent or Firm:
CRETSINGER, Cathy, E. et al. (US)
Download PDF:
Claims:
72

WHAT IS CLAIMED IS:

1. A quantum repeater circuit comprising: a plurality of resource state interconnect circuits, each resource state interconnect circuit having circuitry to output a resource state during each of a plurality of clock cycles, wherein each of the resource states comprises a system of entangled photonic qubits; a plurality of fusion circuits, each fusion circuit coupled between a pair of resource state interconnect circuits and configured to performing an entangling measurement operation between a first qubit produced by a first one of the pair of resource state interconnect circuits and a second qubit produced by a second one of the pair of resource state interconnect circuits; and a plurality of single-qubit measurement circuits coupled to selected ones of the resource state interconnect circuits to form a layer boundary, wherein each resource state interconnect circuit further includes: a delay circuit configured to delay one qubit of each resource state by a fixed time period; an internal fusion circuit; a first switch configured to select, as a first input to the internal fusion circuit, either a qubit output from the delay circuit or a qubit received from an external source; and a second switch configured to selectably direct one qubit of the resource state to either the delay circuit or to an output path.

2. The quantum repeater circuit of claim 1 wherein the resource state is a 6-ring resource state.

3. The quantum repeater circuit of claim 1 wherein each of the singlequbit measurement circuits includes a first measurement circuit configured to perform a single-qubit measurement in a Pauli X basis, a second measurement circuit configured to perform a single-qubit measurement in a Pauli Z basis, and a switch configured to selectably provide a qubit to either the first measurement circuit or the second measurement circuit. 73

4. The quantum repeater circuit of claim 1 wherein the plurality of resource state interconnect circuits includes a number L2 of resource state interconnect circuits.

5. The quantum repeater circuit of claim 4 wherein each resource interconnect circuit is configured such that: the first switch selects the qubit received from the external source during a first cycle of a group of K cycles and the qubit output from the delay circuit during each other cycle in the group of K cycles; the second switch directs the qubit of the resource state to the output path during a last cycle of the group of K cycles and to the delay circuit during each other cycle in the group of K cycles.

6. The quantum repeater circuit of claim 1 wherein the external source includes a qubit measuring circuit, the qubit measuring circuit comprising: a plurality of sub-circuits configured to perform a different single-qubit measurement; and a switch configured to selectably direct a qubit to one of the plurality of subcircuits.

7. The quantum repeater circuit of claim 6 wherein the plurality of subcircuits includes: a first sub-circuit configured to perform a single-qubit measurement in a Pauli X basis; a second sub-circuit configured to perform a single-qubit measurement in a Pauli Y basis; a third sub-circuit configured to perform a single-qubit measurement in a Pauli Z basis; a fourth sub-circuit configured to perform a single-qubit measurement in a Pauli X+Y basis; and a fifth sub-circuit configured to perform a single-qubit measurement in a Pauli

X-Y basis. 74

8. The quantum repeater circuit of claim 1 wherein the external source is an output path of a different instance of the quantum repeater circuit at a physically separate location.

9. A quantum repeater circuit comprising: a resource state interconnect having photonic circuitry to generate a resource state during each of a plurality of cycles, wherein each resource state comprises a system of at least six entangled photonic qubits; a plurality of fusion circuits including a first local fusion circuit, a second local fusion circuit, a third local fusion circuit, and a first networked fusion circuit, each of the plurality of fusion circuits being configured to perform an entangling measurement operation between two input qubits; a first local delay line coupled to a first input of the first local fusion circuit and having a delay of a first number of clock cycles; a second local delay line coupled to a first input of the second local fusion circuit and having a delay of a second number of clock cycles, the second number being greater than the first number; a third local delay line coupled to a first input of the third local fusion circuit and having a delay of a third number of clock cycles, the third number being greater than the second number; a plurality of single-qubit measurement circuits including a first group, a second group, a third group, and a fourth group of single-qubit measurement circuits; a first routing switch configured to selectably direct a first qubit of each resource state to one of the first networked fusion circuit or the third local delay line; a second routing switch configured to selectably direct a second qubit of each resource state to one of the second delay line or one of the first group of single-qubit measurement circuits; a third routing switch configured to selectably direct a third qubit of each resource state to one of the first delay line or one of the second group of single qubit measurement circuits; a fourth routing switch configured to selectably direct a fourth qubit of each resource state to one of a second input of the third local fusion circuit or an output path; 75 a fifth routing switch configured to selectably direct a fifth qubit of each resource state to one of the second input of the second local fusion circuit or one of the third group of single qubit measurement circuits; and a sixth routing switch configured to selectably direct a sixth qubit of the resource state to one of a second input of the first local fusion circuit or one of the fourth group of single qubit measurement circuits.

10. The quantum repeater circuit of claim 9 wherein each of the first group, the second group, the third group, and the fourth group of single-qubit measurement circuits includes: a first sub-circuit configured to perform a single-qubit measurement in a Pauli X basis; and a second sub-circuit configured to perform a single-qubit measurement in a Pauli Z basis, wherein each of the second, third, fifth, and sixth routing switches is further configured to select one of the first sub-circuit or the second sub-circuit when a qubit is routed to the respective group of single-qubit measurement circuits.

11. The quantum repeater circuit of claim 9 wherein the output path is coupled to a different instance of the quantum repeater circuit at a physically separate location.

12. The quantum repeater circuit of claim 9 wherein the first networked fusion circuit has a second input coupled to receive a qubit from an external source.

13. The quantum repeater circuit of claim 12 wherein the external source is an output path of a different instance of the quantum repeater circuit at a physically separate location.

14. The quantum repeater circuit of claim 12 wherein the external source includes a qubit measuring circuit, the qubit measuring circuit comprising: a plurality of sub-circuits configured to perform a different single-qubit measurement; and a switch configured to selectably direct a qubit to one of the plurality of sub- circuits. 76

15. The quantum repeater circuit of claim 14 wherein the plurality of subcircuits includes: a first sub-circuit configured to perform a single-qubit measurement in a Pauli X basis; a second sub-circuit configured to perform a single-qubit measurement in a Pauli Y basis; a third sub-circuit configured to perform a single-qubit measurement in a Pauli Z basis; a fourth sub-circuit configured to perform a single-qubit measurement in a Pauli X+Y basis; and a fifth sub-circuit configured to perform a single-qubit measurement in a Pauli X-Y basis.

16. The quantum repeater circuit of claim 9 further comprising: control logic configured to control the switches to generate an encoded logical qubit comprising a number (K) of layers in an entanglement space, wherein each layer has a size L2.

17. The quantum repeater circuit of claim 16 wherein the second delay line has a delay corresponding to L times a delay of the first delay line.

18. The quantum repeater circuit of claim 17 wherein the third delay line has a delay corresponding to L2 times a delay of the first delay line.

Description:
FUSION-BASED QUANTUM REPEATER

CROSS REFERENCE TO RELATED APPLICATION

[0001] This application claims the benefit of U.S. Provisional Application No. 63/293,568, filed December 23, 2021, the disclosure of which is incorporated herein by reference.

BACKGROUND

[0002] Quantum computing is distinguished from “classical” computing by its reliance on structures referred to as “qubits.” At the most general level, a qubit is a quantum system that can exist in one of two orthogonal states (denoted as |0) and |1) in the conventional bra/ket notation) or in a superposition of the two states (e.g., — = ( 10 + 11)) . By operating on a 2 system (or ensemble) of qubits, a quantum computer can quickly perform certain categories of computations that would require impractical amounts of time in a classical computer.

[0003] Quantum communication generally involves the exploitation of quantum entanglement to provide secure communications between two parties, generally referred to as “A” and “B,” or “Alice” and “Bob.” As one example, quantum key distribution allows for secure message exchange. For example, in a scheme referred to as quantum key distribution (QKD), Alice can encrypt a message using a classical encryption algorithm and key. The key can be represented using a set of entangled qubit pairs. Alice can send the encrypted message to Bob using classical communication channels and techniques. To provide the key, Alice can provide one qubit of each entangled pair to Bob while retaining the other qubit of each entangled pair. Alice and Bob can compare measurements on a fraction of the qubits to confirm that they have the same key and that the key has not been hacked, without revealing the key itself. Other quantum communication applications have been developed based on the concept of being able to send and receive a qubit that is part of an entangled pair of qubits. Examples include distributed quantum computing, generation of multiparty shared secrets, improved sensing, blind quantum computing (quantum computing on encrypted data), and secure private-bid auctions. [0004] Practical realization of quantum communication relies on the ability to transmit a qubit across a physical distance (or temporal distance) between Alice and Bob without decoherence.

SUMMARY

[0005] Certain embodiments described herein relate to circuits and methods that can be used to as quantum “repeaters.” A quantum repeater extends the distance over which a qubit can be transmitted without loss of coherence and without extracting the classical information from the qubits.

[0006] The following detailed description, together with the accompanying drawings, will provide a better understanding of the nature and advantages of the claimed invention.

BRIEF DESCRIPTION OF THE DRAWINGS

[0007] FIG. 1 shows two representations of a portion of a pair of waveguides corresponding to a dual-rail-encoded photonic qubit.

[0008] FIG. 2A shows a schematic diagram for coupling of two modes.

[0009] FIG. 2B shows, in schematic form, a physical implementation of mode coupling in a photonic system that can be used in some embodiments.

[0010] FIGs. 3 A and 3B show, in schematic form, examples of physical implementations of a Mach-Zehnder Interferometer (MZI) configuration that can be used in some embodiments.

[0011] FIG. 4A shows another schematic diagram for coupling of two modes.

[0012] FIG. 4B shows, in schematic form, a physical implementation of the mode coupling of FIG. 4 A in a photonic system that can be used in some embodiments.

[0013] FIG. 5 shows a four-mode coupling scheme that implements a “spreader,” or “mode-information erasure,” transformation on four modes in accordance with some embodiments.

[0014] FIG. 6 illustrates an example optical device that can implement the four-mode mode-spreading transform shown schematically in FIG. 5 in accordance with some embodiments. [0015] FIG. 7 shows a circuit diagram for a dual-rail-encoded Bell state generator that can be used in some embodiments.

[0016] FIG. 8A shows a circuit diagram for a dual-rail-encoded type I fusion gate that can be used in some embodiments.

[0017] FIG. 8B shows example results of type I fusion operations using the gate of FIG. 8A.

[0018] FIG. 9A shows a circuit diagram for a dual-rail-encoded type II fusion gate that can be used in some embodiments.

[0019] FIG. 9B shows an example result of a type II fusion operation using the gate of FIG. 9A.

[0020] FIGs. 10 A- 10C show entanglement graph representations of resource states that can be used according to some embodiments.

[0021] FIGs. 11A and 1 IB show examples of layers of resource states according to some embodiments.

[0022] FIGs. 12A and 12B show examples of three-dimensional arrays that include two layers of resource states according to some embodiments.

[0023] FIG. 13 shows an example of a large entangled system of qubits that can be created according to some embodiments.

[0024] FIGs. 14A-14F introduce a set of schematic circuit symbols.

[0025] FIG. 15 shows a conceptual illustration of networked generation of a large entangled system of qubits according to some embodiments.

[0026] FIGs. 16A and 16B show schematic diagrams of a circuit for generating entanglement structures from resource states using networked RSG circuits according to some embodiments.

[0027] FIG. 17 shows a conceptual illustration of rasterized generation of a large entangled system of qubits according to some embodiments.

[0028] FIG. 18 shows a schematic diagram of a circuit for generating entanglement structures from resource states using a single RSG circuit according to some embodiments. [0029] FIG. 19 shows a flow diagram of a process for generating entanglement structures from resource states according to some embodiments.

[0030] FIG. 20 shows a conceptual illustration of raster-based hybrid generation of an entanglement structure from resource states according to some embodiments.

[0031] FIG. 21 shows a circuit diagram of a raster-based hybrid unit cell for generating entanglement structures from resource states according to some embodiments.

[0032] FIG. 22 shows a conceptual illustration of two adjacent patches for a layer according to some embodiments.

[0033] FIG. 23 shows an example of a coordinated order of generation of resource states for different patches for a layer according to some embodiments.

[0034] FIG. 24 shows a flow diagram of another process for generating entanglement structures from resource states according to some embodiments.

[0035] FIG. 25 shows a conceptual illustration of hybrid generation of a layer for an entanglement structure using a patch-based hybrid circuit according to some embodiments.

[0036] FIG. 26 shows a temporal diagram of generating a large entangled system of qubits according to some embodiments.

[0037] FIG. 27 shows a simplified conceptual diagram of a linear optical circuit implementing the behavior of FIG. 26 according to some embodiments.

[0038] FIG. 28 shows a conceptual illustration of interleaved generation of two large entangled systems of qubits according to some embodiments.

[0039] FIG. 29 shows a temporal diagram of generating two interleaved large entangled systems of qubits according to some embodiments.

[0040] FIG. 30 shows a simplified conceptual diagram of a linear optical circuit implementing the behavior of FIG. 29 according to some embodiments.

[0041] FIG. 31 shows a conceptual illustration of two large entangled system of qubits coexisting in time.

[0042] FIG. 32 shows a conceptual illustration of stitching of two large entangled systems of qubits to form a single larger entangled system of qubits according to some embodiments. [0043] FIG. 33 shows a conceptual illustration of lattice surgery for two large entangled systems of qubits according to some embodiments.

[0044] FIGs. 34A-34D show a conceptual illustration of using interleaving to create a three-dimensional entanglement topology having folded layers according to some embodiments.

[0045] FIGs. 35 A -35C are conceptual illustrations of using folding techniques to create a periodic boundary condition for a layer of an entanglement structure according to some embodiments.

[0046] FIGs. 36A-36D are conceptual illustrations of using folding techniques to create a more complex periodic boundary condition for a layer of an entanglement structure according to some embodiments.

[0047] FIGs. 37A-37D are conceptual illustrations of using techniques described herein to create a diagonal folding for a layer of an entanglement structure according to some embodiments.

[0048] FIG. 38 shows an example system architecture for a quantum computer system according to some embodiments.

[0049] FIG. 39 shows an example of a one-dimensional quantum repeater network that connects two endpoints (Alice and Bob) according to some embodiments.

[0050] FIG. 40 shows the network of FIG. 39 according to some embodiments, with logical qubits represented as entanglement structures.

[0051] FIG. 41 A shows a schematic diagram of a unit cell (also referred to as an “RSG unit”) according to some embodiments.

[0052] FIG. 41B shows how the qubit numbering in FIG. 41 A can correspond to the 6-ring entanglement structure according to some embodiments.

[0053] FIG. 41C shows a symbol used to represent a unit cell (or RSG unit) in subsequent drawings.

[0054] FIG. 42A shows a schematic diagram of an X/Z measurement circuit according to some embodiments, and FIG. 42B shows a symbol used to represent an X/Z measurement circuit in subsequent drawings [0055] FIG. 43 shows a schematic diagram of a quantum repeater circuit according to some embodiments.

[0056] FIG. 44 shows a schematic diagram for a sender endpoint circuit according to some embodiments.

[0057] FIG. 45 shows a schematic diagram of a qubit measuring circuit that can be used to implement qubit measuring circuit according to some embodiments.

[0058] FIG. 46 shows a schematic diagram for a receiver endpoint circuit according to some embodiments.

[0059] FIG. 47 shows a schematic diagram of a quantum repeater circuit according to some embodiments.

[0060] FIG. 48 shows a schematic diagram of a sender circuit according to some embodiments.

[0061] FIG. 49 shows a schematic diagram of a receiver circuit according to some embodiments.

[0062] FIG. 50 shows a topological diagram of a two-dimensional quantum repeater network according to some embodiments.

[0063] FIG. 51 shows a schematic diagram of a circuit according to some embodiments.

DETAILED DESCRIPTION

[0064] Disclosed herein are examples (also referred to as “embodiments”) of systems and methods for creating qubits and superposition states (including entangled states) of qubits based on various physical quantum systems, including photonic systems. Such embodiments can be used, for example, in quantum communication as well as in other contexts (e.g., quantum computing) that exploit quantum entanglement. To facilitate understanding of the disclosure, an overview of relevant concepts and terminology is provided in Section 1. With this context established, Section 2 describes examples of circuits and methods for generating entanglement structures, and Section 3 describes additional examples of interleaving techniques that can be used to generate entanglement structures. In some embodiments, the entanglement generated using techniques described herein can be used to support fault- tolerant quantum computation, as described in sections 4 and 5. Section 6 describes quantum repeater circuits and methods based on the circuits and methods described in Sections 2 and 3. Although embodiments are described with specific detail to facilitate understanding, those skilled in the art with access to this disclosure will appreciate that the claimed invention can be practiced without these details.

[0065] Further, embodiments are described herein as creating and opera ting on systems of qubits, where the quantum state space of a qubit can be modeled as a 2-dimensional vector space. Those skilled in the art with access to this disclosure will understand that techniques described herein can be applied to systems of “qudits,” where a qudit can be any quantum system having a quantum state space that can be modeled as a (complex) //-dimensional vector space (for any integer ri), which can be used to encode n bits of information. For the sake of clarity of description, the term “qubit” is used herein, although in some embodiments the system can also employ quantum information carriers that encode information in a manner that is not necessarily associated with a binary bit, such as a qudit.

1. Overview of Quantum Computing

[0066] Quantum computing relies on the dynamics of quantum objects, e.g., photons, electrons, atoms, ions, molecules, nanostructures, and the like, which follow the rules of quantum theory. In quantum theory, the quantum state of a quantum object is described by a set of physical properties, the complete set of which is referred to as a mode. In some embodiments, a mode is defined by specifying the value (or distribution of values) of one or more properties of the quantum object. For example, in the case where the quantum object is a photon, modes can be defined by the frequency of the photon, the position in space of the photon (e.g., which waveguide or superposition of waveguides the photon is propagating within), the associated direction of propagation (e.g., the ^-vector for a photon in free space), the polarization state of the photon (e.g., the direction (horizontal or vertical) of the photon’s electric and/or magnetic fields), a time window in which the photon is propagating, orbital angular momentum, and the like.

[0067] For the case of photons propagating in a waveguide, it is convenient to express the state of the photon as one of a set of discrete spatio-temporal modes. For example, the spatial mode kt of the photon is determined according to which one of a finite set of discrete waveguides the photon is propagating in, and the temporal mode tj is determined by which one of a set of discrete time periods (referred to herein as “bins”) the photon is present in. The degree of temporal discretization can be provided by a pulsed laser which is responsible for generating the photons. In examples below, spatial modes will be used primarily to avoid complication of the description. However, one of ordinary skill will appreciate that the systems and methods can apply to any type of mode, e.g., temporal modes, polarization modes, and any other mode or set of modes that serves to specify the quantum state. Further, in the description that follows, embodiments will be described that employ photonic waveguides to define the spatial modes of the photon. However, persons of ordinary skill in the art with access to this disclosure will appreciate that other types of mode, e.g., temporal modes, energy states, and the like, can be used without departing from the scope of the present disclosure. In addition, persons of ordinary skill in the art will be able to implement examples using other types of quantum systems, including but not limited to other types of photonic systems.

[0068] For quantum systems of multiple indistinguishable particles, rather than describing the quantum state of each particle in the system, it is useful to describe the quantum state of the entire many-body system using the formalism of Fock states (sometimes referred to as the occupation number representation). In the Fock state description, the many-body quantum state is specified by how many particles there are in each mode of the system. For example, a multi-mode, two particle Fock state | 1001) 1 2 3 4 specifies a two-particle quantum state with one particle in mode 1, zero particles in mode 2, zero particles in mode 3, and one particle in mode 4. Again, as introduced above, a mode can be any property of the quantum object. For the case of a photon, any two modes of the electromagnetic field can be used, e.g., one may design the system to use modes that are related to a degree of freedom that can be manipulated passively with linear optics. For example, polarization, spatial degree of freedom, or angular momentum could be used. The four-mode system represented by the two particle Fock state | 1001) 1 2 3 4 can be physically implemented as four distinct waveguides with two of the four waveguides having one photon travelling within them. Other examples of a state of such a many-body quantum system include the four-particle Fock state 11111)! 2 3 4 that represents each mode occupied by one particle and the four-particle Fock state |2200) 1 2 3 4 that represents modes 1 and 2 respectively occupied by two particles and modes 3 and 4 occupied by zero particles. For modes having zero particles present, the term “vacuum mode” is used. For example, for the four-particle Fock state 12200^ 2 3 4 modes 3 and 4 are referred to herein as “vacuum modes.” Fock states having a single occupied mode can be represented in shorthand using a subscript to identify the occupied mode. For example, |0010) 1 2 3 4 is equivalent to | 1 3 ). 1.1. Qubits

[0069] As used herein, a “qubit” (or quantum bit) is a quantum system with an associated quantum state that can be used to encode information. A quantum state can be used to encode one bit of information if the quantum state space can be modeled as a (complex) two- dimensional vector space, with one dimension in the vector space being mapped to logical value 0 and the other to logical value 1. In contrast to classical bits, a qubit can have a state that is a superposition of logical values 0 and 1. More generally, a “qudit” can be any quantum system having a quantum state space that can be modeled as a (complex) n- dimensional vector space (for any integer ri), which can be used to encode n bits of information. For the sake of clarity of description, the term “qubit” is used herein, although in some embodiments the system can also employ quantum information carriers that encode information in a manner that is not necessarily associated with a binary bit, such as a qudit. Qubits (or qudits) can be implemented in a variety of quantum systems. Examples of qubits include: polarization states of photons; presence of photons in waveguides; or energy states of atoms, ions, nuclei, or photons. Other examples include other engineered quantum systems such as flux qubits, phase qubits, or charge qubits (e.g., formed from a superconducting Josephson junction); topological qubits (e.g., Majorana fermions); or spin qubits formed from vacancy centers (e.g., nitrogen vacancies in diamond).

[0070] A qubit can be “dual-rail encoded” such that the logical value of the qubit is encoded by occupation of one of two modes of the quantum system. For example, the logical 0 and 1 values can be encoded as follows:

|0>L = llO .2 (1)

| l>i = 101)1,2 (2) where the subscript “L” indicates that the ket represents a logical state (e.g., a qubit value) and, as before, the notation on the right-hand side of the equations above indicates that there are i particles in a first mode and j particles in a second mode, respectively (e.g., where i and j are integers). In this notation, a two-qubit system having a logical state |0)| 1) L (representing a state of two qubits, the first qubit being in a ‘0’ logical state and the second qubit being in a ‘ 1’ logical state) may be represented using occupancy across four modes by 11001)! 2,3,4 (e.g., in a photonic system, one photon in a first waveguide, zero photons in a second waveguide, zero photons in a third waveguide, and one photon in a fourth waveguide). In some instances throughout this disclosure, the various subscripts are omitted to avoid unnecessary mathematical clutter. l.l.Entangled States

[0071] Many of the advantages of quantum computing relative to “classical” computing (e.g., conventional digital computers using binary logic) stem from the ability to create entangled states of multi-qubit systems. In mathematical terms, a state |i/i) of // quantum objects is a separable state if |i/i) = | >i)® ... ® | > n ), and an entangled state is a state that is not separable. One example is a Bell state, which loosely speaking is a type of maximally entangled state for a two-qubit system, and qubits in a Bell state may be referred to as a Bell pair. For example, for qubits encoded by single photons in pairs of modes (a dual -rail encoding), examples of Bell states include:

[0072] More generally, an //-qubit Greenberger-Horne-Zeilinger (GHZ) state (or “//-GHZ state”) is an entangled quantum state of n qubits. For a given orthonormal logical basis, an n- GHZ state is a quantum superposition of all qubits being in a first basis state superposed with all qubits being in a second basis state: where the kets above refer to the logical basis. For example, for qubits encoded by single photons in pairs of modes (a dual-rail encoding), a 3-GHZ state can be written: where the kets above refer to photon occupation number in six respective modes (with mode subscripts omitted).

1.3.Physical implementations

[0073] Qubits (and operations on qubits) can be implemented using a variety of physical systems. In some examples described herein, qubits are provided in an integrated photonic system employing waveguides, beam splitters, photonic switches, and single photon detectors, and the modes that can be occupied by photons are spatiotemporal modes that correspond to presence of a photon in a waveguide. Modes can be coupled using mode couplers, e.g., optical beam splitters, to implement transformation operations, and measurement operations can be implemented by coupling single-photon detectors to specific waveguides. One of ordinary skill in the art with access to this disclosure will appreciate that modes defined by any appropriate set of degrees of freedom, e.g., polarization modes, temporal modes, and the like, can be used without departing from the scope of the present disclosure. For instance, for modes that only differ in polarization (e.g., horizontal (H) and vertical (V)), a mode coupler can be any optical element that coherently rotates polarization, e.g., a birefringent material such as a waveplate. For other systems such as ion trap systems or neutral atom systems, a mode coupler can be any physical mechanism that can couple two modes, e.g., a pulsed electromagnetic field that is tuned to couple two internal states of the atom/ion.

[0074] In some embodiments of a photonic quantum computing system using dual-rail encoding, a qubit can be implemented using a pair of waveguides. FIG. 1 shows two representations (100, 100') of a portion of a pair of waveguides 102, 104 that can be used to provide a dual-rail-encoded photonic qubit. At 100, a photon 106 is in waveguide 102 and no photon is in waveguide 104 (also referred to as a vacuum mode); in some embodiments, this corresponds to the |0) L state of a photonic qubit. At 100', a photon 108 is in waveguide 104, and no photon is in waveguide 102; in some embodiments this corresponds to the | 1) L state of the photonic qubit. To prepare a photonic qubit in a known logical state, a photon source (not shown) can be coupled to one end of one of the waveguides. The photon source can be operated to emit a single photon into the waveguide to which it is coupled, thereby preparing a photonic qubit in a known state. Photons travel through the waveguides, and by periodically operating the photon source, a quantum system having qubits whose logical states map to different temporal modes of the photonic system can be created in the same pair of waveguides. In addition, by providing multiple pairs of waveguides, a quantum system having qubits whose logical states correspond to different spatiotemporal modes can be created. It should be understood that the waveguides in such a system need not have any particular spatial relationship to each other. For instance, they can be but need not be arranged in parallel.

[0075] Occupied modes can be created by using a photon source to generate a photon that then propagates in the desired waveguide. A photon source can be, for instance, a resonatorbased source that emits photon pairs, also referred to as a heralded single photon source. In one example of such a source, the source is driven by a pump, e.g., a light pulse, that is coupled into a system of optical resonators that, through a nonlinear optical process (e.g., spontaneous four wave mixing (SFWM), spontaneous parametric down-conversion (SPDC), second harmonic generation, or the like), can generate a pair of photons. Many different types of photon sources can be employed. Examples of photon pair sources can include a microring-based spontaneous four wave mixing (SPFW) heralded photon source (HPS). However, the precise type of photon source used is not critical and any type of nonlinear source, employing any process, such as SPFW, SPDC, or any other process can be used. Other classes of sources that do not necessarily require a nonlinear material can also be employed, such as those that employ atomic and/or artificial atomic systems, e.g., quantum dot sources, color centers in crystals, and the like. In some cases, sources may or may not be coupled to photonic cavities, e.g., as can be the case for artificial atomic systems such as quantum dots coupled to cavities. Other types of photon sources also exist for SPWM and SPDC, such as optomechanical systems and the like.

[0076] In such cases, operation of the photon source may be non-deterministic (also sometimes referred to as “stochastic”) such that a given pump pulse may or may not produce a photon pair. In some embodiments, coherent spatial and/or temporal multiplexing of several non-deterministic sources (referred to herein as “active” multiplexing) can be used to allow the probability of having one mode become occupied during a given cycle to approach 1. One of ordinary skill will appreciate that many different active multiplexing architectures that incorporate spatial and/or temporal multiplexing are possible. For instance, active multiplexing schemes that employ log-tree, generalized Mach-Zehnder interferometers, multimode interferometers, chained sources, chained sources with dump-the-pump schemes, asymmetric multi-crystal single photon sources, or any other type of active multiplexing architecture can be used. In some embodiments, the photon source can employ an active multiplexing scheme with quantum feedback control and the like. In some embodiments, use of multirail encoding allows the probability of a band having one mode become occupied during a given pulse cycle to approach 1 without active multiplexing.

[0077] Measurement operations can be implemented by coupling a waveguide to a singlephoton detector that generates a classical signal (e.g., a digital logic signal) indicating that a photon has been detected by the detector. Any type of photodetector that has sensitivity to single photons can be used. In some embodiments, detection of a photon (e.g., at the output end of a waveguide) indicates an occupied mode while absence of a detected photon can indicate an unoccupied mode.

[0078] Some embodiments described below relate to physical implementations of unitary transform operations that couple modes of a quantum system, which can be understood as transforming the quantum state of the system. For instance, if the initial state of the quantum system (prior to mode coupling) is one in which one mode is occupied with probability 1 and another mode is unoccupied with probability 1 (e.g., a state 110) in the Fock notation introduced above), mode coupling can result in a state in which both modes have a nonzero probability ofbeing occupied, e.g., a state a 110) + a 2 |01), where |a x | 2 + |a 2 | 2 = 1 In some embodiments, operations of this kind can be implemented by using beam splitters to couple modes together and variable phase shifters to apply phase shifts to one or more modes. The amplitudes ct\ and ai depend on the reflectivity (or transmissivity) of the beam splitters and on any phase shifts that are introduced.

[0079] FIG. 2A shows a schematic diagram 210 (also referred to as a circuit diagram or circuit notation) for coupling of two modes. The modes are drawn as horizontal lines 212, 214, and the mode coupler 216 is indicated by a vertical line that is terminated with nodes (solid dots) to identify the modes being coupled. In the more specific language of linear quantum optics, the mode coupler 216 shown in FIG. 2A represents a 50/50 beam splitter that implements a transfer matrix: where T defines the linear map for the photon creation operators on two modes. (In certain contexts, transfer matrix T can be understood as implementing a first-order imaginary Hadamard transform.) By convention the first column of the transfer matrix corresponds to creation operators on the top mode (referred to herein as mode 1, labeled as horizontal line 212), and the second column corresponds to creation operators on the second mode (referred to herein as mode 2, labeled as horizontal line 214), and so on if the system includes more than two modes. More explicitly, the mapping can be written as:

(10) input 2 output where subscripts on the creation operators indicate the mode that is operated on, the subscripts input and output identify the form of the creation operators before and after the beam splitter, respectively and where:

For example, the application of the mode coupler shown in FIG. 2 A leads to the following mappings:

<

1 . input a 2 l i.nput output + a 2+ output

Thus, the action of the mode coupler described by Eq. (9) is to take the input states 110), 101), and |11> to

[0080] FIG. 2B shows a physical implementation of a mode coupling that implements the transfer matrix T of Eq. (9) for two photonic modes in accordance with some embodiments. In this example, the mode coupling is implemented using a waveguide beam splitter 200, also sometimes referred to as a directional coupler or mode coupler. Waveguide beam splitter 200 can be realized by bringing two waveguides 202, 204 into close enough proximity that the evanescent field of one waveguide can couple into the other. By adjusting the separation d between waveguides 202, 204 and/or the length I of the coupling region, different couplings between modes can be obtained. In this manner, a waveguide beam splitter 200 can be configured to have a desired transmissivity. For example, the beam splitter can be engineered to have a transmissivity equal to 0.5 (i.e., a 50/50 beam splitter for implementing the specific form of the transfer matrix T introduced above). If other transfer matrices are desired, the reflectivity (or the transmissivity) can be engineered to be greater than 0.6, greater than 0.7, greater than 0.8, or greater than 0.9 without departing from the scope of the present disclosure.

[0081] In addition to mode coupling, some unitary transforms may involve phase shifts applied to one or more modes. In some photonic implementations, variable phase-shifters can be implemented in integrated circuits, providing control over the relative phases of the state of a photon spread over multiple modes. Examples of transfer matrices that define such a phase shifts are given by (for applying a +i and ~i phase shift to the second mode, respectively):

For silica-on-silicon materials some embodiments implement variable phase-shifters using thermo-optical switches. The thermo-optical switches use resistive elements fabricated on the surface of the chip, that via the thermo-optical effect can provide a change of the refractive index n by raising the temperature of the waveguide by an amount of the order of 10' 5 K. One of skill in the art with access to the present disclosure will understand that any effect that changes the refractive index of a portion of the waveguide can be used to generate a variable, electrically tunable, phase shift. For example, some embodiments use beam splitters based on any material that supports an electro-optic effect, so-called x 2 and x 3 materials such as lithium niobite, BBO, KTP, and the like and even doped semiconductors such as silicon, germanium, and the like. [0082] Beam-splitters with variable transmissivity and arbitrary phase relationships between output modes can also be achieved by combining directional couplers and variable phase-shifters in a Mach-Zehnder Interferometer (MZI) configuration 300, e.g., as shown in FIG. 3 A. Complete control over the relative phase and amplitude of the two modes 302a, 302b in dual rail encoding can be achieved by varying the phases imparted by phase shifters 306a, 306b, and 306c and the length and proximity of coupling regions 304a and 304b. FIG. 3B shows a slightly simpler example of a MZI 310 that allows for a variable transmissivity between modes 302a, 302b by varying the phase imparted by the phase shifter 306. FIGs. 3A and 3B are examples of how one could implement a mode coupler in a physical device, but any type of mode coupler/beam splitter can be used without departing from the scope of the present disclosure.

[0083] In some embodiments, beam splitters and phase shifters can be employed in combination to implement a variety of transfer matrices. For example, FIG. 4A shows, in a schematic form similar to that of FIG. 2A, a mode coupler 400 implementing the following transfer matrix:

1 /1 1 \ r’- = V2(i - <15>

Thus, mode coupler 400 applies the following mappings:

The transfer matrix T r of Eq. (15) is related to the transfer matrix T of Eq. (9) by a phase shift on the second mode. This is schematically illustrated in FIG. 4A by the closed node 407 where mode coupler 416 couples to the first mode (line 212) and open node 408 where mode coupler 416 couples to the second mode (line 214). More specifically, T r = sTs, and, as shown at the right-hand side of FIG. 4 A, mode coupler 416 can be implemented using mode coupler 216 (as described above), with a preceding and following phase shift (denoted by open squares 418a, 418b). Thus, the transfer matrix T r can be implemented by the physical beam splitter shown in FIG. 4B, where the open triangles represent +i phase shifters. [0084] Similarly, networks of mode couplers and phase shifters can be used to implement couplings among more than two modes. For example, FIG. 5 shows a four-mode coupling scheme that implements a “spreader,” or “mode-information erasure,” transformation on four modes, i.e., it takes a photon in any one of the input modes and delocalizes the photon amongst each of the four output modes such that the photon has equal probability of being detected in any one of the four output modes. (The well-known Hadamard transformation is one example of a spreader transformation.) As in FIG. 2A, the horizontal lines 512-515 correspond to modes, and the mode coupling is indicated by a vertical line 516 with nodes (dots) to identify the modes being coupled. In this case, four modes are coupled. Circuit notation 502 is an equivalent representation to circuit diagram 504, which is a network of first-order mode couplings. More generally, where a higher-order mode coupling can be implemented as a network of first-order mode couplings, a circuit notation similar to notation 502 (with an appropriate number of modes) may be used.

[0085] FIG. 6 illustrates an example optical device 600 that can implement the four-mode mode-spreading transform shown schematically in FIG. 5 in accordance with some embodiments. Optical device 600 includes a first set of optical waveguides 601, 603 formed in a first layer of material (represented by solid lines in FIG. 6) and a second set of optical waveguides 605, 607 formed in a second layer of material that is distinct and separate from the first layer of material (represented by dashed lines in FIG. 6). The second layer of material and the first layer of material are located at different heights on a substrate. One of ordinary skill will appreciate that an interferometer such as that shown in FIG. 6 could be implemented in a single layer if appropriate low loss waveguide crossing were employed.

[0086] At least one optical waveguide 601, 603 of the first set of optical waveguides is coupled with an optical waveguide 605, 607 of the second set of optical waveguides with any type of suitable optical coupler, e.g., the directional couplers described herein (e.g., the optical couplers shown in FIGs. 2B, 3A, 3B). For example, the optical device shown in FIG. 6 includes four optical couplers 618, 620, 622, and 624. Each optical coupler can have a coupling region in which two waveguides propagate in parallel. Although the two waveguides are illustrated in FIG. 6 as being offset from each other in the coupling region, the two waveguides may be positioned directly above and below each other in the coupling region without offset. In some embodiments, one or more of the optical couplers 618, 620, 622, and 624 are configured to have a coupling efficiency of approximately 50% between the two waveguides (e.g., a coupling efficiency between 49% and 51%, a coupling efficiency between 49.9% and 50.1%, a coupling efficiency between 49.99% and 50.01%, and a coupling efficiency of 50%, etc.). For example, the length of the two waveguides, the refractive indices of the two waveguides, the widths and heights of the two waveguides, the refractive index of the material located between two waveguides, and the distance between the two waveguides are selected to provide the coupling efficiency of 50% between the two waveguides. This allows the optical coupler to operate like a 50/50 beam splitter.

[0087] In addition, the optical device shown in FIG. 6 can include two inter-layer optical couplers 614 and 616. Optical coupler 614 allows transfer of light propagating in a waveguide on the first layer of material to a waveguide on the second layer of material, and optical coupler 616 allows transfer of light propagating in a waveguide on the second layer of material to a waveguide on the first layer of material. The optical couplers 614 and 616 allow optical waveguides located in at least two different layers to be used in a multi-channel optical coupler, which, in turn, enables a compact multi-channel optical coupler.

[0088] Furthermore, the optical device shown in FIG. 6 includes a non-coupling waveguide crossing region 626. In some implementations, the two waveguides (603 and 605 in this example) cross each other without having a parallel coupling region present at the crossing in the non-coupling waveguide crossing region 626 (e.g., the waveguides can be two straight waveguides that cross each other at a nearly 90-degree angle).

[0089] Those skilled in the art will understand that the foregoing examples are illustrative and that photonic circuits using beam splitters and/or phase shifters can be used to implement many different transfer matrices, including transfer matrices for real and imaginary Hadamard transforms of any order, discrete Fourier transforms, and the like. One class of photonic circuits, referred to herein as “spreader” or “mode-information erasure (MIE)” circuits, has the property that if the input is a single photon localized in one input mode, the circuit delocalizes the photon amongst each of a number of output modes such that the photon has equal probability of being detected in any one of the output modes. Examples of spreader or MIE circuits include circuits implementing Hadamard transfer matrices. (It is to be understood that spreader or MIE circuits may receive an input that is not a single photon localized in one input mode, and the behavior of the circuit in such cases depends on the particular transfer matrix implemented.) In other instances, photonic circuits can implement other transfer matrices, including transfer matrices that, for a single photon in one input mode, provide unequal probability of detecting the photon in different output modes. [0090] In some embodiments, entangled states of multiple photonic qubits can be created by coupling modes of two (or more) qubits and performing measurements on other modes. By way of example, FIG. 7 shows a circuit diagram for a Bell state generator 700 that can be used in some dual-rail-encoded photonic embodiments. In this example, modes 732(1)- 732(4) are initially each occupied by a photon (indicated by a wavy line); modes 732(5)- 732(8) are initially vacuum modes. (Those skilled in the art will appreciate that other combinations of occupied and unoccupied modes can be used.)

[0091] A first-order mode coupling (e.g., implementing transfer matrix T of Eq. (9)) is performed on pairs of occupied and unoccupied modes as shown by mode couplers 731(1)- 731(4). Thereafter, a mode-information erasure coupling (e.g., implementing a four-mode mode spreading transform as shown in FIG. 5) is performed on four of the modes (modes 732(5)-732(8)), as shown by mode coupler 737. Modes 732(5)-732(8) act as “heralding” modes that are measured and used to determine whether a Bell state was successfully generated on the other four modes 732(l)-732(4). For instance, detectors 738(l)-738(4) can be coupled to the modes 732(5)-732(8) after second-order mode coupler 737. Each detector 738(l)-738(4) can output a classical data signal (e.g., a voltage level on a conductor) indicating whether it detected a photon (or the number of photons detected). These outputs can be coupled to classical decision logic circuit 740, which determines whether a Bell state is present on the other four modes 732(l)-732(4). For example, decision logic circuit 740 can be configured such that a Bell state is confirmed (also referred to as “success” of the Bell state generator) if and only if a single photon was detected by each of exactly two of detectors 738(l)-738(4). Modes 732(l)-732(4) can be mapped to the logical states of two qubits (Qubit 1 and Qubit 2), as indicated in FIG. 7. Specifically, in this example, the logical state of Qubit 1 is based on occupancy of modes 732(1) and 732(2), and the logical state of Qubit 2 is based on occupancy of modes 732(3) and 732(4). It should be noted that the operation of Bell state generator 700 can be non-deterministic; that is, inputting four photons as shown does not guarantee that a Bell state will be created on modes 732(l)-732(4). In one implementation, the probability of success is 4/32.

[0092] In some embodiments, it is desirable to form cluster states of multiple entangled qubits (typically 3 or more qubits, although the Bell state can be understood as a cluster state of two qubits). One technique for forming larger entangled systems is through the use of an entangling measurement, which is a projective measurement that can be employed to create entanglement between systems of qubits. As used herein, “fusion” (or “a fusion operation” or “fusing”) refers to a two-qubit entangling measurement. A “fusion gate” is a structure that receives two input qubits, each of which is typically part of an entangled system. The fusion gate performs a projective measurement operation on the input qubits that produces either one (“type I fusion”) or zero (“type II fusion”) output qubits in a manner such that the initial two entangled systems are fused into a single entangled system. Fusion gates are specific examples of a general class of two-qubit entangling measurements and are particularly suited for photonic architectures. Examples of type I and type II fusion gates will now be described.

[0093] FIG. 8A shows a circuit diagram illustrating a type I fusion gate 800 in accordance with some embodiments. The diagram shown in FIG. 8A is schematic with each horizontal line representing a mode of a quantum system, e.g., a photon. In a dual-rail encoding, each pair of modes represents a qubit. In a photonic implementation of the gate the modes in diagrams such as that shown in FIG. 8A can be physically realized using single photons in photonic waveguides. Most generally, a type I fusion gate like that shown in FIG. 8A takes qubit A (physically realized, e.g., by photon modes 843 and 845) and qubit B (physically realized, e.g., by photon modes 847 and 849) as input and outputs a single “fused” qubit that inherits the entanglement with other qubits that were previously entangled with either (or both) of input qubit A or input qubit B.

[0094] For example, FIG. 8B shows the result of type-I fusing of two qubits A and B that are each, respectively, a qubit located at the end (i.e., a leaf) of some longer entangled cluster state (only a portion of which is shown). The qubit 857 that remains after the fusion operation inherits the entangling bonds from the original qubits A and B thereby creating a larger linear cluster state. FIG. 8B also shows the result of type-I fusing of two qubits A and B that are each, respectively, an internal qubit that belongs to some longer entangled cluster of qubits (only a portion of which is shown). As before, the qubit 859 that remains after fusion inherits the entangling bonds from the original qubits A and B thereby creating a fused cluster state. In this case, the qubit that remains after the fusion operation is entangled with the larger cluster by way of four other nearest neighbor qubits as shown.

[0095] Returning to the schematic illustration of type I fusion gate 800 shown in FIG. 8A, qubit A is dual-rail encoded by modes 843 and 845, and qubit B is dual-rail encoded by modes 847 and 849. For example, in the case of path-encoded photonic qubits, the logical zero state of qubit A (denoted 10)^) occurs when mode 843 is a photonic waveguide that includes a single photon and mode 845 is a photonic waveguide that includes zero photons (and likewise for qubit B). Thus, type I fusion gate 800 can take as input two dual-rail- encoded photon qubits thereby resulting in a total of four input modes (e.g., modes 843, 845, 847, and 849). To accomplish the fusion operation, a mode coupler (e.g., 50/50 beam splitter) 853 is applied between a mode of each of the input qubits, e.g., between mode 843 and mode 849 before performing a detection operation on both modes using photon detectors 855 (which includes two distinct photon detectors coupled to modes 843 and 849 respectively). The detection operation on modes 843 and 849 is a destructive measurement. In addition, to ensure that the output modes are adjacently positioned, a mode swap operation 851 can be applied that swaps the position of the second mode of qubit A (mode 845) with the position the second mode of qubit B (mode 849). In some embodiments, mode swapping can be accomplished through a physical waveguide crossing as described above or by one or more photonic switches or by any other type of physical mode swap.

[0096] FIG. 8A shows only an example arrangement for a type I fusion gate and one of ordinary skill will appreciate that the position of the mode coupler and the presence of the mode swap region 851 can be altered without departing from the scope of the present disclosure. For example, beam splitter 853 can be applied between modes 845 and 847. Mode swaps are optional and are not necessary if qubits having non-adjacent modes can be dealt with, e.g., by tracking which modes belong to which qubits by storing this information in a classical memory.

[0097] Type I fusion gate 800 is a nondeterministic gate, i.e., the fusion operation succeeds with a certain probability less than 1, and in other cases the quantum state that results is not a larger cluster state that comprises the original cluster states fused together to a larger cluster state. More specifically, gate 800 “succeeds,” with probability 50%, when only one photon is detected by detectors 855, and “fails” if zero or two photons are detected by detectors 855. When the gate succeeds, the two cluster states that qubits A and B were a part of become fused into a single larger cluster state with a fused qubit remaining as the qubit that links the two previously unlinked cluster states (see, e.g., FIG. 8B). However, when the fusion gate fails, it has the effect of removing both qubits from the original cluster resource states without generating a larger fused state.

[0098] FIG. 9A shows a circuit diagram illustrating a type II fusion gate 900 in accordance with some embodiments. Like other diagrams herein, the diagram shown in FIG. 9A is schematic with each horizontal line representing a mode of a quantum system, e.g., a photon. In a dual-rail encoding, each pair of modes represents a qubit. In a photonic implementation of the gate the modes in diagrams such as that shown in FIG. 9A can be physically realized using single photons in photonic waveguides. Most generally, a type II fusion gate such as gate 900 takes qubit A (physically realized, e.g., by photon modes 943 and 945) and qubit B (physically realized, e.g., by photon modes 947 and 949) as input and outputs a quantum state that inherits the entanglement with other qubits that were previously entangled with either (or both) of input qubit A or input qubit B. (For type II fusion, if the input quantum state had N qubits, the output quantum state has A - 2 qubits. This is different from type I fusion where an input quantum state of N qubits leads to an output quantum state having A- 1 qubits.)

[0099] For example, FIG. 9B shows the result of type-II fusing of two qubits A and B that are each, respectively, a qubit located at the end (i.e., a leaf) of some longer entangled cluster state (only a portion of which is shown). The resulting qubit system 971 inherits the entangling bonds from qubits A and B thereby creating a larger linear cluster state.

[0100] Returning to the schematic illustration of type II fusion gate 900 shown in FIG. 9A, qubit A is dual-rail encoded by modes 943 and 945, and qubit B is dual-rail encoded by modes 947 and 949. For example, in the case of path encoded photonic qubits, the logical zero state of qubit A (denoted 10)^) occurs when mode 943 is a photonic waveguide that includes a single photon and mode 945 is a photonic waveguide that includes zero photons (and likewise for qubit B). Thus, type II fusion gate 900 takes as input two dual-rail-encoded photon qubits thereby resulting in a total of four input modes (e.g., modes 943, 945, 947, and 949). To accomplish the fusion operation, a first mode coupler (e.g., 50/50 beam splitter) 953 is applied between a mode of each of the input qubits, e.g., between mode 943 and mode 949, and a second mode coupler (e.g., 50/50 beam splitter) 955 is applied between the other modes of each of the input qubits, e.g., between modes 945 and 947. A detection operation is performed on all four modes using photon detectors 957(l)-957(4). The detection operation is a destructive measurement. In some embodiments, mode swap operations (not shown in FIG. 9 A) can be performed to place modes in adjacent positions prior to mode coupling. In some embodiments, mode swapping can be accomplished through a physical waveguide crossing as described above or by one or more photonic switches or by any other type of physical mode swap. Mode swaps are optional and are not necessary if qubits having nonadj acent modes can be dealt with, e.g., by tracking which modes belong to which qubits by storing this information in a classical memory. [0101] FIG. 9A shows only an example arrangement for the type II fusion gate and one of ordinary skill will appreciate that the positions of the mode couplers and the presence or absence of mode swap regions can be altered without departing from the scope of the present disclosure.

[0102] The type II fusion gate shown in FIG. 9A is a nondeterministic gate, i.e., the fusion operation succeeds with a certain probability less than 1, and in other cases the quantum state that results is not a larger cluster state that comprises the original cluster states fused together to a larger cluster state. More specifically, the gate “succeeds” in the case where one photon is detected by one of detectors 957(1) and 957(4) and one photon is detected by one of detectors 957(2) and 957(3); in all other cases, the gate “fails.” When the gate succeeds, the two cluster states that qubits A and B were a part of become fused into a single larger cluster state; unlike type-I fusion, no fused qubit remains (compare FIG. 8B and FIG. 9B). When the fusion gate fails, it has the effect of removing both qubits from the original cluster resource states without generating a larger fused state.

[0103] The foregoing description provides an example of how photonic circuits can be used to implement physical qubits and operations on physical qubits using mode coupling between waveguides. In these examples, a pair of modes can be used to represent each physical qubit. Examples described below can be implemented using similar photonic circuit elements.

2. Generation of Entanglement Structures

[0104] As described in Section 1, a qubit can be physically realized using a pair of waveguides into which a photon is introduced, and qubits can be operated upon using mode couplers (e.g., beam splitters), variable phase shifters, photon detectors, and the like. For instance, entanglement between two (or more) qubits can be created by providing mode couplers between waveguides associated with different qubits. As a practical matter, physical qubits may suffer from loss (e.g., where inefficiency in photon generation circuits, mode couplers, fusion circuits, or other components can result in a photon not being detected during measurement) and noise (e.g., where bit-flip errors can occur prior to measurement). Consequently, relying on a single physical qubit (e.g., a photon propagating in a pair of waveguides) when performing a quantum computation may result in an unacceptably high error rate. To provide fault tolerance, photonic quantum computers can be designed to operate on one or more logical qubits, where a “logical qubit” is a quantum system (also sometimes referred to as a “topological cluster state”) having multiple physical qubits with an entanglement structure that enables error correction. (As used in the following sections, the term “qubit” refers to a physical qubit; all references to logical qubits include the qualifier “logical.”) For example, in some embodiments the entanglement structure of a logical qubit can be represented as a graph in three dimensions. As a shorthand, the present disclosure uses the term “entanglement space” to refer to a space having dimensionality corresponding to the graph representation of an entanglement structure. In the context of quantum computing, logical qubits can improve robustness by supporting error detection and error correction. Logical qubits may also be used in other contexts, such as quantum communication.

[0105] Some embodiments described herein relate to devices and methods that can be used to construct large entanglement structures from smaller entangled systems of physical qubits, referred to as “resource states.” As used herein, a “resource state” refers to an entangled system of a number (n) of qubits in a non-separable entangled state (which is an entangled state that cannot be decomposed into smaller separate entangled states). In various embodiments, the number n can be a small number (e.g., two or more, or any number up to about 20), or a larger number (as large as desired).

[0106] FIGs. 10 A- 10C show entanglement graph representations of resource states that can be used according to some embodiments. In the graph representations used herein, a physical qubit is represented as a dot, and entanglement between physical qubits is represented by lines connecting pairs of dots. In these examples, the entanglement geometry defines a three- dimensional space, and labels x, y, and z are used to designate the different dimensions in this entanglement space. It should be understood that these dimensions need not correspond to physical dimensions and that in some instances qubits may be separated in time rather than in spatial dimensions. For example, each physical qubit can be implemented using photons propagating in waveguides, and a particular section of waveguide may host photons associated with different qubits at different times.

[0107] FIG. 10A shows an example of a resource state 1000 having seven physical qubits 1010-1016. In resource state 1000, a “central” qubit 1016 is entangled with six “peripheral” qubits 1010-1015. For convenience of description, the six peripheral qubits are distinguished from each other using directional identifiers +x, -x, +y, -y, +z, -z (as indicated by coordinate axes 1001); thus, for example, qubit 1012 may be referred to as the +x qubit, qubit 1013 may be referred to as the -x qubit, and so on. It should be understood that these identifiers refer to the entanglement geometry and need not correspond to actual physical directions. As will become apparent, the terms “central” qubit and “peripheral” qubit are used herein to distinguish qubits that are subject to fusion operations with qubits from other resource states (“peripheral qubits”) from qubits that are not subject to fusion operations with qubits from other resource states (“central qubits”).

[0108] The entanglement geometry or topology of a resource state can be varied. By way of example, FIG. 10B shows an example of a different resource state 1020 having seven physical qubits 1030-1036. Similarly to resource state 1000, a central qubit 1036 is entangled with six peripheral qubits 1030-1035. Resource state 1020 differs from resource state 1010 in that resource state 1020 has additional entanglement between peripheral qubits 1030 and 1032.

[0109] As another example, FIG. 10C shows a resource state 1040, known in the art as a Kagome-6, or 6-ring, state. Resource state 1040 has six peripheral qubits 1050-1055 (and no central qubit), and each peripheral qubit is entangled with two other qubits. Resource state 1040 can be understood as having a three-dimensional entanglement geometry as suggested by the bidirectional arrows in the center, with qubit 1050 being a +y qubit, qubit 1051 being a -y qubit, qubit 1052 being a +x qubit, qubit 1053 being a -x qubit, qubit 1054 being a +z qubit, and qubit 1055 being a -z qubit.

[0110] The resource state examples in FIGs. 10 A- 10C are illustrative and not limiting. In some embodiments, the entanglement topology/geometry of a resource state can be chosen based on a particular computation to be executed, and different resource states that are used in generating a single entanglement structure can have different entanglement topologies. Further, while the examples shown involve resource states having six or seven qubits, the number of qubits in each resource state can also be varied. Accordingly, a resource state may be larger or smaller than the examples shown, and may include any number of central qubits (including zero central qubits) and/or peripheral qubits. Additional considerations related to the selection of size and entanglement geometry for a resource state are described below.

[0111] According to various embodiments, a “layer” consisting of some number of resource states can be generated using one or more resource state generators. (As with other geometric or spatial terms used herein, it should be understood that “layer” refers to a graph representation of quantum entanglement of the physical qubits and does not imply any particular physical arrangement of waveguides or other components.) FIGs. 11 A and 1 IB show examples of layers of resource states according to some embodiments. In FIG. 11 A, layer 1100 is formed from multiple instances of resource state 1000 of FIG. 10A, and in FIG. 1 IB, layer 1140 is formed from multiple instances of resource state 1040 of FIG. 10C. Layers 1100 and 1140 have a size, defined as the number of resource states included in the layer. In examples used herein, each layer has a regular array structure with rows and columns. (The terms “row” and “column” are used herein to distinguish dimensions in entanglement space and need not correspond to physical dimensions.) Thus, as shown in FIG. 11A, layer 1100 includes a number A * C of resource states, where R is the number of rows and C is the number of columns. In some instances (e.g., as shown in FIG. 1 IB), R = C = /., and layer 1100 can be said to be square with size L 2 . In some embodiments, L 2 (or A x C) can be a large number, e.g., -100 to -10 6 .

[0112] To create entanglement structures larger than a resource state, fusion operations (e.g., type II fusion operations as described above or other entangling measurement operations) can be performed to create entanglement between qubits of different resource states within a layer. FIGs. 11 A and 1 IB show, using dotted ovals, examples of pairs of qubits that can be input to a fusion circuit (e.g., type II fusion circuit 900 of FIG. 9B). Thus, for example, in layer 1100 of FIG. 11 A, the +x qubit of resource state 1000(1,1) and the -x qubit of resource state 1000(1,2) can be inputs to one fusion operation, as indicated by dotted oval 1105, while the -y qubit of resource state 1000(1,1) and the +y qubit of resource state 1000(2,1) can be inputs to another fusion operation, as indicated by dotted oval 1107. As indicated, this pattern can be repeated across layer 1100. Similarly, in layer 1140 of FIG.

1 IB, the +x qubit of resource state 1040(1,1) and the -x qubit of resource state 1040(1,2) can be inputs to one fusion operation, as indicated by dotted oval 1145, while the -y qubit of resource state 1040(1,1) and the +y qubit of resource state 1040(2,1) can be inputs to another fusion operation, as indicated by dotted oval 1147. As indicated, this pattern can be repeated across layer 1100.

[0113] In some embodiments, qubits at the edge, or boundary, of a layer (e.g., qubits 1106 and 1108 in layer 1100 or qubits 1146 and 1148 in layer 1140) can be treated as a special case. For example, a qubit at the boundary of a layer (also referred to as a “boundary qubit”) can be removed from the system by performing a Z measurement (i.e., a measurement in the Pauli Z basis) or similar operation on the qubit. Alternatively, a boundary qubit may be subject to a fusion operation with another boundary qubit, which can be a boundary qubit in the same layer or in a different layer as desired. Examples of operations on boundary qubits are described below. In some embodiments, a resource state generator can be configured such that boundary qubits are not generated or are selectively generated.

[0114] In some embodiments, multiple layers of resource states can be created, and additional fusion operations (e.g., type II fusion operations as described above) can be performed to create entanglement between qubits associated with resource states of different layers. For example, FIGs. 12A and 12B show examples of three-dimensional arrays that include two layers of resource states according to some embodiments. In FIG. 12A, array 1200 includes two instances of layer 1100 of FIG. 1 IB, and in FIG.12B, array 1240 includes two instances of layer 1140 of FIG. 1 IB. For clarity of illustration, in FIGs. 12A and 12B, layers 1100(1) and 1140(1) are shown using black dots to represent qubits while layers 1100(2) and 1140(2) are shown using white dots to represent qubits. FIGs. 12A and 12B show, using dotted ovals, examples of pairs of qubits from different layers that can be input to a fusion circuit (e.g., type II fusion circuit 900 of FIG. 9B). Thus, for example, as shown in FIG. 12A, the -z qubit of resource state 1000(1,1,1) and the +z qubit of resource state 1000(1,1,2) can be inputs to a fusion operation, as indicated by dotted oval 1205. Similarly, the -z qubit of each other resource state in layer 1100(1) can be fused with the +z qubit of a resource state in a corresponding position in layer 1100(2). Likewise, as shown in FIG. 12B, , the — z qubit of each resource state 1040(z,j ,1) in layer 1140(1) and the +z qubit of a corresponding resource state 1040(z, j, 2) in layer 1140(2) can be inputs to a fusion operation, as indicated by dotted oval 1245. For clarity of illustration, fusion operations between neighboring qubits within a layer are not shown in FIGs. 12A and 12B; however, it should be understood that fusion operations within each layer (e.g., as shown in FIGs. 11 A and 1 IB) can also be performed. The same pattern of fusion operations can be extended to any number of layers. The number of layers that are generated can be independent of the size of a layer and may be determined, for instance, based on a particular quantum computation to be performed.

[0115] In some embodiments, the fusion operations between qubits of resource states within a layer (e.g., as shown in FIGs. 11 A and 1 IB) and the fusion operations between qubits of resource states in different layers (e.g., as shown in FIGs. 12A and 12B) are type II fusion operations (as described above with reference to FIGs. 9A and 9B) performed on a pair of input qubits Successful type II fusion removes the input qubits from the system and creates entanglement between the remaining qubits (in this case, the central qubits). In addition, type II fusion (whether successful or not) entails making destructive measurements, and the results of those measurements (e.g., the number of photons detected by each of detectors 957 in fusion circuit 900 of FIG. 9A) can be provided as (classical) data to a classical computer, which can interpret the results to extract information that reflects the entanglement structure. For example, a classical computer may be able to use the measurement data to determine a result of a quantum computation.

[0116] In the description that follows, fusion operations may be referred to as “spacelike” or “timelike.” This terminology is evocative of particular implementations in which different qubits or resource states are generated at different times: spacelike fusion can be performed between qubits generated at the same time using different instances of hardware, while timelike fusion can be performed between qubits generated at different times using the same instance of hardware. For photonic qubits, timelike fusion can be implemented by delaying an earlier-produced qubit (e.g., using additional lengths of waveguide material to create a longer propagation path for the photon), thereby allowing mode coupling with a later- produced qubit. By leveraging timelike fusion, the same hardware can be used to generate multiple instances of the resource states within a layer and/or to generate multiple layers of resource states.

[0117] In some embodiments, some or all of the fusion operations can be performed using reconfigurable fusion circuits. Reconfigurable fusion circuits can incorporate various operations prior to fusion such as phase shifts, mode swaps, and/or basis rotations and can receive (classical) control signals to select particular operations to be performed. For instance, different fusion operations can be selectably performed at different positions within a layer, or different fusion operations can be selectably performed for different layers. Reconfigurable fusion circuits can be used, e.g., to implement particular quantum computing algorithms using the array of resource states.

[0118] In some embodiments, (e.g., the example of FIGs. 10A, 11 A, and 12A) each resource state has a central qubit (i.e., a qubit such as qubit 1016 that is not subject to fusion operations with a qubit of another resource state). Thus, after performing fusion operations as described above, a large entangled system (referred to herein as an “LES”) of qubits can be produced. FIG. 13 shows an example of an LES 1300 that can be created through fusion operations as shown in FIGs. 11 A and 12A applied to resource state 1000 of FIG. 10A according to some embodiments. In this example, resource state 1000 has a single central qubit (qubit 1016 in FIG. 10 A), and LES 1300 can be understood as having layers, with each layer including an array of R x C qubits 1316. More generally, a resource state can have any number of central qubits, and the number of qubits per layer of an LES may be different from the size of the layer of resource states that contributed to the layer of the LES. An LES is a system of qubits that is physically prepared and therefore exists physically in a particular entangled state. The entangled state of the qubits (e.g., photonic qubits) can itself be a graph state, a cluster state, some other entangled state that forms a fault tolerant cluster state that, with appropriate measurements on the individual qubits, corresponds to a quantum error correcting code (such as a topological code, e.g., the foliated surface code, volume codes, color codes and the like), or any portion of these entangled states. Accordingly, an LES (or several LESes that are further mutually entangled via processes such as “stitching” processes described below) can be used to encode one or more logical qubits, or as a cluster state (or portion of a cluster state) upon which measurements of individual physical qubits are made to implement quantum computations in measurement-based quantum computing (“MBQC”) systems, or in any other context in which a large entangled system of physical qubits is to be generated.

[0119] In other embodiments (e.g., the example of FIGs. 10C, 1 IB, 12B), the resource states do not have any central qubits. In embodiments where the resource states have no central qubits, the fusion operations within and between layers may involve destructive measurements on all of the qubits of all of the resource states, and the final output of creating entanglement can be a set of (classical) measurement outcome data from the fusion operations. In some embodiments, this measurement outcome data can be interpreted as the result of a computation involving one or more error-corrected logical qubits having an entanglement structure defined by the resource states and fusion operations performed thereon. This technique is referred to herein as “fusion-based quantum computing,” or “FBQC.”

[0120] It should be understood that the resource states and arrays shown herein are illustrative and that variations and modifications are possible. The size and entanglement geometry of resources states can be varied. In some embodiments, resource states having different sizes and/or entanglement geometries can be used at different positions within a layer or within an array of layers, and position-dependent selection of resource state configurations can be used to implement a variety of logical operations. It should also be understood that the fusion operations may be stochastic in nature and may not always succeed; in some embodiments, the entanglement geometry can support fault tolerance for both MBQC or FBQC. Further, while FBQC and MBQC are examples of use-cases for the entanglement-generating techniques described herein, it should be understood that these techniques can be applied in other contexts and are not limited to quantum computing. l.l.Resource state generation

[0121] As described above, some embodiments relate to devices and methods that can be used to construct large entanglement structures from a large number of resource states, where each resource state is an entangled system of a number n of qubits in a non-separable entangled state.

[0122] The particular size and entanglement geometry of the resource states can be chosen as a design parameter. In some cases, the optimal size may depend on the particular physical implementation of the qubits. For example, as described above, qubits can be implemented using photons propagating in waveguides. The processes used to generate the photons and create entanglement may be stochastic (i.e., the probability of successfully generating a photon in any given instance is significantly less than 1). Where generation or entanglement of qubits is stochastic, multiplexing techniques or other techniques may be used to increase the probability of producing a resource state having a specified entanglement structure (for each attempt). Given a set of resource states, the processes used to create the larger entanglement structure (e.g., fusion processes as described above) may also be stochastic, and the larger entanglement structure can be defined in a manner that supports fault-tolerant behavior in the presence of stochastic processes. Accordingly, the size of the resource state can be chosen for a particular implementation based on the rate of errors in resource state generation that can be tolerated and the particular probability of producing a resource state having a specified entanglement structure.

[0123] In some embodiments, a resource state such as resource state 1100 can be generated using photonic and electronic circuits and components (e.g., of the type described in Section 1.3 above) to produce and manipulate individual photons. In some implementations, a resource state generator can be a single integrated circuit fabricated, e.g., using conventional silicon-based technologies. The resource state generator can include photon sources or can receive photons from an external source. The resource state generator can also include photonic circuits implementing Bell state generators and fusion operations as described above. To provide robustness, the resource state generator can include multiple parallel instances of various photonic circuits with detectors and electronic control logic to select a successful instance to propagate a photon. One skilled in the art will know various ways to construct a photonic resource state generator capable of generating resource states having a desired entanglement geometry.

[0124] In some embodiments, resource states can be generated using techniques other than linear optical systems. For instance, various devices are known for generating and creating entanglement between systems of “matter-based” qubits, such as qubits implemented in ion traps, other qubits encoded in energy levels of an atom or ion, spin-encoded qubits, superconducting qubits, or other physical systems. It is also understood in the art that quantum information is fungible, in the sense that many different physical systems can be used to encode the same information (in this case, a quantum state). Thus, it is possible in principle to swap the quantum state of one system onto another system by inducing interactions between the systems. For example, the state of a qubit (or ensemble of entangled qubits) encoded in energy levels of an atom or ion can be swapped onto the electromagnetic field (i.e., photons). It is also possible to use transducer technologies to swap the state of a superconducting qubit onto a photonic state. In some instances, the initial swap may be onto photons having microwave frequencies; after the swap, the frequencies of the photons can be increased into the operation frequencies of optical fiber or other optical waveguides. As another example, quantum teleportation can be applied between matter-based qubits and Bell pairs in which one qubit of the Bell pair is a photon having frequency suitable for optical fiber (or other optical waveguides), thereby transferring the quantum state of the matter-based qubits to a system of photonic qubits. Accordingly, in some embodiments matter-based qubits can be used to generate a resource state that consists of photonic qubits, and the particular construction and configuration of the resource state generator is not relevant to understanding the present description.

2.2.Circuits for creating entanglement structures from resource states

[0125] Examples of circuits and techniques that can be used to create entanglement structures by performing fusion operations as described above between qubits of resource states produced by one or more resource state generators will now be described. For simplicity of description, two cases are considered. One case includes the example of FIGs. 10 A, 11 A, and 12 A, where each resource state includes a central qubit and an LES as shown in FIG. 13 is produced. The other case includes the examples of FIGs. 10C, 1 IB, and 12B, where each resource state does not include a central qubit and the result of the fusion operations described above is (classical) measurement outcome data that reflects the entanglement structure. It should be understood that other resource state configurations, including configurations with any number (zero or more) of central qubits, can be used.

2.2.1. Circuit symbols

[0126] To facilitate understanding of the description, FIGs. 14A-14F introduce a set of schematic circuit symbols that are used in subsequent figures. These circuit symbols represent circuits that operate on physical (photonic) qubits, and each input or output line represents a (physical) qubit. As a matter of drawing convention, inputs are shown at the left and outputs at the right, with the understanding that a schematic circuit drawing need not correspond to a specific physical layout.

[0127] FIG. 14A shows a symbol denoting a resource state generator (RSG) circuit 1400. As described above, an RSG circuit can be implemented using any circuit or device that produces a resource state encoded on photonic qubits. Examples include photonic/electronic circuits as well as devices that create a resource state encoded on a non-photonic system of physical qubits, then swap the quantum state onto photonic qubits. Other implementations of a resource state generator circuit may create an initial state in a non-photonic system of physical qubits, swap the initial state onto photonic qubits, then perform linear optical operations to create the resource state. Regardless of implementation, the outputs of RSG circuit 1400 are qubits, indicated by lines 1402; the number of outputs depends on the particular resource state. In embodiments described herein, it is assumed that the RSG circuit generates one resource state per clock cycle, and the length of a clock cycle can be defined based on the time required for one RSG circuit to generate one resource state. The time required can depend on the particular RSG circuit; for instance, an RSG circuit might generate a resource state in 1 ns (or 100 ns), and a clock cycle might be 1 ns (or 100 ns). In some embodiments, a clock cycle can be longer than the time required for an RSG circuit to generate one resource state; it is not required that RSGs operate at maximum speed. For purposes of the present description, it is assumed herein that RSG circuit 1400 outputs all qubits of a resource state in the same clock cycle; however, those skilled in the art with access to this disclosure will appreciate that the timing can be varied.

[0128] In circuit diagrams herein, any resource state generator circuit can be replaced by a resource state interconnect (RSI) circuit that receives resource states from an external source (which can include a resource state generator circuit) and provides the qubits of a resource states at its outputs at regular time intervals. An RSI circuit can be implemented using any circuit or components whose outputs are qubits of a resource state (which, as described above, is a quantum system of entangled qubits), with different output paths used to output different qubits of the resource state. An RSI circuit can be implemented as an input port that receives and distributes resource states that were generated in other hardware devices. For example, an RSI circuit can include a set of waveguides coupled at one end to an external circuit or component (not shown) that generates resource states and at the other end to output paths of the RSI circuit. Any combination of photonic waveguides formed in integrated circuits, optical fibers, other waveguides, and/or other optical interconnects can be used. An RSI circuit can receive resource states from an external circuit and route the qubits to respective output paths. In this manner, an RSI circuit can act as an input port for a circuit that operates on resources states, and generation of resource states can be performed in a separate external circuit coupled to the RSI circuit. In some embodiments, one or more circuits that produce resource states of photonic qubits can be implemented at a separate location from the RSI circuit(s), and the number of such circuits can be equal to or large than the number of RSI circuits. Switching circuits can be provided to selectably route a given resource state from the circuit where it is generated to a particular RSI circuit. A variety of circuits and couplings can be used, provided that each output path of the RSI circuit can provide a different qubit of the same resource state at regular intervals.

[0129] FIG. 14B shows a symbol denoting a type II fusion circuit 1405. A type II fusion circuit can be implemented, e.g., as described above with reference to FIGs. 9A and 9B. The inputs are two qubits (indicated by lines 1404). As described above, the type II fusion operation entails a destructive measurement on the two qubits. Type II fusion circuit 1405 can provide a classical output signal 1406, which can encode measurement data indicating the count of detected photons from each detector and/or other information (e.g., success or failure of the fusion operation).

[0130] FIG. 14C shows a symbol denoting a switching circuit 1410. Inputs and outputs to switching circuit 1410 can include any number of qubits (lines 1408), and the number of inputs need not equal the number of outputs (lines 1409). Switching circuit 1410 can incorporate any combination of one or more active optical switches, mode couplers, mode swap circuits, phase shifters, or the like. A switching circuit can be configured to perform an active operation that reconfigures input modes (e.g., to effect a basis change for a qubit by coupling the modes of the qubit), permutes input modes, and/or applies a phase to one or more of the input modes (which can affect subsequent coupling between modes). In some embodiments, operation of switching circuit 1410 can be controlled dynamically in response to a classical control signal 1411, the state of which can be determined based on results of previous operations, a particular computation to be performed, a configuration setting, timing counters (e.g., for periodic switching), or any other parameter or information.

[0131] FIG. 14D shows a symbol denoting a delay circuit 1415. A delay circuit delays propagation of a qubit (input 1412) for a fixed length of time, then outputs the qubit (output 1414). The length of time (in clock cycles) is indicated by a number: D = 1 indicates a delay of one clock cycle. A delay circuit can be implemented, e.g., by providing one or more suitable lengths of optical fiber, other waveguide material, nitride layers, memory, or the like, so that the photon of the delayed qubit travels a longer path than the photon of a non-delayed qubit.

[0132] FIG. 14E shows a symbol denoting a reconfigurable fusion circuit 1420. As shown, a reconfigurable fusion circuit includes a switching circuit 1410 followed by a fusion circuit 1405. A reconfigurable fusion circuit can support a configurable operation, e.g., a basis change or phase shift, applied by switching circuit 1410 prior to the fusion operation by fusion circuit 1405. As with other instances of switching circuit 1410, operation of the switching circuit 1410 within reconfigurable fusion circuit 1420 can be controlled dynamically in response to a classical control signal 1411. As with other instances of fusion circuit 1405, fusion circuit 1405 within reconfigurable fusion circuit 1420 can provide classical output signal 1406.

[0133] FIG. 14F shows a symbol denoting an offset reconfigurable fusion circuit 1425. As shown, the offset reconfigurable confusion circuit is similar to reconfigurable fusion circuit 1420, with the addition of a delay circuit 1415 to delay one of the inputs relative to the other by a specified number of clock cycles.. Offset reconfigurable fusion circuit 1425 may also be referred to as a “timelike” fusion circuit, a term that emphasizes the temporal aspect resulting from the delay circuit.

2.2.2. Networked generation of entanglement

[0134] In some embodiments, a set of networked RSG circuits can be provided, in which each RSG circuit provides one resource state that is fused with resource states from other RSG circuits to form a layer of an entanglement structure (e.g., as shown in FIGs. 11 A or 1 IB); the same RSG circuits can successively generate different layers for the entanglement structure. FIG. 15 shows a conceptual illustration of networked generation of a layer according to some embodiments. To support generation of a layer of size Z 2 , a corresponding number L 2 of RSG circuits 1502 is provided. In the simplified example used herein, L 2 = 16, but in practice L 2 can be much larger (e.g., ~10 2 , ~10 4 , ~10 6 ). In each clock cycle, enough resource states 1500 to form a complete two-dimensional (2D) layer of resource states can be generated. (In FIG. 15, each resource state 1500 is annotated with time “t = 1” to indicate that all are produced during the same clock cycle.) Spacelike fusion operations can be performed on qubits of neighboring resource states 1500 (e.g., as shown in FIGs. 11 A and 1 IB) using additional circuitry described below. A three-dimensional entanglement structure can be generated by using the same L 2 RSG circuits 1502 in different clock cycles to generate different layers of L 2 resource states, and timelike fusion operations can be performed on qubits of resource states 1500 in different layers (e.g., as shown in FIGs. 12A and 12B) using additional circuitry described below.

[0135] FIGs. 16A and 16B show schematic diagrams of a “fully networked” circuit for generating entanglement structures from resource states according to some embodiments. The circuit notation is as described above with reference to FIGs. 14A-14F except that, for clarity of illustration, classical inputs and outputs are not shown. FIG. 16A shows a representative network cell 1600, and FIG. 16B shows couplings among neighboring instances of network cell 1600 within a network 1650. As best seen in FIG. 16A, each network cell 1600 includes an RSG circuit 1502 that produces a resource state having six peripheral qubits (solid lines) and optionally one or more central qubits 1615, which (if present) is (are) not subject to fusion operations. For example, if RSG circuit 1502 produces resource state 1000 of FIG. 10 A, central qubit 1016 can be provided as central qubit 1615; however, if RSG circuit instead produces resource state 1040 of FIG. 10C, no central qubit 1615 is provided. RSG 1502 provides two peripheral qubits to neighboring network cells, as shown by “x- fusion” output path 1611 and “y- fusion” output path 1612. Network cell 1600 also receives qubits from two neighboring network cells. Specifically, input path 1611' couples to the x- fusion output path of network cell 1600' (as shown in FIG. 16B). Likewise, input path 1612" couples to the y- fusion output path of network cell 1600", which is the neighbor of network cell 1600 in the +y direction (as shown in FIG. 16B).

[0136] Each instance of network cell 1600 also includes a y+ reconfigurable fusion circuit 1620, an x+ reconfigurable fusion circuit 1630, and a z+/- offset reconfigurable fusion circuit 1640. The y+ reconfigurable fusion circuit 1620 couples the +y qubit of a “local” resource state generated by RSG circuit 1502 to the -y qubit of a “networked” resource state generated by the RSG circuit in the neighboring network cell 1600" in the +y direction. The x+ reconfigurable fusion circuit 1630 couples the +x qubit of the local resource state generated by RSG circuit 1502 to the -x qubit of a networked resource state produced by the neighboring network cell 1600' in the +x direction. The z+/- offset reconfigurable fusion circuit receives +z and -z qubits of the local resource state generated by RSG circuit 1502. The -z qubit is delayed by one clock cycle and fused with the +z qubit of the resource state generated by RSG circuit 1502 during the next clock cycle.

[0137] The connectivity shown in FIGs. 16A and 16B can be extended to any number of network cells, allowing layers of any size to be generated. (The size may be fixed in the hardware design.)

2.2.3. Rasterized generation of entanglement

[0138] Using fully networked RSG circuits to generate entanglement as described above provides fast computations but can be hardware intensive, particularly where the size (Z 2 ) of each layer is large. In addition, the maximum size of a layer may be constrained by the available hardware. Accordingly, some embodiments employ a reduced-hardware approach, referred to herein as “rasterized” generation of entanglement, in which one instance of an RSG circuit provides multiple resource states within a single layer. In one example of “fully rasterized” generation, a single instance of an RSG circuit can be used to generate entanglement structures with layers of arbitrary size, by providing appropriate delay and fusion circuits.

[0139] FIG. 17 shows a conceptual illustration of rasterized generation of a layer for an entanglement structure according to some embodiments. To support generation of a layer of size Z 2 , a single instance of an RSG circuit 1702 is provided. In the simplified examples used herein, Z 2 = 16, but in practice L 2 can be much larger (e.g., ~10 2 , ~10 4 , ~10 6 ). In each clock cycle, RSG circuit 1702 generates a single resource state, and enough resource states to form a complete 2D layer can be generated in Z 2 clock cycles. In this example, each instance of resource state 1700 is generated in a different clock cycle, and each instance of resource state 1700 is annotated with time “t = 1” to “t=l 6” to indicate the clock cycle during which each resource state 1700 is produced. Timelike fusion operations can be performed on qubits of neighboring resource states 1700 generated during different clock cycles (e.g., fusion operations as shown in FIGs. 11 A and 1 IB) using additional circuitry described below. A three-dimensional entanglement structure can be generated by using the same RSG circuit 1702 to repeat the process of generating L 2 resource states for each layer, and timelike fusion operations can be performed on qubits of resource states 1700 in different layers (e.g., fusion operations as shown in FIGs. 12A and 12B) using additional circuitry described below.

[0140] FIG. 18 shows a schematic diagram of a “fully rasterized” circuit 1800 for generating entanglement structures from resource states according to some embodiments. The circuit notation is as described above with reference to FIGs. 14A-14F except that, for clarity of illustration, classical inputs and outputs are not shown. RSG circuit 1702 produces a resource state having six peripheral qubits and optionally one or more central qubits 1815, which (if present) is (are) not subject to fusion operations. For example, if RSG circuit 1502 produces resource state 1000 of FIG. 10 A, central qubit 1016 can be provided as central qubit 1815; however, if RSG circuit instead produces resource state 1040 of FIG. 10C, no central qubit 1815 is provided. Offset reconfigurable fusion circuit 1852 delays the -x qubit of each resource state output from RSG circuit 1702 by 1 clock cycle, then passes the -x qubit through a configurable switching circuit together with the (undelayed) +x qubit of the resource state output from RSG circuit 1702 in the next clock cycle, after which a fusion operation is performed on the two qubits output from the switching circuit. Offset reconfigurable fusion circuit 1854 delays the -y qubit of each resource state output from RSG circuit 1702 by L clock cycles, then passes the -y qubit through a configurable switching circuit together with the (undelayed) +y qubit of the resource state output from RSG circuit 1702 L clock cycles later, after which a fusion operation is performed on the two qubits output from the switching circuit. Offset reconfigurable fusion circuit 1856 delays the -z qubit of each resource state output by RSG circuit 1702 by L 2 clock cycles, then passes the -z qubit through a configurable switching circuit together with the (undelayed) +z qubit of the resource state output from RSG circuit 1702 L 2 clock cycles later, after which a fusion operation is performed on the two qubits output from the switching circuit.

[0141] In this example, generation of resource states by fully rasterized circuit 1800 can be understood as proceeding along rows of a layer of resource states, as shown in FIG. 17. Resource state generation and fusion operations between qubits of neighboring resource states using offset reconfigurable fusion circuit 1852 proceed along the +x direction (in the entanglement geometry) for the length (/.) of one row of the layer. After completion of the first row, fully rasterized circuit 1800 continues to the next row in the +y direction, proceeding again along the +x direction to generate a second row and to perform fusion operations between (delayed) +y qubits from resource states of the first row and -y qubits from newly generated resource states of the second row using offset reconfigurable fusion circuit 1854, and so on until an entire layer is generated. Thereafter, the process can be repeated to generate a second layer and perform fusion operations between (delayed) +z qubits from resource states of the first layer and -z qubits from newly generated resource states of the second layer using offset reconfigurable fusion circuit 1856. Accordingly, any number of layers can be generated in a rasterized fashion. It should be understood that the term “rasterized” as used herein does not imply any particular physical arrangement of components, and rasterized circuit 1800 does not need to move at all in order to generate resource states corresponding to different positions in a layer. Instead, photons encoding qubits associated with different instances of resource state 1700 can propagate through the same set of waveguides at different times.

[0142] Referring again to FIG. 18, the switching circuits within offset reconfigurable fusion circuits 1852, 1854, and 1856 can be controlled to provide desired behavior at the boundaries of the array. For instance, in order to form a layer having a planar topology, the +x qubit of the resource state at the end of a given row should not be fused with the -x qubit of the next resource state (which is in a different row); instead, the +x qubit of the resource state and the end of each row and the -x qubit of the resource state at the beginning of each row may be removed from the system, which can be done, for example by measuring each qubit in the Z basis. Similar considerations apply in the y and z dimensions. Accordingly, in some embodiments, the switching circuits within offset reconfigurable fusion circuits 1852, 1854, and 1856 can be reconfigured to perform single-qubit Z measurements on the incident qubits during selected clock cycles (e.g., by selectably coupling the input modes to output modes that couple to photon detectors). For other layer topologies, different behavior can be implemented; examples are described below. In some embodiments, RSG circuit 1702 can be reconfigurable such that resource states at the end of rows do not include qubits that are not to be subject to fusion operations with qubits of other resource states.

[0143] It should be appreciated that circuit 1800 of FIG. 18 can be used to generate layers of any size. (In some embodiments, a maximum size may be fixed in the hardware design, e.g., by length of various delay lines.) A layer of size L 2 can be generated in L 2 clock cycles (assuming one resource state is produced during each clock cycle). It should also be noted that, since many photons can coexist in a delay line, as few as three physical delay lines (e.g., three optical fibers or other waveguides of lengths corresponding to delays of 1, L and L 2 clock cycles) are needed. More generally, the number of physical delay lines needed for a given implementation can depend on the particular structure of the resource state and dimensions of the layer. Accordingly, the hardware implementation using a fully rasterized circuit can be significantly smaller than the fully networked circuit describe above; however, the fully rasterized circuit requires a longer running time to generate and operate on a given number of resource states.

[0144] FIG. 19 shows a flow diagram of a process 1900 that can be implemented using circuit 1800 of FIG. 18 (or other circuits) according to some embodiments. Process 1900 can be performed during each clock cycle while an entanglement structure is being generated, or the duration of a clock cycle can be defined according to the time consumed in performing one iteration of process 1900. In this example, it is assumed that RSG circuit 1702 is used to generate each layer by generating one row, then the next row, and so on, as shown in FIG. 17. (As noted elsewhere in this description, it should be understood that terms such as “row,” “column,” and “layer” are used in reference to entanglement geometry, which need not correspond to a physical arrangement of qubits.)

[0145] At block 1902, RSG circuit 1702 (or other circuit) can be operated to generate a new resource state. In some embodiments, RSG circuit 1702 generates one new resource state for each clock cycle. At block 1904, a position (in entanglement space) of the new resource state within a layer of an entanglement structure is determined. For example, a rowposition counter can be incremented at each clock cycle to count positions within a row (e.g., from 1 to Z, where L corresponds to the size of a row) and reset at the end of each row, and a column-position counter can be incremented as each row is completed (e.g., every L clock cycles or when the row-position counter is reset) and reset when the layer is complete (e.g., after completing L rows). The current counter values can thus indicate the position of the new resource state within the layer. Other techniques for defining a current position in entanglement space can be used.

[0146] At block 1906, a determination is made as to whether the current position corresponds to the end of a row (e.g., whether the row-position counter has value Z). If not, then at block 1908, a first qubit of the new resource state is routed into an “0(1)” delay line that imposes a delay on the order of one clock cycle, such as the delay line of offset reconfigurable fusion circuit 1852 of FIG. 18. In some embodiments, the delay line can impose a delay of exactly one clock cycle. If, at block 1906, the current position corresponds to the end of a row, then at block 1910, layer-edge processing can be performed on the first qubit. In some embodiments, layer-edge processing can include performing a measurement on the first qubit that removes the first qubit from the system without destroying entanglement of other qubits. Other options for layer edge processing are described below.

[0147] At block 1916, a determination is made as to whether the current position corresponds to the beginning of a row (e.g., whether the row-position counter has value 1). If not, then at block 1918, a fusion operation is performed on the second qubit of the new resource state and a qubit output from the 0(1) delay line; for instance, offset reconfigurable fusion circuit 1852 can perform a fusion operation on the second qubit of the new resource state and the qubit that was routed into the 0(1) delay line of offset reconfigurable fusion circuit 1852 during the previous clock cycle. If, at block 1916, the current position corresponds to the beginning of a row, then at block 1920, layer-edge processing can be performed on the second qubit. In some embodiments, layer-edge processing can include performing a measurement on the second qubit that removes the second qubit from the system without destroying entanglement of other qubits. Other options for layer edge processing are described below.

[0148] At block 1926, a determination is made as to whether the current position corresponds to the last row of the layer (e.g., whether the column-position counter has value Z). If not, then at block 1928, a third qubit of the new resource state is routed into an “O(Z)” delay line that imposes a delay on the order of L clock cycles, such as the delay line of offset reconfigurable fusion circuit 1854 of FIG. 18. In some embodiments, the O(Z) delay line can impose a delay of exactly L clock cycles. If, at block 1926, the current position corresponds to the last row of the layer, then at block 1930, layer-edge processing can be performed on the third qubit. In some embodiments, layer-edge processing can include performing a measurement on the third qubit that removes the third qubit from the system without destroying entanglement of other qubits.

[0149] At block 1936, a determination is made as to whether the current position corresponds to the first row of the layer (e.g., whether the column-position counter has value 1). If not, then at block 1938, a fusion operation is performed on a fourth qubit of the new resource state and a qubit output from the O(Z) delay line. For instance, offset reconfigurable fusion circuit 1854 can perform a fusion operation on the second qubit of the new resource state and the qubit that was routed into the O(Z) delay line of offset reconfigurable fusion circuit 1854 during a clock cycle corresponding to the same position in a previous row. If, at block 1936, the current position corresponds to the first row of the layer, then at block 1940, layer-edge processing can be performed on the fourth qubit. In some embodiments, layeredge processing can include performing a measurement on the fourth qubit that removes the fourth qubit from the system without destroying entanglement of other qubits. Other options for layer edge processing are described below.

[0150] At block 1946, a fifth qubit of the new resource state can be routed into an “O(Z 2 )” delay line that imposes a delay on the order of L 2 clock cycles, such as the delay line of offset reconfigurable fusion circuit 1856 of FIG. 18. In some embodiments, the O(/. 2 ) delay line can impose a delay of exactly L 2 clock cycles.

[0151] At block 1956, a fusion operation can be performed on a sixth qubit of the new resource state and a qubit output from the O(/. 2 ) delay line. For instance, offset reconfigurable fusion circuit 1856 can perform a fusion operation on the second qubit of the new resource state and the qubit that was routed into the O(/. 2 ) delay line of offset reconfigurable fusion circuit 1856 during a clock cycle corresponding to the same position in a previous layer. In some embodiments, for clock cycles corresponding to generation of a first layer of an entanglement structure, the sixth qubit can instead be subject to a different operation, such as a measurement operation that removes the sixth qubit from the system without destroying entanglement of other qubits, or no operation.

[0152] Process 1900 is illustrative, and variations and modifications are possible. For instance, while the various decisions and routing operations are shown as sequential, some or all of these operations can be performed in parallel or in a different order from that described. Fusion operations can be replaced with other entangling measurement operations that create entanglement between two systems of qubits. The particular length of the various delay lines can be varied, and delay lines of different lengths can be used when generating different positions within a layer, depending on the desired entanglement structure. Process 1900 can be repeated for any number of clock cycles to generate an entanglement structure having any number of layers of any desired size. Layer-edge processing (also referred to herein as boundary processing) can include measuring the qubit at the edge (or boundary) of the layer. In some embodiments, layer-edge processing can also include performing fusion operations or other entangling operations on qubits at different edges of the same layer or qubits at the edges of different layers; examples are described below. 2.2.4. Hybrid generation of entanglement

[0153] Embodiments described in Sections 2.2.2 and 2.2.3 represent extreme examples of a design tradeoff between hardware size and computing speed. Other embodiments provide a “hybrid” approach to generating entanglement structures, thereby balancing between hardware size and computing speed. In the hybrid approach, a layer of resource states of size L 2 is generated using a number (TV) of RSG circuits, where N is greater than 1 but less than L 2 .

[0154] Two different example implementations of a hybrid approach will be described: “raster-based hybrid” circuits and “patch-based hybrid” circuits. In both implementations, a layer of resource states can be regarded as a two-dimensional array of “patches” of contiguous groupings of resource states. For example, if the layer is of size Z 2 , the layer can be regarded as a two-dimensional array of patches of size P 2 . In a raster-based hybrid approach, the number TV of RSG circuits can be N = L 2 IP 2 and each RSG circuit provides resource states for a different patch, allowing N patches to be generated in parallel; in some embodiments a layer can be completed in P 2 clock cycles. In a patch-based hybrid approach, the number TV of RSG circuits can be N = P 2 , and the RSG circuits are used together (similarly to the fully networked unit cells described in Section 2.2.2) to generate a patch in as little as one clock cycle; generation of the layer can be completed in N clock cycles.

[0155] Turning first to raster-based hybrid circuits, FIG. 20 shows a conceptual illustration of raster-based hybrid generation of an entanglement structure from resource states according to some embodiments. To support generation of a layer of size L 2 , a number N of RSG circuits 2002 is provided. In the simplified examples used herein, L 2 = 16 and N = 4, but in practice L 2 can be much larger (e.g., ~10 2 , ~10 4 , ~10 6 ). N can also be much larger (e.g., -100, -1000), and L 2 IN can be chosen as desired, depending on the desired balance between hardware size and speed of operation. In each clock cycle, each RSG circuit 2002 generates one instance of resource state 2000 so that a total of N resource states are generated. Enough resource states to complete 2D layer can be generated in L 2 IN clock cycles. In this example, each instance of resource state 2000 is annotated with time “t = 1” to “ t = 4” to indicate the clock cycle during which that instance of resource state 2000 is produced. In this example, one resource state 2000 is produced for each of four patches 2011-2014 during each clock cycle. Timelike fusion operations similar to those described in Section 2.2.3 above with reference to rasterized generation of a layer can be performed on qubits of neighboring resource states within the same one of patches 2011-2014, and additional fusion operations described below can be performed on qubits of neighboring resource states across patch boundaries (e.g., fusion operations as shown in FIGs. 11 A and 1 IB). A complete layer of size L 2 can be generated in L 2 IN clock cycles. A three-dimensional entanglement structure can be generated by using the same RSG circuits 2002 to repeat the process of generating patches for each layer, and timelike fusion operations can be performed on qubits of resource states 2000 in different layers (e.g., as shown in FIGs. 12A and 12B) using additional circuitry described below. A three-dimensional entanglement structure can be generated by using the same A RSG circuits 2002 to repeat the process of generating L 2 resource states for each, and timelike fusion operations can be performed on qubits of resource states 1700 in different layers (e.g., fusion operations as shown in FIGs. 12A and 12B) using additional circuitry described below.

[0156] FIG. 21 shows a schematic circuit diagram of a “raster-based” hybrid unit cell 2100 for generating entanglement structures from resource states according to some embodiments. The circuit notation is as described above with reference to FIGs. 14A-14F except that, for clarity of illustration, classical inputs and outputs are not shown. In this example, hybrid unit cell 2100 generates a contiguous patch of size N = P P (where P < E) over a series of P 2 clock cycles, and A instances of hybrid unit cell 2100 can be networked to generate a full layer of the LES. Accordingly, some aspects of hybrid unit cell 2100 can be similar to fully rasterized circuit 1800 described above while other aspects can be similar to fully networked cells 1600 described above. Each hybrid unit cell 2100 includes an RSG circuit 2002 that produces a resource state having six peripheral qubits and optionally one or more central qubits 2115, which (if present) is (are) not subject to fusion operations. For example, if RSG circuit 2002 produces resource state 1000 of FIG. 10 A, central qubit 1016 can be provided as central qubit 2115; however, if RSG circuit instead produces resource state 1040 of FIG. 10C, no central qubit 2115 is provided. Offset reconfigurable fusion circuits 2102, 2104, 2106 can operate similarly to offset reconfigurable fusion circuits 1852, 1854, 1856 of FIG. 18 to create entanglement between locally generated resource states within a patch. In addition, to create entanglement between the patch generated by hybrid unit cell 2100 and patches generated by neighboring instances of hybrid unit cell 2100, additional “networked” reconfigurable fusion circuits 2112, 2114 can be provided. Reconfigurable fusion circuits 2112, 2114 can operate similarly to reconfigurable fusion circuits 1620 and 1630 in network cell 1600 of FIG. 16A to perform fusion operations on a qubit of a locally generated resource state and a qubit of a networked resource state received from a neighboring instance of hybrid unit cell 2100. Routing switches 2116-2119 can be reconfigurable switching circuits that are operated to selectably route the +x, -x, +y, and -y qubits of a particular resource state to one of circuits 2102, 2104 (to be used in a fusion operation with a qubit of a different resource state generated by the same RSG circuit 2002) or to one of fusion circuits 2112, 2114 (to be used in a fusion operation with a qubit of a resource state generated by a neighboring instance of hybrid unit cell 2100).

[0157] To further illustrate operation of routing switches 2116, FIG. 22 shows a conceptual illustration of two adjacent patches 2202, 2204 according to some embodiments. Patches 2202, and 2204 are produced by two different instances of hybrid unit cell 2100. In this example, each instance of hybrid unit cell 2100 produces a patch of size P 2 = 9. Each instance of resource state 2210 in patch 2202 is labeled with a directional indicator (NW, N, NE, E, SE, S, SW, W, or C) to indicate position within the patch. Hybrid unit cell 2100 can generate the resource states in patch 2202 by proceeding across the bottom row in the +x direction, then proceeding across the next row in the +y direction, and so on. Routing switches 2116-2119 can be operated such that for resource state 2210(C), all x and y qubits are routed to “local” offset reconfigurable fusion circuits 2102, 2104 to be fused with qubits of other local resource states generated within hybrid unit cell 2100. For resource state 2210(E) of FIG. 22, routing switches 2116-2119 can be operated such that the +x qubit is routed to a networked reconfigurable fusion circuit 2112 to be fused with a -x qubit of a resource state generated within a neighboring instance of unit cell 2100 while all other x and y qubits are routed to local fusion circuits 2102, 2104. For resource state 2210(NE) of FIG. 22, routing switches 2116-2119 can be operated such that the +x and +y qubits are routed to networked fusion circuits 2112, 2114 to be fused with qubits of resource states from neighboring instances of unit cell 2100 while the -x and -y qubits are routed to local fusion circuits 2102, 2104. Similar logic applies to the other instances of resource state 2210 and can be extended to patches of any size. In this example, a given instance of unit cell 2100 generates the same patch within each layer, and routing switches for the z qubits are not needed because the +z and -z qubits can be always routed to offset reconfigurable fusion circuit 2106. It should be understood that this configuration is not required and that other embodiments of a hybrid unit cell may include routing switches for the z qubits.

[0158] In the embodiment of hybrid unit cell 2100 shown in FIG. 21, qubits that are provided to (or received from) neighboring unit cells are not subject to delay circuits. Accordingly, it may be desirable to coordinate the order in which resource states are generated in different unit cells so that a resource state having qubits that are provided to a neighboring unit cell as input to a networked fusion circuit 2112, 2114 are produced during the same clock cycle as the neighboring resource state(s). FIG. 23 shows an example of a coordinated order of generation of resource states for different patches 2301-2304 according to some embodiments. In this example, the size of each patch 2301-2304 is 4x4. Within each patch 2301-2304, numbers (1-16) show the order of resource state generation, and all resource states with the same number are generated in the same clock cycle. As can be seen, in every instance where a resource state in one patch is to be provided to a networked fusion circuit associated with an adjacent patch, both resource states (or all four resource states in the central location where patches 2301-2304 all adjoin) are generated in the same clock cycle. Accordingly, no position-dependent delay is needed in order to perform fusion operations on qubits of resource states generated in different patches. This principle can be extended to P P patches for any value of P and to any number of patches. In other embodiments, position-dependent delay circuits and switches can be provided to synchronize qubits between different patches.

[0159] FIG. 24 shows a flow diagram of a process that can be implemented using hybrid unit cells 2100 of FIG. 21 or similar circuits according to some embodiments. Process 2400 can be performed by each hybrid unit cell 2100 at each clock cycle while an entanglement structure is being generated, with different hybrid unit cells 2100 operating in parallel. In this example, it is assumed that hybrid unit cells 2100 are used to generate layers of an entanglement structure and that each hybrid unit cell generates a contiguous patch having dimensions P P within each layer. Each hybrid unit cell generates its patch by generating one row, then the next row, and so on (e.g., as shown for each of patches 2301-2304 in FIG. 23). (As noted elsewhere in this description, it should be understood that terms such as “row,” “column,” and “layer” are used in reference to entanglement space, which need not correspond to a physical arrangement of qubits or hybrid unit cells.)

[0160] At block 2402, RSG circuit 2002 (or other circuit) can be operated to generate a new resource state. In some embodiments, RSG circuit 2002 generates one new resource state for each clock cycle. At block 2404, a position of the new resource state within the patch being generated by the hybrid unit cell is determined. For example, a row-position counter can be incremented each clock cycle to count positions within a row (e.g., from 1 to , where P corresponds to the size of a row within a patch) and reset at the end of each row, and a column-position counter can be incremented as each row is completed (e.g., every P clock cycles) and reset when the patch is complete (e.g., after completing P rows). The current counter values can thus indicate the position of the new resource state within the patch. Other techniques for defining a current position in entanglement space can be used.

[0161] At block 2406, a determination is made as to whether the current position corresponds to the end of a row of the patch (e.g., whether the row-position counter has value P). If not, then at block 2408, a first qubit of the new resource state is routed into an 0(1) delay line that imposes a delay on the order of one clock cycle, such as the delay line of offset reconfigurable fusion circuit 2102 of FIG. 21. In some embodiments, the 0(1) delay line can impose a delay of exactly one clock cycle. If, at block 2406, the current position corresponds to the end of a row of the patch, then at block 2410, the first qubit can be routed (e.g., by operation of switch 2117 of FIG. 21) to a first neighboring unit cell.

[0162] At block 2416, a determination is made as to whether the current position corresponds to the beginning of a row of the patch (e.g., whether the row-position counter has value 1). If not, then at block 2418, a fusion operation is performed on the second qubit of the new resource state and a qubit output from the 0(1) delay line (which can be a qubit that was routed into the 0(1) delay line during a previous clock cycle), e.g., using offset reconfigurable fusion circuit 2102 of FIG. 21. If, at block 2416, the current position corresponds to the beginning of a row, then at block 2420, a fusion operation can be performed on the second qubit of the new resource state and a first networked qubit received from a second neighboring unit cell. Assuming the second neighboring unit cell is also performing process 2400, the first networked qubit can be a qubit that was routed from the second neighboring unit cell according to block 2410.

[0163] At block 2426, a determination is made as to whether the current position corresponds to the last row of the patch (e.g., whether the column-position counter has value P). If not, then at block 2428, a third qubit of the new resource state is routed into an O(P) delay line that imposes a delay on the order of P clock cycles. In some embodiments, the O(P) delay line can impose a delay of exactly P clock cycles. If, at block 2426, the current position corresponds to the last row of the patch, then at block 2430, the third qubit can be routed (e.g., by operation of switch 2118 of FIG. 21) to a third neighboring unit cell.

[0164] At block 2436, a determination is made as to whether the current position corresponds to the first row of the patch (e.g., whether the column-position counter has value 1). If not, then at block 2438, a fusion operation is performed on a fourth qubit of the new resource state and a qubit output from the O(P) delay line (which can be a qubit that was routed into the O(/ J ) delay line during a clock cycle corresponding to a position in a previous row). If, at block 2436, the current position corresponds to the first row of the patch, then at block 2440, a fusion operation can be performed on the fourth qubit of the new resource state and a second networked qubit received from a fourth neighboring unit cell. Assuming the fourth neighboring unit cell is also performing process 2400, the second networked qubit can be a qubit that was routed from the fourth neighboring unit cell according to block 2430.

[0165] At block 2446, a fifth qubit of the new resource state can be routed into an O( 2 ) delay line that imposes a delay on the order of P 2 clock cycles. In some embodiments, the O(/ j2 ) delay line can impose a delay of exactly P 2 clock cycles.

[0166] At block 2456, a fusion operation can be performed on a sixth qubit of the new resource state and a qubit output from the O(/ j2 ) delay line (which can be a qubit that was routed into the O(/ j2 ) delay line during a clock cycle corresponding to a position in a previous layer). In some embodiments, for clock cycles corresponding to generation of a first layer of an entanglement structure, the sixth qubit can instead be subject to a different operation, such as a measurement operation that removes the sixth qubit from the system without destroying entanglement of other qubits, or no operation.

[0167] Process 2400 is illustrative, and variations and modifications are possible. For instance, while the various decisions and routing operations are shown as sequential, some or all of these operations can be performed in parallel or in a different order from that described. Fusion operations can be replaced with other entangling measurement operations that create entanglement between two systems of qubits. The particular lengths of the various delay lines can be varied, and delay lines of different lengths can be used when generating different positions within a layer, depending on the desired entanglement structure. Process 2400 can be repeated for any number of clock cycles to generate an entanglement structure having any number of layers of any desired size. Further, process 2400 is described on the assumption that the unit cell executing process 2400 has four neighboring unit cells. However, this need not be the case for all unit cells (or indeed any unit cells). Accordingly, in any instance where process 2400 shows routing a qubit to a neighboring unit cell or performing an operation involving a networked qubit received from a neighboring unit cell, if an appropriate neighboring unit cell is absent, then layer-edge processing, e.g., as described above with reference to FIG. 19 or in examples below, can be substituted. [0168] As noted above, in a “patch-based” hybrid circuit, the number N of RSG circuits can be N = P 2 , and the resource states generated by the P 2 RSG circuits in a single clock cycle can form a (contiguous) patch of size P 2 within a layer of size L 2 . FIG. 25 shows a conceptual illustration of hybrid generation of a layer for an entanglement structure using a patch-based hybrid circuit according to some embodiments. To support generation of a layer of size Z 2 , a number N = P 2 of RSG circuits 2002 is provided. In the simplified examples used herein, L 2 = 16 and N= 4, but in practice L 2 can be much larger (e.g., ~10 2 , ~10 4 , ~10 6 ). N can also be much larger (e.g., -100, -1000), and P 2 can be chosen as desired, depending on the desired balance between hardware size and speed of operation. In each clock cycle, each RSG circuit 2502 generates one resource state 2500. (In FIG. 25, each resource state 2500 is annotated with time “t = 1” to “t = 4” to indicate which resource states 2500 are produced during each clock cycle.) As shown, patch 2511 is formed during a first clock cycle, patch 2512 during a second clock cycle, patch 2513 during a third clock cycle, and patch 2514 during a fourth clock cycle. Spacelike fusion operations can be performed on qubits of neighboring resource states 2500 within a patch (e.g., as shown in FIGs. 11 A and 1 IB) using additional circuitry, which can be similar or identical to the fully networked circuits of FIGs. 16A and 16B. Additional timelike fusion operations can be performed on qubits belonging to resource states in different patches, e.g., using delayed offset reconfigurable fusion circuits or other circuits to “stitch” the patches together, thereby forming a layer of size L 2 . Examples of circuits implementing fusion operations to stitch patches together into a layer are described in Section 3.3 below.

[0169] In the hybrid embodiments described above, each hybrid unit cell has its own dedicated RSG circuit. In some embodiments, operation of an RSG circuit is non- deterministic, meaning that a given instance of an RSG circuit is not expected to produce the desired resource state in every clock cycle. Accordingly, rather than a dedicated RSG circuit for each hybrid unit cell, some embodiments can provide a number (M) of RSG circuits, where M > N and is chosen to provide a sufficiently high probability that at least N resource states will be generated during a given clock cycle. (“Sufficiently high probability” in a given implementation can be determined based on the particular implementation of fault tolerance.) Active multiplexing techniques, examples of which are known in the art, can be used to select A of the RSG circuits on each clock cycle to deliver resource states to N different instances of the switching and fusion circuits of a hybrid unit cell. Thus, each hybrid unit cell can but need not have its own dedicated instance(s) of an RSG circuit. [0170] It should be appreciated that an array of hybrid unit cells as shown in FIG. 21 can be used to generate entanglement structures of any size. (In some embodiments, the size may be fixed in the hardware design.) Different choices of number of RSG circuits (N) relative to layer size (A 2 ) will result in different computation times, and choices can be made to achieve a desired balance between hardware size and computational speed.

[0171] The foregoing examples of entanglement generation circuits and processes are illustrative and can be modified as desired. The use of directional labels (e.g., x, y, z, NE, SE, SW, NW, and the like ) is for convenience of description and should be understood as referring to entanglement space, not as requiring or imply a particular physical arrangement of components or physical qubits. All numerical examples are for purposes of illustration and can be modified. In addition, while layers and patches are described with reference to square numbers, it should be understood that non-square layers and/or non-square patches can also be used. For example, patches or layers can be rectangular. Triangular patches or layers (or patches or layers having other shapes) can also be generated, e.g., by varying the number of resource states per row. Further, while examples described above assume that all instances of a resource state have the same entanglement pattern, such uniformity is not required. For instance, in some embodiments, a RSG circuit can be reconfigurable to generate resource states having different entanglement patterns in different clock cycles. In addition, the RSG circuit(s) may operate in a non-deterministic manner, and this may introduce stochastic variation among resource states.

3. Interleaved generation of entanglement structures

[0172] Embodiments described in Section 2 support generation of entanglement structures across time. As noted above, entanglement structures can be used as logical qubits (e.g., for fault-tolerant quantum computing). In some instances, it is desirable to generate multiple entanglement structures concurrently (e.g., so that two or more logical qubits can be coupled together). One option is to provide separate hardware instances for each entanglement structure. Alternatively, some embodiments support interleaved generation of multiple entanglement structures using the same hardware.

3.1.Overview of LES generation

[0173] In some embodiments, the entanglement structure can include an LES as described above with reference to FIG. 13. FIG. 26 shows a temporal diagram of generating a photonic LES according to some embodiments. The photonic LES in this example is simplified but is similar to LESes that can be used as logical qubits. FIG. 26 should be understood as a diagram in entanglement space. For clarity of illustration, only y (“space”) and z (“time”) dimensions are shown so that each layer is one-dimensional; however, it should be understood that each layer can be two-dimensional or higher dimensional (in entanglement space). For convenience of description, a time step of duration T is defined; for instance, the tine step can correspond to a clock cycle (or the amount of time to generate a layer of resource states). The qubits are implemented as photons that propagate through waveguides, and at any given time photons can be present at multiple locations along a given waveguide. Accordingly, FIG. 26 can be understood as either a snapshot view showing locations of many different (physical) qubits at a single time or as a time-lapse view showing locations of the same (physical) qubits at different points in time.

[0174] Block 2600 represents resource state generators 2601 producing a complete layer of resource states 2603 (at time step 2602). In this example, it is assumed that resource states 2603 include central qubits that form an LES. In some embodiments, fully networked circuits (e.g., as described in Section 2.2.2) can be used, and time step T can correspond to a clock cycle. In other embodiments, rasterized or hybrid network/rasterized circuits (e.g., as described in Sections 2.2.3 and 2.2.4) can be substituted, and time step T can correspond to the time needed to generate all of the resource states for a layer (e.g., L 2 clock cycles or L 2 IN clock cycles). At time step 2604, fusion operations occur, including spacelike fusion operations 2606 on neighboring physical qubits in the y dimension (and the x dimension, not shown) and timelike fusion operations 2608 to fuse neighboring qubits in successive layers. Optionally, detectors 2610 can be applied at the edges to perform a Z measurement on a peripheral qubit of the resource state at the boundary of the layer, thereby removing it from the system. At time step 2612 (and for an arbitrary number of time steps thereafter), the LES can persist pending a subsequent operation. In the examples shown, the subsequent operation includes measurement operations on the qubits of the LES using detectors 2614; however, any subsequent operation performed on a LES can be independent of how the LES is generated, and a LES generated in the manner depicted in FIG. 26 can be used in a variety of operations.

[0175] FIG. 27 shows a simplified conceptual diagram of a linear optical circuit implementing the behavior of FIG. 26 according to some embodiments. For clarity of illustration, only y (“space”) and z (“time”) axes are shown; however, it should be understood that each layer can be two-dimensional (in entanglement space). At time t = 0, each resource state generator 2702 outputs a resource state 2704, e.g., as described above. In this example, each resource state 2704 is shown as having five qubits (dots), including one central qubit 2706 that propagates, and peripheral qubits associated with the +y, -y, +z, and -z dimensions. Entanglement is indicated by curved lines connecting the qubits, while straight lines indicate waveguides (or groups of waveguides on which each qubit is encoded). (Although not shown, it should be understood that resource states 2704 can also include peripheral qubits associated with the +x and -x dimensions.) Between time t = 0 and t = T, fusion circuits 2706 (which can be, e.g., reconfigurable type II fusion circuits as described above) perform fusion operations on peripheral qubits of neighboring resource states along the y dimension, and delay circuit 2708 delays the -z qubit of each resource state by one time step. Detectors 2710 operate at the layer boundaries to remove peripheral qubits at the edges of each layers. Between time t = T and t = 2T, fusion circuits 2712 (e.g., offset fusion circuits as described above) fuse the delayed -z qubit with the +z qubit produced by the same RSG 2702 one time step later. After time t = 2T, the qubits of the LES can propagate through additional delay circuits 2714, ultimately reaching detectors 2720 (or another subsequent operation). Any number of delay circuits 2714 can be introduced, depending on the desired longevity of the LES.

3.2.Temporal interleaving to generate multiple entanglement structures

[0176] In the examples of FIGs. 26 and 27, a single LES is generated using the circuitry shown in FIG. 27. While only a single 2-dimensional portion of the LES is shown in FIGs. 26-27, one of ordinary skill having the benefit of this disclosure will appreciate that a system that includes additional rows of RSG circuits that may be arranged in the x-direction (into or out of the page) could generate a 3 -dimensional LES that can be used for fault-tolerant quantum computing. In addition, spacelike fusions shown in FIGs. 26 and 27 can be replaced by timelike fusions, and the rasterized and hybrid circuits described above can also be used to generate LESes.

[0177] In some cases, it may be desirable to use the same circuitry to provide multiple entanglement structures (including but not limited to LESes) that coexist in time (in the sense that photons of both entanglement structures are in flight, e.g., within one or more delay lines, at the same time). According to some embodiments, coexistence of multiple entanglement structures can be provided by “interleaving” the generation of layers of different entanglement structures. [0178] FIG. 28 shows a conceptual illustration of interleaved generation of two entanglement structures (in this case LESes) according to some embodiments. Using techniques described above (or other techniques), layers 2802a of entangled qubits can be generated, after which qubits from different layers 2802a can be entangled (using operations such as fusion operations as described above) to produce a first LES 2804a. Similarly, layers 2802b can be generated and qubits from different layers 2802b can be entangled to produce a second LES 2804b. (Different line styles are used for LES 2804a and LES 2804b to aid in visualization.) It should be understood that, while each LES 2804a, 2804b is shown as having five layers, an LES may have any number of layers.

[0179] Interleaved generation of two LESes can involve using the same hardware to generate layers of both LESes, for instance in an alternating manner. In some embodiments, layer-generating hardware 2810 (which can be implemented using various circuits as described above), can be used to generate a layer 2802a or 2802b at each of a series of time interval. Entanglement can be created between layers generated during alternate time periods (by performing fusion operations as described above or other entanglement-creating operations), as indicated by dotted arcs 2815, while entanglement is not created between layers generated during consecutive time periods. The result is, in terms of entanglement topology, identical to LESes 2804a, 2804b, as indicated by mapping arrows 2817.

[0180] FIG. 29 shows a temporal diagram of generating two interleaved LESes (and optionally entangling the two interleaved LESes with each other at the boundaries) using a single set of resource state generators and downstream circuitry according to some embodiments. FIG. 29 is similar in many respects to FIG. 26. For instance, only y and z dimensions are shown; however, it should be understood that each layer of an LES can be two-dimensional (in entanglement space). Similarly to FIG. 26, FIG. 29 can be understood as a snapshot view or as a time-lapse view.

[0181] Block 2900 represents resource state generators 2901 producing a complete set of resource states (at time step 2902) for a layer of a LES. As with FIG. 26, various techniques can be used to generate resource states for a layer, and time step T can be defined accordingly. At time step 2904, spacelike fusions 2906 occur to fuse neighboring physical qubits in the y dimension (and the x dimension, not shown).

[0182] Unlike FIG. 26, in this example, the resource states generated at alternate time steps are associated with two different LESes. To show the association of qubits with LESes, qubits are color coded (gray circles for qubits associated with LES A, white for qubits associated with LES B). Accordingly, timelike fusions 2908 fuse two qubits from resource states that were generated two time steps apart. At the edges of the layer, boundary qubits can be removed using detector 2910. Alternatively, fusion circuit 2912 can fuse a peripheral qubit of a layer of LES B with a previously generated peripheral qubit of a layer of LES A to “stitch” the LESes together at the boundary, as described below. At time step 2914 (and for an arbitrary number of time steps thereafter), the LESes persist until a subsequent operation, which in this example includes measurement using detectors 2916.

[0183] FIG. 30 shows a simplified conceptual diagram of a linear optical circuit implementing the behavior of FIG. 29 according to some embodiments, using a notation similar to FIG. 27. At time t = 0, resource state generators 3002 output resource states 3004, e.g., as described above. In this example, each resource state 3004 is shown as having five qubits, including one central qubit that propagates, and peripheral qubits associated with the +y, -y, +z, and -z dimensions. (Although not shown, it should be understood that resource states 2704 can also include peripheral qubits associated with the +x and -x dimensions.) Between time t = 0 and t = T, fusion circuits 3006 perform fusion operations on peripheral qubits of neighboring resource states along the y dimension, and delay circuit 3008 delays the — z peripheral qubit of each resource state by one time step. Between time t = T and t = 2T, a second delay circuit 3008' delays the -z peripheral qubit of each resource state by another time step.

[0184] Between time t = 2T and t = 3T, a fusion circuits 3012 (e.g., offset fusion circuits as described above) perform fusion operations on the delayed (by 2T) -Z qubit and the +z qubit produced by the same RSG 3002 two time steps later. In this manner, entanglement can be created between layers of an LES formed during alternating time steps, thereby allowing the same hardware to generate two LESes via temporal interleaving.

[0185] After time t = 3T, the physical qubits that constitute the two LESes can propagate through additional delay circuits 3014, ultimately reaching detectors 3020 (or some other subsequent operation). Any number of delay circuits 3014 can be introduced, depending on the desired longevity of the LESes.

[0186] In some embodiments, various boundary operations can be performed on boundary qubits of the layers using a configurable boundary circuit 3030, shown as operating between time t = 0 and t = 2T. Configurable boundary circuit 3030 includes a switch 3032 (similar to active switches described above) that can direct a qubit into either a detector 3034 or an offset reconfigurable fusion circuit 3036. For a given time step, if switch 3032 selects detector 3034, the boundary qubit is removed from the layer that is currently propagating between t = 0 and t = 2T. If switch 3032 instead selects offset reconfigurable fusion circuit 3036, then during a first time period, a peripheral qubit associated with a layer of one LES (LES A in this example) is delayed by delay circuit 3038 and in the next time period a peripheral qubit associated with a layer of the other LES (LES B in this example) is received, and offset reconfigurable fusion circuit 3036 performs a fusion operation on the received qubit and the delayed qubit. The operation performed by offset reconfigurable fusion circuit 3036 is also referred to as “boundary stitching.” In some embodiments, boundary stitching can be used to stitch patches generated during different time periods (e.g., patches generated using the patch-based hybrid approach of FIG. 25) together to form a larger layer.

[0187] It should be understood that these examples are illustrative and not limiting. Interleaving techniques are not limited to creation of LESes; similar techniques can be used where the entanglement structure is generated from resource states having no central qubits, to allow multiple entanglement structures to coexist in time or to support generation of an entanglement structure having larger layers and/or nonplanar layer topologies, examples of which are described below. The interleaving techniques described herein can be modified to provide any number of concurrent entanglement structures (2 or 3 or more), and the size of the entanglement structures can be chosen as desired. The layers of resource states used for interleaving can be generated using any of the networked, rasterized, or hybrid approaches described above, and the same RSG circuits can be used to generate the resource states for all of the entanglement structures that are being interleaved. In some embodiments, the RSG circuits can be reconfigurable so that different entanglement structures or different layers within a single entanglement structure can have entanglement geometries that differ from each other. In addition, where interleaving generates multiple entanglement structures, the different concurrently existing entanglement structures can be selectively entangled with each other using additional circuits.

3.3.Lattice Surgery

[0188] In addition to or instead of interleaved generation of multiple LESes, configurable boundary circuit 3030 and similar circuits can allow entanglement structures with a variety of layer topologies to be constructed by selectively performing fusion operations (or not) on qubits at the boundaries of the layers. Such selective boundary fusion is also referred to herein as “lattice surgery.” For instance, in some embodiments, switch 3032 can be dynamically configured for each pair of time periods to support couplings (or absence of couplings between layers), also referred to as “boundary stitching.” By way of example, FIG. 31 shows a conceptual illustration of two LESes 3102, 3104 coexisting in time. As in FIGs. 26 and 27, only a y dimension (vertical axis, labeled as “space” and z dimension (horizontal axis, labeled as “time”) are shown, although it should be understood that each LES can be three-dimensional. A first LES 3102 and a second LES 3104 overlap in time.. Layers (shown as columns since only the y dimension is shown) of LESes 3102 and 3104 can be temporally offset from each other as indicated by the temporal offset of the physical qubits. For instance, the layers can be generated using interleaving techniques. In some embodiments, temporal offset can be created by generating physical qubits for LESes 3102 and 3104 during alternating time periods T. Thus, as described above, the same hardware can be used to generate both LESes. In the example shown in FIG. 31, the first column of LES 3102 can be generated and those photons sent into a delay line. Then the first column of LES 3104 can be generated and sent into a different (or the same) delay line. Then the second column of LES 3102 can be generated and subsequently fused with the first column of LES 3102 (but not fused with the first column of LES 3104) that was being stored in the delay line, and so on. While FIGS. 31-33 show LES 2152 and LES 3104 offset in the y-direction relative to each other, it will be appreciated that interleaving allows for the same set of physical resource state generators to be generating the resource states, e.g., in alternating clock cycles, necessary to generate the respective LESes.

[0189] In some embodiments, LESes 3102 and 3104 can be coupled together, e.g., to create a single LES with a larger layer. For instance, FIG. 32 shows a conceptual illustration of “stitching” of LESes 3102 and 3104 at the boundary to form a single LES with a larger layer size, e.g., by performing fusion operations between boundary qubits at one side of the boundary of each layer. This technique can be used, for example to stitch together patches generated in a hybrid circuit at different times or to increase the size of a layer by stitching layers together.

[0190] FIG. 33 shows a conceptual illustration of selective lattice surgery, in which LESes 3102 and 3104 are selectively entangled along the boundaries of some layers but not others. Such configurations can be produced by controlling configurable boundary circuit 3030 on a per-clock-cycle basis. [0191] In a scenario where LES 3102 and 3104 are three dimensional LESes that represent different logical qubits, the lattice surgery disclosed herein could be used to implement two- qubit logical gates between the logical qubits encoded within LES 3102 and 3104. When gates need to be applied between the interleaved logical qubits, the appropriate lattice surgery can be applied, either by altering the type of resources states being generated or by altering the types of measurements made on the individual physical qubits of the LESes. Other applications of lattice surgery are also possible. In some embodiments, fusion circuits at the boundary can be reconfigurable to change the type of lattice surgery operation.

[0192] It should also be understood that, while a simple LES is used for purposes of illustration, interleaving, boundary stitching and lattice surgery are not limited to the context of forming LESes. Any entanglement structure that can be generated from layers of resource states (including entanglement structures with no central qubits) can have its layers interleaved with one or more other entanglement structures generated in the same manner, and boundary stitching and/or lattice surgery can be performed between layers of such structures.

3.4.Interleaving to configure layer topologies

[0193] In some embodiments, temporal interleaving techniques can be used to generate an entanglement structure with layers having a variety of topologies, depending on how the boundary qubits are coupled. For example, a single “folded” layer can be generated by generating two layers on successive clock cycles and stitching the layers together at the boundary using a fusion circuit, as shown in FIG. 29. FIGs. 34A-34D show a conceptual illustration of using interleaving to create a three-dimensional entanglement topology having folded layers according to some embodiments. FIG. 34A shows a layer 3400 in an xy plane in entanglement space. Layer 3400 can be a layer of resource states that have been entangled with each other using fusion operations as described above. Any of the techniques described in Section 2 or other techniques can be used to create layer 3400. FIG. 34B illustrates a “folded” topology 3410 that can be created for layer 3400. FIG. 34C illustrates an interleaving technique that can be used to create a three-dimensional entanglement structure with layers having a folded topology 3410. In FIG. 34C, time runs along the z-axis (vertical on the page). Four layers (or patches) 3411, 3412, 3413, 3414, each of which can be a portion of layer 3400, are shown in the xy plane. Each of layers (or patches 3411, 3412, 3413, 3414) can be generated by the same hardware during a different time period T. Entanglement is created between qubits of alternating layers. For instance, as indicated by vertical lines 3420, some or all qubits of layer 3411 can be entangled with corresponding qubits of layer 3413, and as indicated by vertical lines 3422, some or all qubits of layer 3412 can be entangled with corresponding qubits of layer 3414. Fusion operations on qubits in alternating layers (time interval 2T) can be performed, e.g., using the delay circuitry of FIG. 30.

[0194] In addition, pairs of consecutively-generated layers are “stitched” together at the boundaries, as indicated by curved lines 3416, 3418. Stitching can be implemented by creating entanglement at an edge of the layers, e.g., by performing fusion operations on boundary qubits of two layers using offset fusion circuit 3036 of FIG. 30 or similar circuits. As indicated by lines 3416, consecutively-generated layers 3411 and 3412 are stitched together, and as indicated by lines 3418, consecutively-generated layers 3413, 3414 are stitched together. FIG. 34D shows an “unfolded” view of the entanglement structure of FIG. 34C

[0195] Accordingly, in some embodiments, the folded entanglement structure of FIG. 34C (or FIG. 32) can be understood as a single layer of an entanglement structure that is generated using patch-based hybrid raster/networked RSG circuits, similar to examples described above with reference to FIG. 25. For instance, in embodiments described with reference to FIG. 25, a set of P 2 RSG circuit can generate a patch of P 2 contiguous resource states in one clock cycle. In some embodiments the patches generated during different clock cycles can be stitched together at the boundaries, and interleaving techniques can be used to form larger layers in the manner shown in FIGs. 34C and 34D. In the example shown in FIGs. 34C and 34D, each patch is of size Zx(Z/2). However, smaller patches can be used. The size of a patch can be less than L in both (spatial) dimensions if fusion circuits are provided to perform stitching between patches along both spatial boundaries. Further, where there are more than two patches per layer, the delay associated with fusion operations between qubits of different layers can be adjusted appropriately to account for the number of patches per layer.

[0196] FIGs. 34A-34D show an entanglement structure having a planar layer topology, but other layer topologies can also be created using folding techniques. FIGs. 35 A -35C are conceptual illustrations of using folding techniques to create a periodic boundary condition for a layer of an entanglement structure according to some embodiments. FIG. 35 A shows a layer 3500 as a rectangle in the xy plane. FIG. 35B shows a cylindrical layer topology that can be created by performing fusion operations on boundary qubits at the +x boundary 3502 and corresponding qubits at the -x boundary 3504 of layer 3500, as indicated by curved lines 3510. As another example, FIG. 35C shows an interleaving technique that can be used to form a cylindrical layer topology by forming two layers 3522, 3524 and performing fusion operations on corresponding boundary qubits at the +x boundary (as indicted by curved lines 3526) and on corresponding boundary qubits at the -x boundary (as indicated by curved lines 3528).

[0197] FIGs. 36A-36D are conceptual illustrations of using folding techniques to create a more complex periodic boundary condition for a layer of an entanglement structure according to some embodiments. FIG. 36A shows a layer 3600 of an entanglement structure, with boundaries 3602, 3603, 3604, 3605, which can be folded to create a layer of an entanglement structure with a toroidal topology. Specifically, as shown in FIG. 36B, boundaries 3604, 3605 are coupled to each other (similarly to the cylindrical topology of FIG. 35 A), and as shown in FIG. 36C, boundaries 3602, 3603 are also coupled to each other, thereby forming a torus. FIG. 36D shows an interleaving technique that can be used to create a layer having toroidal topology by selectively coupling boundaries along different dimensions of the layers. As in FIG. 34C, time runs along the z-axis (vertical on the page), and the layers are shown as rectangles in the xy plane. Four layers 3621, 3622, 3623, 3624 are generated. At the boundaries, the layers are stitched together (e.g., using timelike fusion). The particular pattern of timelike fusions is indicated by the curved lines 3631 (between layers 3621 and 3624), 3632 (between layers 3622 and 3623), 3633 (between layers 3621 and 3622), and 3634 (between layers 3623 and 3624) and involves variable delays of up to 4T (depending on which layers are being fused). The variable delay length can be implemented using active switches and multiple delay circuits, similarly to FIG. 30.

[0198] FIGs. 37A-37D are conceptual illustrations of using techniques described herein to create a diagonal folding for a layer of an entanglement structure according to some embodiments. FIG. 37A shows a layer 3700 of an entanglement structure having a +x boundary 3702 and a -y boundary 3704. In this example, layer 3700 is a square layer. In some embodiments, layer 3700 can be created with a diagonal fold, as shown in FIG. 37B. For example, as shown in FIG. 37C, four triangular patches 3711, 3712, 3713, and 3714 can be generated during four different time steps (each time step can be a clock cycle or a longer time step). Successive patches 3711, 3712 are stitched together at the diagonal boundary (as indicated by curved line 3721 to form a first square layer, and successive patches 3713, 3714 are stitched together at the diagonal boundary as indicated by curved line 3722 to form a second square layer. Entanglement between corresponding locations in the first and second layers can be created as indicated by lines 3724 (representing entanglement between patch 3711 of the first square layer and patch 3713 of the second square layer) and 3726 (representing entanglement between patch 3712 of the first square layer and patch 3714 of the second square layer). In some embodiments, a triangular patch can be generated using a network of unit cells with different numbers of unit cells corresponding to different rows or using a rasterized unit cell that generates a varying number of resource states per row. Further, a square network of unit cells or a rasterized unit cell that generates a fixed number of resource states per row can be used to concurrently generate triangular patches for two different structures that may subsequently be entangled with each other (e.g., by appropriately configuring the x-dimension and y-dimension fusion circuits). In some embodiments, diagonal folding of the layers can support logical operations that may be implemented using fusion operations on pairs of qubits that are close in space and time, or logical operations may be performed between multiple logical qubits by performing fusion operations on pairs of qubits that are close in space and time as a result of the diagonally folded layer topology. For example, FIG. 37D shows an example of fusion between qubits (indicated by lines 3734) in different portions of a diagonally folded layer made from triangular patches 3731, 3732. In some embodiments, fusion operations of this kind can be used to implement a transversal gate.

[0199] These examples of layer topologies are illustrative. It should be understood that a variety of layer topologies can be generated, not limited to the examples shown. Further, generation of multiple entanglement structures can be performed using interleaving techniques regardless of the layer topology of any particular entanglement structure.

4. Implementing Quantum Computing Operations

[0200] Quantum computing operations using entanglement structures generated in the manner described above can be implemented using various techniques. One approach is to modify the resource states (and therefore the entanglement geometry) based on the computation to be performed. For example, resource states at different positions in a 2D layer may be generated with different entanglement geometries. In some embodiments, the RSG circuits can be dynamically reconfigurable to allow resource states with different entanglement geometries to be generated. [0201] Another approach involves modifying the fusion operations when resource states are fused together. For example, using reconfigurable fusion circuits as described above with reference to FIG. 14E, MZI circuits with variable phase shifts (e.g., as described in Section 1.3 above) can be applied selectively to different qubits (or to individual modes) prior to fusion, thereby allowing different quantum logic operations to be implemented. In various embodiments, these approaches can be combined.

5. Example Quantum Computer Systems

[0202] FIG. 38 shows an example system architecture for a quantum computer system 3800 that can implement MBQC or FBQC according to some embodiments. Using photonic physical qubits, some embodiments of quantum computer system 3800 can generate a fault- tolerant cluster state that can be used to represent logical qubits for MBQC; other embodiments of quantum computer system 3800 can generate measurement data reflecting entanglement structures for fault-tolerant FBQC. System 3800 includes resource state generator(s) 3802, delay circuits 3804, switch circuits 3806, detectors 3808, and a classical processing unit 3810.

[0203] Resource state generators 3802 can include a single instance of a resource state generator circuit as described above or multiple instances. The RSG circuit(s) can be autonomously operated, with no data input required, and each RSG circuit can generate one resource state per clock cycle (which can be, e.g., ~1 ns or longer). Any of the resource states described above or other resource states can be generated. The resource state can be output on optical fibers (or other waveguides) 3820, e.g., at a rate of n*N photons per clock cycle where n is the number of qubits in each resource state and N is the number of instances of the RSG circuit. Resource state generator unit 3802 can also send classical data output (e.g., indicating success or failure of various elements of the resource state generation process) to classical processing unit 3810 via data path 3822. In some embodiments, resource state generator unit 3802 can be maintained at cryogenic temperatures (e.g., 4 K). Delay circuit 3804 can include optical fibers, other waveguides, optical memory or other components to delay photons corresponding to particular qubits by appropriate delay time, e.g., delay times of 1 clock cycle, L clock cycles, and L 2 clock cycles as described above. As described above, in some embodiments, only one delay line of each duration is needed to implement rasterized generation of a logical qubit. Delay circuits 3804 need not operate at cryogenic temperatures. Photons exiting delay circuit 3804 can be delivered to switch circuits 3806 via waveguides 3824, which can be optical fibers, on-chip waveguides, or any other type of waveguide. [0204] Switch circuits 3806 can include active switches and waveguides to perform mode coupling, mode swapping, and phase shift operations on the qubits. In various embodiments, switch circuits 3806 can perform mode coupling operations associated with fusion operations (e.g., type II fusion operations as described above with reference in FIG. 9A) and/or basis selection operations associated with measurement of individual qubits. In some embodiments, switch circuits 3806 can be dynamically reconfigurable in response to control signals from classical processor 3810, and quantum computer 3800 can perform different computations by reconfiguring switches in switch circuit 3806. In some embodiments, switch circuits 3806 can implement all of the reconfigurable switches and mode couplers for the reconfigurable fusion circuits used in examples above. Switching circuits 3806 deliver output photons to detectors 3808 via waveguides 3828, which can be optical fibers, on-chip waveguides, or any other type of waveguide.

[0205] Detectors 3808 can include photonic detectors capable of detecting photons in a waveguide. Each photonic detector is coupled to one waveguide and generates an output (classical) signal indicating whether a photon was detected. In some embodiments, some or all of the photonic detectors can be capable of counting photons, and the output signal from each photonic detector can include the number of photons detected by that photonic detector. In some embodiments, detectors 3808 may operate at cryogenic temperatures. Detectors 3808 can provide classical output signals indicating the number of photons (or binary signals indicating whether a photon was detected) to classical processing unit 3810 via signal path 3830.

[0206] Classical processing unit 3810 can be a classical computer system that is capable of communicating with resource state generator(s) 3802, switch circuits 3806, and detectors 3808 using classical digital logic signals. In some embodiments, classical processing unit 3810 can determine appropriate settings for switch circuits 3806 based on a particular quantum computation (or program) to be executed. Classical processing unit 3810 can receive feedback signals (e.g., measurement outcomes) from resource state generator(s) 3802 and detectors 3808 and can determine the result of the computation based on the feedback signals. In some embodiments, classical processing unit 3810 can use the feedback signals to modify subsequent control signals sent to switch circuits 3806. Operation of classical processing unit 3810 may incorporate error correction algorithms and other techniques. [0207] System 3800 of FIG. 38 is illustrative, and variations and modifications are possible. Blocks shown separately can be combined, or a single block can be implemented using multiple distinct components. Resource state generator(s) 3802, delay circuits 3804, switch circuits 3806, and detectors 3808 can implement the circuits descried above for generating entanglement structures. For instance, delay circuits 3804 can implement all of the delay line portions of the offset reconfigurable fusion circuits described above, while switch circuits 3806 can implement the reconfigurable switches and mode couplers associated with reconfigurable fusion and detectors 3810 can implement the destructive measurements associated with fusion operations. In some embodiments, generating the entanglement structure can include producing an LES on which measurements of individual qubits can be made to implement MBQC. In other embodiments, generating the entanglement structure can include performing fusion operations on qubits of resource states (e.g., as described above) with the measurement results obtained in the fusion operations provided to classical processing unit 3810, thereby implementing FBQC.

[0208] System 3800 is just one example of a quantum computer systems that can incorporate rasterization and/or interleaving techniques as described herein to generate one or more logical qubits or other cluster states or other entanglement structures, and those skilled in the art with access to this disclosure will appreciate that many different systems can be implemented.

6. Fusion-Based Quantum Repeater Circuits and Methods

[0209] In some embodiments, entanglement generating circuits of the kind described above can be deployed to provide a fusion-based quantum repeater for use in quantum communication. One challenge for quantum communication is that entangled quantum states can be fragile, and quantum repeaters can help to preserve an entangled state as the constituent qubits are propagated across long distances.

[0210] FIG. 39 shows an example of a one-dimensional quantum repeater network 3900 that connects two endpoints (Alice, node 3902, and Bob, node 3904, also referred to as users), according to some embodiments. It is assumed that Alice and Bob are separated by a large (spatial and/or temporal) distance. Accordingly, network 3900 provides a series of quantum repeaters 3906-1 through 3906-w. The number n can be chosen as desired (n > 1), and the optimal choice of n can depend on the physical distance between Alice and Bob. Each repeater 3906 can clean up noise that may have entered the channel. By selecting a short enough distance between repeaters 3906, the noise that enters the channel between repeaters can be made small enough that repeater 3906 can remove the noise.

[0211] As shown in FIG. 39, Alice (node 3902) begins with an entangled pair of qubits

3910-0 and 3911. Qubits 3910-0 and 3911-0 can be a Bell pair (i.e., a pair of qubits in a Bell state as defined above). Alice sends qubit 3910-0 (which can be in a state | 0 )) to repeater 3906-1; qubit 3911-0 can remain with Alice. Qubit 3910-0 is assumed to be one qubit of a Bell pair , the other qubit of which remains with Alice. Repeater 3906-1 makes another Bell pair, shown as qubits 3910-1, 3911-1, and performs an entanglement swap (indicated by dashed oval 3914-1) with the incoming qubit 3910-0, which consumes qubit 3910-0 and qubit

3911-2. If the entanglement swap succeeds, the remaining qubit 3910-1 has the state I i) = | o) up to a Pauli rotation. Qubit 3910-1 is sent to repeater 3906-2, which performs the same operations as repeater 3906-1. In this manner, Bob (node 3904) can receive a qubit 3910-n that is in a state | n ) that is the same as the qubit Alice sent, up to Pauli corrections.

[0212] For example, the qubit sent by Alice can be described by the density matrix p = |'P)('P | . Loss and errors between Alice and repeater 3906-1 cause the state received by repeater 3906-1 to be a modified state p' o . The Bell measurement at repeater 3906-1 cleans up noise in p' o and under perfect operation produces the output state = where mXXO E {0,1} are results of the Bell measurement performed at the repeater whose input is p' o . mXXO = 0 if the Bell measurement measures the Bell state |00) + 111) or 101) + 110) and mXXO = 1 otherwise. mZZ = 0 if the Bell measurement measures the Bell state 100) + 111) or 100) — 111) and mZZO = 1 otherwise. In other words, the state after the repeater under perfect operation is x mZZ0 Z mXX0 , i.e., related to the original state by known Pauli rotations. Similarly, for any repeater that receives input p' k (a distorted copy of the state p k and measures bits mZZk and mXXO in the Bell measurement, the output state is p k+1 = x mZZk Z mXXk p k Z mXXk X mZZk .

[0213] In some embodiments, each qubit 3910 can be provided in the form of a logical qubit, which can be a quantum system of multiple physical qubits having an entanglement structure that enables error correction. The entanglement structure can provide error correction codes that can be used for quantum error correction, e.g., using known techniques. FIG. 40 shows the network of FIG. 39 according to some embodiments, with the logical qubits represented as entanglement structures 4010-0 through 4010-n. As shown in the legend, the resource state can be a 6-ring resource state as described above. Each entanglement structure can consist of a number K of layers where each layer has size A 2 . Layer size L 2 can be chosen according to an error-correction code depth. Number K of layers can be chosen according to the amount of noise cleanup desired. Larger values of K provide more cleanup; the tradeoff is that larger values of K may also entail a longer time at each repeater. In some embodiments L and K can each be approximately 10, and L can be but need not be equal to K. At each repeater 3906, one or more resource state generating circuits and associated fusion circuits, delay circuits, and switches can be used to generate the entanglement structures; examples of suitable circuits are described below. For example, entangling measurements that create entanglement between two systems of qubits can be performed between qubits of neighboring resource states in the bulk while single-qubit (X basis or Z basis, as indicated) measurements are performed on boundary qubits. In examples herein, type II fusion operations are used as the entangling measurements; however, it should be understood that other types of entangling measurement operations can be substituted.

Each measurement operation generates classical measurement data. Receiver endpoint (Bob, node 3904) receives L 2 physical qubits representing the entanglement structure as well as the classical measurement data from repeater nodes 3906-1 through 3906-n (indicated by arrows 4020). In some embodiments, sender endpoint (Alice, node 3902) can also generate classical measurement data and provide the classical measurement data to receiver node 3904. Receiver node 3904 can use the received L 2 physical qubits and the classical measurement data to extract the information represented by the logical qubit.

[0214] FIG. 41 A shows a schematic diagram of a unit cell 4100 (also referred to as an “RSG unit”) according to some embodiments. RSG unit 4100 includes an RSG circuit 4102, which can be implemented using any circuit or device that produces a resource state encoded on photonic qubits, including any of the examples described above. In this example, RSG circuit 4102 produces a six-qubit resource state such as the 6-ring (or Kagome-6) resource state shown in FIG. 10C. Numbered output paths 1-6 indicate the six qubits, which are referred to herein for convenience as qubits 1-6. FIG. 4 IB shows how the qubit numbering can correspond to the 6-ring entanglement structure according to some embodiments.

[0215] Referring again to FIG. 41 A, unit cell 4100 also includes a first switching circuit 4104 and a second switching circuit 4110. First switching circuit 4104 has one input path and two output paths. First switching circuit 4104 receives qubit 1 of each resource state from RSG circuit 4102 and selectably routes qubit 1 to either path 4106 or delay circuit 4108. Second switching circuit 4110 receives qubit 4 of each resource state from RSG circuit 4102 and selectably routes qubit 4 to either path 4112 or path 4114. Delay circuit 4108 can implement a fixed-length delay, which can be one operating cycle (where an operating cycle corresponds to the rate at which RSG circuit 4102 generates resource states). Switching circuits and delay lines can be implemented using techniques described above or other techniques. In some embodiments, delay circuit 4108 can be placed in path 4114 so that qubit 4 is delayed and type-II fusion can be performed between qubit 4 of a resource state generated in a first operating cycle and qubit 1 of a resource state generated in a subsequent operating cycle.

[0216] Unit cell 4100 also includes a type II fusion circuit 4116, which can be implemented, e.g., as described above with reference to FIGs. 9A and 9B. The inputs are provided from path 4114 and delay circuit 4108. As described above, the type II fusion operation entails a destructive measurement on the two qubits. Type II fusion circuit 4116 can provide a classical output signal (not explicitly shown), which can encode measurement data indicating the count of detected photons from each detector and/or other information (e.g., success or failure of the fusion operation).

[0217] FIG. 41C shows a symbol used to represent unit cell (or RSG unit) 4100 in subsequent drawings. As can be seen from FIG. 41 A, RSG unit 4100 has six output paths: output path 4106 (also referred to as output path 1 because it may carry qubit 1 of a resource state); output path 4112 (also referred to as output path 4 because it may carry qubit 4 of a resource state) and additional output paths identified by the number of the qubit of the resource state carried thereon. It should be understood that RSG unit 4100 also has a classical output path (not shown) to communicate the results of measurement operations performed by type II fusion circuit 4116. RSG unit 4100 also has a classical input path (not shown) to provide control signals that set the state of switching circuits 4104 and 4110.

[0218] FIG. 42A shows a schematic diagram of an X/Z measurement circuit 4200 according to some embodiments. X/Z measurement circuit 4200 includes a switching circuit 4202, an X measurement circuit 4204, and a Z measurement circuit 4206. Switching circuit 4202 can receive a qubit on input path 4210 and selectably route the qubit to either X measurement circuit 4204 and Z measurement circuit 4206. X measurement circuit 4204 can be configured to perform a single-qubit measurement in the Pauli X basis. For example, for a dual-rail encoded qubit, X measurement circuit 4204 can include a single photon detector coupled to each waveguide and an appropriate phase shifter to apply a Pauli X basis rotation. Similarly, Z measurement circuit 4206 can be configured to perform a single-qubit measurement in the Pauli Z basis. Z measurement circuit 4206 can include a single photon detector coupled to each waveguide and an appropriate phase shifter to apply a Pauli Z basis rotation. FIG. 42B shows a symbol used to represent X/Z measurement circuit 4200 in subsequent drawings. As can be seen from FIG. 42B, X/Z measurement circuit 4200 has one input path that receives a qubit and no qubits are output. It should be understood that X/Z measurement circuit 4200 also has a classical output path (not shown) to communicate the results of measurement operations performed by X measurement circuit 4204 or Z measurement circuit 4206. X/Z measurement circuit 4200 also has a classical input path (not shown) to provide control signals that set the state of switching circuit 4202.

[0219] FIG. 43 shows a schematic diagram of a quantum repeater circuit 4300 according to some embodiments. Quantum repeater circuit 4300 can be used to implement any of repeaters 3906 in the system described above. Quantum repeater circuit 4300 includes an array of RSG units 4302, each of which can be an instance of RSG unit 4100 described above. In some embodiments, an array of L 2 RSG units can be provided; in this example, L = 3. Output path 1 of each RSG unit 4302 is coupled to a type-II fusion circuit 4304, which also receives an input qubit via a path 4305 from a different instance of quantum repeater circuit 4300 (or from the originating node, e.g., Alice node 3902 in examples above). Output path 4 of each RSG unit 4302 (path 4307) can be provided to another instance of quantum repeater circuit 4300 (or to the destination node, e.g., Bob node 3904 in examples above). Additional type-II fusion circuits 4306, 4308 are coupled between RSG units 4302. For instance, type-II fusion circuit 4306 is coupled to receive qubit 5 from one instance of RSG unit 4302 and qubit 2 from a different instance of RSG unit 4302. Type-II fusion circuit 4308 is coupled to receive qubit 3 from one instance of RSG unit 4302 and qubit 6 from a different instance of RSG unit 4302. For RSG units 4302 at the boundary of the array, output paths are coupled to X/Z measurement circuits 4310 as shown.

[0220] In operation, quantum repeater circuit 4300 can receive L 2 entangled qubits via paths 4305, with one qubit provided to each RSG unit 4302. Quantum repeater circuit 4300 can then perform a set of K cycles. In each cycle, the RSG circuit 4102 (shown in FIG. 41) within each RSG unit 4302 generates a resource state. During the first cycle, switch 4104 is operated to direct qubit 1 of the resource state to path 4106, which is coupled to type-II fusion circuit 4304. Entanglement is thus transferred from the incoming qubits to resource states generated in quantum repeater circuit 4300. During all other cycles, switch 4104 can be operated to deliver qubit 1 of the resource state to type-II fusion circuit 4116 (via delay line 4108). During the last (Kth) cycle, switch 4110 can be operated to deliver qubit 4 of the resource state to path 4112, which can be output path 4307 of quantum repeater circuit 4300. During all other cycles, switch 4110 can be operated to deliver qubit 4 of the resource state to type-II fusion circuit 4116. (As noted above, in some embodiments, delay circuit 4108 can be placed in path 4114 so that qubit 4 is delayed and type-II fusion can be performed between qubit 4 of a resource state generated in a first operating cycle and qubit 1 of a resource state generated in a subsequent operating cycle.) The classical output signals from each type-II fusion circuit and each X/Z measurement circuit within quantum repeater circuit 4300 can be collected and provided to subsequent repeater circuits and/or to one or both of the endpoint nodes (e.g., Alice or Bob in examples above).

[0221] FIG. 44 shows a schematic diagram for a sender endpoint circuit 4400 (e.g., Alice node 3904) according to some embodiments. Sender endpoint circuit 4400 can have a similar structure and operation to quantum repeater circuit 4300. However, output path 1 of each RSG unit 4402 can be coupled to a qubit measuring circuit 4410. FIG. 45 shows a schematic diagram of a qubit measuring circuit 4500 that can be used to implement qubit measuring circuit 4410 according to some embodiments. In this example, qubit measuring circuit 4410 includes a switching circuit 4502 with one input path and five output paths. Each output path is coupled to a different single-qubit measurement circuit 4511-4515. Each of circuits 4511- 4515 can be configured to perform single-qubit measurements in different Pauli bases and can include a single photon detector coupled to each waveguide and appropriate phase shifter(s) to apply the desired basis rotation. In this example, circuit 4511 measures in the Pauli X basis, circuit 4512 measures in the Pauli Y basis, circuit 4513 measures in the Pauli Z basis, circuit 4514 measures in the Pauli X+Y basis, and circuit 4515 measures in the Pauli X-Y basis. Other combinations can also be provided.

[0222] In sender endpoint circuit 4400, the RSG units can be operated for one or more cycles to create an entanglement structure that encodes a single logical qubit. Qubit measuring circuits 4410 can be operated concurrently with the generation of the entanglement structure or at a later time to encode the quantum information being communicated. For example, qubit measuring circuits 4410 can be coupled to the RSG units via a quantum memory that can store a qubit received from the RSG units for a desired length of time, which can be fixed or variable. [0223] FIG. 46 shows a schematic diagram for a receiver endpoint circuit 4600 (e.g., Bob node 3904) according to some embodiments. Receiver endpoint circuit 4600 can include an array of qubit measurement circuits 4602, each of which can be an instance of qubit measurement circuit 4500.

[0224] In various embodiments, a quantum communication system can include an instance of sender circuit 4400, one or more serially-coupled instances of repeater circuit 4300, and an instance of receiver circuit 4600. The number of operating cycles K for sender circuit 4400 and each repeater circuit 4300 can be the same. Receiver circuit 4600 can operate for K cycles to measure each received qubit in an appropriate basis. Classical information (e.g., measurement results) can be communicated among any of repeater circuits 4300, sender circuit 4400, and receiver circuit 4600 and can be used to extract the information content of the entanglement structure, e.g., using known procedures developed for fault-tolerant quantum computation.

[0225] In the foregoing example, the number of RSG circuits in a quantum repeater is equal to the layer size. As described above, entanglement generation can exploit rasterized or hybrid techniques in which the number of RSG circuits is less than the layer size.

[0226] In some embodiments, each quantum repeater circuit can include a single RSG circuit. FIG. 47 shows a schematic diagram of a quantum repeater circuit 4700 according to some embodiments. Quantum repeater circuit 4700 can include an RSG circuit 4702, switching circuits 4711-4716, type-II fusion circuits 4721-4724, X measurement circuits 4731-4734, Z measurement circuits 4741-4744, and delay circuits 4751-4753, coupled as shown. Delay circuits 4751-4753 can provide delays of different lengths, e.g., 1 cycle for delay circuit 4751, L cycles for delay circuit 4752, and Z 2 delay cycles for delay circuit 4753. Operation can be similar to the operations for rasterized generation of a layer for an entanglement structure as described above with reference to FIGs. 17-19. Circuit 4700 can produce an entanglement structure of K layers, with each layer having size Z 2 , in K L 2 cycles.

[0227] Similarly, a sender node can include a single RSG circuit. FIG. 48 shows a schematic diagram of a sender circuit 4800 according to some embodiments. Sender circuit 4800 can include an RSG circuit 4802; switching circuits 4811-4816; type-II fusion circuits 4821, 4823, 4824; X measurement circuits 4831-4834; Z measurement circuits 4841-4844; delay circuits 4851-4853; and qubit measuring circuit set 4860 (corresponding to measuring circuits 4511-4515 of FIG. 45) coupled as shown. Operation can be similar to the operations

68 for rasterized generation of a layer for an entanglement structure as described above with reference to FIGs. 17-19, and the use and operation of qubit measuring circuit set 4860 can be selected based on the particular application. As in the previous example, qubit measuring circuits 4860 can be operated concurrently generation of resource states or at any later time to encode the quantum information being communicated. For example, qubit measuring circuit set 4860 can be coupled to the RSG units via a quantum memory that can store a qubit received from the RSG units for a desired length of time, which can be fixed or variable.

[0228] FIG. 49 shows a schematic diagram of a receiver circuit 4900 according to some embodiments. Receiver circuit 4900 includes a switching circuit 4902 and single-qubit measurement circuits 4911-4915, which can be configured similarly or identically to singlequbit measurement circuits 4511-4515 described above. In operation, receiver circuit 4900 receives L 2 K qubits at a rate of one qubit per cycle. Depending on which qubit is received in a given cycle, the appropriate measurement basis can be selected.

[0229] In various embodiments, a quantum communication system can include an instance of sender circuit 4800, one or more serially-coupled instances of repeater circuit 4700, and an instance of receiver circuit 4900. The number of operating cycles K for sender circuit 4400 and each repeater circuit 4300 can be the same. Sender circuit 4800 can operate for K L 2 cycles to generate an entanglement structure that includes a set of L 2 physical qubits that are propagated to a first instance of repeater circuit 4700. The first instance of repeater circuit 4700 can operate for K L 2 cycles to generate a noise-reduced entanglement structure that includes a set of L 2 physical qubits that can be propagated to a next instance of repeater circuit 4700 or to receiver circuit 4900. Receiver circuit 4900 can operate for L 2 cycles to measure the received physical qubits, with each received physical qubit in an appropriate basis. Classical information (e.g., measurement results) can be communicated among any of repeater circuits 4700, sender circuit 4800, and receiver circuit 4000 and can be used to extract the information content of the entanglement structure, e.g., using known procedures developed for fault-tolerant quantum computation.

[0230] The foregoing examples contemplate a point-to-point quantum communication system with a sender circuit, a receiver circuit, and one or more quantum repeater circuits. It should be understood that quantum communication can be bidirectional. For instance, each endpoint can include both a sender circuit and a receiver circuit, and the quantum repeater circuits can be configured to receive a qubit from the direction of either endpoint and propagate the noise-reduced (or error-corrected) qubit to the next repeater in the appropriate direction. Further, while the foregoing examples refer to generating and propagating a single error-corrected logical qubit, it should be understood that any number of error-corrected logical qubits can be generated and communicated in the manner described. Depending on the amount and configuration of hardware, different logical qubits can be generated serially or in parallel, and layers of different logical qubits can be interleaved, e.g., using techniques described above for interleaved generation of entanglement structures.

[0231] In some embodiments, a multi-node quantum communication network can be provided. FIG. 50 shows a topological diagram of a two-dimensional quantum repeater network 5000 according to some embodiments. Quantum repeater network 5000 can include any number of nodes 5002, with each node having connections to two or more neighbor nodes 5002. In this example, nodes 5002 are arranged in a grid. Assuming the connections are bidirectional and that each node 5002 includes the appropriate circuitry, any node 5002 can act as a sender, a repeater, or a receiver in a quantum communication network; accordingly, quantum communication between any two nodes 5002 can be supported.

[0232] FIG. 51 shows a schematic diagram of a circuit 5100 according to some embodiments. Circuit 5100 can be used to implement a node 5002 of quantum communication network 5000. Circuit 5100 includes an RSG circuit 5102, which can be similar or identical to RSG circuits described above and can generate a 6-ring resource state. Switches 5111-5116 can direct the qubits of each resource state to different output paths, including delay circuits 5151-5153. Type-II fusion circuits 5121-5123 can perform type-II fusion operations on qubits of resource states generated by RSG circuit 5102 during different operating cycles. Qubit measuring circuits 5131-5136 can each be an instance of qubit measuring circuit 4500 described above. A qubit (Zin) can be received from a neighbor node via input path 5104. Type II fusion circuit 5124 can perform a type-II fusion operation on a qubit of a resource state generated by RSG circuit 5102 and the qubit Zin. A qubit (Zout) can be sent to a neighbor node via output path 5106. Through appropriate configuration of switching circuits 5111-5116, circuit 5100 can operate as a sender, a receiver, or a quantum repeater, as is apparent by comparing FIG. 51 to FIGs. 47-49.

[0233] In some embodiments, a hybrid technique can be used to generate the entanglement structure. As described above, “hybrid” generation of entanglement refers to the use of more than one but fewer than L 2 RSG circuits to generate a layer of an entanglement structure. Those skilled in the art will understand that the hybrid techniques can be applied in quantum repeater, sender, and receiver circuits. Hybrid circuits can be either raster-based or patchbased, as described above.

[0234] All of the foregoing examples are illustrative, and variations and modifications are possible. All switching circuits, delay circuits, and type-II fusion circuits can be implemented using techniques described above or other techniques. Type-II fusion circuits can be replaced by other circuits that perform other entangling measurements between qubits of different resource states or other quantum systems.

7. Additional Embodiments

[0235] Embodiments described herein provide examples of systems and methods for generating entanglement structures that can be used, for instance, as fault-tolerant cluster states (which can be used to create and manipulate logical qubits), or in any other operation where large entanglement structures may be desirable. The size and entanglement geometry of an entanglement structure can be varied according to the particular use-case. For instance, while the foregoing description uses examples of entanglement structures from layers that are two-dimensional (in entanglement space), a layer can have more dimensions. Further, the embodiments described above include references to specific materials and structures (e.g., optical fibers), but other materials and structures capable of producing, propagating, and operating on photons can be substituted.

[0236] It should be understood that all numerical values used herein are for purposes of illustration and may be varied. In some instances ranges are specified to provide a sense of scale, but numerical values outside a disclosed range are not precluded.

[0237] It should also be understood that all diagrams herein are intended as schematic. Unless specifically indicated otherwise, the drawings are not intended to imply any particular physical arrangement of the elements shown therein, or that all elements shown are necessary. Those skilled in the art with access to this disclosure will understand that elements shown in drawings or otherwise described in this disclosure can be modified or omitted and that other elements not shown or described can be added.

[0238] This disclosure provides a description of the claimed invention with reference to specific embodiments. Those skilled in the art with access to this disclosure will appreciate that the embodiments are not exhaustive of the scope of the claimed invention, which extends to all variations, modifications, and equivalents.