The present technology relates to an XY model calculation apparatus that simulates an XY model by using an optical pulse, and more specifically, relates to an XY model calculation apparatus using an optical parametric oscillator (OPO).
A known von Neumann computer cannot efficiently solve combination optimization problems classified as an NP problem. A proposed method for solving combination optimization problems includes a method using an Ising model, which is a lattice model in which a magnetic material is statistically analyzed as an interaction of spins at respective sites of lattice points. A coherent Ising machine (CIM) that simulates and efficiently calculates the Ising model by using an optical parametric oscillation pulse has been proposed (PTL 1 and NPL 1).
In addition, calculating an XY model by using one non-degenerate OPO pulse has been proposed (NPL 2).
Similar to the Ising model, the XY model is proposed as a model for a magnetic body and expresses a state in which two-dimensional vectors are arranged at respective lattice points, similar to the Ising model.
Similar to the Ising model and the like, the XY model here is one example of a simplified spin model, similar to the Ising model. The XY model represents spins at the lattice points with a two-dimensional classical vector and are expressed as follows.
H
xy=ΣijKijsi·sj=ΣijKij cos(θi−θj)
s
i=(sxi,syi) where |si|=1. Math. 1
θi Math. 2
indicates a phase of an i-th spin, where i is a natural number.
θj Math. 3
indicates a phase of a j-th spin, where j is a natural number.
The XY model is well known as a model for describing the Kosterlitz-Thouless transition, for example, in a superfluid thin film of helium-4. If the solution to this model can be obtained efficiently, the XY model can be applied to the structural analysis of high molecular substances, such as proteins, spectroscopy, and optimization problems of community detection and the like.
A model in which a neural network is constructed of spiking neurons is called a spiking neural network. Such a spiking puts a neural network closer to a biological function of the brain and is an artificial neural network model created with an emphasis on action potentials (spikes). In spiking neural networks, a timing at which a spike occurs is considered as information, and the number of parameters to be handled increases. Consequently, the spiking neural networks are referred to as a next-generation technology that can handle a wider range of problems than deep learning. When neural network processing is implemented on a von Neumann computer for sequential processing, the processing efficiency generally decreases. Furthermore, in the case of a spiking neural network, it is necessary to also imitate the action potential, further deceasing the processing efficiency. Consequently, in simulating a neural network, a dedicated processor is often implemented (NPL 3).
A coherent Ising machine of the related technology is specialized for solving Ising problems, that is, integer combination optimization problems but is not suited for the application to combination optimizations expressed by real numbers.
In addition, the related technology requires the measurement of two components (in-phase and quadrature components) of pulsed light, complicating the device configuration. Furthermore, when a spiking neuron model or an Ising model is calculated in the same device, it is necessary to drastically change the device configuration, and thus, unfortunately, reducing the range of computable models (NPL 2).
The present technology has been developed in view of the issues of the related art, and an object of the present technology is to provide an XY model calculation apparatus that measures only one component (an in-phase component) of the two components (in-phase and quadrature components) of the pulsed light.
To solve the above-described issues, one aspect of an XY model calculation apparatus is to include a resonator unit that amplifies a plurality of optical pulses, a measurement unit that measures phases and amplitudes of the plurality of optical pulses to obtain a measurement result, and a feedback configuration that calculates and feeds back an interaction related to a certain optical pulse of the plurality of optical pulses by using a coupling coefficient of an Ising mode in response to the measurement result and a coupling coefficient of an Ising model, and the XY model calculation apparatus is characterized in that the feedback configuration is configured to perform a feedback input of a correlation to be determined by a coupling coefficient of two optical pulses of the plurality of optical pulses, and is configured so that only one component (an in-phase component) of the pulsed light is to be measured.
The XY model calculation apparatus according to the disclosure of the present technology measures only one component (an in-phase component) of pulsed light. This simplifies the device configuration, and thus, an advantageous effect of capable of also calculating a spiking neuron model or an Ising model with substantially the same device configuration is obtained.
Below, embodiments of the present invention will be described in detail.
In an XY model calculation apparatus of the present embodiment, a state of one spiking neuron is implemented for two OPO pulses of a coherent Ising machine. The XY model calculation apparatus includes a resonator unit that amplifies a plurality of optical pulses (OPO pulses), a measurement unit that measures phases and amplitudes of the plurality of optical pulses to obtain a measurement result, and a feedback configuration that uses the measurement result and a coupling coefficient of the Ising model to calculate and feed back an interaction related to certain optical pulses. Here, a coherent Ising machine that realizes a spiking neuron apparatus of the present embodiment will be described.
A coupling matrix Jij describing a feedback signal in a degenerate optical parametric oscillator (DOPO) spiking neuron apparatus is set so as to be given by (Equation 10) described later.
A calculation apparatus capable of solving an XY model (hereinafter, referred to as a Hamiltonian) is created by extending the DOPO spiking neuron apparatus (DOPO-SNN). DOPO-spiking neural networks (SNNs), coherent Ising machines (CIMs), and Potts model calculation apparatuses of the related art are adapted for solving combination optimization problems of integers, and the calculation apparatus capable of solving XY models can be applied to combination optimization problems expressed by real numbers.
The XY model calculation apparatus is used to realize an apparatus that calculates a low energy state of the XY model in which a variable is described by a real number θ using a coupling matrix. The real number θ is given by an argument θ in a plane having, as axes, amplitudes of two optical pulses (DOPO pulses) that form a spiking neuron. If the firing state of the spiking neuron is controlled by the present technique, the argument θ changes continuously so as to rotate from 0 to 2π. Consequently, it is possible to obtain the argument as a variable θ of a real number.
It is not possible to efficiently solve combination optimization problems classified as NP problems with von Neumann computers known in the related art. As a procedure for solving combination optimization problems, a procedure has been proposed that uses the Ising model, which is a lattice model for statistically analyzing a magnetic material by using interactions of spins at each site of lattice points.
It is known that a Hamiltonian Hxy, which is an energy function of the Ising model system, is expressed by Equation (1) below.
Furthermore, a complex (numerical system) Hamiltonian Hcxy is expressed as follows.
Math. 5
H
cxy=ΣijKij exp[i(θi−θj)] (2)
In Equations (1) and (2), Kij is a coupling matrix and indicates a correlation of sites constituting the Ising model.
By inputting a feedback signal generated by an arithmetic device of the XY model calculation apparatus, it is possible to calculate the low energy state of the XY model.
As illustrated in
When the optical pulse train input to the ring resonator 1 completes one round and reaches the PSA 2 again, pump light is again input to the PSA 2 to amplify the optical pulse train. The optical pulse train generated by the first injection of the pump light is a weak optical pulse having a phase that is not fixed, but the optical pulse train is amplified by the PSA 2 in every round in the ring resonator 1, so that the phase state of the optical pulse train is gradually fixed. The PSA 2 amplifies each optical pulse in a phase of 0 or π with respect to the phase of the pump light source, and thus, the phase of the optical pulse is fixed to any one of the phase states 0 and π.
In the coherent Ising machine, spins 1 and −1 in the Ising model are implemented corresponding to the phases 0 and π of the optical pulse. The phase and amplitude of the optical pulse train are measured by the measurement unit 3 outside the ring resonator 1 for each round the optical pulse moves in the ring resonator 1. The measurement result is input to the arithmetic device 4 with a coupling coefficient Kij given in advance, and the measurement result and the coupling coefficient Kij are used to calculate a coupling signal for the i-th optical pulse (a signal to be input as feedback)
Math. 6
{tilde over (α)}i=ΣijKijvj (3)
Math. 7
{tilde over (β)}i=ΣijKijwj (4)
(vj: amplitude of an optical pulse v at the j-th site, wj: amplitude of an optical pulse w at the j-th site). Then, an external optical pulse according to the calculated coupling signal is generated by the external optical pulse input unit 5 and input to the ring resonator 1. This feedback loop control can impart a correlation of phases between the optical pulses constituting the optical pulse train.
In a coherent Ising machine, the optical pulse train can be amplified in every round the optical pulse train moves in the ring resonator 1, while being imparted with the above-mentioned correlation, and when a stable state is reached, the phases 0 and π of the optical pulses constituting the optical pulse train can be measured to solve the Ising model.
The configuration of the coherent Ising machine illustrated in
When the configuration includes the coherent Ising machine illustrated in
Math. 8
αi=ΣjJijCj+Fi (5)
In Equation (5) above, Fi is a magnetic field term. Jij is a correlation (a coupling matrix) determined by the coupling coefficients, and is specifically given as follows.
The pair of the optical pulses vi and wi indicates a state of the i-th spiking neuron by the matrix mentioned above. At this time, equations satisfied by the i-th pair of v and w are given by Equations (7) and (8) below (the subscript i being omitted in Equations (7) and (8)). The behavior of the spiking neuron in the present apparatus is characterized by these equations. When the operation of the DOPO spiking neuron apparatus can be expressed by Equations (7) and (8) below, the DOPO spiking neuron apparatus functions as an XY model calculation apparatus.
In Equations (7) and (8), p represents the intensity of the pump light and is normalized so that the oscillation threshold value is p=1. For convenience, P=p−1 may be set.
Note that in the case of a complex XY model, a coupling signal (a signal to be input as feedback) for the i-th optical pulse is calculated by Equations (9) and (10)
Math. 12
{tilde over (α)}i=(Σij(Kijvj+ℑKijwj))αi=Jvwwi+{tilde over (α)}i (9)
Math. 13
{tilde over (β)}i=(Σij(Kijwj−ℑKijvj))βi=Jwvvi+{tilde over (β)}i (10)
where vj is the amplitude of the optical pulse v at the j-th site and wj is the amplitude of the optical pulse w at the j-th site. Furthermore, the coupling matrix is defined as expressed in Equation (11).
The variable of the XY model
θi Math. 15
is defined as
arg(vi+iwi) Math. 16
This corresponds to an argument in a plane formed by
(vi,wi) Math. 17
which is the amplitudes of the two pulses constituting the DOPO spiking neuron. In a firing state of the spiking neuron,
θi Math. 18
changes continuously so as to rotate from 0 to 2π.
The XY model calculation apparatus of the present embodiment includes a resonator unit that amplifies a plurality of optical pulses, a measurement unit that measures phases and amplitudes of the plurality of optical pulses to obtain a measurement result, and a feedback configuration that uses the measurement result and a coupling coefficient of the Ising model to calculate and feed back an interaction related to certain optical pulses. Furthermore, in the XY model calculation apparatus of the present embodiment, the feedback configuration is configured to input as feedback a correlation determined by the coupling coefficient of two optical pulses of the plurality of optical pulses, and only one component (an in-phase component) of pulsed light is measured. It is possible to use an apparatus having the same configuration as the coherent Ising machine apparatus of the related art. Here, the variable is described by the real number θ, and when Equation (1) expressing the energy of the XY model
satisfies the coupling matrix
J
ij Math. 20
of Equation (6)
and Equation (2) expressing the energy of the complex XY model
Math. 22
H
cxy=ΣijKij exp[i(θi−θj)] (2)
satisfies the coupling matrix of Equation (11),
an apparatus for calculating a low energy state is obtained. The real number θ is given by an argument in a plane having, as axes, the two amplitudes (of the DOPO pulses) constituting the spiking neuron. If the firing state of the spiking neuron is controlled by the method described in the present embodiment, the argument θ changes continuously so as to rotate from 0 to 2π. Thus, it is possible to obtain a variable θ expressed by a real number, and to use the variable θ to search for a low energy state of the XY model.
A method of significantly improving the calculation accuracy by inputting a feedback signal (Equation 13) in order to smoothly control the firing state of the apparatus will be described. An apparatus similar to that of the first embodiment can be used, except for the feedback signal.
Control Feedback of Amplitude
In some cases, the amplitude of light changes depending on i, and thus, the accuracy may be insufficient. In such cases, the apparatus may not function as an XY model solver, except for a specific case. Thus,
αi,{tilde over (α)}i,βi,,Jwv,vi,wi Math. 24
of Equations (9) and (10) of the first embodiment are used to expand the feedback signal as described below.
When
E
i=0, Math. 26
the feedback signal is the feedback signal before expansion.
Equations (12) are obtained from a feedback signal of an apparatus of the related art
in which
F
i
=−E
i
C
i. Math. 28
When
Math. 29
αi=ΣjJijCj−EiCi (13)
is used as a feedback signal to expand the feedback signal, it is possible to adjust the size of the amplitude. A result of a numerical simulation confirming that the size of the amplitude can be adjusted is described below.
In the numerical simulation, a complex XY model in which the number of spins N is 100 and a coupling constant Kij which is a matrix of complex numbers are randomly generated.
Furthermore, a quasi-Newton method is used to find a solution. However, when the size of N is small, for example, several tens of numerical values, it is only possible to obtain a solution similar to that of quasi-Newton.
When N is about 300, the score of the SNN tends to be better. Note that the number of steps is constant.
The score also depends on the density of the coupling constant Kij. When the coupling constant Kij has high density, the SNN tends to be stronger.
The trajectories of two pulses in the vw-plane (i being omitted), that is, the amplitudes of the two pulses, are illustrated in
An XY model in which the number of spins N is 100 is employed to describe the energy of a complex XY model with reference to
Note that the XY model calculation apparatus adopted in the first and second embodiments may be employed in a combination optimization problem calculation apparatus that solves the above-described combination optimization problem by using the XY model calculation apparatus.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2020/009006 | 3/3/2020 | WO |