Pauli

In mathematical physics and mathematics, the Pauli matrices are a set of three 2 × 2 complex matrices which are Hermitian, involutory and unitary.

The Pauli matrices,arrow-up-right also called the Pauli spin matrices, are complex matrices that arise in Pauli's treatment of spin in quantum mechanics. They are defined by:

σ1=σx=[0110]\sigma_1 = \sigma_x = \begin{bmatrix} 0 && 1 \\ 1 && 0 \end{bmatrix}

σ2=σy=[0ii0]\sigma_2 = \sigma_y = \begin{bmatrix} 0 && -i \\ i && 0 \end{bmatrix}

σ3=σz=[1001]\sigma_3 = \sigma_z = \begin{bmatrix} 1 && 0 \\ 0 && -1 \end{bmatrix}

In quantum mechanicsarrow-up-right, pauli matrices occur in the Pauli equationarrow-up-right which takes into account the interaction of the spinarrow-up-right of a particle with an external electromagnetic fieldarrow-up-right.

circle-info

Pauli matrices also represent the interaction states of two polarization filters for horizontal / vertical polarization, 45º polarization, and circular polarization.

Each Pauli matrix is Hermitianarrow-up-right, and together with the identity matrix II, the Pauli matrices form a basisarrow-up-right for the real vector spacearrow-up-right of 2 × 2 Hermitian matrices. This means that any 2 × 2 Hermitian matrixarrow-up-right can be written in a unique way as a linear combination of Pauli matrices, with all coefficients being real numbers.

circle-info

The identity matrix II is sometimes considered as the zeroth^{th} Pauli matrix or σ0\sigma_0

The Pauli matrices are important in the context of quantum mechanics, and quantum informationarrow-up-right more generally, as they can be used to describe the quantum states, as well as the evolution of the quantum states, of 2 Dimensional quantum systems, called qubitsarrow-up-right. They are also involved in fundamental quantum information processing protocols such as quantum teleportationarrow-up-right.

Pauli

Pauli Metricesarrow-up-right

Generating Pauli-X for n qubits,

To define X=σx(111)X = \sigma_x( 111 ) using numpy, one need to define the entire matrix .

import numpy as np

# Define Pauli-X for [ 1 1 1 ] using numpy
X = np.array([
       [0, 0, 0, 0, 0, 0, 0, 1],
       [0, 0, 0, 0, 0, 0, 1, 0],
       [0, 0, 0, 0, 0, 1, 0, 0],
       [0, 0, 0, 0, 1, 0, 0, 0],
       [0, 0, 0, 1, 0, 0, 0, 0],
       [0, 0, 1, 0, 0, 0, 0, 0],
       [0, 1, 0, 0, 0, 0, 0, 0],
       [1, 0, 0, 0, 0, 0, 0, 0]
])

These kind of definition for X=σx(111)X = \sigma_x( 111 ) can be obtained easily using QuTIpy.

Last updated