Universal quantum gates, artificial neurons and pattern recognition
simulated by LC resonators
Abstract
We propose to simulate quantum gates by LC resonators, where the amplitude and the phase of the voltage describe the quantum state. By controlling capacitance or inductance of resonators, it is possible to control the phase of the voltage arbitrarily. A set of resonators acts as the phase-shift, the Hadamard and the CNOT gates. They constitute a set of universal quantum gates. We also discuss an application to an artificial neuron. As an example, we study a pattern recognition of numbers and alphabets by evaluating the similarity between an input and the reference pattern. We also study a colored pattern recognition by using a complex neural network.
I Introduction
Quantum computation is one of the most exciting fields of current physicsFeynman ; DiVi ; Nielsen . It is realized in various systems including superconductorsNakamura , photonic systemsKnill , quantum dotsLoss , trapped ionsCirac and nuclear magnetic resonanceVander ; Kane . For universal quantum computation, it is well known that only three quantum gates are enough, which are the phase-shift, the Hadamard and the CNOT gatesDeutsch ; Dawson ; Universal .
Recently, electric circuits attract renewed attention in the context of topological physicsComPhys ; TECNature ; Garcia ; Hel ; Rosen ; Lu ; EzawaTEC ; Hu ; Hofmann ; Research ; EzawaLCR ; EzawaNH ; EzawaMajo ; HelSkin . There are also some attempts to simulate various quantum gates by electric circuitsEzawaUniv ; EzawaDirac ; EzawaTQC . Among them, a network of telegrapher lines is capable to simulate the universal quantum gatesEzawaUniv ; EzawaDirac , because we may rewrite the Kirchhoff law in the form of the Schrödinger equationEzawaSch . This formulation requires long wires for a long quantum algorithm, where quantum states evolve spatially from the left wires to the right wires.
Quantum machine learning is an emerging field of contemporary physics Lloyd ; Schuld ; Biamonte ; Wittek ; Harrow ; Wiebe ; Reben ; ZLi ; SchuldB ; Hav ; Lamata ; Cong . Neural networks are often used in machine learning, where artificial neurons are basic elementsDeep ; Zurada . An artificial neuron has an internal degree of freedom called the weight. The output is determined from the input data by taking the inner product between the input data and the weight, and by applying an activation function to it. The inner product of two objects measures the similarity between them. For instance, using a series of numbers representing a reference pattern as the weight, we may analyze the similarity between an input pattern and the reference pattern as an output. Artificial neuron is simulated by quantum computerSchuldA ; WiebeA ; Cao ; Tacc ; Torro ; Kris ; Killo . Taking the inner product is the heaviest process, which will be executable by a quantum computerTacc ; Mangi .
In this paper, we propose to simulate one qubit by a pair of LC resonators, where a set of voltage and current represents a wave function. First, we construct a phase-shift gate with an arbitrary phase by tuning the capacitance of an LC resonator. Next, we construct the Hadamard gate by tuning the inductance of an inductor bridging two LC resonators. We also construct the CNOT and the controlled phase-shift gate by using a voltage-controlled inductor or capacitor. Finally, we discuss applications to artificial neuron and pattern recognition. The calculation of the inner product may be executed by the operation of LC resonators for arbitrary inputs and weights. We elucidate the difference between the standard quantum-circuit implementation and the present electric-circuit implementation of the inner product.
This paper is composed as follows. In Sec.II, we start with a discussion how to store the information of qubits in a set of LC resonators, where . Then, we propose to construct various quantum gates including a set of universal quantum gates by LC resonators.
In Sec.III, we apply our formalism to study artificial neurons, where we express various data with the aid of so-called real equally weighted (REW) statesDJ ; Grover ; HyperGraph . They are superposition states of -qubits with coefficients . In Sec.IV, we discuss a pattern recognition by calculating the inner product of an input data and the reference data. We present explicit examples of number recognition and alphabet recognition.
In Sec.V, we generalize REW states to include complex coefficients . We call them complex equally weighted (CEW) states. Then, we introduce complex-artificial neurons to deal with the inner product of CEW states. In Sec.VI, we propose to represent a colored pattern by a CEW state, where colored pattern recognition is done by evaluating the inner product of two CEW states representing the reference and an input pattern.
In Sec.VII, we present an electric-circuit implementation of quantum gates for calculation of an inner product starting from the initial -qubit state .
II LC resonators, qubits and gates
We use a set of identical LC resonators to simulate -qubit quantum computation. An instance of is illustrated in Fig.1(a). The voltage of the th LC resonator is expressed as
(1) |
where is the resonant frequency, is the absolute value of the voltage and is the phase shift.
A qubit state is defined by a superposition of the two states and as . Similarly, an -qubit state is defined by a superposition of the states as
(2) |
which is expressed equivalently as
(3) |
where is the decimal number corresponding to the binary nuber such as , , , .
It is a key observationEzawaTQC that we may set
(4) |
in the LC-resonator realization of quantum computation. Thus we store the information of qubits in a set of LC resonators.
Here we propose to carry out a gate process by controlling externally the value of a capacitance as in Fig.1(b) or the value of an inductor bridging two LC resonators as in Fig.1(c). For each gate process the initial and the final systems are the same set of identical LC resonators with the same energy, although the coefficient may be modified for some . A gate process is required to be adiabatic.
The gate is represented by a matrix such that
(5) |
By this operation, the initial state is brought to the final state , where and . It follows that
(6) |
since is a symmetric matrix in universal quantum computation.
Kirchhoff law and Schrödinger equation. We first consider a set of independent LC resonators. The Kirchhoff law of the th LC resonator may be rewritten in the form of the Schrödinger equationEzawaSch ; EzawaUniv ,
(7) |
where is the Hamiltonian, and
(8) |
is the wave function.
Energy conservation and probability conservation. The total energy of the system is given by with
(9) |
where and are the electrostatic energy and the magnetic energy, respectively.
On the other hand, by using (8), the probability of the wave function is rewritten as
(10) |
Hence, the conservation of the probability of the wave function is assured by the conservation of the total energyEzawaDirac . As we have stated, we arrange a gate process so that the total energy is the same before and after the gate process. It corresponds to the conservation of the probability for qubits .
Phase-shift gate. The phase-shift gate is defined by the matrix
(11) |
which acts on the one-qubit state . Namely, the action is
(12) |
To generate the phase shift in the wave function, it is enough to control only the capacitance in the LC resonator externally during the gating process as shown in Fig.1(b). We control the capacitance as , where
(13) |
with four parameters , , and , as shown in Fig.2(a1), (b1) and (c1).
It is possible to determine analytically how the phase shift depends on these parameters by calculating the Berry phase. Since the voltage evolution is written as a Schrödinger equation, we may use an adiabatic approximation. The snap shot wave function at time is given by , where is the normalized wave function,
(14) |
with the snapshot frequency,
(15) |
The Berry phase is calculated as
(16) |
When the perturbation is small enough with respect to , it is calculated as
(17) |
where is the phase shift given by
(18) |
It is explicitly calculated as
(19) |
which yields
(20) |
provided . Hence, we can tune the phase shift arbitrary by controlling the magnitude of .
We next solve numerically the differential equation (7) to study the time evolution of the voltage , and confirm the phase-shift formula (20). When we fix and , we have
(21) |
We present numerical results of the time evolution by choosing , and in Fig.2(a2), (b2) and (c2). See Fig.2(a3), (b3) and (c3) for for , representing the final state. The phase shift is found to occur due to the perturbation . The phase shift during a gating process is shown in Fig.2(a4), (b4) and (c4). After the gating process, the resonance frequency returns to but the phase becomes different from the initial value. It reads and as in Fig.2(a4), (b4) and (c4). These numerical results confirm the analytical formula (20).
Hadamard gate. The Hadamard gate is defined by the matrix
(22) |
which acts the one-qubit state . It is known to be given byEzawaUniv ; EzawaDirac
(23) |
where is the phase-shift gate, while is the mixing gate defined by
(24) |
We construct the mixing gate (24) in what follows.
We consider a pair of LC resonators bridged by an inductor as shown in Fig.1(c), where the inductance is controlled externally. The Kirchhoff law reads
(25) |
where , , , and are defined in Fig.1(c). It is rewritten in the form of the Schrödinger equation as in Eq.(7) with the Hamiltonian
(26) |
and the wave function
(27) |
By making a snapshot approximation, the eigenvalues are given by
(28) |
with
(29) |
at each .
We consider a process where the inductor is bridged to the LC resonators during a time interval but not for and . For example, we may take
(30) |
which we have illustrated in Fig.3(a).
We solve (25) numerically with the use of (30) and show how the voltage evolves in Fig.3. By tuning and appropriately, in order to construct the mixing gate (24), we make the magnitudes of and identical in the final state, i.e., for . We find the phase delay in and the phase advance in as in Fig.3(a4).
We may discuss the process analytically. For this purpose, we approximate (30) by a step function such that for , for and for . Two resonators are decoupled when . For definiteness we choose .
First, we analyze the case where only the left AC resonator is active for , or
(31) |
At , the perturbation is set on.
(i) For , we may solve the Kirchhoff equation (25) for the voltages as
(32) | ||||
(33) |
where we have chosen the initial condition to meet (31), or
(34) |
When , the oscillation modes are made of the high-frequency mode and the low-frequency mode .
(ii) At , we require the amplitudes of and to be identical. Since the amplitude is determined by the low-frequency mode, the condition reads
(35) |
Since the connection is weak, we have , which leads to . We use it to derive the relation
(36) |
which fixes to generate the mixing gate (24). The voltages read
(37) | ||||
(38) |
where use was made of (32), (33) and (36). There are phase shifts .
(iii) For , since the perturbation is off, two LC resonators resonate independently with the initial condition (37) and (38), or
(39) | ||||
(40) |
It followed that
(41) | ||||
(42) |
Next, we analyze the case where only the right AC resonator is active for , or
(43) |
instead of (31). By making precisely the same analysis, we obtain
(44) | ||||
(45) |
The results (41), (42) (44) and (45) are summarized as the mixing gate (24) based on the definition (6).
NOT gate. The NOT gate is defined by the matrix
(46) |
which acts on one qubit. We find from Eq.(24) that
(47) |
It is given by the sequential applications of the mixing gate. The construction is similar to that of the mixing gate provided the duration of the inductor is made twice. We present numerical results in Fig.3(b). With respect to an analytical study, the main equation is
(48) |
in place of Eq.(36).
One qubit universal gate. We may construct a combination of the Hadamard and phase-shift gates such as
(49) |
which represents any SU(2) generator. It is called the one-qubit universal-quantum gate.
CNOT gate. The CNOT gate is defined by a matrix
(50) |
which acts the two-qubit state . Two-qubit operation is constructed by using four LC resonators as in Fig.1. The CNOT gate is constructed by applying the NOT gate between the resonators representing and , as shown in Fig.1(d).
Controlled Z gate. The CZ gate is defined by a matrix
(51) |
which acts on the two-qubit state . It follows from the definition that the controlled and target qubits are symmetric in the CZ gate, which leads to various equivalence quantum circuits as shown in Fig.4(a). We denote the CZ gate by the two black disks connected by a line.
CCZ gate. In a similar way to the CZ gate, we can construct the controlled-controlled Z (CCZ) gate acting on three qubits. It flips the sign of the state . Namely, we flip to . As in the case of the CZ gate, the CCZ gate is symmetric with respect to the exchange of the controlled and target qubits shown in Fig.4(b). We denote the CCZ gate by the three black disks connected by a line.
Cp-1Z gate. We further generalize the CCZ gate to the Cp-1Z gate. It is a -qubit gate, which flips the sign of the coefficient of the state . As in the case of the CZ and CCZ gates, the Cp-1Z gate is symmetric with respect to the controlled and target qubits.
More generally, we may take an -qubit system with . We may consider a Cp-1Z gate acting a -qubit subspace. We denote it by black disks connected by a line. Such Cp-1Z gates play an essential role to make a hypergraph state as we will soon see.
Controlled phase-shift gate. The controlled phase-shift gate is defined by the matrix
(52) |
which acts on two qubits. There is no action on the target qubit if the control qubit is , while the phase-shift gate is applied if the control qubit is . The controlled phase-shift gate is constructed by applying the phase-shift gate for the LC resonators representing , as shown in Fig.1(e).
Note that the CZ gate (51) is obtained by setting in the controlled phase-shift gate (52). Namely, it may be viewed as a generalization of the CZ gate, and hence we call it the CZϕ gate.
Cp-1Zϕ gate. In a similar way to Cp-1Z gates, we may define multi-controlled phase-shift gates, which we denote by Cp-1Zϕ gates. It is a -qubit gate, which multiplies the phase to the coefficient of the state .
III Artificial neuron
An artificial neuron is a mathematical modelDeep ; Zurada to simulate a biological neuron. There are inputs , , , and weights , , , , where, and are real numbers. We represent the input and the weight by wave functions asTacc
(53) |
where forms the qubit basis as in Eq.(3). Note the difference between the coefficients in Eq.(3) and , in Eq.(53) by the factor .
The first step in the artificial neuron is to calculate the inner product . The inner product of the input data and the weight data measures the similarity between them. For instance, using a series of numbers representing a set of reference patterns as the weight, we may calculate the similarity between an input pattern and the reference pattern.
The inner product is outputted after applying an activation function,
(54) |
The activation function has various forms such as the step functionRosenF ; McC , a linear function, a sigmoid function, a ramp functionGlo and so on. We show a schematic of a neuron in Fig.5(a). In the process of artificial neuron, the heaviest procedure is the calculation of , which is efficiently done by using a quantum computerTacc .
We implement the wave functions (53) by unitary transformations from the initial state ,
(55) |
Then, the inner product is calculated as
(56) |
We explicitly construct and later in this section. On the other hand, the application of is easy with the use of a classical computer since it is a one-to-one map.
A simplest artificial neuron is given by the perceptron modelRosenF ; McC . Here, the input and the weight wave functions are given by Eq.(53) with and . Such states are called real equally weighted (REW) states. Furthermore, the step function is used as the activation function,
(57) |
where is a step function with the threshold , for and for .
In our application of artificial neuron to pattern recognition we use REW states as in the perceptron model but without employing the activation function (57). We use the inner product itself as the output.
We now discuss how to construct a REW state from the initial state , or how to determine and in Eq.(55) in the standard quantum-circuit implementationTacc and also in the electric-circuit implementation.
In the first step, we prepare the equal-coefficient state defined by
(58) |
This is done by way of the Walsh-Hadamard transform of the initial state ,
(59) |
where is the Hadamard gate acting on the th qubit.
In the second step, we construct and from the equal-coefficient state as
(60) |
Here, is an operation by changing the coefficient in the state to if for all . Hence, is given by a sequential application of Cp-1Z gates. For this purpose, we search for the qubit state whose coefficient is . Then, we apply an appropriate Cp-1Z gate to the state to change its coefficient to . An explicit example is given in Appendix A.
We find from (55), (59) and (60) that
(61) |
(62) |
This is the basic formula to calculate the inner product by a quantum computer starting from the initial state . An explicit example of implementation is given in Sec.VII
IV Pattern recognition
Pattern recognition is one of the most useful applications of artificial neurons. As an example, we consider a pattern made of rectangular pixels painted in black and white. We show two patterns made of pixels and pixels, which are labelled by binary codes as in Fig.6(a) and (b). Next, we assign for white pixel and for black pixel. Here, is a decimal number representing a binary code assigned to a pixel, .
In order to represent pixels, we prepare qubits satisfying . These -qubit states are REW states, which are Eq.(53) with and . Let there be patterns to be classified. It is for the number recognition and for the alphabet recognition as in Fig.7(a) and (b), respectively. We use a set of reference patterns as the weight wave function , and compare them with a set of input patterns : Examples are given in Fig.8 for and in Fig.9 for . In these cases, it is enough to prepare five qubits. We estimate the similarity between an input pattern and the reference pattern by calculating the inner product . We determine which input pattern is most similar to the reference pattern by searching the largest inner product . This process is expressed by a single layer neural network with inputs and outputs as in Fig.7. The inner product is calculated as
(63) |
where is the number of errors between the reference and the input patterns defined by
(64) |
We note that can be negative for . We find , where indicates the perfect matching.
As the first example, we study a recognition of numbers. We choose a set of the reference patterns of numbers as given by Fig.8(a). We implement them into a wave function . Explicit forms are shown in Appendix B. Then, we take a set of input patterns. See Fig.8(b) for an instance. First, we calculate the self similarity defined by , which is shown in Fig.8(c). The maximum values are taken when with . In order to well recognize different patterns as different ones, it is necessary that is small for . From Fig.8(c), we find that 1, 2, 3, 4, 5 and 7 are well distinguishable because is low. On the other hand, 6, 8 and 9 are hardly distinguishable because the similarity is 0.9, where only one pixel is different.
Next, we study a cross similarity between the input and the reference patterns by calculating . We fix for the input pattern and determine which reference pattern is most similar by choosing the largest inner product. We find 0, 1, 2, 3, 4, 5, 6, 7 and 9 are correctly recognized, but 8 is ill recognized to be 3. See Fig.8(d).
In a similar way, we study an alphabet recognition. We choose a set of the reference patterns of alphabets as in Fig.9(a) and a set of input patterns in Fig.9(b). The self-similarity and the cross-similarity are shown in Fig.9(c) and (d). We find the following properties from the self similarity: Alphabets are easier to differentiate comparing to numbers. "F" is hardly differentiated from "P", where the similarity is 14/15. "C", "D", "G" and "O" are hardly differentiable among themselves, and "M" and "N" are hardly differentiated one another, where the similarity is 13/15. We find the following properties from the cross similarity: There are ill recognitions of "D" to "Q", "E" to "F", "O" to "D", "X" to "Y" and "Z" to "T". In addition, "C" has equal similarity to both "C" and "D" in the reference pattern, "G" has equal similarity to both "D" and "G". "I" has equal similarity to both "I" and "T". For other cases, the input patterns are well recognized with respect to the reference patterns.
V Complex-artificial neuron
We proceed to study a complex-artificial neuron, where the input and the weight are given by CEW states. Namely, the wave functions are given by (53) with complex coefficients and . The inner product reads
(65) |
The output is given byMangi
(66) |
where is a complex-activation function.
Any CEW state is generated by a sequential application of Cp-1Zϕ gates to the equal-coefficient state (58) precisely as the REW state is generated by a sequential application of Cp-1Z gates to it. Let us explain it by taking the most general CEW state in the -qubit system. It is given by
(67) |
with
(68) |
where we set without loss of generality.
We list up all possible Cp-1Zϕ gates in Fig.10(a). Recall that all Cp-1Zϕ gates are commutative. The generated CEW state is given by
(69) |
where the angle is that of the Z gate, is that of CZ and is that of CCZ, and so on.
It is easy to see that the angles associated with Cp-1Zϕ gates (69) are uniquely fixed in terms of in the given CEW state (67) because there are seven independent variables in both of these equations. Indeed, by equating (67) and (69), we obtain relations
(70) | |||||
We have shown which Cp-1Zϕ gates we have to prepare in order to generate the most general CEW state (67) in the -qubit system.
We also list up all possible Cp-1Zϕ gates for the -qubit system in Fig.10(b). In general, we can always construct an arbitrary CEW state by applying Cp-1Zϕ gates in -qubit systems.
VI Colored pattern recognition
The color circle is a color pallet indexed by a number on a circle as shown in Fig.11(a). It has a one-to-one correspondence to . For example, indicates red and indicates cyan. Hence, a color pattern made of pixels is well represented by a CEW state. By using a complex neural network, we can estimate a similarity between two colored patterns.
For example, we show a reference colored pattern in Fig.11(b). It is enough to prepare 4 qubits for a pattern with 16 pixels. We make an input colored pattern by modifying color randomly within 20%. The inner product of two patterns is . It is relatively large although the color of each pixel is modified by 20%. This is because the input pattern is created from the reference pattern by adding noise, where the noise is cancelled by adding all contributions from pixels. Hence, our scheme can evaluate similarity between two colored patterns with color noise.
The merit of our color representation scheme is that the color circle is naturally represented by a continuous circle . In the standard digital representation, we have to digitalize color. The number of classical bits increases as the increase of hue decomposition. On the other hand, all color is continuously represented by one number in our scheme.
VII Electric-circuit implementation
We implement these models by a set of LC resonators. We prepare LC resonators to represent the states or . The main issue is the electric-circuit implementation of the inner product formula (62), or
(71) |
which may be used for CEW states as well as REW states.
The first step is the construction of the equal-coefficient state (58) by applying to the initial state . The action of the Hadamard transformation for the th qubit is simulated by bridging two resonators and , when for and for . In the case of , the Hadamard gate is simulated by the eight bridges between
(72) |
Although there are many bridges, their assignment is systematic. Apparently we need operations. Actually, many bridges shown by unfilled disks in Fig.12(b) are not necessary since we start with and end up with as in Eq.(71). Then, we may delete all operations which is irrelevant to the input and the output, which greatly reduces the number of operations. The necessary operation relating to the -qubit Hadamard gate is .The reduction rate is
(73) |
The second step is the operation of Cp-1Z gates in the case of REW states. In construct to the application of Cp-1Z gates in the standard quantum-circuit implementation, it is enough to apply the phase-shift only for with . More explicitly, the CZ gate for two qubits is simulated by the phase-shift gate applied to the resonator representing , while the CCZ gate for three qubits is simulated by the phase-shift gate applied to the resonator representing . In general, the Cp-1Z gate for qubits is simulated by the phase-shift gate applied only to the resonator representing .
We consider an example of an inner product for the input and the weight states given by
(74) |
and
(75) |
where the inner product is . The quantum circuit and the electric circuit to calculate this inner product based on the inner product formula (62) are given in Fig.12(a). Then, we apply the phase-shift gate for and in order to construct , while we apply the phase-shift gate for , and in order to construct as in Fig.12(b).
It is convenient to define the output for each resonator representing in Fig.13 by
(76) |
The outs are always real. Especially, we are interested in the output for , which is y. It reproduce a correct the inner product given below Eq.(75).
The generalization to the calculation of an inner product of CEW states is straightforward. As a characteristic feature of the present electric-circuit simulation, it is possible to create a phase-shift gate with an arbitrary angle just by tuning the capacitance of the relevant LC resonator according the formula (20). Hence, any CEW state is generated by applying Cp-1Zϕ gates with the use of appropriate phase-shift gates.
VIII Graph theory
Graph states and hypergraph states. It is intriguing to examine the REW state in the context of graph theory. Such a state is referred to as a graph stateHein ; Hein2 ; Anders that is constructed by a sequential application of Z gates and CZ gates to the equal-coefficient state (58). The order of a Z gate and a CZ gate is irrelevant because they are diagonal operators and commutable. Then, we may establish one-to-one correspondence between a graph and a graph state. Indeed, in order to make a graph corresponding to a graph state, we first prepare vertices representing qubits, as in Fig.14(a2) for an instance of . We add self-loop links to the vertices to which Z gates are applied, while we connect two vertices by an edge where CZ gates are operated. Different graphs represent different graph states due to the commutative nature of the Z and the CZ gates. See Fig.14(a2).
The set of all graph states is a subgroup of the REW states by the following reasoning. The number of the Z gates is , while the number of the CZ gates is . Hence, we can express graph states. On the other hand, the number of the REW states is . Here, for .
In order to represent a complete set of the REW states, it is necessary to introduce the notion of hypergraphHyperGraph ; Qu , which is a generalization of graph. In a hypergraph, we have a hyperedge connecting more than three vertices. For example, a CCZ gate is represented by a hyperedge with order , which connects three vertices, as in Fig.14(b2). In a similar way, a Cp-1Z gate is represented by a hyperedge with order , which connects vertices. The number of the Cp-1Z gates is given by . Then, the total number of gates is . The overall phase is irrelevant and thus it is a complete representation. We show a hypergraph representation of and in Fig.14. In Fig.14(b), a hyperedge is represented by an oval containing three vertices connected by a hyperedge. In Fig.14(c), three hyperedges are represented by three ovals containing vertices connected by three hyperedge.
Weighted graph states and hypergraph states. As a generalization of graph states and hypergraph states, we may introduce the concepts of weighted graph states and weighted hypergraph states in the context of CEW states. A weighted graph state is defined by a sequential application of Zϕ gates and CZϕ gates to the equal-coefficient state (58), where is a weight. Next, a weighted hypergraph state is generated by a sequential application of Cp-1Zϕ gates to the equal-coefficient state (58). Here, we assign a -hyperedge to a Cp-1Zϕ gate as in the case of Cp-1Z gates, and then we assign a weight to each hyperedge.
IX Discussion
We have proposed an electric-circuit simulation of universal quantum gates on the basis of LC resonators bridged by inductors. Here, capacitance and inductance are controllable by using a variable capacitance diode and an active inductor, respectively.
An artificial neuron requires many Cp-1Z gates for various . It is actually a hard task to realize Cp-1Z gates in the standard quantum-circuit implementation even by employing modern technology such as superconductor, ion-trap or photonic systems for . This difficulty originates in the fact that a Cp-1Z gate implies a -body interaction. Although it is possible to decompose a Cp-1Z gate into simpler gates, there emerge many gatesNielsen . The problem becomes worse for a complex-artificial neuron, where we use Cp-1Zϕ gates instead of Cp-1Z gates. The Cp-1Zϕ gate contains the phase-shift gate with angle . It is possible but quite tedious to construct a Cp-1Zϕ gate with the use of a set of universal quantum gates. On the contrary, it is simple to construct a Cp-1Zϕ gate by inserting one phase-shift gate in the electric-circuit implementation.
Furthermore, it is a nontrivial problem to construct a superposition state such as REW or CEW states. It is necessary to design several quantum gates in order to make such a state, for which we need to use a classical computer in general. See a typical example in Fig.12(a) and Appendix A. On the other hand, it is sufficient to insert simply some phase-shift gates in the electric-circuit implementation. Although the implementation of the Hadamard gates is harder, the assignment is systematic and trivial. See the corresponding example in Fig.12(b).
We have previously proposed another kind of electric-circuit simulation of universal quantum gates, where quantum gates are constructed by bridging telegrapher wiresEzawaUniv ; EzawaDirac . The number of elements of electric circuits increases as the increase of the number of quantum gates. On the other hand, the number of the elements is fixed in the present scheme irrespective to the number of quantum gates because the operation is performed in time evolution. Another merit comparing to the wire construction is that the present scheme is programmable because the gate is applied temporally, which is contrasted to the wire construction where the gates are constructed by setting wires.
The author is very much grateful to E. Saito and N. Nagaosa for helpful discussions on the subject. This work is supported by the Grants-in-Aid for Scientific Research from MEXT KAKENHI (Grants No. JP17K05490 and No. JP18H03676). This work is also supported by CREST, JST (JPMJCR16F1 and JPMJCR20T2).
Appendix A Example of hypergraph generation process
A REW state is given by Eq.(53) with . We explain how to create this state from the equal-coefficient state (58). Alternatively, we explain how to transform this state to the equal-coefficient state.
Let us explicitly study an example given by
(77) |
First, we rewrite it so that the coefficient of is ,
(78) |
We note that overall phase is irrelevant in quantum computation.
(i) We focus on the states such that , among which the coefficients of , and are , while the coefficient of is . Then, we apply three gates to the first, second and third qubits, and obtain
(79) |
(ii) We focus on the states such that , among which the coefficients of , and are , while the coefficient of , and is . Then, we apply three gates, and obtain
(80) |
(iii) We focus on the states such that , among which the coefficients of is , while the coefficient of , and is . Then, we apply one gate, and obtain the equal-coefficient state,
(81) |
Hence, it follows from (60) that
(82) |
Consequently, is obtained by the inverse process as
(83) |
because all Cp-1Z gates are commutative and one Cp-1Z gate satisfies .
In a similar way,
(84) |
is generated as
(85) |
Thus, it is a nontrivial problem to construct hypergraph generation circuits in the standard quantum-circuit implementation.
Appendix B Number recognition
We show binary representations of the pattern of each number for the reference and the input data in Fig.8, where the left hand side stands for the reference and the right one for the input data,
(86) |
where indicates a white pixel and indicates a black pixel.
References
- (1) R. Feynman, Int. J. Theor. Phys. 21, 467 (1982).
- (2) D. P. DiVincenzo, Science 270, 255 (1995).
- (3) M. Nielsen and I. Chuang, "Quantum Computation and Quantum Information", Cambridge University Press, (2016); ISBN 978-1-107-00217-3.
- (4) Y. Nakamura; Yu. A. Pashkin; J. S. Tsai, Nature 398, 786 (1999).
- (5) E. Knill, R. Laflamme and G. J. Milburn, Nature, 409, 46 (2001).
- (6) D. Loss and D. P. DiVincenzo, Phys. Rev. A 57, 120 (1998).
- (7) J. I. Cirac and P. Zoller, Phys. Rev. Lett. 74, 4091 (1995).
- (8) L. M.K. Vandersypen, M. Steffen, G. Breyta, C. S. Yannoni, M. H. Sherwood, I. L. Chuang, Nature 414, 883 (2001).
- (9) B. E. Kane, Nature 393, 133 (1998).
- (10) D. Deutsch, Proceedings of the Royal Society A. 400, 97 (1985).
- (11) C. M. Dawson and M. A. Nielsen arXiv:quant-ph/0505030.
- (12) M. Nielsen and I. Chuang, "Quantum Computation and Quantum Information", Cambridge University Press, Cambridge, UK (2010).
- (13) C. H. Lee , S. Imhof, C. Berger, F. Bayer, J. Brehm, L. W. Molenkamp, T. Kiessling and R. Thomale, Communications Physics, 1, 39 (2018).
- (14) S. Imhof, C. Berger, F. Bayer, J. Brehm, L. Molenkamp, T. Kiessling, F. Schindler, C. H. Lee, M. Greiter, T. Neupert, R. Thomale, Nat. Phys. 14, 925 (2018).
- (15) M. S.-Garcia, R. Susstrunk and S. D. Huber, Phys. Rev. B 99, 020304 (2019).
- (16) T. Helbig, T. Hofmann, C. H. Lee, R. Thomale, S. Imhof, L. W. Molenkamp and T. Kiessling, Phys. Rev. B 99, 161114 (2019).
- (17) E. I. Rosenthal, N. K. Ehrlich, M. S. Rudner, A. P. Higginbotham, and K. W. Lehnert, Phys. Rev. B 97, 220301(R) (2018).
- (18) Y. Lu, N. Jia, L. Su, C. Owens, G. Juzeliunas, D. I. Schuster and J. Simon, Phys. Rev. B 99, 020302 (2019).
- (19) M. Ezawa, Phys. Rev. B 98, 201402(R) (2018).
- (20) Y. Li, Y. Sun, W. Zhu, Z. Guo, J. Jiang, T. Kariyado, H. Chen and X. Hu, Nat. Com. 9, 4598 (2018).
- (21) T. Hofmann, T. Helbig, C. H. Lee, M. Greiter, R. Thomale, Phys. Rev. Lett. 122, 247702 (2019).
- (22) K. Luo, R. Yu and H. Weng, Research (2018), ID 6793752.
- (23) M. Ezawa, Phys. Rev. B 99, 201411(R) (2019).
- (24) M. Ezawa, Physical Review B 99 (12), 121411 (2019).
- (25) M. Ezawa, Phys. Rev. B 100, 045407 (2019).
- (26) T. Helbig, T. Hofmann, S. Imhof, M. Abdelghany, T. Kiessling, L. W. Molenkamp, C. H. Lee, A. Szameit, M. Greiter, R. Thomale, Nature Physics, 16, 747 (2020).
- (27) M. Ezawa, Phys. Rev. Research 2, 023278 (2020).
- (28) M. Ezawa, J. Phys. Soc. Jpn. 89, 124712 (2020).
- (29) M. Ezawa, Phys. Rev. B 102, 075424 (2020).
- (30) M. Ezawa, Phys. Rev. B 100, 165419 (2019).
- (31) S. Lloyd, M. Mohseni and P. Rebentrost, arXiv:1307.0411.
- (32) M. Schuld, I. Sinayskiy, F. Petruccione, Contemporary Physics. 56, 172 (2014).
- (33) J. Biamonte, Nature. 549, 195 (2017).
- (34) P. Wittek, "Quantum Machine Learning: What Quantum Computing Means to Data Mining", Academic Press (2014); ISBN 978-0128100400.
- (35) A. W. Harrow, A. Hassidim and S. Lloyd, Phys. Rev. Lett. 103 150502 (2009).
- (36) N. Wiebe, D. Braun and S. Lloyd, Phys. Rev. Lett. 109, 050505 (2012).
- (37) P. Rebentrost, M. Mohseni, S. Lloyd, Phys. Rev. Lett. 113, 130503 (2014).
- (38) Z. Li, X. Liu, N. Xu and J. Du, Phys. Rev. Lett. 114, 140504 (2015).
- (39) M. Schuld and N. Killoran, Phys. Rev. Lett. 122, 040504 (2019).
- (40) V. Havlicek, A. D. Corcoles, K. Temme, A. W. Harrow, A. Kandala, J. M. Chow and J. M. Gambetta, Nature 567, 209 (2019).
- (41) Mach. Learn.: Sci. Technol. 1, 033002 (2020).
- (42) I. Cong, S. Choi and M. D. Lukin, Nature Physics 15, 1273 (2019).
- (43) J. Schmidhuber, Neural Netw. 61, 85 (2015).
- (44) J. M. Zurada, "Introduction to Artificial Neural Systems", West Group, St. Paul, MN, USA, (1992); ISBN 978-0314933911.
- (45) M. Schuld, I. Sinayskiy and F. Petruccione, Phys. Lett. A 379, 660 (2015).
- (46) N. Wiebe, A. Kapoor and K. N. Svore, arXiv:1602.04799.
- (47) Y. Cao, G. G. Guerreschi and A. Aspuru-Guzik, arXiv:1711.11240.
- (48) F. Tacchino, C. Macchiavello, D. Gerace and D. Bajoni, npj quantum information 5:26 (2019).
- (49) E. Torrontegui and J. J. Garcia-Ripoll, EPL 125, 30004 (2019).
- (50) L. B. Kristensen, M. Degroote, P. Wittek, A. Aspuru-Guzik and N. T. Zinner, arXiv:1907.06269.
- (51) N. Killoran, T. R. Bromley, J. M. Arrazola, M. Schuld, N. Quesada and S. Lloyd, Phys. Rev. Res. 1, 033063 (2019).
- (52) S. Mangini, F. Tacchino, D. Gerace, C. Macchiavello and D. Bajoni, Mach. Learn.: Sci. Technol. 1 045008 (2020).
- (53) D. Deutsch and R. Jozsa, Proc. R. Soc. Lond. A 439, 553 (1992).
- (54) L. Grover, Proc. 28th Annual ACM Symposium on the Theory of Computing, 212 (1996).
- (55) M. Rossi, M. Huber, D. Bruss and C. Macchiavello, New J. Phys. 15 113022 (2013).
- (56) F. Rosenblatt, Tech. Rep. Inc. Report No. 85-460-1, Cornell Aeronautical Laboratory (1957).
- (57) W. S. McCulloch and W. Pitts, Bull. Math. Biophys. 5, 115 (1943).
- (58) X. Glorot, A. Bordes and Y. Bengio, Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics (AISTATS-11) 15: 315.
- (59) M. Hein, J. Eisert, and H. J. Briegel, Phys. Rev. A 69, 062311 (2004).
- (60) M. Hein, W. D, J. Eisert, R. Raussendorf, M. Van den Nest, H.-J. Briegel, "Entanglement in Graph States and its Applications", Proceedings of the International School of Physics "Enrico Fermi" on "Quantum Computers, Algorithms and Chaos".
- (61) S. Anders and H. J. Briegel, Phys. Rev. A 73, 022334 (2006).
- (62) R. Qu, J. Wang, Z.-S. Li and Y.-R. Bao, Phys. Rev. A 87, 022311 (2013).