⚛️
QuTIpy : Quantum Theory of Information for Python
  • QuTIpy
  • Getting Started
    • Overview
    • Installation
      • Install with pip
      • Install with git
  • Modules
    • Pauli
    • General Functions
    • States
Powered by GitBook
On this page
  • Quantum Systems
  • Quantum States
  • Maximally Entangled State
  • Bell State
  • Singlet State
  1. Modules

States

Quantum states are the key mathematical objects in quantum theory. Quantum states are states of knowledge, representing uncertainty about the real physical state of the system.

PreviousGeneral Functions

Last updated 2 years ago

Quantum mechanics is the backbone for quantum information processing, and many aspects of it cannot be explained by classical reasoning.

For example, there is no strong classical analogue for pure quantum states or entanglement, and this leads to stark differences between what is possible in the classical and quantum worlds.

However, at the same time, it is important to emphasize that all of classical information theory is subsumed by quantum information theory, so that whatever is possible with classical information processing is also possible with quantum information processing. As such, quantum information subsumes classical information while allowing for richer possibilities.

Quantum Systems

A quantum system AAA is associated with a HAH_{A}HA​. The state of the system AAA is described by a density operator, which is a unit-trace, positive semi-definite linear operator acting on HAH_{A}HA​.

Bipartite Quantum Systems

For distinct quantum systems AAA and BBB with associated HAH_{A}HA​ and HBH_{B}HB​ , the composite system ABABAB is associated with the HA⊗HBH_{A} \otimes H_{B}HA​⊗HB​. This joint state is described by a bipartite quantum state ρAB∈D(HA⊗HB)\rho_{AB} \in D(H_{A} \otimes H_{B})ρAB​∈D(HA​⊗HB​). For brevity, the joint HA⊗HBH_A \otimes H_BHA​⊗HB​ of the composite system ABABAB is denoted by HABH_{AB}HAB​ .

The measurement of a AAA is described by a {Mx}x∈X\{M_{x}\}_{x \in {X}}{Mx​}x∈X​, which is defined to be a collection of positive semi-definite operators indexed by a finite alphabet satisfying ∑x∈XMx=1HA\sum_{x \in X} {M_x} = 1_{H_A}∑x∈X​Mx​=1HA​​.

If the system is in the state ρ\rhoρ, then the probability Pr[x]Pr[x]Pr[x] of obtaining the outcome xxx is given by the Born rule as Pr[x]=Tr[Mxρ]Pr[x] = Tr[M_x \rho ]Pr[x]=Tr[Mx​ρ].

The evolution of the state of a quantum system is described by a quantum channel, which is a linear, completely positive, and trace-preserving map acting on the state of the system.

Quantum States

A is a mathematical entity that provides a probability distribution for the outcomes of each possible measurement on a . The of a is described by a acting on the underlying of the . Knowledge of the together with the rules for the system's exhausts all that can be predicted about the system's behavior.

A is a unit-trace, positive semi-definite linear operator. We denote the set of density operators on a HHH as D(H)D(H)D(H)

QuTIpy States

QuTIpy contains the definitions of these states, inside the states sub-module, and can be imported as such

from qutipy.states import (
    Bell_state,
    GHZ_state,
    MaxEnt_state,
    MaxMix_state,
    RandomDensityMatrix,
    RandomStateVector,
    Werner_state,
    Werner_twirl_state,
    graph_state,
    isotropic_state,
    isotropic_twirl_state,
    singlet_state
)

Maximally Entangled State

# This will create a Macimally Entangled State for a 3 dimensional system.
# The resultant matrix will be of shape 9x9.
MaxEnt_state(3)

Bell State

# This will create a Bell State for a 2 dimensional system.
# The resultant matrix will be of shape 4x4.
Bell_state(d=2, z=1, x=1)

Singlet State

Generating a singlet state is as easy as writing a single word,

# This will create a Singlet State for a 3 dimensional system.
# The resultant matrix will be of shape 9x9.
singlet_state(3)

We typically use the Greek letters ρ\rhoρ, σ\sigmaσ, τ\tauτ, or ω\omegaω to denote .

A pure state ψAB=∣ψ⟩⟨ψ∣AB\displaystyle \psi_{AB} = |\psi\rangle\langle\psi|_{AB}ψAB​=∣ψ⟩⟨ψ∣AB​, for two systems AAA and BBB of the same dimension ddd, is called Maximally Entangled if the Schmidt coefficients of ∣ψ⟩AB\displaystyle |\psi\rangle_{AB}∣ψ⟩AB​ are all equal to 1d\frac{1}{\sqrt{d}}d​1​ , with ddd being the Schmidt rank of ∣ψ⟩AB\displaystyle |\psi\rangle_{AB}∣ψ⟩AB​.

