The present disclosure generally relates to quantum computing, and more particularly, to simulation of quantum circuits by a classical computer using an at least partially decoupled Hamiltonian.
The design and validation of quantum computers must be performed using classical computers, which poses a problem, as quantum computers are constructed to perform certain tasks impracticable for classical computers. For example, as quantum computer designs become more sophisticated and involve larger quantum circuits, naive simulation techniques become computationally unfeasible. For example, qubit designs such as the 0-π qubit involve three degrees of freedom, or modes, and so simulating multiple such qubits would involve six modes or more. In addition, components of the quantum computer design beyond the qubits may also require simulation. Accordingly, naive methods of simulating such a quantum circuit would result in a high-dimensional Hamiltonian, which would be difficult to diagonalize or exponentiate for simulating the behavior of the quantum computer design.
The disclosed systems and methods relate to simulation of a quantum circuit using an at least partially decoupled Hamiltonian. This at least partially decoupled Hamiltonian can be generated using a linear transformation of an original Hamiltonian associated with the quantum circuit.
The disclosed embodiments include a method for simulating a quantum circuit using a computer that processes bits. The method can include obtaining a representation of a quantum circuit. The method can further include generating a transformed Hamiltonian corresponding to the quantum circuit. The transformed Hamiltonian can include a transformed local Hamiltonian and a transformed coupling Hamiltonian. The method can further include determining a limited eigenbasis including a number of eigenvectors of the transformed local Hamiltonian. The method can further include projecting the transformed coupling Hamiltonian, the transformed coupling Hamiltonian expressed in terms of modes of the transformed local Hamiltonian, onto the limited eigenbasis. The method can further include projecting the transformed local Hamiltonian onto the limited eigenbasis. The method can further include generating an at least partially decoupled Hamiltonian by combining the projection of the transformed coupling Hamiltonian and the projection of the transformed local Hamiltonian. The method can further include simulating, by the computer, a behavior of the quantum circuit using the at least partially decoupled Hamiltonian.
The disclosed embodiments include a system for simulating a quantum circuit using a computer that processes bits. The system can include at least one processor and at least one computer readable medium. The computer readable medium can contain instructions that, when executed by the at least one processor, cause the system to perform operations. The operations can include generating a transformed Hamiltonian corresponding to a quantum circuit. The transformed Hamiltonian can include a transformed local Hamiltonian and a transformed coupling Hamiltonian. Generation of the transformed Hamiltonian can include obtaining a charge coupling matrix and a flux coupling matrix of an original Hamiltonian corresponding to the quantum circuit and at least partially diagonalizing the charge coupling matrix and the flux coupling matrix. The operations can further include determining a limited eigenbasis including a number of eigenvectors of the transformed local Hamiltonian. The operations can further include projecting the transformed coupling Hamiltonian, expressed in terms of modes of the transformed local Hamiltonian, onto the limited eigenbasis. The operations can further include projecting the transformed local Hamiltonian onto the limited eigenbasis. The operations can further include generating an at least partially decoupled Hamiltonian by combining the projection of the transformed coupling Hamiltonian and the projection of the transformed local Hamiltonian. The operations can further include simulating a behavior of the quantum circuit using the at least partially decoupled Hamiltonian.
The disclosed embodiments include a non-transitory, computer-readable medium containing instructions that are executable by at least one processor of a system to cause the system to perform operations. The operations can include generating a transformed Hamiltonian corresponding to a quantum circuit. The transformed Hamiltonian can include a transformed local Hamiltonian and a transformed coupling Hamiltonian. Generation of the transformed Hamiltonian can include obtaining a charge coupling matrix and a flux coupling matrix of an original Hamiltonian corresponding to the quantum circuit and at least partially diagonalizing the charge coupling matrix and the flux coupling matrix. The operations can further include determining a limited eigenbasis including a number of eigenvectors of the transformed local Hamiltonian. The operations can further include projecting the transformed coupling Hamiltonian, expressed in terms of modes of the transformed local Hamiltonian, onto the limited eigenbasis. The operations can further include projecting the transformed local Hamiltonian onto the limited eigenbasis. The operations can further include generating an at least partially decoupled Hamiltonian by combining the projection of the transformed coupling Hamiltonian and the projection of the transformed local Hamiltonian. The operations can further include simulating, by a computer that processes bits, a behavior of the quantum circuit using the at least partially decoupled Hamiltonian.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosed embodiments, as claimed.
The accompanying drawings, which comprise a part of this specification, illustrate several embodiments and, together with the description, serve to explain the principles and features of the disclosed embodiments. In the drawings:
Reference will now be made in detail to exemplary embodiments, discussed with regards to the accompanying drawings. In some instances, the same reference numbers will be used throughout the drawings and the following description to refer to the same or like parts. Unless otherwise defined, technical or scientific terms have the meaning commonly understood by one of ordinary skill in the art. The disclosed embodiments are described in sufficient detail to enable those skilled in the art to practice the disclosed embodiments. It is to be understood that other embodiments may be utilized and that changes may be made without departing from the scope of the disclosed embodiments. Thus, the materials, methods, and examples are illustrative only and are not intended to be necessarily limiting.
Quantum computers offer the ability to perform certain tasks (equivalently, solve certain problems) thought to be intractable to classical computers, including any possible future classical computers. To understand the advantage of quantum computers, it is useful to understand how they contrast to classical computers. A classical computer operates according to digital logic. Digital logic refers to a type of logic system that operates on units of information called bits. A bit may have one of two values, usually denoted 0 and 1, and is the smallest unit of information in digital logic. Operations are performed on bits using logic gates, which take one or more bits as input and give one or more bits as output. Typically, a logic gate usually only has one bit as output (though this single bit may be sent as input to multiple other logic gates) and the value of this bit usually depends on the value of at least some of the input bits. In modern-day computers, logic gates are usually composed of transistors and bits are usually represented as the voltage level of wires connecting to the transistors. A simple example of a logic gate is the AND gate, which (in its simplest form) takes two bits as input and gives one bit as output. The output of an AND gate is 1 if the value of both inputs is 1 and is zero otherwise. By connecting the inputs and outputs of various logic gates together in specific ways, a classical computer can implement arbitrarily complex algorithms to accomplish a variety of tasks.
On a surface level, quantum computers operate in a similar way to classical computers. A quantum computer operates according to a system of logic that operates on units of information called qubits (a portmanteau of “quantum” and “bit”). A qubit is the smallest unit of information in quantum computers and the qubit may have any linear combination of two values, usually denoted |0> and |1>. In other words, the value of a qubit, denoted |ψ>, could be equal to α|0>+β|1> for any combination of α and β where 60 and β are complex numbers and |α|2+|β|2=1. Operations are performed on qubits using quantum logic gates, which take one or more qubits as input and gives one or more qubits as output. Given the low-level nature of most current quantum systems, quantum algorithms are typically expressed in terms of their underlying quantum circuits. In turn, quantum circuits are composed of quantum gates, the fundamental components that directly manipulate qubits.
Superconducting quantum circuits are one of the leading platforms to realize quantum computing. Although there are many existing designs, designing novel circuits to store and process quantum information is still an active area of research. One important step in the design process can be the ability to simulate the dynamics of a quantum circuit on a classical computer. However, the simulation of large quantum circuits can be quite challenging. Indeed, this is why quantum computers can complete computational tasks that are intractable for classical computers. Despite this hinderance, it remains desirable to simulate small scale quantum circuits in order to understand how qubits behave and interact with each other.
Currently, for many existing designs, the circuits for one or a few qubits are simple enough that they yield to straightforward numerical simulation techniques. In particular, the Hamiltonian of the circuits can be easily diagonalized. However, as qubit designs become more sophisticated and larger circuits are involved, these naive simulation techniques are no longer appropriate. For example, more sophisticated qubit designs such as the 0-π qubit involve three degrees of freedom, or modes, and so simulating multiple such qubits would involve six modes or more. In addition, resonator cavities often need to be included in the simulation as well. Naive methods to discretize the Hilbert space for this circuit would lead to a very high dimensional Hamiltonian that can be difficult to diagonalize or exponentiate for time evolution. The problem becomes how to analyze quantum circuits in a computationally efficient manner.
Perturbation theory offers an approach to computationally efficient analysis of weakly coupled quantum circuits. In general, a Hamiltonian H can be expressed, as depicted in
According to this approach, Hlocal can be diagonalized. In some instances, each local Hamiltonian can be diagonalized using standard numerical techniques for quantum systems with one degree of freedom. The low energy eigenstates of H then approximately involve only low-energy eigenstates of Hlocal, a projection of H into the low-energy eigenspace of Hlocal approximately preserves the low-energy spectrum and eigenstates of H. Hcouple can be expressed as a sum of tensor products of local operators, which in turn can be expressed in the eigenbasis of the corresponding local Hamiltonian. Components of Hcouple involving high-energy eigenstates can be discarded. Finally, the projection onto the first few eigenstates of Hlocal can be added to the truncated Hcouple. The resulting Hamiltonian can approximate H in the low energy eigenspace.
How well the Hamiltonian approximates H can depend on the coupling between modes of the Hamiltonian and the number of eigenstates included in the eigenbasis. In general, a greater degree of coupling requires inclusion of more eigenstates to achieve a desired degree of accuracy. However, the more eigenstates included in the approximate Hamiltonian, the more computational resources required to simulate the quantum circuit.
The disclosed embodiments concern methods of linearly transforming circuit modes to reduce inter-mode couplings. Applying perturbation theory to the Hamiltonian of the transformed modes, this transformed Hamiltonian can be expressed as a transformed local Hamiltonian and a transformed coupling Hamiltonian. As described above, the transformed coupling Hamiltonian can be projected onto an eigenbasis of the transformed local Hamiltonian. Numerical methods (e.g., the Lanczos algorithm, or another suitable method) can then be used to find or compute low energy states, permitting the low energy properties of the quantum circuit can be obtained to a good approximation.
The disclosed linear transformations of quantum circuit modes can be computed from the Hamiltonian of the quantum circuit (which can be obtained through standard circuit quantization techniques). The Hamiltonian can include contributions from capacitive terms, inductive terms, and (Josephson) junction terms. The inter-mode coupling terms are all in the capacitive and inductive terms which can be summarized by coupling matrices that describe the charge and flux coupling between modes, including self-couplings (e.g., local terms). The algorithm computes different linear transformations on the circuit modes which effectively transforms the coupling matrices to reduce their off-diagonal terms which are the coefficients of coupling terms.
The disclosed linear transformations affect modes' flux and charge operators. The transformed operators still obey the canonical commutation relations. One disclosed transformation performs the same orthogonal transformation to both the flux and charge operators for the inductor modes with an optimization loop to reduce couplings. Another disclosed transformation diagonalizes the submatrices of the coupling matrices that correspond to inductor modes. This is possible by Williamson's theorem. A third disclosed transformation fully diagonalizes both coupling matrices, at the cost of introducing flux couplings between the transformed modes via the junction terms.
after removing the free modes as disclosed in the following paragraph [41]-[71], the Hamiltonian given in
As would be appreciated by those of skilled in the art, the original Hamiltonian for a quantum circuit can be derived in a variety of ways. As a non-limiting example, a Hamiltonian for a general superconducting quantum circuit can be derived using the method disclosed in “Circuit theory for decoherence in superconducting charge qubits,” G. Burkard, Physical Review B, April 2005, which is hereby incorporated by reference herein in its entirety and will be referred as Burkard in the present disclosure. In Burkard, the derived dissipation-less Hamiltonian of a general superconducting quantum circuit (e.g., quantum circuit 201) takes the form below:
Here, {right arrow over (Φ)} and {right arrow over (Q)} are vectors of a flux operator and a charge operator for circuit modes of quantum circuit 201. {right arrow over (Φx)} denotes externally applied magnetic fluxes, Φ0 is the flux quantum, and Φi is a flux variable. {right arrow over (V)} is a vector of voltage biases in quantum circuit 201 and C−1, M0, N, and Cv are the charge coupling matrix, flux coupling matrix, external flux coupling matrix, and voltage coupling matrix, respectively. nJ is the number of Josephson junctions and EJ,i is the characteristic energy scale of each Josephson junction.
In some embodiments, a number F of free modes of quantum circuit 201 can be given as:
F≡dim(ker(M0)∩ker(NT)∩VL) (Equation 2).
Here, VL is the subspace spanned by inductor fluxes. As denoted in Equation 2, the number F of free modes can be defined as a dimension of subspace(s), which are common in the kernel of flux coupling matrix M0, the kernel of transposed external flux coupling matrix NT, and the subspace VL spanned by inductor fluxes of quantum circuit 201. In some embodiments, modes in quantum circuit 201 may have a vanishingly small potential term. While in such cases, no modes may be free, modes satisfying a thresholding criterion can be deemed to be free modes. For example, a mode in the Hamiltonian having a potential value smaller than the threshold can be treated as a free mode although the potential value of the mode may not be zero.
According to some embodiments of the present disclosure, flux operators {right arrow over (Φ)} and charge operators {right arrow over (Q)} can take forms such that free modes can be explicit in the derived Hamiltonian (e.g., represented as Equation 1). In some embodiments (e.g., via an appropriate transformation that diagonalizes the intersection of subspaces in Equation 2), flux operators {right arrow over (Φ)} can be represented as {right arrow over (Φ)}=[Φ1, . . . , ΦF, . . . , Φn], where Φ1, . . . , ΦF are flux operators for free modes, ΦF+1, . . . , Φn are flux operators for non-free modes, and n is the total number of modes in the Hamiltonian. Similarly, charge operators {right arrow over (Q)} can be represented as {right arrow over (Q)}=[Q1, . . . , QF, . . . Qn], where Q1, . . . , QF are charge operators for free modes and QF+1, . . . Qn are charge operators for non-free modes. Consistent with this representation of flux operators {right arrow over (Φ)} and charge operators {right arrow over (Q)}, the elements of first F rows of external flux coupling matrix N and first F rows and first F columns of flux coupling matrix M0 may all be zero.
In some embodiments, a transformed Hamiltonian that decouples free modes from non-free modes can be obtained, e.g., by linearly transforming circuit modes of quantum circuit 201 to effectively perform Gaussian elimination on the inverse of charge coupling matrix C−1 (e.g., C). The same Gaussian elimination can then be performed on flux coupling matrix M0, in accordance with the canonical transformation requirement. Accordingly, the transformed Hamiltonian will possess the same number of free modes as the original Hamiltonian. The extracted Hamiltonian can then be obtained by removing the free modes from the transformed Hamiltonian.
Consistent with disclosed embodiments, a transform matrix W can be defined such that free modes components can be decoupled from non-free modes components in charge coupling matrix C−1. Charge coupling matrix C−1 can be an inverse of effective capacitance matrix C of quantum circuit 201, which can be positive definite. For f∈{1, 2, . . . , F}, matrices Wf and Cf can be iteratively defined. Matrix Wf can be defined as an n×n identity matrix, except for column f, which has entries:
where matrix Cf is defined as Cf≡WfCf−1WfT. Matrix C0 can be defined as the effective capacitance matrix C of quantum circuit 201. Because matrix Cf−1 is positive definite, matrix Wf can be proven by induction to be well-defined (and therefore element (Cf−1)ff is not zero). First, matrix C0≡C can be positive definite as required by Burkard. Second, assuming that matrix Cf−1 is positive definite, matrix Wf is well-defined because element (Wf)ff=−1. Therefore, the f-th column of matrix Wf is linearly independent of other columns of matrix Wf (as the other columns of Wf constitute an identity matrix by definition). Thus, Wf has full rank, which implies matrix Cf≡WfCf−1WfT is also positive definite.
The final matrix:
C′≡WCW
T (Equation 3).
where W≡Πf=1FWf, has vanishing off-diagonal elements for its first F rows and columns, which can be verified as follows. The off-diagonal entries of f-th column of matrix Cf can be calculated as:
Due to symmetry of matrix Cf, off-diagonal entries in the f-th row matrix Cf are also vanishing, i.e., zeros. It can also be shown that off-diagonal terms of matrix Cf for 1 to f−1 -th rows and 1 to f−1-th columns are also vanishing, which can be established by induction. First, this is true for matrix C1. Second, it is assumed that the same is true for matrix Cf, which implies element (Cf)if+1=0 (for i<f+1), which implies that the same is true for matrix Wf+1, i.e., (Wf+1)if+1=0 (for i<f+1). By symmetry, the same holds for the f+1-th row of matrix Cf and the same holds true for matrix Wf+1. Hence, both matrices Cfand Wf+1, and therefore matrix Wf+1T are block diagonal matrices with block dimensions 1, . . . , 1, n−f, which implies the same is true for matrix Cf+1.
As established above, every matrix Wf is full rank and therefore invertible, which implies that transform matrix W is invertible. Hence, transformed charge coupling matrix
C′
−=(WT)−1C−1W−1 (Equation 4).
is well defined. Since transformed charge matrix C′ is block diagonal with block dimensions 1, . . . , 1, n−F, transformed charge coupling matrix C′−1 is also block diagonal with block dimensions 1, . . . , 1, n−F.
Furthermore, the submatrices of charge coupling matrix C−1 and transformed charge coupling matrix C′−1 that correspond to indices greater than F (the number of free modes) are the same. This can be proved as follows. Wf−1=Wf is established because when i=j:
(WfWf)ii=Σk=1n(Wf)ik(Wf)ki=(Wf)ii2=1;
and when i≠j:
where δif((Wf)if−(Wf)if) follows because i≠j and i≠f. Here, δif=1 when j=f and δif=0 when j≠f.
For i, j>F, the following relationship is established:
Therefore, the submatrices of charge coupling matrix C−1 and transformed charge coupling matrix C′−1 that correspond to indices greater than F are the same. Thus, the linear transformation does not affect the charge couplings of the non-free modes of the original Hamiltonian.
The linear transformation of the charge operators {right arrow over (Q)}′ can be defined as:
{right arrow over (Q)}′→W{right arrow over (Q)} (Equation 5).
In order to preserve the following canonical commutation relations between canonical conjugate quantities in the Hamiltonian,
[Φi, Φi]=0
[Qi, Qi]=0
[Φi, Qi]=iℏδij
the flux operator {right arrow over (Φ)} can also be transformed as:
{right arrow over (Φ)}→(WT)−1{right arrow over (Φ)} (Equation 6).
This preserves the canonical commutation relations. For i>F, Φi=ΣjWjiΦj′=Φi′, where {right arrow over (ψ′)} ≡(WT)−1{right arrow over (Φ)} are the transformed flux operators. Accordingly, consistent with disclosed embodiments, the transformed fluxes include the original non-free mode's fluxes. Thus, by removing the free modes in the Hamiltonian in terms of the transformed modes, the Hamiltonian on the original non-free modes can be explicitly obtained. Furthermore, any junction terms in the Hamiltonian are preserved and remain local terms (e.g., terms that involve a single mode, as contrasted with general terms that involve multiple modes, which can be expressed as sums of tensor products of local operators).
Consistent with disclosed embodiments, the linear transformation of the flux modes implies a corresponding transformation of the flux coupling matrix:
M
0
→WM
0
W
T (Equation 7).
This transformation, however, does not affect the element values of the flux coupling matrix, as shown below:
since the f-th row and f-th column of M0 are both zero. Accordingly:
M
0
=WM
0
W
T
Therefore, the transformed flux coupling matrix is the same as the original flux coupling matrix.
A similar result holds for the external flux coupling matrix N. The linear transformation of the flux modes implies a corresponding linear transformation of the external flux coupling matrix:
N→WN (Equation 8).
However
Therefore N=WN and the external flux coupling matrix is not affected by the linear transformation of the flux modes. The first F modes in the transformed external flux coupling matrix N are free modes and the flux and external flux couplings of the remaining modes (i.e., non-free modes) of modes remain the same.
The linear transformation implies a corresponding linear transformation of voltage coupling matrix CV:
CV→WCV (Equation 9).
According to some embodiments of the present disclosure, based on Equations 3 to 9, the Hamiltonian of Equation 1 can be represented in terms of the transformed modes as follows:
Here, the transformed Hamiltonian expressed as Equation 10 describes a system of n modes with F free modes that are independent from all other modes. Therefore, according to some embodiments of the present disclosure, the Hamiltonian of the original non-free modes can be extracted by eliminating terms corresponding to free modes' charges from the Hamiltonian of Equation 10.
Referring to
In Equation 11, the subscript \F means that components corresponding to free modes have been removed from the corresponding operators or matrices. According to some embodiments of the present disclosure, for external flux coupling matrix N and transformed voltage coupling matrix CV′, symbol \F can mean removing rows corresponding to free modes of the transformed Hamiltonian.
Consistent with disclosed embodiments, the extracted Hamiltonian H\F of Equation 11 may not include the identity term proportional to V2 (where V is the vector of voltage biases in the circuit). In some embodiments, this term may contribute only a shift to the Hamiltonian and can be disregarded.
Consistent with disclosed embodiments, the drive term proportional to V in the extracted Hamiltonian H\F can equal [(Cv′)\F{right arrow over (V)}]TC\F−1{right arrow over (Q)}†F′. As shown below, this relationship can follow from the block-diagonal nature of the transformed charge coupling matrix C′−1 and the equivalence between the submatrices of the charge coupling matrix C−1 and the extracted portion of the transformed charge coupling matrix C′−1 corresponding to the non-free modes of the original Hamiltonian. As support for this relationship, consider the following drive term, which includes the free mode:
−(CV′{right arrow over (V)})TC′−1{right arrow over (Q)}′
Removing free modes from this drive term is equivalent to removing the first F columns of transformed charge coupling matrix C′−1 and the first F entries of transformed charge operator {right arrow over (Q)}′. Because transformed charge coupling matrix C′−1 is a block diagonal matrix, the first F rows, once the first F columns of transformed charge coupling matrix C′−1 are removed, are all zeros. Therefore, the first F rows of transformed charge coupling matrix C′−1 and the first F rows of transformed voltage coupling matrix CV′ can also be removed. As explained above, the remaining submatrix of transformed charge coupling matrix C′−1 after removing free modes is the same as that of charge coupling matrix C−1 and thus the drive term of the extracted Hamiltonian H\F can be represented as in Equation 11.
Consistent with disclosed embodiments and in accordance with the derivation of the extracted Hamiltonian provided herein, the extracted Hamiltonian can be obtained by removing the free mode terms in the original Hamiltonian and transforming the voltage coupling matrix CV as depicted in Equation 9. The transformation of the voltage coupling matrix may ensure, in some embodiments, that an analysis using the extracted Hamiltonian in place of the original Hamiltonian will provide the correct results when using voltage sources.
The coupling matrices −1 and M0 are given in
If the coupling is small, the energies should converge quickly with increasing local dimension. In this non-limiting example, no decoupling technique has been applied and the state energies do not converge quickly (e.g. they continue to decrease as the number of eigenvectors in the eigenbasis increases beyond seventeen). As the state energies have not converged, the differences between low energy states are not reliable. The systems and methods disclosed herein provide ways to improve upon this base result, allowing for an at least partially decoupled Hamiltonians having state energies and energy transitions that converge more quickly with an increasing number of number of eigenvectors in the eigenbasis.
In step 301 of process 300, a representation of a quantum circuit can be obtained. In some embodiments, the representation can be a design of the quantum circuit (e.g., a circuit diagram, or the like). The representation can include data or instructions specifying the components of the quantum circuit and how such components are interconnected. In some embodiments, the representation can be obtained by a computer configured to perform at least some of the steps of process 300. The representation can be obtained as input to a program for performing process 300. This input could come in a variety of forms, both in how the input is represented (e.g., the data structure involved) and what the input represents (e.g., what quantum circuit representation the input is using). In other embodiments, the quantum circuit could be directly created within a program for performing process 300. In some embodiments, the quantum circuit can be received from another system or retrieved from a memory accessible to the computer. The circuit can include one or more qubits.
In step 303 of process 300, a transformed Hamiltonian can be generated corresponding to the quantum circuit. The transformed Hamiltonian can be generated from an original Hamiltonian. In some embodiments, the modes of the transformed Hamiltonian can be linear combinations of the modes of the original Hamiltonian. The transformed Hamiltonian can include charge and flux coupling matrices that are at least partially diagonal, as described herein. The transformed Hamiltonian can include a transformed local Hamiltonian and a transformed coupling Hamiltonian. In some embodiments, a single transformed Hamiltonian can be generated. In various embodiments, multiple transformed Hamiltonians can be generated and one of the transformed Hamiltonians can be selected (e.g., as described with regards to
It is appreciated that the original Hamiltonian for the quantum circuit can be derived in a variety of ways. As a non-limiting example, a Hamiltonian for a general superconducting quantum circuit can be derived using the method disclosed in “Circuit theory for decoherence in superconducting charge qubits,” G. Burkard, Physical Review B, April 2005, which is hereby incorporated by reference herein in its entirety. In this paper, the derived dissipation-less Hamiltonian takes the form depicted in
The original Hamiltonian for a quantum circuit can be split into local and coupling terms, as depicted in
Given that Hcouple is purely quadratic, a linear transformation on the modes can be used to reduce off-diagonal entries in −1 and M0. More specifically, the transformation shown in
Such a transformation can transform the quadratic coupling matrices using the mappings depicted in
In step 305, a limited eigenbasis can be determined for the transformed local Hamiltonian. A number of the low-energy or otherwise significant eigenvectors of the transformed local Hamiltonian can be selected as the limited eigenbasis. For example, the number can be between 2 and 20, or higher. As a non-limiting example, the 5, 10, or 20 lowest energy eigenvectors of the transformed local Hamiltonian can be selected as the limited eigenbasis. In some embodiments, the number can be predetermined. In other embodiments, the number can depend on a convergence criterion (e.g., a rate of convergence in the energy level of the local transformed Hamiltonian, or the like).
In step 307, the transformed coupling Hamiltonian can be projected onto the limited eigenbasis. The transformed coupling Hamiltonian can be expressed as a sum of tensor products of local operators. The local operators can then be expressed in the limited eigenbasis (e.g., terms of the expression involving eigenstates not including in the limited eigenbasis can truncated).
In step 309, an at least partially decoupled Hamiltonian can be generated. An at least partially decoupled Hamiltonian can combine the projection of the transformed coupling Hamiltonian and the projection of the transformed local Hamiltonian. In some instances, an at least partially decoupled Hamiltonian can be the sum of these projections.
In step 311, a classical computer can simulate the behavior of the quantum circuit using an at least partially decoupled Hamiltonian. In some instances, the classical computer can simulate the time evolution of the state of the quantum circuit (e.g., the time evolution of the states of the modes for the quantum circuit). In various instances, the classical computer can simulate a response of the quantum circuit to an input or other perturbation. The disclosed embodiments are not limited to any particular simulation accomplished using an at least partially decoupled Hamiltonian.
In step 401 of process 400, a spanning tree can be selected for the quantum circuit. A spanning tree can be a subset of components within the quantum circuit. In some embodiments, the spanning tree can include all junctions, all voltage sources, and at least some inductors in the quantum circuit. The observables of these components can fully determine the state of the entire quantum circuit. It is appreciated that a quantum circuit may include multiple spanning trees, each associated with a different Hamiltonian. Use of different spanning trees can lead to different magnitudes of the coupling terms in the transformed Hamiltonian.
In some embodiments, a set of spanning trees can be determined for the quantum circuit. A previously unselected spanning tree can then be selected from this set. The set may include all potential spanning trees for the quantum circuit or a subset of the potential spanning trees for the quantum. In some embodiments, the selection can be performed automatically by a computing device. In various embodiments, the selection can be performed manually by a user (e.g., through interactions between the computing device and the user). The disclosed embodiments are not limited to any particular method of selecting the spanning tree. Process 400 can repeat until all spanning trees in the set have been selected.
In step 403 of process 400, an original Hamiltonian for the quantum circuit 403 can be determined, based on the selected spanning tree. The original Hamiltonian can be determined according to the method described above with regards to step 303 of process 300. The original Hamiltonian can include a charge coupling matrix and a flux coupling matrix.
In step 405 of process 400, one or more linear transformations of the modes of the original Hamiltonian can be determined. Each of the one or more linear transformations can be one of the linear transformations described herein. In some instances, such a linear transformation can implement a simultaneous approximate diagonalization (as described with regards to
In step 407 of process 400, an at least partially decoupled Hamiltonian can be generated using the one or more linear transformations of the modes of the original Hamiltonian. In some embodiments, each potential linear transformation can be performed, and the resulting transformed Hamiltonians compared. In various embodiments, a subset of the potential linear transformation can be performed.
In step 409 of process 400, a coupling value can be determined for the at least partially decoupled Hamiltonian. The coupling value can indicate a degree of coupling between the modes of the at least partially decoupled Hamiltonian. When the linear transformation implements a simultaneous approximate diagonalization or an inductor-only symplectic diagonalization, the coupling value can be a function of off-diagonal elements of the transformed charge coupling matrix and transformed flux coupling matrix (e.g., a sum of squares of the off-diagonal elements of the transformed charge coupling matrix and transformed flux coupling matrix, or the like). When the linear transformation implements a full symplectic diagonalization, the coupling value can be a function of certain rows of the first submatrix of the block-diagonal symplectic matrix (e.g., those rows corresponding to junction modes of the original Hamiltonian). Such a function can include the sum of squares of the elements of these rows, or the like.
In step 411 of process 400, the at least partially decoupled Hamiltonian generated in step 407 can be selected as the transformed Hamiltonian for use in process 300. This selection can be based on the coupling value associated with the at least partially decoupled Hamiltonian. In some embodiments, one or more at least partially decoupled Hamiltonians can be generated for all spanning trees in the set, prior to selection of the transformed Hamiltonian. In such embodiments, the selection can depend on the coupling values associated with all of these at least partially decoupled Hamiltonians. For example, the at least partially decoupled Hamiltonian having the smallest magnitude coupling value can be selected as the transformed Hamiltonian.
In some embodiments, the at least partially decoupled Hamiltonian can be selected based on the coupling value associated with one at least partially decoupled Hamiltonian. For example, the selection criterion can concern a threshold coupling value (e.g., a predetermined value, or the like) or a threshold reduction in the coupling value (e.g., as compared to the same coupling value calculated for the original Hamiltonian). To continue this example, such a threshold reduction may be two or more orders of magnitude (e.g., a coupling value of the at least partially decoupled Hamiltonian is two or more orders of magnitude less than the coupling value of the original Hamiltonian). When an at least partially decoupled Hamiltonian satisfying the criterion (e.g., coupling value lower than the threshold value, coupling value reduction greater than the coupling value reduction threshold, etc.) is generated, process 400 may terminate and the at least partially decoupled Hamiltonian can be selected as the transformed Hamiltonian.
In step 501, process 500 can start. Process 500 can start as part of processes 400 or 300. For example, process 500 can be used to determine a transformation in step 405 of process 400. Process 400 can begin with a rotation matrix having the same dimensions as the flux coupling matrix and the charge coupling matrix of the original Hamiltonian. Process 400 can include successively updating this rotation matrix to generate the transformation matrix used to transform the original Hamiltonian. The rotation matrix can be updated by iteratively determining rotations around selected axes of the rotation matrix. In some embodiments, a computing device (e.g., as depicted in
In step 503 of process 500, an axis can be selected. The axis can be the next axis in a list or ordering of axis, or can be selected (e.g., randomly or deterministically) from a set of axes. The selected axis can correspond to an inductor mode in the original Hamiltonian.
In step 505 of process 500, a rotation value can be determined. The rotation value can be an angle of a rotation around the selected axis. The disclosed embodiments are not limited to any particular method of determining the rotation angle. In various embodiments, the rotation angle can be obtained using the close form equations disclosed in “Jacobi Angles for Simultaneous Diagonalization”, or another suitable method.
The rotation matrix can be updated to reflect a rotation of the rotation angle around the selected rotation axis. A transformed charge coupling matrix and a transformed flux coupling matrix can be determined using the updated rotation matrix. A termination value can be determined based on off-diagonal elements of the transformed charge coupling matrix and transformed flux coupling matrix. For example, the termination value can be a sum of the squares of the off-diagonal elements of these matrices. In some embodiments, while only the rotation axis corresponding to the inductor modes are iterated through, the termination values can be calculated over all modes, including junction modes.
In step 507 of process 500, a determination can be made regarding whether a stop condition is satisfied. In some embodiments, the stop condition can depend on the termination value associated with the rotation value (e.g., the termination value being less than an absolute or relative threshold) or a trend in the termination values associated with determined rotation values (e.g., a difference or derivative of the sequence of termination values satisfying a convergence criterion - such as being less than a convergence threshold value, or the like). In various embodiments, the stop condition can depend on an elapsed time, number of iterations, compute usage, or the like. If the stop condition is satisfied, then process 500 can proceed to step 509. If the stop condition is not satisfied, then process 500 can proceed to step 503 and another axis can be selected.
In step 509 of process 500, process 500 can stop. In some embodiments, a transformed Hamiltonian can be available (e.g., the transformed Hamiltonian may have been used to generate the last termination value). In such embodiments, process 500 can include both steps 405 and 407 of process 400. In some embodiments, the rotation matrix can be provided for use in generating the transformed Hamiltonian.
In step 601 of process 600, a block-diagonal symplectic matrix can be determined. The block-diagonal symplectic matrix diagonalizes the coupling submatrix corresponding to the inductor modes of the original Hamiltonian of the quantum circuit. For example, in some embodiments, the flux coupling matrix M0 can be positive definite. As a non-limiting example, when each Josephson junction in the quantum circuit is shunted by an inductor then flux coupling matrix M0 is positive definite. Then the block matrix Q depicted in
In a proof of Williamson's theorem, a normalized basis of eigenvectors B={v1, . . . , vn, v1*, . . . , vn*} can be constructed for the matrix iM−1/2ΩM−1/2, where
v1 is an eignvector of iM−1/2ΩM−1/2 having a corresponding eigenvalue λ, and v1* is the elementwise complex conjugate of v1 and an eignvector of iM−1/2ΩM−1/2 having a corresponding eigenvalue −λ. An orthogonal matrix O=[x1, . . . , xn, y1, . . . , yn]∈2n×2n can be constructed using the eigenvectors of B, where xj=vj+vj*/√{square root over (2)} and yj=i(vj−vj*/√{square root over (2)}). Then S=M−1/2O{tilde over (D)}−1/2, where {tilde over (D)}=diag(D, D) and D=diag(λ1, . . . , λn) is the diagonal of the positive eigenvalues of iM−1/2ΩM−1/2 in the order corresponding to the order of the eigenvectors in B. Given this definition of S, it can be shown that STΩS=Ω, and therefore S is symplectic.
Extending this proof, a stronger statement can be shown: given any block-diagonal positive definite matrix M as depicted in
As a first step in determining the matrix SL, given M, a basis B of eigenvectors can be constructed. A set of n eigenvectors {wi, . . . , wn} of the real positive definite matrix M2−1/2M1−1M2−1/2 having eigenvalues greater than zero can be determined. A corresponding set of n vectors {wi′, . . . , wn′}, where
It can be shown that the vector
is an eigenvector of iM−1/2ΩM−1/2. Thus, as described above, the normalized basis of eigenvectors B={v1, . . . , vn, v1* , . . . , vn*} can be constructed for the matrix iM−1/2ΩM−1/2, where
A matrix {tilde over (D)}=diag(D, D), can be constructed where D =diag(λ1, . . . , λn) is the diagonal of the positive eigenvalues of iM−1/2ΩM−1/2 in the order corresponding to the order of the eigenvectors in B. Then an orthogonal matrix O=[x1, . . . , xn, y1, . . . , yn]∈2n×2n can be constructed using the eigenvectors of B, where xj=vj+vj*/√{square root over (2)} and yj=i(vj−vj*/√{square root over (2)}). However, given the construction of the n vectors {wi′, . . . , wn′},
Therefore the matrix O is of the form
and the matrix
Then matrix
In step 603 of process 600, a transformation matrix can be generated using the block diagonal symplectic matrix SL. In some embodiments, the linear transformation can be the matrix W depicted in
In step 605 of process 600, the flux and charge coupling matrices of the original Hamiltonian can be transformed using the transformation matrix W. Applying this transformation can at least partially diagonalize the quadratic coupling matrices: flux coupling matrix M0 can be transformed as depicted in
As a non-limiting example, the inductor-only symplectic diagonalization decoupling technique of
In this non-limiting example, the sum of the squares of off-diagonal terms is 1.35e3. By way of comparison, the simultaneous approximate diagonalization method generated transformed M0 and −1 matrices having a sum of the squares of off-diagonal terms three times larger (1.35e3 versus 3.15e3) and a largest element among the off-diagonal terms that is more than twice as large (17.1 versus 39.30). This technique therefore provided an increased reduction in the magnitude of the off-diagonal terms. The decrease in the magnitude of the off-diagonal terms is matched by an improvement in the convergence of the low energy states, as depicted in
In step 701 of process 700, a symplectic matrix as depicted in
In step 703 of process 700, the linear transformation W can be used to completely diagonalize the quadratic part of the Hamiltonian (e.g., according to the mappings depicted in
In step 705 of process 700, these local terms can be separated from coupling terms as depicted in
As a non-limiting example, the full symplectic diagonalization technique of
However, all the coupling terms may now be in the junction terms. The first nJ=2 rows of Sn=W−1, depicted in
In this non-limiting example, as depicted in
For the full symplectic diagonalization technique, we could take one step further by first Taylor expanding the cosine junction term and adding the quadratic terms to M0 That is, we map
where ME
Memory 803 may comprise a single memory or a plurality of memories. In addition, memory 803 may comprise volatile memory, non-volatile memory, or a combination thereof. As depicted in
The disclosed embodiments are not limited to implementation using a single computing device. For example, a system including multiple computing devices similar to system 801 (e.g., a cluster, or a cloud computing platform) can be configured to interoperated to perform the disclosed methods.
In some embodiments, a non-transitory computer-readable storage medium including instructions is also provided, and the instructions may be executed by a device (such as the disclosed encoder and decoder), for performing the above-described methods. Common forms of non-transitory media include, for example, a floppy disk, a flexible disk, hard disk, solid state drive, magnetic tape, or any other magnetic data storage medium, a CD-ROM, any other optical data storage medium, any physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM or any other flash memory, NVRAM, a cache, a register, any other memory chip or cartridge, and networked versions of the same. The device may include one or more processors (CPUs), an input/output interface, a network interface, and/or a memory.
The foregoing descriptions have been presented for purposes of illustration. They are not exhaustive and are not limited to precise forms or embodiments disclosed. Modifications and adaptations of the embodiments will be apparent from consideration of the specification and practice of the disclosed embodiments. For example, the described implementations include hardware, but systems and methods consistent with the present disclosure can be implemented with hardware and software. In addition, while certain components have been described as being coupled to one another, such components may be integrated with one another or distributed in any suitable fashion.
Moreover, while illustrative embodiments have been described herein, the scope includes any and all embodiments having equivalent elements, modifications, omissions, combinations (e.g., of aspects across various embodiments), adaptations or alterations based on the present disclosure. The elements in the claims are to be interpreted broadly based on the language employed in the claims and not limited to examples described in the present specification or during the prosecution of the application, which examples are to be construed as nonexclusive. Further, the steps of the disclosed methods can be modified in any manner, including reordering steps or inserting or deleting steps.
It should be noted that, the relational terms herein such as “first” and “second” are used only to differentiate an entity or operation from another entity or operation, and do not require or imply any actual relationship or sequence between these entities or operations. Moreover, the words “comprising,” “having,” “containing,” and “including,” and other similar forms are intended to be equivalent in meaning and be open ended in that an item or items following any one of these words is not meant to be an exhaustive listing of such item or items, or meant to be limited to only the listed item or items.
The features and advantages of the disclosure are apparent from the detailed specification, and thus, it is intended that the appended claims cover all systems and methods falling within the true spirit and scope of the disclosure. As used herein, the indefinite articles “a” and “an” mean “one or more.” Similarly, the use of a plural term does not necessarily denote a plurality unless it is unambiguous in the given context. Further, since numerous modifications and variations will readily occur from studying the present disclosure, it is not desired to limit the disclosure to the exact construction and operation illustrated and described, and accordingly, all suitable modifications and equivalents may be resorted to, falling within the scope of the disclosure.
As used herein, unless specifically stated otherwise, the term “or” encompasses all possible combinations, except where infeasible. For example, if it is stated that a database may include A or B, then, unless specifically stated otherwise or infeasible, the database may include A, or B, or A and B. As a second example, if it is stated that a database may include A, B, or C, then, unless specifically stated otherwise or infeasible, the database may include A, or B, or C, or A and B, or A and C, or B and C, or A and B and C.
It is appreciated that the above described embodiments can be implemented by hardware, or software (program codes), or a combination of hardware and software. If implemented by software, it may be stored in the above-described computer-readable media. The software, when executed by the processor can perform the disclosed methods. The computing units and other functional units described in this disclosure can be implemented by hardware, or software, or a combination of hardware and software. One of ordinary skill in the art will also understand that multiple ones of the above described modules/units may be combined as one module/unit, and each of the above described modules/units may be further divided into a plurality of sub-modules/sub-units.
In the foregoing specification, embodiments have been described with reference to numerous specific details that can vary from implementation to implementation. Certain adaptations and modifications of the described embodiments can be made. Other embodiments can be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims. It is also intended that the sequence of steps shown in figures are only for illustrative purposes and are not intended to be limited to any particular sequence of steps. As such, those skilled in the art can appreciate that these steps can be performed in a different order while implementing the same method.
The embodiments may further be described using the following clauses:
In the drawings and specification, there have been disclosed exemplary embodiments. However, many variations and modifications can be made to these embodiments. Accordingly, although specific terms are employed, they are used in a generic and descriptive sense only and not for purposes of limitation or restriction of the scope of the embodiments, the scope being defined by the following claims.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2020/130302 | 11/20/2020 | WO |