liveBook · Manning

Bell state

As explained in Building Quantum Software with Python

A Bell state is one of four maximally entangled two-qubit quantum states with correlated measurement outcomes and equal probabilities for two basis states.

A Bell state is a two-qubit nonproduct state: measurement outcomes are linked, so the qubits cannot be described independently. The first state permits only 00 and 11, each with probability 0.5, while two other states use 01 and 10; sign changes distinguish the four states. section 4.2.1

Represent the four Bell states with amplitude vectors ordered by the two-qubit basis states:

  • Φ⁺ = [√0.5, 0, 0, √0.5], supporting 00 and 11. section 4.2.1
  • Φ⁻ = [√0.5, 0, 0, −√0.5], retaining the same possible outcomes with a relative sign change. section 4.2.1
  • Ψ⁺ = [0, √0.5, √0.5, 0], supporting 01 and 10. section 4.2.1
  • Ψ⁻ = [0, √0.5, −√0.5, 0], retaining 01 and 10 with a relative sign change. section 4.2.1

Preparing Bell states with a circuit

A simulator prepares Φ⁺ by placing the first qubit in superposition and entangling the pair: q = QuantumRegister(2); qc = QuantumCircuit(q); qc.h(q[0]); qc.cx(q[0], q[1]); state = qc.run(). Adding an X gate to the second qubit before the controlled-X prepares Ψ⁺. The remaining states are an exercise in circuit construction. section 4.5.5

q = QuantumRegister(2)
qc = QuantumCircuit(q)

qc.h(q[0])
qc.cx(q[0], q[1])

state = qc.run()

Inspect the executable circuit that prepares the first Bell state and returns its simulated state. section 4.5.5

How Building Quantum Software with Python covers it

How deep it goes
Explains state structure, nonproduct behavior, amplitude vectors, and circuits, then exercises construction of the remaining states.
Examples
Uses correlated coin flips, four amplitude vectors, state tables, and Python circuits for the first and third Bell states.
What it assumes
Assumes single-qubit states and gates, then develops multi-qubit registers, state representations, and entanglement through examples.
What you can do after
Build it from scratch with a two-qubit simulator, prepare two Bell states, and implement circuits for the remaining pair.
How it connects
Connects Bell states to multi-qubit states, quantum entanglement, quantum gates, quantum circuits, and state tables.

Also explained in

Compare how 2 books explain Bell state →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Building Quantum Software with Python. The section links point to the parts of the book it draws on.