IQC 002
· 약 7분
Ket
Matrices
- Matrices represent linear transformations (quantum gates). A general 2x2 matrix is:
- Identity matrix:
- Linearity:
Bra and Daggers
Dagger
- Conjugate Transpose: swap rows/columns and complex-conjugates every entry.
- Ket becomes Bra:
- For a matrix:
- Key Identities:
Hermitian and Unitary Matrices
- Hermitian:
- Self-adjoint matrices, their eigenvalues are always real.
- Observables in quantum mechanics are Hermitian.
- Unitary:
- The inverse of a unitary matrix is its conjugate transpose.
- Unitary matrices preserve norms
Inner Product
- The angle between two vectors and is defined as bra-ket:
- Important properties:
- Order Matters:
- But (Complex Conjugate)
- The modulus is symmetric:
- The Magnitude of a vector is given by:
Orthonormal of the Computational Basis
- The basis states and are orthonormal:
- This simplifies inner products enormously when working with the computational basis:
- All corss terms vanish due to orthogonality, leaving:
Outer Products
- The outer product of two vectors produces a matrix:
- Basis outer products:
- Any matrix can be expanded in terms of outer products of the computational basis:
The Qubit
A qubit is the fundamental unit of quantum information
- where are complex numbers such that (normalization condition).
- Any normalized single-qubit state can be parameterized using two angles and (real numbers):
- Key difference from a bit: a bit is either 0 or 1, while a qubit can be in a superposition of both states simultaneously until measured.
Measurement
- When you measure a qubit in the computational basis, you get:
- with probability
- with probability
| Outcome | Probability | Post-measurement State |
|---|---|---|
| 0 | $ | \alpha |
| 1 | $ | \beta |
- The result of measuring a qubit is a single classical bit.
- For :
- Probability of measuring :
- Probability of measuring :
- The phase does not affect measurement outcomes.
One-Qubit Gates
Pauli Matrices
Unitary matrics
- is the quantum NOT gate:
- filps the phase of :
- All three are both Hermitian and unitary.
Hadamard Gate
- creates superpositions:
- also "un-does" superpositions:
Rotation Gate
- rotates the state vector by an angle in the - plane.
The Bloch Sphere
Every single-qubit state maps to a point on the surface of a unit sphere
- is polar angle from north pole
- is azimuthal angle around equator
- is at the north pole
- is at the south pole
- is on the equator at
Exercises
- For any two-dimensional state vector , it holds that .
- Measuring a qubit in the basis yields a probabilistic outcome when both and are non-zero.
- A global phase factor applied to a qubit state does not change the probabilities of measurement outcomes in the computational basis.
- The Bloch sphere represents all pure single-qubit states as points on the surface of the sphere.
- A real matrix is a valid quantum gate only if it is unitary, not merely invertible.
- The Pauli-X gate flips to and to .
- When a qubit is measured in a given basis, the state collapses to the basis state corresponding to the measurement outcome.
- Unitary matrices preserve the norm of any vector they act on.
- If , then the probability of measuring is .
- The state is properly normalized.
- If , then the probability of measuring is .
- The states and are orthogonal.
- The Pauli-X matrix satisfies , where is the identity matrix.
- Applying the Pauli-Z gate to produces .