Читать книгу Quantum Computing - Hafiz Md. Hasan Babu - Страница 20

Оглавление

IOP Publishing

Quantum Computing

A pathway to quantum logic design

Hafiz Md Hasan Babu

Chapter 2

Basic definitions of quantum logic

Quantum computing was advanced as a technological attempt to build a propositional structure that would permit relating the events of interest in quantum mechanics. Quantum computing seeks to replace the Boolean structure which, although appropriate for addressing classical physics, is insufficient for representing atomic elements. The scientific structure of the propositional linguistics of classical systems is a power set, partly ordered by set enclosure, with a pair of operations that denote conjunction and disjunction.

During the progress of quantum computing, numerous lines of study have tried to address quantum mechanics from a logical viewpoint. This book offers a map of these multiple methods in order to familiarize the reader with the very different approaches and problems deliberated in the quantum computing literature. When possible, redundant theories, algorithms, and examples, are avoided in order to provide an instinctive understanding of the ideas before designing or presenting the associated mathematics.

The procedure of a two-bit ‘controlled-NOT’ quantum logic gate has been designed which, in concurrence with simple single-bit operations, forms a common quantum logic gate for quantum computation. The two quantum bits are placed in the internal and external degrees of choice of a single trapped element which is first laser cooled to the zero-point energy. Decoherence properties are acknowledged for the operation, and the prospect of expanding the system to more qubits seems favorable.

2.1 The quantum bit

A quantum bit (qubit) is typically derived from the state of a two-level quantum system, such as the ground and excited states of an atom or the vertical and horizontal polarizations of a single photon. A qubit, represented by ∣A〉, is the basic unit of information in a quantum computer, which can hold two states, 0 or 1, simultaneously or at different times. A qubit can also be a superposition (both states at the same time) of these two states, i.e. a linear combination of the binary values ∣1〉 and ∣0〉 (α∣0〉i+β∣1〉i, where α and β are the probabilities of being the ∣1〉 and ∣0〉 states, respectively), whereas classical bits or binary bits are in one of two possible states, labeled 1 and 0.

2.2 The quantum gate

A quantum gate is a basic quantum circuit operating on a small number of qubits. Previously, various quantum gates with different functionalities have been designed. Among them, the NOT, CNOT, controlled-V, and controlled-V+ gates represent an important class of quantum gates. These gates are shown in figure 2.1. In this figure, the control, target, and contact qubits are represented by the ·, ⊗, and ∥ symbols, respectively. In a quantum gate the number of outputs must be equal to the number of inputs.


Figure 2.1. Basic quantum gates. (a) Quantum NOT gate. (b) Quantum CNOT gate. (c) Controlled-V gate. (d) Controlled-V+ gate.

2.2.1 The quantum Feynman gate

The quantum Feynman gate is a 2 × 2 quantum gate which implements the logical functions of P = A and Q=A⊕B, and is illustrated in figure 2.2. The quantum Feynman gate can be used for copying a bit. When B is set to zero, then the output vector will be P = A and Q = A, which ensures copying of the input A.


Figure 2.2. The quantum Feynman gate.

2.2.2 The quantum Tofolli gate

The quantum Tofolli gate is a 3 × 3 gate in which A, B, and C are input vectors and the output vectors are P = A, Q = B, and R=AB⊕C logical functions. The quantum Tofolli gate can implement the ‘AND’ operation when C is set to zero. The quantum Tofolli gate is presented in figure 2.3. The Tofolli gate is an important quantum gate and is widely applied in the construction of quantum circuits.


Figure 2.3. The quantum Tofolli gate.

2.2.3 The quantum Fredkin gate

The quantum Fredkin gate is illustrated in figure 2.4, and is a 3 × 3 quantum gate in which A, B, and C are input vectors and the output vectors are the P = A, Q=A¯B⊕AC, and R=A¯B⊕AB logical functions. One of the important applications of the quantum Fredkin gate is swapping. The input bit A is used as a control bit which decides whether the other two bits will swap or not, which is illustrated in figure 2.5. It shows that the quantum Fredkin gate can swap the values when A is set to 1.


Figure 2.4. The quantum Fredkin gate.


Figure 2.5. Swapping of the quantum Fredkin gate.

2.3 Garbage outputs

In a quantum gate the number of outputs must be equal to the number of inputs. As a consequence, there are usually some outputs which are not required further. They are called garbage outputs. Each garbage output incurs a heavy price. In figure 2.1, the output ∣A〉 is the garbage output for the CNOT quantum gate.

2.4 Constant inputs

Constant inputs are the inputs which are added to a function to make the one-to-one mapping between inputs and outputs. For example, to perform the adder operation using a double Peres gate (DPG) quantum circuit, the C input bit in figure 2.6 has to remain 0 and this input is called the constant input.


Figure 2.6. Quantum realization of the DPG circuit.

2.5 Area

The area of a gate is defined by the circuit size. This size varies according to the number of quantum gates of the circuit. As the basic quantum gates are fabricated with quantum dots with size ranging from several to tens of nanometers (10−9 m) in diameter, the size of basic quantum gates ranges from 50 Å–300 Å. The angstrom (Å) is a unit equal to 10−10m (one ten-billionth of a meter) or 0.1 nm. Its symbol is the Swedish letter Å. Quantum circuits can be implemented with the basic quantum gates and the quantum cost of a gate depends on the number of basic quantum gates needed to implement it. Thus the area of a gate can be defined as follows: A=Nq×Sq, where A= area, Nq = the number of quantum gates, and Sq = the size of basic quantum gates. According to the circuit size, the area of the quantum Toffoli gate is ((50 × 5) Å – (300 × 5) Å) = (250 Å – 1500 Å), where the number of quantum gates of the quantum Toffoli gate is five.

