The disclosure pertains to the synthesis of quantum circuits.
Quantum computation provides an alternative approach that may permit solutions to problems that are computationally difficult (or impossible) using classical approaches. Quantum computation has unique requirements, and quantum circuit designs for a particular computation can be difficult to determine. In addition, it is generally convenient to implement quantum circuits using a basis gate set. Such basis gate sets are generally referred to as “universal,” i.e., it can be shown that any circuit can be implemented using one or more elements of the gate set. In some cases, one or more additional gates are provided to simplify circuit design and implementation. Although a gate set may be known to be universal, it is often unclear how to realize a particular circuit, or, even if circuit synthesis methods are known, to provide a compact circuit specification using practical classical computational resources.
One powerful topologically protected quantum gate basis is related to a species of quasiparticles called metaplectic anyons. This gate set is referred to as a metaplectic basis. Effective synthesis of optimal circuits in this basis is an important engineering problem. Accordingly, methods and apparatus are needed for quantum circuit design using this basis.
Computer-implemented methods permit efficient and effective synthesis of quantum circuits over a metaplectic basis. In some cases, qutrit states are estimated based on coefficients that are Eisenstein integers, and, depending on a required precision, circuit synthesis methods with ancillas or without ancillas are selected. A selected unitary is synthesized to include a series of one or more SUM, SWAP, Flip, Hadamard, Q, and axial reflection gates, wherein the SUM gate is defined as SUM|j, k>=|j,(j+k) mod 3> and is described by the following matrix:
The SWAP gate is defined as SWAP |j, k>=|k, j>, the Flip gate is defined as Flip=|0><0|+|1|−|2><2|, and the Q gate is one of:
The foregoing and other objects, features, and advantages will become more apparent from the following detailed description, which proceeds with reference to the accompanying figures.
Disclosed herein are synthesis methods for multi-qutrit quantum circuits. In typical examples, for an arbitrary unitary, the syntheses provide circuits that are asymptotically optimal based on selected bit precisions.
As used in this application and in the claims, the singular forms “a,” “an,” and “the” include the plural forms unless the context clearly dictates otherwise. Additionally, the term “includes” means “comprises.” Further, the term “coupled” does not exclude the presence of intermediate elements between the coupled items.
The systems, apparatus, and methods described herein should not be construed as limiting in any way. Instead, the present disclosure is directed toward all novel and non-obvious features and aspects of the various disclosed embodiments, alone and in various combinations and sub-combinations with one another. The disclosed systems, methods, and apparatus are not limited to any specific aspect or feature or combinations thereof, nor do the disclosed systems, methods, and apparatus require that any one or more specific advantages be present or problems be solved. Any theories of operation are to facilitate explanation, but the disclosed systems, methods, and apparatus are not limited to such theories of operation.
Although the operations of some of the disclosed methods are described in a particular, sequential order for convenient presentation, it should be understood that this manner of description encompasses rearrangement, unless a particular ordering is required by specific language set forth below. For example, operations described sequentially may in some cases be rearranged or performed concurrently. Moreover, for the sake of simplicity, the attached figures may not show the various ways in which the disclosed systems, methods, and apparatus can be used in conjunction with other systems, methods, and apparatus. Additionally, the description sometimes uses terms like “produce” and “provide” to describe the disclosed methods. These terms are high-level abstractions of the actual operations that are performed. The actual operations that correspond to these terms will vary depending on the particular implementation and are readily discernible by one of ordinary skill in the art.
In some examples, values, procedures, or apparatus' are referred to as “lowest”, “best”, “minimum,” or the like. It will be appreciated that such descriptions are intended to indicate that a selection among many used functional alternatives can be made, and such selections need not be better, smaller, or otherwise preferable to other selections.
Circuit synthesis methods for arbitrary multi-qutrit unitaries over the basis M are disclosed. In one method, ancillas are not used, and a target n qutrit unitary is approximated as a series of local gates, SUM and SWAP gates, and O(32n) instances of axial reflection gates. Each of the reflection gates can be represented exactly over the basis at the cost of O((2+√{square root over (3)}))n single-qutrit axial reflections. In another example, n ancillary qutrits are used to approximate a unitary on n primary qutrits. Entanglement operations are approximate, and circuits include one or more two-qutrit entanglers. As used herein, for a target unitary U and an arbitrary small target precision ε>0, a circuit approximating U is considered efficient if the number of primitive gates in the circuit is asymptotically proportional to log(1/ε). A circuit synthesis method is effective if it can be completed on a classical computer in expected run time that is polynomial in log(1/ε). In some examples, circuits are synthesized without ancillas, especially for n-qutrit circuits, wherein n<5. For larger n, typically n>6, ancillas can be used to lower the cost.
Define ω=e2πi/3. The field of Eisenstein rationals (ω) is a quadratic extension of and [ω] is the corresponding integer ring that includes the group of units isomorphic to 6 generated by −ω2=1+ω.
The following basic operations are associated with metaplectic anyons and are expressed with matrices over the field of Eisenstein rationals. Let |0>,|1>,|2> be the computational basis of a standard qutrit. A modified Hadamard gate H is defined as
and is thus described by the matrix:
The increment gate INC is defined as INC |j>=|j+1 mod 3>.
Operators Qj, j=0, 1, 2 are represented as:
It can be readily shown that Q1=INCQ0INC† and Q2=INC†Q0 INC.
The two-qutrit gate defined below is a generalization of the CNOT entangler SUM |j, k>=|j,(j+k)mod 3> and is described by the following matrix:
This gate can be considered a weakly controlled increment gate.
The SWAP gate is defined as SWAP |j, k>=|k, j>
The Flip gate is defined as Flip=|0><0|+|1>21 1|−|2><2|. The Flip gate is an elementary axial reflection operator with respect to the basis vector |2> and is referred to also as R|2>. Of course, there are additional Flip gates with respect to the other basis vectors.
As shown in Cui and Wang, “Universal Quantum Computation with Metaplectic Anyons,” arXiv:1404.7778v2 (16 Jul. 2014), the H,SUM,Q0, INC, SWAP gates can be implemented by anyon braiding alone and generate a finite subgroup of SU(3n) that coincides with the Clifford subgroup. Adding the Flip gate to this basis makes the basis universal for multi-qutrit quantum computation. Such a basis is referred to herein as an augmented metaplectic basis. For both efficiency and convenience a broader equivalent basis can be used that also contains the P2 gate P2=FlipQ22 and one or more of its classical adjoints P0=INCP2INC†,P1=INC†P2INC. This basis can be referred to as an extended metaplectic basis. In estimating circuit cost, the Flip gate is assumed to be the most costly and the costs of the remaining gates are assumed to be significantly lower. Therefore, R-count can be used as the measure of quantum circuit cost in the basis .
The R-count of a unitary circuit over the quantum basis is the minimal number of occurrences of the Flip gate in the circuit. Note that Pj6=I and therefore there are exactly 15 distinct non-identity gates of the form Pjd,d=0, . . . , 5. A Pjd gate requires a single Flip gate if and only if d is odd. Thus there are nine gates Pjd,d=1, 3, 5 each with R-count of 1.
In the analysis and synthesis below it is also beneficial to track the H-count of a circuit, defined as the number of occurrences of the Hadamard gate in the circuit.
As used herein, the basis can be a minimal basis that includes a single Q gate, or an extended basis that includes some or all of the Q-gates, the P-gates, and the Flip gate.
If |ψ> is a unitary state the coefficients of which in a computational basis are Eisenstein integers, then 1) one and only one coefficient is non-zero; 2) the non-zero coefficient is an Eisenstein integer unit; and |ψ> can be reduced to one of the computational basis states using at most one P gate. This can be shown as follows.
If ψ0, . . . , ψN are the coefficients, then
Since for any j, |ψj|2 is a non-negative integer, all the coefficients, except one, some ψj*, must be zeros, while |ψj*|2=1 and hence ψj. is a unit in [ω]. Therefore ψj*=(−ω2)d and (−ω2)−d mod 6ψj*=1. Hence it is easy to find a P-gate of the form G=I⊗ . . . Pj−d mod 6 . . . ⊗I such that G|ψ> is a standard basis vector.
Single-qutrit synthesis case can be based on an Eisenstein state reduction procedure as follows. Let |ψ> be a unitary single-qutrit state of the form |ψ>=1/√{square root over (−3)}L(u|0>+v|1>+w|2>) where u, v, wϵ[ω],Lϵ. There exists an effectively computable circuit c over the basis of R-count at most 2L+1 and H-count at most L such that c|ψ> is a standard basis vector. A representative procedure for determining such a circuit is illustrated in the pseudo code of Table 1.
It is shown below that any unitary state of the form |ψ>=x|0>+y|1>, x,yϵ, |x|2+|y|2=1 can be approximated to a precision ε, wherein ε is a small positive number, by a unitary state of the form (u|0>+v|1>+w|2>)/√{square root over (−3)}k, u, v, wϵ[ω], kϵ, such that k≤4 log3(1/ε)+O(log(log(1/ε))). The expected classical runtime required to do the approximation effectively is polynomial in log(1/ε).
For a given complex number z with |z|≤1 and small enough ε>0 there exists an integer k≤2 log3(1/ε)+3 and an Eisenstein integer uϵ[ω] such that |u/√{square root over (−3)}k−z|<ε and |u/√{square root over (−3)}k|≤|z|. Set
and let l be a non-negative integer that can be arbitrarily large. For k=k0+l there are Ω(3l) distinct choices of Eisenstein integer u such that |u/√{square root over (−3)}k−z|<ε.
A procedure for approximating a state in this way is shown in Table 2. Typically, this procedure involves solution of a norm equation (see step 10).
Certain unitaries can be conveniently represented in the basis with limited P-count and H-count. Let |ψ> be a unitary single-qutrit state of the form |ψ>=1/√{square root over (−3)}L(u|0>+v|1>w|2>), wherein u,v,wϵ[ω], Lϵ. It can be shown that there exists an effectively computable circuit c over the basis of R-count at most 2L+1 and H-count at most L such that c|ψ> is a standard basis vector. Of course, it can also be shown that a standard basis vector can be mapped to a unitary single-qutrit state using the circuit c†.
Let |b> be a standard n-qutrit basis state. Then an axial reflection operator R|b> is defined as R|b>=I⊗n−2|b><b‥. Clearly, R|b> is represented by a diagonal matrix that has a −1 on the diagonal in the position corresponding to |b> and +1 in all other positions. In particular in the trivial case of n=1, the basic Flip gate is the same as R|2>. Also R|0>=INCFlipINC2 and R|1>=INC2FlipINC. In general, any two axial reflection operators are equivalent by conjugation with an effectively and exactly representable classical permutation. Since the cost of classical permutations is considered as negligible compared to the cost of Flip gate, for fixed n all n-qutrit axial reflection operators have essentially the same cost. In particular, the R-count of each of the single-qutrit operators R|0>, R|1>, R|2> is 1.
All n-qutrit axial reflection operators can be effectively and exactly represented. It suffices to represent just one such operator for each n. Starting with the special case of n=2, the circuit (I⊗R|0>)SUM(I└R|1>)SUM(R|2>⊗R|2>)SUM is an exact representation of (−1)R|20>.
This result can be generalized for arbitrary n≥2 and note that the global phase (−1) is exceptional and happens only for n=2. Denote
is an exact representation of the operator R|20
Approximate Synthesis of Special Two-Level, Diagonal, and Single-Qutrit Unitaries
Let |j> and |k> be two distinct elements of the standard n-qutrit basis. Then a special two-level unitary with signature [n; j,k] is a unitary operator of the form I⊗n+(u−1)|j><j|+v|j><k|−v*|k><|+(u*−1)|k><k| where |u|2+|v|2=1. In other words, the matrix of a special two-level unitary is different from the identity matrix in at most four locations and the determinant of a special two-level unitary is equal to 1. A special two-level unitary operator can be effectively represented as a product of two reflection operators, each factor being a reflection with respect to a two-level n-qutrit vector.
Let ϕ be a real angle and consider the vector vϕ=cos(ϕ/2)|0>+sin(ϕ/2)1>. By direct computation eiϕY=R|0>Rvϕ, where Y is the Pauli matrix i(|1><0|−|0><1|>. Any special unitary UϵSU (2) can be effectively diagonalized to a diagonal special unitary of the form eiϕZ where Z is the Pauli matrix|0 ><0|−|1><1|. But eiϕZ=(sh)†eiϕY(sh), where s is the phase gate |0><0|+i|1><1| and h is the two-level Hadamard gate (X+Z)/√{square root over (2)}. In summary, UϵSU(2) can be represented as VeiϕYV† with some effectively computed unitary V and the latter is equal to RV|0>RVv
Consider a multidimensional special two-level unitary G=I⊗n+(u−1)|j><j|+v|j><k|−v*|k><j|+(u*−1)|k><k| and let RV|0>RVvϕ be the decomposition of the SU(2) unitary U=u|0><0|+v|0><1|−v*|1><0|+(u*−1)|1><1| as outlined above. By way of notation, let V|0>=x0|0>+z0|1> and let Vvϕ=x1|0>+z1|1>. Consider two-level n-qutrit states vm=xm|j>+zm|k>,m=0,1. Clearly, G=Rv
Let ε>0 be small enough precision level, then a special two-level unitary operator is effectively approximated to precision ε>0 by a circuit over containing two axial reflection operators and local gates with cumulative R-count at most 32 log3(1/ε)+O(log(log(1/ε))).
As per the above, the subject operator is effectively represented as Rv
It is known that the reflection Rv
In the following, let N stand for 3n in subsequent n-qutrit contexts.
Diagonal unitaries can be approximated as follows. Let D be an arbitrary n-qutrit diagonal unitary in general position and let ε>0 be a small enough precision level. D can be effectively approximated, up to a global phase, to precision e by a circuit over containing 2(N−1) axial reflection operators and local gates with cumulative R-count at most 32(N−1)(log3(1/ε)+n+O(log(log(1/ε)))). Removing a global phase, D′=diag(eiθ
D′ can be easily decomposed into a product of N−1 special two-level diagonal unitaries:
It suffices to approximate each special unitary Dj. to precision ε/(N−1) as shown above and tally the gate counts. Pseudo code for this method of implementing a diagonal unitary is shown in Table 3 below.
An ancilla-free implementation of an n-qutrit axial reflection is exact but produces a circuit with R-count that is exponential in n. This might be practically challenging for larger values of n when coarser values of the desired precision e are sufficient. An alternative, ancilla-assisted solution is provided below. In addition, application of the above synthesis in case of n=1 leads to a somewhat suboptimal circuit. A better solution for single-qutrit case is possible. Any UϵU(3) is effectively approximated, up to a global phase to precision ε by a circuit over with R-count in 96 log3 (1/ε)+O(log(log(1/ε))). Removing det(U)1/3 as a global phase if needed, U=det(U)1/3U′ wherein U′ϵSU(3). It is well known that U′ can be effectively decomposed into three special two-level unitaries. Each of the two-level unitaries can be effectively approximated by a circuit with two single-qutrit reflections and a collection of gates with cumulative R-count in 32 log3(1/ε)+O(log(log(1/ε))). Note that the single-qutrit reflections each have an R-count of one and this incremental count can be absorbed into the O(log(log(1/ε)) term.
Define the gate C1(INC)|j,k>=|j, (k+δ1,2) mod 3>. A controlled phase single-qutrit unitary based on reflection operators can be obtained based on the following observations. (1) a diagonal unitary with only one non-zero phase, Cn(eiθ), θϵ, θ≠0 can be effectively emulated approximately to precision e by an ancilla-assisted (n+1)-qutrit circuit with R-count of at most 32 log3(1/ε)+O(log(log(1/ε)))) plus the cost of two (n+1)-qutrit axial reflections; and (2) a strictly controlled single-qutrit phase factor Cn (eiθI) can be effectively emulated approximately to precision ε by an ancilla-assisted (n+2)-qutrit circuit with R-count of at most 32 log3(1/ε)+O(log(log(1/ε))) plus the cost of two (n+1)-qutrit axial reflections.
Regarding (1), add an (n+1)st-qutrit as an ancilla prepared at state |0> and consider the following (n+1)-qutrit diagonal unitary U=Cn (diag(eiθ, e−iθ,1)). Clearly U emulates Cn (eiθ) and it is also a special two-level unitary. As shown above, U can be effectively approximated by a circuit with R-count of at most 32 log3(1/ε)+O(log(log(1/ε))) plus the cost of two (n+1)-qutrit axial reflections. (2) Follows from (1) and Cn (eiθI)=Cn (eiθ)⊗I.
A controlled single-qutrit unitary based on reflection operators can be obtained based on the following observations. (1) Given a VϵSU (3), an integer n>0 and a small enough ε>0, Cn (V) can be effectively approximated to precision ε by an (n+1)-qutrit circuit with an R-count of at most 96 log3 (1/ε)+O(log(log(1/ε))) plus the cost of six (n+1)-qutrit axial reflections. (2) Given a VϵSU(3), an integer n>0 and a small enough ε>0, Cn (V) can be effectively approximated to precision ε by an ancilla-assisted (n+2)-qutrit circuit with R-count of at most 128 log3(1/ε)+O(log(log(1/ε))) plus the cost of eight (n+1)-qutrit axial reflections.
A VϵU(3) can be effectively represented as a product of a global phase and three two-level special unitaries: V=eiθV1V2V3. θ=0 if VϵSU(3). Each of the Cn (Vj), j=1, 2, 3 is a special two-level unitary which can be effectively approximated to ε/4 by a circuit with R-count of at most 32 log3(1/ε)+O(log(log(1/ε))) plus the cost of two (n+1)-qutrit axial reflections. If θ≠0 the Cn (eiθ) factor is considered, leading to (2).
Part of the implementation cost of Cn (V) is due to the cost of the axial reflections in O((2+√{square root over (5)})n) absent some improvement. This can be a practical challenge when n is large and ε is coarse. Some more practical alternatives are described below.
Absent an exact representation, C1 (INC) is approximated to a desired precision. One solution is based on decomposing C1 (INC) into two special two-level unitaries, but a better approximation to precision e can be obtained with a purely unitary circuit over that contains at most 32 log3(1/ε)+O(log(log(1/ε))) occurrences of local Flip gates, at most 16 log3(1/ε)+O(log(log(1/ε))) occurrences of the H-gate and two two-qutrit axial reflections.
C1 (INC) is a composition of two reflection operators: CINC=R|2>⊗v
R|20> is a simple classical adjoint of the CFlip gate and can be implemented by a unitary ancilla-free circuit containing five P gates and three SUM gates.
Given VϵU(3), an integer n>0 and a small enough ε>0, Cn (V) can be effectively emulated approximately to precision e by an ancilla-assisted 2n-qutrit circuit with R-count of at most 128n(log3(1/ε)+O(log(log(1/ε)))).
Ancilla assisted synthesis tend to be more appropriate for larger n and smaller values of ε as shown in Table 4 below.
Table 5 below illustrates a representative method of synthesis for a multi-qutrit unitary, with or without ancillas.
Referring to
With reference to
The exemplary PC 500 further includes one or more storage devices 530 such as a hard disk drive for reading from and writing to a hard disk, a magnetic disk drive for reading from or writing to a removable magnetic disk, and an optical disk drive for reading from or writing to a removable optical disk (such as a CD-ROM or other optical media). Such storage devices can be connected to the system bus 506 by a hard disk drive interface, a magnetic disk drive interface, and an optical drive interface, respectively. The drives and their associated computer readable media provide nonvolatile storage of computer-readable instructions, data structures, program modules, and other data for the PC 500. Other types of computer-readable media which can store data that is accessible by a PC, such as magnetic cassettes, flash memory cards, digital video disks, CDs, DVDs, RAMs, ROMs, and the like, may also be used in the exemplary operating environment.
A number of program modules may be stored in the storage devices 530 including an operating system, one or more application programs, other program modules, and program data. Storage of quantum syntheses and instructions for obtaining such syntheses can be stored in the storage devices 530. A user may enter commands and information into the PC 500 through one or more input devices 540 such as a keyboard and a pointing device such as a mouse. Other input devices may include a digital camera, microphone, joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the one or more processing units 502 through a serial port interface that is coupled to the system bus 506, but may be connected by other interfaces such as a parallel port, game port, or universal serial bus (USB). A monitor 546 or other type of display device is also connected to the system bus 506 via an interface, such as a video adapter. Other peripheral output devices, such as speakers and printers (not shown), may be included. In some cases, a user interface is display so that a user can input a circuit for synthesis, and verify successful synthesis.
The PC 500 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 560. In some examples, one or more network or communication connections 550 are included. The remote computer 560 may be another PC, a server, a router, a network PC, or a peer device or other common network node, and typically includes many or all of the elements described above relative to the PC 1500, although only a memory storage device 562 has been illustrated in
When used in a LAN networking environment, the PC 500 is connected to the LAN through a network interface. When used in a WAN networking environment, the PC 500 typically includes a modem or other means for establishing communications over the WAN, such as the Internet. In a networked environment, program modules depicted relative to the personal computer 500, or portions thereof, may be stored in the remote memory storage device or other locations on the LAN or WAN. The network connections shown are exemplary, and other means of establishing a communications link between the computers may be used.
With reference to
Compilation is the process of translation of a high-level description of a quantum algorithm into a sequence of quantum circuits. Such high-level description may be stored, as the case may be, on one or more external computer(s) 660 outside the computing environment 600 utilizing one or more memory and/or storage device(s) 662, then downloaded as necessary into the computing environment 600 via one or more communication connection(s) 650.
Having described and illustrated the principles of the disclosure with reference to the illustrated embodiments, it will be recognized that the illustrated embodiments can be modified in arrangement and detail without departing from such principles. For instance, elements of the illustrated embodiment shown in software may be implemented in hardware and vice-versa. Also, the technologies from any example can be combined with the technologies described in any one or more of the other examples. We therefore claim all subject matter that comes within the scope and spirit of these claims. Alternatives specifically addressed in these sections are merely exemplary and do not constitute all possible alternatives to the embodiments described herein.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US2016/025451 | 4/1/2016 | WO | 00 |
Number | Date | Country | |
---|---|---|---|
62141771 | Apr 2015 | US |