In other words, ψAB\psi_{AB}ψAB​ is called maximally entangled if ∣ψ⟩AB\displaystyle |\psi\rangle_{AB}∣ψ⟩AB​ has the Schmidt decomposition,∣ψ⟩AB=1d∑k=1d∣ek⟩A⊗∣fk⟩B\displaystyle |\psi\rangle_{AB} = \frac{1}{\sqrt{d}}\sum_{k=1}^{d} |e_k\rangle_A \otimes |f_k\rangle_B∣ψ⟩AB​=d​1​k=1∑d​∣ek​⟩A​⊗∣fk​⟩B​ for some orthonormal sets {∣ek⟩A:1≤k≤d}\displaystyle \{ |e_k\rangle_A : 1 \le k \le d \}{∣ek​⟩A​:1≤k≤d} and {∣fk⟩B:1≤k≤d}\displaystyle \{ |f_k\rangle_B : 1 \le k \le d \}{∣fk​⟩B​:1≤k≤d}.

In simple terms, the Maximally Entangled can be written as (1d)∗(∣0⟩∣0⟩+∣1⟩∣1⟩+...+∣d−1⟩∣d−1⟩)\displaystyle (\frac{1}{\sqrt{d}})*(|0\rangle|0\rangle+|1\rangle|1\rangle+...+|d-1\rangle|d-1\rangle)(d​1​)∗(∣0⟩∣0⟩+∣1⟩∣1⟩+...+∣d−1⟩∣d−1⟩) and can be created using the MaxEnt_state function.

A is defined as a of two qubits. It can be described as one of four entangled two qubit quantum states, known collectively as the four "".

∣ϕ+⟩≡∣ϕ0,0⟩=12(∣0,0⟩+∣1,1⟩)\displaystyle |\phi^{+}\rangle \equiv |\phi_{0, 0}\rangle = \frac{1}{\sqrt{2}} (|0, 0\rangle + |1, 1\rangle)∣ϕ+⟩≡∣ϕ0,0​⟩=2​1​(∣0,0⟩+∣1,1⟩)

∣ϕ−⟩≡∣ϕ1,0⟩=12(∣0,0⟩−∣1,1⟩)\displaystyle |\phi^{-}\rangle \equiv |\phi_{1, 0}\rangle = \frac{1}{\sqrt{2}} (|0, 0\rangle - |1, 1\rangle)∣ϕ−⟩≡∣ϕ1,0​⟩=2​1​(∣0,0⟩−∣1,1⟩)

∣ψ+⟩≡∣ϕ0,1⟩=12(∣0,1⟩+∣1,0⟩)\displaystyle |\psi^{+}\rangle \equiv |\phi_{0, 1}\rangle = \frac{1}{\sqrt{2}} (|0, 1\rangle + |1, 0\rangle)∣ψ+⟩≡∣ϕ0,1​⟩=2​1​(∣0,1⟩+∣1,0⟩)

∣ψ−⟩≡∣ϕ1,1⟩=12(∣0,1⟩−∣1,0⟩)\displaystyle |\psi^{-}\rangle \equiv |\phi_{1, 1}\rangle = \frac{1}{\sqrt{2}} (|0, 1\rangle - |1, 0\rangle)∣ψ−⟩≡∣ϕ1,1​⟩=2​1​(∣0,1⟩−∣1,0⟩)

A generalized version of the above is explained below,

Using the operators XXX, ZZZ, and ZXZXZX, we define the following set of four entangled two-qubit state vectors ∣ϕz,x⟩=(ZzXx⊗I)∣ϕ+⟩\displaystyle |\phi_{z,x}\rangle = (Z^zX^x \otimes I)|\phi^{+}\rangle∣ϕz,x​⟩=(ZzXx⊗I)∣ϕ+⟩ for z,x∈0,1z, x \in {0, 1}z,x∈0,1.

To generates a ddd-dimensional Bell State with 0<=z0 <= z0<=z, x<=d−1x <= d-1x<=d−1, we can simply call the module Bell_state that was imported above.

A singlet state is defined as 1(d2−d)×(I(d2)−F)\frac{1}{(d^2-d)} \times (I_{(d^2)}-F)(d2−d)1​×(I(d2)​−F) where FFF is a Swap Operator.

EPR Pairs
Bell States
Bell state
Bell states
maximally entangled quantum state
quantum states
Measurement
Positive Operator Valued Measure (POVM)
Evolution
quantum state
state
density operator
quantum state
evolution in time
density operator
quantum system
system
quantum system
quantum system
Hilbert space
Hilbert spaces
Hilbert space
Hilbert space
Hilbert space
Hilbert space