The present application claims priority from Japanese application JP 2021-097298, filed on Jun. 10, 2021, the contents of which is hereby incorporated by reference into this application.
The present invention relates to a technology of a computer, particularly, a quantum computer.
In an IT society, there are limitless demands on computer performance, and quantum computers are highly expected as a target to meet the demands. The trigger that the quantum computers attracted attention from us was a prime factorization algorithm contrived by Shor, and the algorithm proved that the quantum computers can perform information processing at a higher speed than classical computers. Thereafter, Shor's algorithm was generalized to the phase estimation algorithm, followed by the invention of an HHL algorithm, capable of solving simultaneous equations at a high speed, and the like. Another algorithm that increased the expectations of the quantum computers is Grover's search algorithm, which was generalized to the amplitude amplification algorithm and has been developed into the amplitude estimation algorithm by combined with the phase estimation algorithm.
Although the algorithms for quantum computers are promising, they assume quantum computers with no errors. However, a bit error and a phase error may always occur because the quantum computer uses a qubit that is a linear superposition state of |0> and |1> as a basic unit, and in that sense, the qubit is analog. Although an error-tolerant quantum computer is achievable with quantum error correction, a large-scale quantum computer with a sufficiently small error rate needs to become reality in order to achieve the error-tolerant quantum computer. For this reason, there is no prospect of the reality.
In accordance with this situation, a concept of a noisy intermediate-scale quantum (NISQ) computer has been attracting attention in recent years. This aims at operating a medium-scale quantum computer (the number of qubits is about 50 to several hundreds) without error correction. Although it has been proven that the fact that the NISQ computers can execute tasks faster than the classical computers (quantum supremacy), what can be demonstrated is to generate random numbers via quantum interference, which belongs to a specialized class and is not an actual problem. That is, an algorithm for solving actual problems by the NISQ computer is an unsolved problem.
There is also a technology called quantum annealing in computing using a quantum technology. The above-mentioned quantum computer is sometimes called a gate-type quantum computer to distinguish the above-mentioned quantum computer from the quantum annealing.
The quantum annealing is a method of translating a problem into another one such that the solution is the ground state of Hamiltonian H0 setting the initial state to the ground state of Hamiltonian H1 under which the ground state is easily prepared, and gradually changing the Hamiltonian from H1 to H0 to finally obtain the ground state of H0. The quantum annealing is founded on the adiabatic theorem, and assumes continuing quantum coherence as a theoretical foundation. In this method, the form of H0 is limited depending on hardware, and usually takes the form called the Ising spin Hamiltonian. For this reason, problems that are easily treated are limited, and it is greatly complicated and difficult to treat general problems. In addition, the Ising spin takes two states of +1 or −1, and a linear superposition state is not assumed as a solution. That is, a classical solution is assumed and cannot be applied to a problem that becomes a quantum mechanical solution.
There is also a method using the Zeno effect as a method similar to the quantum annealing. The method is similar to the quantum annealing in the sense that the ground state of H1 is set as a starting point and the ground state of H0 is finally obtained. The different point is that repeated measurements are performed in the computation to fix the state at each time. The method assumes the phase estimation algorithm as a basic measurement method, but other measurements may be used as long as the state is fixed there. However, specific measurement methods have not been clarified other than the phase estimation algorithm, and time evolution assumes quantum coherence continuing.
As a quantum computer system in the related art, for example, in JP 2013-114366 A, disclosed is a quantum computer system including: a quantum unit having a quantum register configured with at least one qubit, a control gate performing an operation on the quantum register, and a readout gate observing a state of the quantum register; a classical storage device; and a control device being accessible to the classical storage device, wherein the classical storage device stores a quantum microcode which is a sequence of operation commands for the control gate or the readout gate, and wherein the control device reads the quantum microcode from the classical storage device and controls the control gate or the readout gate.
As described above, in the NISQ computers, the algorithm to solve actual problems has not been known. Quantum annealing does not have a degree of freedom in a Hamiltonian form owing to the limitation regarding hardware, and in a case of an Ising spin type, the quantum annealing cannot be applied to quantum mechanical problems. The method using a Zeno effect has not been specified regarding repeated measurements and is just a theoretical concept. In addition, the theories of the quantum annealing and the Zeno effect method assume that quantum coherence is maintained, and thus it is difficult to perform the quantum annealing and the Zeno effect method along their theory with actual quantum technologies. As described above, any methods have problems, and there is no method capable of dealing with general problems. Thus, the target is to put into practice a quantum computer capable of dealing with general problems.
Therefore, the present invention aims at enabling a gate-type quantum computer to deal with actual problems.
According to a preferred aspect of the present invention, there is provided a quantum computer including: a quantum register holding qubits, a control gate performing an operation on the quantum register, and a readout unit observing a state of the quantum register; and the quantum computer repeating longitudinal relaxation to the ground state by gradually changing a Hamiltonian H(t) for a predetermined time, wherein a unitary operation determined by the Hamiltonian H(t) at each time is performed with the control gate for a time span of about a longitudinal relaxation time, the quantum state is relaxed for each time span of about the longitudinal relaxation time, and the ground state prepared for an initial state time-evolves to the ground state of the problem Hamiltonian.
According to another preferred aspect of the present invention, there is provided a method of controlling a quantum state of a quantum computer having a quantum register holding qubits, a control gate performing an operation on the qubits, and a readout unit observing a state of the qubits; the quantum computer controlling the qubits with the control gate; the method including: allowing the control gate to control the qubits, and gradually changing the Hamiltonian H(t) for a predetermined time, where longitudinal relaxation to the ground state is repeated every span of about the longitudinal relaxation time by allowing the control gate to perform a unitary operation determined by the Hamiltonian H(t) at each time of each time span, thereby to make the quantum state relax every time span of about the longitudinal relaxation time; and through those operations, the ground state prepared for the initial state time-evolves to the ground state of the problem Hamiltonian.
As a result of this invention, a gate-type quantum computer becomes to be able to deal with actual problems.
Embodiments will be described in detail with reference to the drawings. However, the invention is not limited to the description of the embodiments illustrated below in interpretation. It is easily understood that a specific configuration thereof can be modified in the range without departing from the spirit or purpose of the invention by those skilled in the art.
In configurations of embodiments described below, the same reference numeral may be used in common for portions having the same function or similar functions among different drawings, and duplicate description thereof may be omitted.
When there are a plurality of components having the same function or similar functions, sometimes, the plurality of components may be described by adding different subscripts to the same reference numeral. However, when it is not necessary to distinguish the plurality of components, sometimes, the subscripts may be omitted in description.
Notations such as “first”, “second”, and “third” in this specification and the like are attached to identify components, which necessarily do not limit the number, order, or contents thereof. Further, a reference numeral for identifying a component is used for each context, and the reference numeral used in one context does not always indicate the same component in another context. Further, it does not prevent a component identified by a certain reference numeral from functioning as a component identified by another reference numeral.
In order to facilitate understanding of the invention, the position, size, shape, range, and the like of each configuration illustrated in the drawings and the like may not represent the actual position, size, shape, range, and the like. Therefore, the present invention is not necessarily limited to the position, size, shape, range, and the like illustrated in the drawings and the like.
The publications, patents, and patent applications cited in this specification constitute a portion of the description of the specification.
A component represented in a singular form herein is intended to include a plural form, unless explicitly stated in the context.
Let us summarize the contents disclosed in the embodiments. In a gate-type quantum computer, the state is initialized to the ground states of Hamiltonian H1, and the Hamiltonian is gradually changed from H1 to H0. The Hamiltonian at each time is continued for about the relaxation time; the gate operation determined by each Hamiltonian is repeated for the time, and the state is longitudinally relaxed to the ground state of each Hamiltonian every time span (sequential initialization). The above-mentioned longitudinal relaxation every time span, where each Hamiltonian is maintained, is repeated so as to guide the state to the target ground state. In addition to the process, the following methods are used together.
(1) A distribution of the measured values is obtained by the repetition of guiding the state to the target ground state and measuring the state.
(2) A trial function (variational function) is set to reproduce the distribution obtained by the measurements, and the accuracy of a solution is improved by a variational method. Machine learning is also used to determine the trial function.
(3) A random gate and the inverse gate thereof are inserted between the gates (original gates) constituting a circuit determined by a Hamiltonian, and the original gates are randomized by integrating the original gates with the random gates to eliminate systematic errors.
A physical system is generally equipped with the function causing the transition from a high-energy state to a low-energy state. This is called longitudinal relaxation. This embodiment is intended to achieve quantum computing using the longitudinal relaxation as a driving force. This principle is essentially different from that of ordinary quantum computers. The ordinary quantum computers are premised that the state is maintained without relaxation (so called coherent), and research and development are carried forward aiming at that premise.
As described above, the physical system naturally has the characteristics of causing the transition from a high-energy state to a low-energy state. In other words, the physical system has inherently incoherent properties. This embodiment describes utilizing the incoherent properties to run the quantum computer.
Hereinafter, embodiments will be described with reference to specific examples. The problem to be solved is translated into a Hamiltonian form so that the solution is the ground state of Hamiltonian H0. The Hamiltonian is defined for each problem to be solved. A combinatorial optimization problem can be translated into a ground state search problem of Ising spin Hamiltonian H0=−ΣjkJjkZjZk−ΣjhjZj (refer to A. Lucas, arXiv: 1302.5843v3). Herein, Zj is the Z component of the Pauli's spin matrix, and Jjk and hj are coefficients determined by the problem. Besides, Hamiltonian H0 for the problems in quantum chemistry, pharmaceuticals, and quantum many-body systems, is given as per each system, and obtaining of the ground state is still a basic problem.
The embodiment uses an NISQ computer as a quantum computer 1000, which is a gate-type quantum computer not provided with an error correction function, as described above. The embodiment can be conducted by performing processes described below using a NISQ computer known at the time of filing and hardware belonging to the concept.
In order to obtain the ground state of H0 first, the state of the quantum computer 1000 is set to the ground state of Hamiltonian H1. For example, H1 is H1=−BΣjXj. Herein, Xj is the X component of the Pauli's spin matrix, and B is an appropriate coefficient. The qubits can be intuitively understood as spin. Qubit state |0> corresponds to up-spin; qubit state |1> corresponds to down-spin. H1=−BΣjXj corresponds to a spin system in which a transverse magnetic field is uniformly applied, and B corresponds to the magnitude of the transverse magnetic field. When the spin is oriented in the direction of the magnetic field, the spin is in the ground state, and it is easy to obtain the ground state of the spin system. That is, it is easy to obtain the ground state of the Hamiltonian H1. Why this is easy is because there is the longitudinal relaxation. However, it is not easy to obtain the ground state of H0 instead of H1. This is because there are many local minimum energy states in H0 in general, and because the probability that the system will fall into these energy states through the longitudinal relaxation is high.
For this reason, first, let us prepare the ground state of Hamiltonian H1 for the system; then, let us gradually change the Hamiltonian to lead to the ground state determined by the Hamiltonian at each time through the longitudinal relaxation. If the variation of Hamiltonian is only slight, the ground state is almost the same, and it is possible to lead to the correct ground state with a high probability. The longitudinal relaxation to the ground state determined by the Hamiltonian at each time is also said to be the initialization at each time.
As described in JP 2013-114366 A, in general, problem setting and controlling for the quantum computer 1000 can be executed by a classical computer (Von Neumann computer) 2000. That is, the problem to be solved is set by the classical computer 2000 that controls the quantum computer 1000. Based on the problem set by the classical computer 2000, the qubits in the quantum register 1001 are initialized to the ground state of the Hamiltonian H1 by the control gate 1002. This operation is achieved by controlling the gates based on a control program 2001 loaded into the classical computer 2000. A configuration example of the classical computer 2000 is also described in JP 2013-114366 A and is omitted here.
Let the Hamiltonian be H(t)=s(t)H0+[1−s(t)]H1 by using a parameter s(t). As the parameter s(t), let s(t0)=0 at time t=t0 and s(t0+T)=1 at time t=t0+T; s(t) gradually varies from 0 to 1. The Hamiltonian at t=t0 is H(t0)=H1, and the ground state thereof is |ψ(t0)> (refer to
The circuit of
For example, the ground state of H1=−BΣjXj is |ψ(t0)>=|++ . . . +>. Herein, |+>=|0>+|1>)/√2. At time t=t0, the state set to be |ψ(t0)> is gradually changed. In the time span from t=t0 to t=t1=t0+δt1, the Hamiltonian is set to be H(t1)=s(t1)H0+[1−s(t1)]H1, and the state is time-evolved. A unitary operator representing time evolution is given by U1=exp[−iH(t1)δt1] according to the Schroedinger equation. Herein, Planck's constant is set to h/2π=1. δt1 is set to be about a longitudinal relaxation time. Through the longitudinal relaxation (relaxation 100 to the ground state in
Similarly, in the time span from t=t1=t0+δt1 to t=t2=t1+δt2, the Hamiltonian is set to be H(t2)=s(t2)H0+[1−s(t2)]H1, and the state is time-evolved. The unitary operator representing the time evolution is given by U2=exp[−iH(t2)δt2]. δt2 is set to be about the longitudinal relaxation time. Through the longitudinal relaxation (relaxation 200 to the ground state in
The change of Hamiltonian H is reflected in the unitary operation that is based on the Hamiltonian, and the change is reflected in the control gate that is the actor of the operation. However, the longitudinal relaxation used in the embodiment is not a unitary operation. Even if unitary operations are intended to perform, the transition from a high energy state to a low energy state is added as a natural phenomenon. That is the longitudinal relaxation.
A longitudinal relaxation time depends on a target system, and the longitudinal relaxation time can be obtained through a simulation or experiment. A value of the longitudinal relaxation time is roughly determined by a digit if the system is determined, but the digit is different depending on the system, and the value can be from microseconds to several tens of seconds or more.
Described so far is that the Hamiltonian is set to be H(tj)=s(tj)H0+[1−s(tj)]H1 every span of δtj, and the state is time-evolved with the unitary operator Uj=exp[−iH(tj)δtj].
In summary, the Hamiltonian is set to be H(t)=s(t)H0+[1−s(t)]H1 by using the parameter s(t), and s(t) gradually varies from s(t0)=0 to s(tn)=1 in the time from t=t0 to t=tn=t0+T; the initial state is set to be the ground state |ψ(t0)> of H1; the unitary operation U1=exp[−iH(t1)δt1] in the time from t=t0 to t=t1=t0+δt1, the unitary operation U2=exp[−iH(t2)δt2] in the time from t=t1 to t=t2=t1+δt2, . . . are performed; δtj (j=1, 2, . . . n) is set to be about the longitudinal relaxation time; T=Σj
Next, a method of how to use the gates in the quantum computer will be illustrated by referring to the quantum circuit diagram in
|ψ(t0)>=|++ . . . +> is the eigenstate (ground state) with the eigenvalue −B of H1=−BΣjXj, i.e., H1|ψ(t0)>=−B|ψ(t0)>. When the Hamiltonian is kept H1, the state time-evolves as |ψ(t)>=exp[iBΣjXj(t−t0)]|++ . . . +>; exp[iBΣjXj(t−t0)] corresponds to the X-axis rotation on the Bloch sphere. Because the vector (1, 0, 0) keeps (1, 0, 0) under the rotation around the X-axis, the state keeps |ψ(t0)> if the Hamiltonian is kept H1.
The Hamiltonian in the time span from t=t0 to t=t1=t0+δt1 is H(t1)=s(t1)H0+[1−s(t1)]H1 in the computation of the embodiment. When specifically described,
H(t1)=s(t1)(−ΣjkJjkZjZk−ΣjhjZj)+[1−s(t1)](−BΣXj).
When written as the unitary operator,
U1=exp(−i{s(t1)(−ΣjkJjkZjZk−ΣjhjZj)+[1−s(t1)](−BΣjXj)}δt1). Although the argument of the exponential function, which includes the X and Z operators, is composed of non-commutative operators, if the time span δt1 is divided into N portions to make the time span minute, U1 can be transformed into a product form where each factor consists of an individual operator. That is,
U1≈Πp=1
Let θt=2[1−s(t1)](−B)δt1/N, θj=2s(t1)(−hj)δt1/N, θjk=2s(t1)(−Jjk)δt1/N, and RZZ(θjk)=exp(−iθjkZjZk/2). Then, Πj exp(−i[1−s(t1)](−BXj)δt1/N) is a bundle of RX(θt) that is the X-axis rotation for each qubit (the X-axis rotation gate 114 in
As shown, when U1 can be decomposed into the X-axis rotation gate, the Z-axis rotation gate, and the RZZ gate, a quantum circuit can be configured by arranging these gates in series.
In the embodiment, specifically, Hamiltonian is H(t)=ΣjhjZj+ΣjkJjkZjZk given by the sum of terms with the coefficient hj and terms with the coefficient Jjk; the unitary operation U=exp[−iH(t)δt] for the time span δt is divided into N portions such that U=Πq=1
Because δt1 is divided into N portions in U1, the same gate operation is repeated N times. Each gate operation is individual, i.e., operating in a digital manner. However, when the whole operations are seen in an average manner over the time span, the Hamiltonian corresponds to H(t1)=s(t1)(−ΣjkJjkZjZk−ΣjhjZj)+[1−s(t1)](−BΣjXj). Since δt1 is set to be about the longitudinal relaxation time, the system is relaxed to the ground state of H(t1) during time δt1. The reason for N-division is for averaging the individual responses to the system by reducing the effect of each gate operation. From this purpose, N is preferably N≈10 or more, but it is not always strict; the value may be determined in consideration of the longitudinal relaxation time of the system and the time required for each gate. U2, . . . , and Un are similarly achieved based on H(t2), . . . , and H(tn), respectively.
|ψ(tn)> is obtained through the above gate processing. If |ψ(tn)> is measured on the Z basis, an eigenvalue of +1 or −1 corresponding to |0> or |1>, respectively, is obtained. A problem such as a combinatorial optimization problem takes |0> and |1> as the state of a solution. In this case, the measured value becomes a candidate for the solution as it is. If repeating the above operation and measurement, we obtain a plurality of candidates for the solution. We can select the optimum solution by checking the candidates for the solution one by one.
In quantum chemistry and many body problems, the solution is not |0> or |1> but is a superposition state |ψ(tn)>=Σiai|i>. For an m-qubit system, i=0, . . . , 2m−1. When the measurement is performed, the wave packet converges to any of |i> in |ψ(tn)>=Σiai|i>. The probability that the wave packet converges to |i> in each measurement is |ai|2, and the distribution of |ai|2 can be obtained by repeating the computation and measurement. That is, |ψ(tn)>=Σiai|i> can be roughly obtained. The obtained quantity is only |ai|2; the phase of ai is not determined. However, there is a symmetry in the solution for a problem in quantum chemistry and a quantum many-body system, and thus, even if the phase of ai cannot be measured accurately, when |ai|2 is obtained, it can be stated that the answer is roughly obtained. The method of restoring ai from |ai|2 including the phase will be described in the third embodiment.
In the first embodiment, it was stated that the computation and the measurement are repeatedly performed. Repeated executions give us a plurality of candidates for the solution for a problem in which the solution state is |0> or |1>, and gives us a distribution of |ai|2 for a problem in which the solution state is |ψ(tn)>=Σiai|i>. Repeating computations and measurements has also the role of mitigating effects of operation errors.
When the solution state is |ψ(tn)>=Σiai|i>, a wave packet converges to one of |i> at a measurement. However, there is a possibility that the wave packet may converge to |j> that does not constitute |ψ(tn)>=Σiai|i> owing to an initialization error, a gate error, and a measurement error. However, if errors are sufficiently random, by increasing the number of samplings, it is possible to make the wave packet converge to the correct |i> as an average value.
This is illustrated in
For enabling this exclusion method to function, the errors need to be sufficiently random, and systematic errors (coherent errors) must not exist. For this reason, a random gate and its inverse gate are added in pairs to eliminate the systematic errors on average. In addition, the random gate and the inverse gate are separately integrated with the original gates to prevent the number of gates from increasing.
In the procedure, the following properties are used. Herein, Pauli matrices σi∈{X, Y, Z} and rotation gates Ri(θ) ∈{RX(θ), RY(θ), RZ (θ)} are expressed together using the subscript i. σi=iRi(π), σi±1/2=exp(±iπ/4)Ri(±π/2), and σi and Ri(θ) are commutative. When i≠j≠k, σiRj (θ)σi=Rj(−θ), σi1/2Rj(θ)σi−1/2=Rk(εijkθ), and σi−1/2Rj(θ)σi1/2=Rk(−εijkθ). Herein, εXYZ=εYZX=εZXY=+1, and εXZY=εZYX=εXZY=−1.
Procedure 1: Two-qubit gates are moved such that not lined up consecutively as much as possible. In
Procedure 2:
2.1: Let us select one of RX, RY, and RZ, which constitutes the circuit with the maximum number. The numbers of RX and RZ are the same in
2.2: Let the gate selected in 2.1 be Rj (RZ in 2.1). The circuit is partitioned every Rj appearing; a random gate is chosen from {I, σi, σi−1, σj1/2, σi−1/2} for each partition, and the chosen random gate and its inverse gate are inserted between all the gates in the partition. Since the random gate and its inverse gate are paired, this circuit is equivalent to the original circuit (
2.3: The chosen random gate and its inverse gate are integrated with the original gates in the rear and front thereof, respectively (
Procedure 3: The gate with the maximum number, except Rj selected in 2.1, is selected, and the procedure 2 is performed in the same manner. The gate should be RX in
A procedure 4: The procedure 2 is performed similarly for the remaining Rj not selected in 2.1 and the procedure 3. RY is the correspondence in
A procedure 5: These procedures complete the gate randomization. The procedures 2 to 4 may be repeated to further randomize. The selection of R in the procedures 2 to 4 is maintained as it is.
Through the above integrations, 112, 114, 115, and 116 in
Thanks to the systematic errors eliminated, the peak can be obtained at the correct positions in
We stated that the embodiment can be applied even when the solution is in a linear superposition state |ψ(tn)>=Σiai|i> in the first embodiment. In quantum chemistry and many-body systems, a problem is to find the state of many-body electron systems, just treating |ψ(tn)>=Σiai|i>. In particular, the obtaining the ground state is a basic problem.
Electrons are fermions; thus they have different properties from qubits. However, fermions can only take two states of occupied and unoccupied; the property resembles that of qubits only taking |0> or |1>. For this reason, fermions can be represented using qubits according to a certain transformation rule.
According to the transformation rule, the Hamiltonian of an m-body electron system is generally described by
[Mathematical Formula 1]
H0=ΣjfjPj, Pj∈{I,X,Y,Z}°m
(refer to A. Kandala, et al., Nature 549, 242 (2017)). Herein, fj is a coefficient determined by the overlap of electron orbits, and the like, and Pj is a tensor product of m I's and Pauli operators. For example, the ground state of the hydrogen molecule is, which is in a two-electron system, is obtained with sufficient accuracy with each is state of the two atoms being taken into consideration. The Hamiltonian, transformed into a qubit form, is H0=f0I1I2+f1Z1Z2+f2Z1I2+f3I1Z2+f4X1X2 (refer to N. Moll, et al., Quantum Sci. Technol. 3, 030503 (2018)).
The ground state of H0 is obtained by setting H1=−B(X1+X2) and by performing an operation according to the procedure illustrated in
Let us suppose performing a plurality of operations for the circuit in
A variational method is a method in which the parameter ai is gradually varied to calculate E, and the ai providing the minimum E is output as a final solution. As in this example, a variational computation for a small electron system is easy. However, the amount of the variational computation increases as the number of electrons increases. In that case, it is effective to prepare |ψ> by using the quantum computer; the method called Variable Quantum Eigensolver (VQE) corresponds to just the method.
In this example, the trial function of the variational computation can be easily predicted as |ψ>=a00|00>+a11|11>. As the number of electrons increases, it may be difficult to predict a trial function itself. In that case, it is also effective to use various machine learning methods. For example, let us deal with a method called restricted Boltzmann machine; the target is how to represent ai in |ψ>=Σiai|i>. Let ci, dj, and Wij be variational parameters; let v=(v1, v2, . . . ) be a variable in an area called a visible layer; and let h=(h1, h2, . . . ) be a variable in an area called a hidden layer. Let us define a virtual energy function E(v, h) as
E(v,h)=−Σicivi−Σjdjhj−ΣijWijvihj.
Then, ai is described using E(v, h). Herein, vi, hj=±1. Let Z=Σvh exp[−Σ(v, h)] that is the partition function. Then, p(v, h)=exp[−Σ(v, h)]/Z corresponds to the appearance probability of (v, h). When trace is taken with respect to the variable h for the hidden layer, a(v)=Σhp(v, h). Let the binary representation of i for ai be im-1 im-2 . . . 0; let us rewrite them to vm-1 vm-2 . . . v0, where {0, 1} is replaced by {+1, −1}; then, a(v) corresponds to ai. That is, if ci, hj, and Wij are determined by the variational computation so that |a(v)|2=|ai|2, the state |ψ>=Σiai|i> can be obtained. Moreover, if the variational computation is performed using the |ψ>=Σiai|i> obtained in this way as a trial function, where E=<ψ|H0|ψ> is minimized, then |ψ=Σiai|i> with a high accuracy is obtained.
Let us describe the method of machine learning more generally. It is stated that “the variational function |ψ(λ)> is assumed to be determined by the parameter λ; let |ψ(λ)>=Σjaj(λ)|j> by expanding |ψ(λ)> by |j>; and the parameter λ is determined so that |aj(λ)|2 fits the above-mentioned probability distribution”. In the case of the restricted Boltzmann machine, ci, dj, and Wij correspond to λ, and aj(λ) corresponds to a(v)=Σhp(v, h).
Next, let aj(λ) obtained with the parameter λ be the initial value of aj; let |ψ>=Σjaj|j> be the variational function. By repeating the computation to find E by varying the parameter aj, which is the variational computation to find the lowest value of the expected value E=<ψ|H0|ψ>, we can output aj providing the lowest value of E as a final solution.
The method of the embodiment achieves the quantum computing by using the longitudinal relaxation phenomena as a driving force. The ground state corresponds to a correct state, and the excited state corresponds to an incorrect state. The transition to the excited state that can occur during the computation corresponds to an operation error. Since the excited state is longitudinally relaxed to the ground state, the operation error is naturally corrected. That is, error correction is executed with natural properties of a physical system. Therefore, the method of the embodiment can also be applied to a gate-type quantum computer that does not perform quantum error correction, such as a NISQ computer.
According to the embodiment, quantum computing using the longitudinal relaxation as a driving force enables the gate-type quantum computer (the NISQ computer) that does not have an error correcting function to deal with actual problems. That is, the embodiment enables the quantum computer with operation noise applicable to general actual problems without error corrections.
In addition, since the quantum computer is of a gate type, which can perform arbitrary unitary operations (universal quantum computer), it can deal with general problems without an limitation such as that to combinatorial optimization problems. Furthermore, there are some effect: (1) Since the distribution of the measured values is obtained, the solution of each qubit does not need to be a binary value of 0 and 1, and quantum mechanical problems in which the linear superposition state of |0> and |1> becomes a solution can be dealt with. (2) The accuracy of a solution can be improved if combined with a variational method and/or machine learning. (3) It is possible to eliminate the systematic errors, which improves the accuracy of the solution.
Number | Date | Country | Kind |
---|---|---|---|
2021-097298 | Jun 2021 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20230093578 | Ruskuc | Mar 2023 | A1 |
Number | Date | Country |
---|---|---|
2013-114366 | Jun 2013 | JP |
Number | Date | Country | |
---|---|---|---|
20220398481 A1 | Dec 2022 | US |