2.6 Power

The power of a gate is defined by the energy consumed. The energy of basic quantum gates is 142.3 meV (micro-electronvolts). Quantum circuits can be implemented with basic quantum gates and the quantum cost of a gate depends on the number of basic quantum gates needed to implement it. Thus the power of a gate can be defined as follows, for example: the energy of the Toffoli gate is (5 × 142.3) meV = 711.5 meV, where the number of quantum gates of the quantum Toffoli gate is five.

2.7 Delay

The delay represents the critical delay of the circuit. In delay calculations, the logical depth is used as the measure of the delay. The delays of all 1 × 1 and 2 × 2 quantum gates are taken as the unit delay, designated by Δ. Any quantum gate can be designed from 1 × 1 and 2 × 2 quantum gates, such as the CNOT, controlled-V, or controlled-V+ quantum gates. Thus, the delay of a quantum gate can be computed by calculating its logical depth when it is designed using smaller 1 × 1 and 2 × 2 quantum gates. Each 2 × 2 quantum gate in the logic depth contributes to 1Δ delay. For example, the quantum Toffoli gate requires a 5Δ delay, as shown in figure 2.3.

2.8 Depth

The depth of a quantum circuit is the maximum number of stages or slices where each stage or slice represents a quantum gate or a number of quantum gates along the same vertical line.

A quantum circuit is constructed using different quantum gates. These quantum gates are placed in different input lines. To find the depth of any quantum circuit, it is necessary to divide it into some slices. There may be more than one quantum gate in any slice. The maximum number of slices is considered as the depth of that quantum circuit. For example, consider the Thapliyal Ranganathan (TR) gate-based half subtractor, shown in figure 2.7. This quantum circuit needs four quantum gates to be implemented. Now, to find the depth of this circuit, it will be divided into stages according to the quantum gates. The vertical lines are used to split the circuit into slices. In the first slice there is a controlled-V+ gate, in the second slice there is a CNOT gate, and in the third and fourth slices there are controlled-V gates. This circuit has a maximum of four slices, as numbered in the figure. Thus it can be said that the depth of the circuit is 4.


Figure 2.7. Illustration of the depth of a quantum circuit.

2.9 Quantum cost

The quantum cost of a quantum circuit is the number of basic quantum gates in the circuit. Quantum cost is an important measure of the performance of a quantum circuit. The quantum cost of the basic quantum gates, such as the NOT, CNOT, controlled-V, and controlled-V+ gates, is considered to be 1. The quantum circuit in figure 2.7 consists of four basic quantum gates and thus the quantum cost of this circuit is 4.

2.10 Quantum gate calculation complexity

The quantum gate calculation complexity refers to the number of quantum gates (NOT, CNOT, controlled-V, and controlled-V+) used to synthesize a given circuit, with ρ being the NOT quantum gate calculation complexity, σ the CNOT quantum gate calculation complexity, and Ω the controlled-V (controlled-V+) gate calculation complexity. For example, the DPG quantum circuit has two CNOT quantum gates and four controlled-V (controlled-V+) gates. Therefore, the quantum gate calculation complexity of the DPG quantum circuit is 2σ + 4Ω, which is depicted in figure 2.6.

2.11 Summary

Quantum gates and quantum networks offer a very useful language for constructing any quantum computer or (basically the same) quantum multi-particle circuits. Now, the question is whether it it possible to build quantum logic gates or not?

Single-qubit quantum gates are viewed as comparatively easy to implement. For example, a classic quantum optical realization uses elements as qubits and switches their states with laser light pulses of appropriately selected frequency, strength, and duration; any recommended superposition of two selected logical states can be prepared this way.

Research into quantum computation and all of its possible variations has become vigorously active and any comprehensive review of the field cannot help but be obsolete as soon as it is written. Here, only some of the very basic knowledge has been provided, hoping that this will serve as a good starting point to enter into the field.

Further reading

[1] Oxford quantum http://oxfordquantum.org/ (Accessed: 5 December 2018)

[2] Balandin A A and Wang K L 1999 Implementation of quantum controlled-not gates using asymmetric semiconductor quantum dots Quantum Computing and Quantum Communications (Berlin: Springer) pp 460–7

[3] Landaurer R 1961 Irreversibility and heat generation in the computational process IBM J. Res. Dev. 5 183–91

[4] Li X, Steel D, Gammon D and Sham L J 2004 Quantum information processing based on optically driven semiconductor quantum dots Opt. Photon. News 15 38–43

[5] Mohammadi M and Eshghi M 2009 On figures of merit in reversible and quantum logic designs Quantum Inf. Process. 8 297–318

[6] Monroe C, Meekhof D M, King B E, Itano W M and Wineland D J 1995 Demonstration of a fundamental quantum logic gate Phys. Rev. Lett. 75 4714

[7] Nielsen M A and Chuang I L 2000 Quantum Computation and Quantum Information 10th edn (Leiden: Cambridge University Press)

[8] Shende V V, Prasad A K, Markov I L and Hayes J P 2003 Synthesis of reversible logic circuits IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 22 710–22

[9] Toffoli T 1980 Reversible computing International Colloquium on Automata, Languages, and Programming (Berlin: Springer) pp 632–44

[10] Zhou R-G, Li Y-C and Zhang M-Q 2014 Novel designs for fault tolerant reversible binary coded decimal adders Int. J. Electron. 101 1336–56

Quantum Computing

Подняться наверх