The present application claims priority to Japanese Patent Application No. 2023-110102 filed on Jul. 4, 2023, the disclosure of which is incorporated herein by reference in its entirety.
The present disclosure relates to an amplitude estimation method for estimating, using a quantum computer in which noise is present, the amplitudes of quantum states realized on the quantum computer.
By using a quantum computer, it is expected that problems which could not be solved within realistic timeframes or scales with conventional computers can now be addressed. Consequently, various application technologies utilizing quantum computers are being considered (for example, see Japanese Laid-Open Patent Publication No. 2017-59074).
The amplitude estimation problem, which involves estimating parameters embedded in the amplitudes of quantum states, is one of the representative problems in quantum computers. For instance, the amplitude estimation problem can arise as a sub-problem when performing derivative pricing computations in the financial field or energy computations in the chemical field on a quantum computer.
There is room for improvement in the amplitude estimation method for estimating the amplitudes of quantum states realized on quantum computers.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
An aspect of the present disclosure provides an amplitude estimation method. The amplitude estimation method includes executing, by processing circuitry, operations. The operations include performing an operation of embedding a parameter θ into an amplitude in a quantum state using an operator A. The operations include amplifying, using a Grover operator, the amplitude in the quantum state on which the embedding operation has been performed by the operator A. The operations include measuring the quantum state after the amplitude has been amplified by the Grover operator. The operations include estimating the parameter θ and a noise parameter p using a result obtained by measuring the quantum state, the noise parameter p indicating an intensity of noise generated in an operation. The operation includes constructing a variational quantum circuit that adjusts a measurement basis for the quantum state after the amplitude has been amplified. The variational quantum circuit is controlled by a parameter θ′ and a parameter α. The operations include setting an initial value of the parameter θ′ in the variational quantum circuit. The operations include estimating the parameter θ and the noise parameter p by performing a preliminary measurement of the quantum state using the variational quantum circuit in which the initial value has been set. The operations include reconstructing the variational quantum circuit that adjusts the measurement basis by employing, as the parameter θ′, an estimated value obtained from a result of the preliminary measurement. The operations include performing, using the reconstructed variational quantum circuit, a subsequent measurement using the adjusted measurement basis. The operations include estimating the parameter θ and the noise parameter p using a result of the subsequent measurement.
Specifically, the above aspect is achieved by performing a total of three computations; namely, a pre-computation for adjusting the parameter α of the variational quantum circuit, a preceding computation for estimating the parameter θ, and a subsequent computation. First, the parameter α of the variational quantum circuit is adjusted by the pre-computation so as to give a desired operation in an approximate manner. Next, as the preceding computation, a rough estimated value of the parameter θ embedded in the amplitude is obtained with a relatively small number of shots. Finally, in the subsequent computation, the measurement basis is adjusted using the estimated values of the parameter α of the variational quantum circuit and the amplitude parameter θ to obtain a final estimated value of the parameter θ.
Other features and aspects will be apparent from the following detailed description, the drawings, and the claims.
Throughout the drawings and the detailed description, the same reference numerals refer to the same elements. The drawings may not be to scale, and the relative size, proportions, and depiction of elements in the drawings may be exaggerated for clarity, illustration, and convenience.
This description provides a comprehensive understanding of the methods, apparatuses, and/or systems described. Modifications and equivalents of the methods, apparatuses, and/or systems described are apparent to one of ordinary skill in the art. Sequences of operations are exemplary, and may be changed as apparent to one of ordinary skill in the art, with the exception of operations necessarily occurring in a certain order. Descriptions of functions and constructions that are well known to one of ordinary skill in the art may be omitted.
Exemplary embodiments may have different forms, and are not limited to the examples described. However, the examples described are thorough and complete, and convey the full scope of the disclosure to one of ordinary skill in the art.
In this specification, “at least one of A and B” should be understood to mean “only A, only B. or both A and B.”
An amplitude estimation method according to an embodiment will now be described with reference to
The amplitude estimation problem is a problem of estimating the parameter θ embedded in the amplitude of the state |ψ(θ)>n+1 in the following Expression 1. Expression 1 is defined using the operator A. The operator A performs an operation defined by Expression 1.
The operation using a Grover operator G for the quantum state of Expression 1, which is shown in the fourth equation of Expression 2, is referred to as amplitude amplification.
Where Ng=2m+1
Here, m is the number of amplitude amplifications. That is, m is the number of calls to the Grover operator G. Further, Ng=2m+1 is the number of calls to the operator A when the operation shown in the circuit of
As amplitude estimation using amplitude amplification, a method for using maximum likelihood estimation when estimating amplitude is known (refer to Japanese Patent No. 7005806). The technique described in this document estimates an amplitude by performing maximum likelihood estimation. This maximum likelihood estimation is performed based on combinations of measurement data generated from quantum circuits each having a different number of calls to the Grover operator G (i.e., a different number of amplitude amplification operations).
As shown in
A quantum state is usually disturbed by noise resulting from the interaction between the system and the environment. The influence of such noise is modeled by a model in which depolarization noise is generated each time the Grover operator is operated, for example, as in Expression 3. Here, ρnoise is a density operator representing the quantum state after depolarization noise has occurred. In this model, it is assumed that, in accordance with a noise parameter p that gives the intensity of noise, a correct operation is performed with a probability p, and a completely mixed state is obtained with a probability [1-p]. The value of the noise parameter p is unknown because it varies depending on the details of the operation. However, since the measurement result changes depending on the noise parameter p, the influence of the noise parameter p needs to be considered in order to accurately estimate the parameter θ. Here, d=2(n+1) represents the dimension of the Hilbert space.
In the estimation of the parameter θ, it is known that a measurement basis that theoretically allows for the most accurate estimation of θ is obtained by spectral decomposition of a SLD operator LS (see Braunstein, S. L. et al., “Statistical Distance and the Geometry of Quantum States,” PHYSICAL REVIEW LETTERS, 72, American Physical Society, May 30, 1994, https://painterlab.caltech.edu/wp-content/uploads/2019/06/statistical_distance_geometry_quantum_states.pdf). Here, the measurement basis indicates a state serving as a reference in measurement of a quantum state.
In this problem setting, the eigenvectors of the SLD operator LS are given by λ0, λ1, and λd in the following formula. Here, |d> is a vector orthogonal to |ψ0> and |ψ1>.
If measurements can be performed in the measurement basis including the eigenvectors λ0, λ1, λd, it is theoretically possible to estimate the parameter θ with the highest accuracy. To perform measurements with an arbitrary measurement basis on a quantum computer, it is generally necessary to perform a large number of gate operations before the measurement.
As a method for adjusting the measurement direction with a relatively small number of operations, a variational quantum circuit may be used. A variational quantum circuit uses gate operations controlled by parameters. By employing such circuits, it is expected to give an operation approximate to the desired operation with relatively few gate operations. For example, variational quantum circuits that are relatively easy to implement on hardware, have been proposed for the physical constraints of quantum computers. These include, for example, Hardware Efficient Ansatz and Alternating Layered Ansatz (see A. Kandala et al., “Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets,” Nature, 549, 242-246 (2017), Springer Nature Limited. Apr. 17, 2017, https://arxiv.org/pdf/1704.05018.pdf and M. Cerezo et al., “Cost function dependent barren plateaus in shallow parametrized quantum circuits,” Nature Communications, volume 12, Article number: 1791 (2021), Mar. 19, 2021, https://www.nature.com/articles/s41467-021-21728-w).
As mentioned above, the optimal measurement basis in the presence of noise can be obtained through the spectral decomposition of the SLD operator LS. However, in quantum computers, measurements are performed using a specific measurement basis referred to as the computational basis, making it difficult to achieve the theoretical limit of estimation accuracy for the parameter θ.
The present embodiment adopts an adaptive measurement basis optimization strategy that allows for achieving the theoretical limit of estimation accuracy in the estimation of the parameter θ. Here, the parameter estimation is divided into two stages. Specifically, first, the parameters θ and p are roughly estimated from the measurement results obtained in a preliminary measurement. Then, the measurement basis is optimized using this result, and a subsequent measurement is performed, thereby obtaining final estimated values of the parameters θ and p.
Thus, a user terminal 10 and an arithmetic device 20 connected to each other via a network as shown in
A hardware construction of an information processing device H10 will now be described with reference to
The communication device H11 is an interface that establishes communication paths with other devices to send and receive data. The communication device H11 is, for example, a network interface or a wireless interface.
The input device H12 is a device that accepts inputs from a user or the like and is, for example, a mouse or a keyboard. The display device H13 is, for example, a display that displays various types of information.
The memory device H14 stores data and various programs to implement the functions of the user terminal 10 or the arithmetic device 20. Examples of the memory device H14 include a ROM, a RAM, and a hard disk.
The processor H15 uses the programs and data stored in the memory device H14 to control processes in the user terminal 10 or the arithmetic device 20. Examples of the processor H15 include a CPU and a MPU. The processor H15 deploys programs stored in a ROM or the like with a RAM to execute various processes providing service.
The processor H15 does not have to execute all processes through software processing. For example, the processor H15 may include a special-purpose hardware circuit, such as an application-specific integrated circuit (ASIC) that executes at least some processes through hardware processing. Specifically, the processor H15 may be circuitry (e.g., processing circuitry) including any of the following.
The processor includes a CPU and memory such as a RAM and ROM. The memory stores program codes or instructions constructed to cause the CPU to execute the processes. The memory, which is a computer-readable storage medium, includes any type of non-transitory storage media that are accessible by general-purpose computers and dedicated computers. In other words, one or more computer-readable storage media store instructions that, when executed by one or more computer processors, cause the one or more computer processors to perform various operations.
The system construction of the user terminal 10 and the arithmetic device 20 will now be described with reference to
The user terminal 10 is a computer terminal used by a user.
The arithmetic device 20 is a computer for performing amplitude estimation.
The arithmetic device 20 executes processes that will be described below (processes such as a management stage, a classical computation stage, and a quantum computation stage). By executing programs for these processes, the arithmetic device 20 functions as the management unit 211, the classical computation unit 212, and a quantum computation unit 22.
The management unit 211 manages quantum computations and classical computations.
The classical computation unit 212 performs a statistical process in the maximum likelihood estimation. Further, the classical computation unit 212 executes an updating process that updates the parameters used to optimize the measurement basis.
The quantum computation unit 22 performs quantum computations. The quantum computation unit 22 includes an operating unit 221, a state maintaining unit 222, and a measuring unit 223.
The operating unit 221 performs a quantum operation according to a program, on qubits of the state maintaining unit 222. In this case, the operating unit 221 operates (creates) the state maintained by the state maintaining unit 222 using a quantum circuit including, for example, quantum gates.
The state maintaining unit 222 includes multiple qubits and maintains an arbitrary quantum state. Each qubit maintains a superposition state of multiple values in an arbitrary physical state such as an electron level, an electron spin, an ion level, each spin, and/or a photon. The qubit is not limited to the above if the superposition state can be maintained.
The measuring unit 223 observes the eigenstate of the superposition state of the qubits of the state maintaining unit 222. The measuring unit 223 records the hit count according to the states of the qubits in the state maintaining unit 222.
The outline of the parameter estimation process will now be described with reference to
Section (a) of
As shown in
The operators C0 and C1 satisfy the following conditions.
It is assumed that the operators C0 and C1 satisfying the condition of Expression 6 are approximately constructed using a variational quantum circuit controlled by a parameter α. The variational quantum circuit may have any construction. Specifically, the variational quantum circuit can use Hardware Efficient Ansatz described in “Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets,” Nature, 549, 242-246(2017), Springer Nature Limited, Apr. 17, 2017, https://arxiv.org/pdf/1704.05018.pdf, in addition to the aforementioned A. Kandala et al. Additionally, the variational quantum circuit can also use Alternating Layered Ansatz described in “Cost function dependent barren plateaus in shallow parametrized quantum circuits,” Nature Communications, volume 12, Article number: 1791(2021), Mar. 19, 2021, https://www.nature.com/articles/s41467-021-21728-w, in addition to the aforementioned M. Cerezo et al.
For example, the operators C0 and C1 when n=2 will be described.
As shown in sections (a) and (b) of
According to the outline of the procedure shown in
Next, the arithmetic device 20 executes a preceding computation process (step S12). Specifically, the management unit 211 performs amplitude estimation by maximum likelihood estimation using the classical computation unit 212 and the quantum computation unit 22.
As shown in section (b) of
Next, the arithmetic device 20 executes a process that optimizes the measurement basis (step S13). Here, the operator B523 for adjusting the measurement basis is constructed using the parameter θ1 obtained in the preceding computation process.
Then, the arithmetic device 20 executes a subsequent computation process (step S14). In this case as well, the management unit 211 performs amplitude estimation by maximum likelihood estimation using the classical computation unit 212 and the quantum computation unit 22.
As shown in section (c) of
The processes of
First, the arithmetic device 20 optimizes the parameter α for controlling the operators C0 and C1 (step S21). The parameters α1 to α8 are optimized by constructing the operators C0 and C1 as shown in
As shown in
Next, the arithmetic device 20 determines whether the sign is inverted (step S22). B′|ψ(θ)> provide a transformation into states with opposite signs, as shown in the following Expression 8.
Thus, when transformation is performed as shown in the following Expression 9, bit inversion by the Z-gate is required.
To determine the sign inversion, measurement is performed by adding an H-gate as shown in Expression 10.
In the case of (cos θ+sin θ)|0>n|0>+(cos θ−sin θ)|0>n|1> from 0≤θ≤π/2, the relationship of p0>p1 is established between the probabilities (p0, p1) of obtaining |0>n|0> and 10>n|1>. Thus, if p0>p1 based on the measurement results, a Z-gate is applied.
In this case, as shown in
Subsequently, the arithmetic device 20 constructs the operator B(θ′) (step S23). The operator B(θ′) shown in
When bit inversion is required, as shown in
Next, the arithmetic device 20 constructs the operator B(θ0) (step S24). Here, an initial value θ0 of the parameter θ′ is set. Specifically, the initial value θ0 is set such that −2NRθ0−π/2=0 is satisfied.
Next, the arithmetic device 20 estimates the parameters θ and p (step S25). The management unit 211 uses the quantum computation unit 22 to perform No measurements for the quantum circuit 510 to which the operator B(θ0) is added (section (b) in
Then, the arithmetic device 20 constructs the operator B (θ1) (step S26). The operator B(θ1) is constructed by employing the estimated value θ of θ obtained from the measurement result as a new parameter θ1.
Next, the parameters θ and p are estimated using the optimized measurement basis (step S27). The management unit 211 uses the quantum computation unit 22 to perform N1 measurements for the quantum circuit 520 to which the operator B(θ1) is added (section (c) in
The present embodiment has the following advantages.
(1) In the present embodiment, the arithmetic device 20 executes the pre-computation process (step S11), the preceding computation process (step S12), the process that optimizes the measurement basis based on the preceding computation result (step S13), and the subsequent computation process (step S14). This enables highly accurate estimation of the amplitude in the quantum state through the adaptive optimization of the measurement basis.
For example, the parameter θ that provides S as given by the following equation can be obtained.
For this estimation, the quantum circuit 700 shown in
As shown in
The present disclosure allows for estimation of a parameter embedded in the amplitude of the quantum state with high accuracy in quantum computation.
(2) In the present embodiment, the arithmetic device 20 determines whether the sign is inverted (step S22). This allows the quantum circuit to be constructed in consideration of the sign inversion of the quantum state after operation of the operators C0 and C1 constructed with the variational quantum circuit.
(3) In the present embodiment, the amplitude in the state of the following Expression 12 is estimated in the estimation of the parameter θ.
The state of the above Expression 12 is constructed by the bases |ψ0>n|0> and |ψ1>n|1>. Thus, if the output of (n+1)th qubit shown in
The present embodiments may be modified as follows. The present embodiment and the following modifications can be combined as long as they remain technically consistent with each other.
In the present embodiment, the arithmetic device 20 executes the pre-computation process (step S11), the preceding computation process (step S12), the process that optimizes the measurement basis based on the preceding computation result (step S13), and the subsequent computation process (step S14). That is, the parameter estimation is divided into two stages. However, the number of stages is not limited to two if the measurement basis of the subsequent computation can be optimized by the preceding computation.
In the above-described embodiment, the variational quantum circuit is constructed by the operators C0, C1 and the Ry gate, but is not limited thereto.
In the above-described embodiment, the operators C0 and C1 are constructed by Ry gates, but are not limited thereto.
Various changes in form and details may be made to the examples above without departing from the spirit and scope of the claims and their equivalents. The examples are for the sake of description only, and not for purposes of limitation. Descriptions of features in each example are to be considered as being applicable to similar features or aspects in other examples. Suitable results may be achieved if sequences are performed in a different order, and/or if components in a described system, architecture, device, or circuit are combined differently, and/or replaced or supplemented by other components or their equivalents. The scope of the disclosure is not defined by the detailed description, but by the claims and their equivalents. All variations within the scope of the claims and their equivalents are included in the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2023-110102 | Jul 2023 | JP | national |