Principles of Superconducting Quantum Computers. Daniel D. Stancil
Чтение книги онлайн.

Читать онлайн книгу Principles of Superconducting Quantum Computers - Daniel D. Stancil страница 13

Название: Principles of Superconducting Quantum Computers

Автор: Daniel D. Stancil

Издательство: John Wiley & Sons Limited

Жанр: Программы

Серия:

isbn: 9781119750741

isbn:

СКАЧАТЬ symblom 1 mathematical right-angle circled-times Math bar pipe bar symblom 0 mathematical right-angle equals Start 3 By 1 Matrix 1st Row 0 times StartBinomialOrMatrix 1 Choose 0 EndBinomialOrMatrix 2nd Row Blank 3rd Row 1 times StartBinomialOrMatrix 1 Choose 0 EndBinomialOrMatrix EndMatrix equals Start 4 By 1 Matrix 1st Row 0 2nd Row 0 3rd Row 1 4th Row 0 EndMatrix comma"/> (1.35)

      

(1.36)

(1.37)

      Two-qubit state vectors are also normalized:

      

(1.38)

      As we will see later, while every two-qubit state can be written in the form of Eq. (1.37), not every two-qubit state can be written as the tensor product of single-qubit states.

      This can be generalized into a system with n qubits, requiring state vectors with 2n components with 2n complex coefficients.

      1.5.2 Matrix Representation of Two-Qubit Gates

      Just as single qubit gates can be represented by 2×2 matrices, an n-qubit gate can be represented by a 2n×2n matrix. Consequently two-qubit gates require the construction of 4×4 unitary matrices. Given two single-qubit operators A and B, the tensor product is defined as:

      

(1.39)

      which creates a 4×4 matrix.

      Suppose we wanted to construct a two-qubit circuit starting in the state |10⟩ with an X gate applied to the left qubit, and a Y gate applied to the other. Mathematically this would be written

      

(1.40)

      

(1.41)

      To see how this would be implemented using the matrix representation, we first construct the X⊗Y matrix:

      upper X circled-times upper Y equals Start 3 By 2 Matrix 1st Row 1st Column 0 Start 2 By 2 Matrix 1st Row 1st Column 0 2nd Column negative i 2nd Row 1st Column i 2nd Column 0 EndMatrix 2nd Column 1 Start 2 By 2 Matrix 1st Row 1st Column 0 2nd Column negative i 2nd Row 1st Column i 2nd Column 0 EndMatrix 2nd Row 1st Column Blank 3rd Row 1st Column 1 Start 2 By 2 Matrix 1st Row 1st Column 0 2nd Column negative i 2nd Row 1st Column i 2nd Column 0 EndMatrix 2nd Column 0 Start 2 By 2 Matrix 1st Row 1st Column 0 2nd Column negative i 2nd Row 1st Column i 2nd Column 0 EndMatrix EndMatrix equals Start 4 By 4 Matrix 1st Row 1st Column 0 2nd Column 0 3rd Column 0 4th Column negative i 2nd Row 1st Column 0 2nd Column 0 3rd Column i 4th Column 0 3rd Row 1st Column 0 2nd Column negative i 3rd Column 0 4th Column 0 4th Row 1st Column i 2nd Column 0 3rd Column 0 4th Column 0 EndMatrix period (1.42)

      Completing the calculation gives the expected result:

      upper X circled-times upper Y Math bar pipe bar symblom 10 mathematical right-angle equals Start 4 By 4 Matrix 1st Row 1st Column 0 2nd Column 0 3rd Column 0 4th Column negative i 2nd Row 1st Column 0 2nd Column 0 3rd Column i 4th Column 0 3rd Row 1st Column 0 2nd Column negative i 3rd Column 0 4th Column 0 4th Row 1st Column i 2nd Column 0 3rd Column 0 4th Column 0 EndMatrix Start 4 By 1 Matrix 1st Row 0 2nd Row 0 3rd Row 1 4th Row 0 EndMatrix equals i Start 4 By 1 Matrix 1st Row 0 2nd Row 1 3rd Row 0 4th Row 0 EndMatrix equals i Math bar pipe bar symblom 01 mathematical right-angle period (1.43)

      A particularly interesting two-qubit circuit is formed by applying a Hadamard gate to each qubit in the ground state: HH|00⟩. Let us first compute HH:

      upper H circled-times upper H equals one-half Start 3 By 2 Matrix 1st Row 1st Column 1 Start 2 By 2 Matrix 1st Row 1st Column 1 2nd Column 1 2nd Row 1st Column 1 2nd Column negative 1 EndMatrix 2nd Column 1 Start 2 By 2 Matrix 1st Row 1st Column 1 2nd Column 1 2nd Row 1st Column 1 2nd Column negative 1 EndMatrix 2nd Row 1st Column Blank 3rd Row 1st Column 1 Start 2 By 2 Matrix 1st Row 1st Column 1 2nd Column 1 2nd Row 1st Column 1 2nd Column negative 1 EndMatrix 2nd Column minus 1 Start 2 By 2 Matrix 1st Row 1st Column 1 2nd Column 1 2nd Row 1st Column 1 2nd Column negative 1 EndMatrix EndMatrix equals one-half Start 4 By 4 Matrix 1st Row 1st Column 1 2nd Column 1 3rd Column 1 4th Column 1 2nd Row 1st Column 1 2nd Column negative 1 3rd Column 1 4th Column negative 1 3rd Row 1st Column 1 2nd Column 1 3rd Column negative 1 4th Column negative 1 4th Row 1st Column 1 2nd Column negative 1 3rd Column negative 1 4th Column 1 EndMatrix period (1.44)

      Completing the calculation gives:

      upper H circled-times upper H Math bar pipe bar symblom 00 mathematical right-angle equals one-half Start 4 By 4 Matrix 1st 
              <a href=СКАЧАТЬ