The disclosure pertains to exact synthesis of qudit and multiple qubit quantum circuits.
Quantum computers promise to make many computationally challenging problems tractable. For example, determining prime factors of large integers is generally not possible using conventional computers, but such factorization is well suited to quantum computation. Already some authorities recommend that information that is to be stored securely should be protected with quantum-safe encryption protocols.
Qubits, qutrits, qudits, and the like can be implemented in various ways. For example, spin qubits can be based on spins of charged particles trapped in solid substrates, such as nitrogen vacancy centers in diamond. Alternatively, superconducting circuits, ion traps, or photonic circuits can be used. Unfortunately, systems for implementing operations on qubits, qutrits, or other quantum devices tend to be expensive. To take advantage of the capabilities offered by quantum computing, improved methods and apparatus for selecting quantum gates from a set of available gates to represent any particular operator are needed, especially for qutrits, qudits, and multi-qubit systems.
Disclosed are methods for decomposing a unitary into a quantum circuit and finding a circuit that prepares a given state on a quantum computer. The methods find a circuit by gradually decreasing the complexity of the unitary or the quantum state. The complexity of the unitary or the state is measured using the structure of a quotient of torsion-free modules associated with the unitary or the state. The relevant part of the structure of the quotient of torsion-free modules is described by an integer vector consisting of p-adic valuations of elementary divisors of the quotient. The complexity is decreased if the vector of integers becomes smaller with respect to a total order on integer vectors.
Exact synthesis methods of unitaries for qudit and multiple qubit quantum computing systems include a series of basis gates arranged based on lexicographical or other orderings obtained using products of the basis gates with a torsion free module L of rank d and modules M′ associated with products of a previously selected basis gate and a module M. Typically, quantum states are representable as vectors of length d, wherein d is an integer greater than or equal to 2, and the unitary is represented as a square matrix of dimension d over a ring R. A final gate in the series is defined as u=(U†r)†, wherein r is a product of the other selected basis gates. In some cases, state preparation methods are also provided.
Quantum circuit synthesis methods and apparatus are disclosed below, along with quantum circuits based on such syntheses. Quantum computing operations are generally described using unitary matrices (unitaries) U that are associated with a particular problem to be solved. The unitary U is provided to a synthesis tool that outputs a series of quantum gates that exactly or approximately represents U. Such synthesis typically uses mathematical representations of gates from a set of available gates. Quantum circuit implementations are often limited to operations on quantum systems having two quantum states; in the examples disclosed herein, the operations (and the associated unitary U and its synthesized representation) can be applied to quantum systems having multiple qubits, three states (qutrits), d states (qudits), wherein d is an arbitrary integer greater than 1. A selected series of gates can be evaluated based on a so-called cost function that reflects, for example, the difficulty or expense associated with each gate of the selected series. The cost function is often a simple sum of the costs each of the gates in the series of gates.
As used herein, “quantum gate” or “gate,” and other such terms refer to mathematical or other representations of the associated functions that a particular circuit can perform on a quantum system. Gates are typically illustrated as square matrices of dimension d, wherein d is a positive integer. The terms qubit, qutrit, qudit, and the like refer to mathematical representations of corresponding quantum systems, generally as row or column vectors of dimension d, such as d=2, 3, or 4. These terms also refer to the associated physical implementations discussed above. Quantum circuit thus can refer to a sequence of physical gates (or a single physical gate) or a representation of a quantum circuit such as mathematical representation. Generally, whether such terms refer to physical systems or representations thereof will be apparent from the context.
The disclosure pertains to methods of quantum circuit design and associated quantum circuits. Typically, an exact synthesis for an arbitrary unitary is intended using a predetermined set of quantum gates. Thus, solutions to the following problem are desired:
Problem 1 (Exact synthesis). Given:
The resulting sequence defines a circuit gn, . . . , g0. This is referred to as an exact synthesis problem. For certain choices of R and G, exact synthesis methods are important tools for compiling quantum algorithms for quantum computers. The set G generally includes the set of available gates for use in circuit synthesis, and is sometimes referred to a basis set and the gates referred to as basis gates.
The solution to the exact synthesis problem is not generally unique, in some cases, the quality of two solutions can be compared as follows. For a given unitary U, an exact synthesis can be described as:
U=g
1
g
2
. . . g
n
=g′
1
g′
2
. . . g′
n′,
wherein gk and g′k′ refer to basis gates in the same or different basis gate set. Cost can be assigned to elements of G, in other words for each element of g, a real number cost(g) is assigned. The specific choice of this numbers depends on the application. The cost of the sequence g1, . . . , gn or the cost of the corresponding quantum circuit is the sum cost(g1)+ . . . +cost(gn). One exact synthesis algorithm is better then another if it finds sequences of smaller cost. In some cases, it can be determined that an exact synthesis algorithm finds a decomposition with the smallest possible cost. In this case, the method is referred to as optimal (for given d, R, G and cost function).
While synthesis of gates that realize a particular unitary U is important, a synthesized quantum circuit is often selected to produce a desired quantum state. Thus, in some disclosed examples, methods are provided for state preparation. These are the algorithms that solve the following problem:
Problem 2 (Exact state preparation). Given:
Similarly to exact synthesis algorithms, one state preparation algorithm is better then another if it finds sequences of smaller cost.
To avoid possible confusion, some definitions are provided herein.
An involution in commutative ring (or field) is a map *:R→R such that
Complex conjugation is an involution of the field of complex numbers .
A unitary matrix of size d×d over ring R with involution * is a matrix with entries in the ring R such that UU†=I where † is a conjugate transpose operation defined with respect to the involution *.
For example
is a 2×2 matrix over the ring R and given * is an involution defined on R, the conjugate transpose is:
Ring, field, ring automorphism and field automorphism are well-known mathematical concepts.
The length squared of the vector (v1, . . . , vd)T with entries in the ring R is equal to Σk=1d vkv*k.
The length itself is not always well defined.
A general framework for exact synthesis algorithms is shown in Algorithm 1. Specific methods are determined based on specific sets of input parameters that can include:
The parameters of the computer-implemented algorithm and its inputs and outputs are described below, followed by a discussion of each line in more detail.
M=
1
1
b
1+ . . . +ddbd
N=
1
b
1+ . . . +dbd
and i-1⊂i for i=2, . . . , d. Ideals 1, . . . , d called elementary divisors.
The algorithm for computing these ideals is well-known and described in Chapter 1.7 in Cohen 1. Its implementation is available in both Magma and PARI-GP. This algorithm is sometimes called the Smith Normal Form Algorithm that is implemented as sub-routine nfsnf in PARI-GP (see 3.6.114 of the PARI-GP User Guide). The algorithm is also available in Magma (see, for example, “Modules” and “Modules Over Dedekind Domains” in Magma-HB.
Before we describe the algorithm we introduce the following definitions:
Field (ζ3) (known as 3-d cyclotomic field) is (isomorphic to) the following sub-field of complex numbers
{a0+a1ζ3:a0,a1∈}
where ζ3=e2πi/3.
Ring [ζ3] is ring of integers of (ζ3).
Ring
is isomorphic to the sub-ring of complex numbers {z/(1+2ζ3)k:z∈[ζ3], k∈}.
The involution * is defined using relation ζ*3=ζ32.
The qutrit Clifford group C3 is the group of unitary matrices over ring
generated by:
(4.1)
Group C3 is well-studied in the literature. For example, see Hostens et al., Stabilizer states and Clifford operations for systems of arbitrary dimensions, and modular arithmetic, available at http://arxiv.org/abs/quant-ph/0408190 (“Hostens”).
Matrix T3 is
Lexicographical order lex on a set d is defined by the following rules:
Graded lexicographical order gr on a set ≥0d is defined by the following rules:
The parameters for qutrit exact synthesis algorithm are the following:
In this special case for the algorithm to work it is sufficient to compute the sum of the elements of the vector produced by procedure DIST. This sum can be computed more efficiently without using the Smith Normal Form algorithm.
Let N be a number of qubits. Before we describe the algorithm we introduce the following definitions:
Field (ζ8) (known as 8-th cyclotomic field) is the following sub-field of complex numbers
{a0+a1ζ8+a2ζ82+a3ζ83:a0, . . . ,a3∈}
where ζ8=e2πi/8.
Ring [ζ8] is ring of integers of (ζ8).
Ring
is isomorphic to the sub-ring of complex numbers {z/(1+ζ8)k:z∈[ζ3], k∈}.
The involution * is defined using relation ζ*8=ζ87.
Pauli matrices ={I, X, Y, Z} are matrices over ring
defined as
where i=ζ82 N-qubit Pauli group N is equal to
{±iP1⊗ . . . ⊗PN:Pk∈}
where ⊗ denotes tensor product of matrices over field (ζ8).
Every matrix P1⊗ . . . ⊗Pn is a 2N×2N unitary matrix over the ring
The N-qubit Clifford group is a group of unitary matrices over ring
defined as
CliffordN={U:for all P∈ it is the case that U·P·U†∈}
In other words, the N-qubit Clifford is group is the group of all unitaries over the ring
that map elements of N-qubit Pauli group n to themselves by conjugation. Groups CliffordN are well-studied in the literature. For example, see Hostens. Group CliffordN is known to be finite.
The parameters for multi qubit exact synthesis algorithm are the following:
{v1⊗v2⊗ . . . ⊗vN:vk are from the set {s|0,s|1,|0+|2}}
N
={P
1
⊗ . . . ⊗P
N
:P
k
∈{I,Z}}
G′={c
k(g,H):g∈N, H is an abelian subgroup of N and k≤log2|H|}
Finally
G
ED
={CUC
†
:C is from CliffordN and U is from G′}
Here we describe a family of exact state preparation algorithms. The generic algorithm has a set of parameters that define a specific instance of it. These are the same parameters as for the exact synthesis algorithms. For the description of the parameters see the beginning of the Section 4.2.
We implemented the prototypes of the exact state preparation algorithms for the same set of parameters as the exact synthesis algorithm described in Section 4.2. For more details on these parameters see Section 4.3.
Referring to
Referring to
With reference to
With reference to
With reference to
As shown in
The exemplary PC 400 further includes one or more storage devices 430 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 406 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 400. 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 430 including an operating system, one or more application programs, other program modules, and program data. Storage of computer-executable instructions for defining circuits for exact unitary synthesis and state synthesis, and configuring a quantum computer can be stored in the storage devices 430 as well as or in addition to the memory 404. A user may enter commands and information into the PC 400 through one or more input devices 440 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 402 through a serial port interface that is coupled to the system bus 406, but may be connected by other interfaces such as a parallel port, game port, or universal serial bus (USB). A monitor 446 or other type of display device is also connected to the system bus 406 via an interface, such as a video adapter. Other peripheral output devices 445, 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 unitary or a desired state.
The PC 400 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 460. In some examples, one or more network or communication connections 450 are included. The remote computer 460 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 400, although only a memory storage device 462 has been illustrated in
When used in a LAN networking environment, the PC 400 is connected to the LAN through a network interface. When used in a WAN networking environment, the PC 400 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 400, 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.
In some examples, a logic device such as a field programmable gate array, other programmable logic device (PLD), an application specific integrated circuit can be used, and a general purpose processor is not necessary. As used herein, processor generally refers to logic devices that execute instructions that can be coupled to the logic device or fixed in the logic device. In some cases, logic devices include memory portions, but memory can be provided externally, as may be convenient. In addition, multiple logic devices can be arranged for parallel processing.
Whereas the invention has been described in connection with several example embodiments, it will be understood that the invention is not limited to these embodiments. On the contrary, the invention is intended to encompass all alternatives, modifications, and equivalents as may be included within the spirit and scope of the invention as defined by the appended claims.
This application claims the benefit of U.S. Provisional Patent Application 62/410,330, filed Oct. 19, 2016, which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
62410330 | Oct 2016 | US |