Скачать книгу

psi Math bar pipe bar symblom 1 mathematical right-angle Math bar pipe bar symblom equals Math bar pipe bar symblom beta Math bar pipe bar symblom Superscript 2 Baseline Math bar pipe bar symblom mathematical left-angle 1 Math bar pipe bar symblom 1 mathematical right-angle Math bar pipe bar symblom equals Math bar pipe bar symblom beta Math bar pipe bar symblom comma EndLayout"/> (1.11)

      as we found before.

      1.4 Unitary Operations and Single-Qubit Gates

      

(1.12)

      This can be written as a matrix equation

      

(1.13)

      

(1.14)

      Since the length of the state vector must always be unity, we are only allowed to use matrices U that conserve the length of the vector. In other words, ⟨ψ′|ψ′⟩ = ⟨ψ|ψ⟩ = 1. This puts a very important constraint on the matrix U:

      

(1.15)

      using the following observation:

      

(1.16)

      Since ⟨ψ|ψ⟩ = 1, we conclude that

      

(1.17)

      where I is the identity matrix

      

(1.18)

      Matrices that satisfy this requirement are called unitary matrices. We can view these matrices as performing an operation on a qubit by changing the mixture of basis states. Consequently, the matrices U are also referred to as unitary operators.

      The identity matrix I can be considered to be the simplest “gate” and leaves the state vector unchanged. Classically, the NOT gate is the only non-trivial single-bit gate. In contrast, there are many non-trivial single qubit quantum gates (technically, the number of 2×2 unitary matrices is unlimited). The most common non-trivial single qubit gates are the Pauli-X (X), Pauli-Y (Y), Pauli-Z (Z), and Hadamard (H) gates defined as follows:

      

(1.19)

      

(1.20)

      

(1.21)

      

(1.22)

      

(1.23)

      Similarly,

(1.24)

      We see then that the X gate is a “bit flip” gate, and transforms |0⟩ into |1⟩ and vice versa. This, then is the analog of the classical NOT gate. You should verify the following results from applying Y,Z, and H gates:

(1.25)

      

(1.26)

      

(1.27)

      In addition, it is interesting to note that each one of these matrices is its own Hermitian conjugate. Consequently, these four gates have the property that applying them twice gives the identity matrix:

       Скачать книгу