QuantumAtlas

Interactive Calculator · Quantum Foundations

Two-Qubit Entanglement Calculator

Type in a two-qubit state and read off its concurrence, entanglement entropy, and purity, then see how noise destroys entanglement.

Beginner
Presets

Set the four real amplitudes. The calculator normalizes them for you.

Concurrence

1.000

0 is a product state, 1 is maximally entangled

Entanglement entropy

1.000 ebit

Maximum for two qubits is 1 ebit

Purity of one qubit

0.500

1 means the qubit alone is pure, 0.5 means maximally mixed

Verdict

Maximally entangled

Measurement outcome probabilities (computational basis)

|00⟩50.0%
|01⟩0.0%
|10⟩0.0%
|11⟩50.0%

Add white noise to a Bell state

ρ = p |Φ⁺⟩⟨Φ⁺| + (1 − p) I/4, the Werner state.

Concurrence

1.000

max(0, (3p − 1)/2)

State fidelity

100.0%

Overlap with the ideal Bell state

The state stays entangled only while p is above 1/3 (fidelity above 50%).

How the numbers are computed

For a pure two-qubit state with amplitudes a, b, c, d, the concurrence is 2|ad − bc|. The reduced state of one qubit has eigenvalues (1 ± √(1 − C²))/2, and the entropy of those eigenvalues is the entanglement entropy in ebits.

Enter four amplitudes for a two-qubit pure state and compute concurrence, entanglement entropy in ebits, single-qubit purity, and outcome probabilities, then explore how white noise degrades a Bell state.

What this calculator does

Entanglement is the resource behind teleportation, superdense coding, quantum key distribution, and the speedups of many quantum algorithms. For two qubits in a pure state, it can be measured exactly, and the numbers are easy to compute. This calculator lets you set the four amplitudes of a state written as a|00⟩ + b|01⟩ + c|10⟩ + d|11⟩, normalizes them for you, and then reports three standard measures: concurrence, entanglement entropy, and the purity of one qubit.

Concurrence runs from 0 for a product state to 1 for a maximally entangled state such as a Bell state. Entanglement entropy counts how many ebits, or maximally entangled pairs, the state is worth, and it ranges from 0 to 1 for two qubits. Purity tells you how mixed one qubit looks when you ignore the other. Entangled states have mixed subsystems even though the whole system is pure, which is the signature of entanglement.

How to use it

Pick the Bell state preset and you will see concurrence 1, entropy 1 ebit, and purity 0.5. The probabilities show that the outcomes 00 and 11 each appear half the time, and 01 and 10 never do. Now switch to the product state presets. The state |00⟩ has concurrence 0, and so does |+⟩|+⟩ with all four amplitudes equal to one half, even though its outcome probabilities are spread across all four possibilities. This is an important lesson: random-looking measurement results do not imply entanglement.

Then use the partly entangled preset and move the amplitudes by hand. For example, take amplitudes 0.9 on |00⟩ and 0.436 on |11⟩. The concurrence is 2 × 0.9 × 0.436 = 0.785, and the entropy is about 0.70 ebits. As the two amplitudes become equal the concurrence rises to 1, and as one of them shrinks to zero it falls to 0. A useful rule: the product ad − bc vanishes exactly when the state factors into a product of single-qubit states.

The second panel adds noise. It takes a perfect Bell state and mixes it with the maximally mixed state with weight p for the Bell state, which produces what is called a Werner state. The concurrence of the noisy state is max(0, (3p − 1)/2). So the entanglement vanishes entirely when p drops to one third, even though the state is still partly correlated. This sudden death of entanglement under noise is one reason quantum hardware must be so carefully isolated.

Reading the result

Entropy and concurrence tell the same story from two angles, and for pure two-qubit states one can be computed from the other. Concurrence is the quantity that generalizes more easily to mixed states, through the formula of Wootters from 1998. Entropy has a direct operational meaning in the limit of many copies: it is the number of Bell pairs that can be distilled from each copy by local operations and classical communication, as shown by Bennett, Bernstein, Popescu, and Schumacher in 1996.

If the verdict says Separable, then the two qubits are independent and no entanglement-based protocol will work with that state. If it says Entangled, then the state violates some form of separability, though it may or may not violate a Bell inequality, since not every entangled state is Bell-nonlocal. For pure states, though, every entangled state violates a Bell inequality, a result known as Gisin's theorem.

Assumptions and limits

This calculator handles real amplitudes and pure states only, so it does not cover relative phases or mixed states in general. Phases can change which Bell state you have but not the amount of entanglement, so for the quantities shown nothing is lost for pure states with real amplitudes up to local operations. The noise panel uses only white noise on a Bell state, and real noise is often structured, for instance amplitude damping or dephasing, which changes the thresholds.

The formulas behind it

Normalization

(a, b, c, d) → (a, b, c, d)/√(a² + b² + c² + d²)

Amplitudes are rescaled so the probabilities sum to one.

Concurrence

C = 2|ad − bc|

For a pure two-qubit state. Zero means a product state, one means maximal entanglement.

Schmidt weights

λ± = (1 ± √(1 − C²))/2

Eigenvalues of the reduced state of either qubit.

Entanglement entropy

E = −λ₊ log₂ λ₊ − λ₋ log₂ λ₋

Measured in ebits. Equals 1 for a Bell state.

Purity

Tr ρ² = 1 − C²/2

Purity of a single qubit. It is 1/2 for a maximally entangled pair.

Werner state

C = max(0, (3p − 1)/2)

Concurrence of p|Φ⁺⟩⟨Φ⁺| + (1 − p) I/4.

Worked examples

A Bell state

  1. Amplitudes (0.707, 0, 0, 0.707).
  2. ad − bc = 0.5, so C = 1.
  3. Eigenvalues are 1/2 and 1/2, so the entropy is 1 ebit and the purity is 0.5.

ResultThe state is maximally entangled.

A partly entangled state

  1. Amplitudes (0.9, 0, 0, 0.436).
  2. C = 2 × 0.9 × 0.436 = 0.785.
  3. λ± = (1 ± 0.62)/2, which is 0.81 and 0.19, so E = 0.81 × 0.304 + 0.19 × 2.396 ≈ 0.70 ebits.

ResultAbout 70 percent of a Bell pair.

Noise on a Bell state

  1. Set p = 0.5.
  2. C = (3 × 0.5 − 1)/2 = 0.25 and the fidelity with the Bell state is (3 × 0.5 + 1)/4 = 0.625.

ResultStill entangled, but only barely. At p = 1/3 the concurrence reaches zero.

Frequently asked questions

Can a state with random-looking outcomes be unentangled?

Yes. The state |+⟩|+⟩ gives all four outcomes with equal probability and is a product state. Entanglement is about correlations in all bases, not randomness in one.

What is an ebit?

One ebit is the entanglement of a maximally entangled pair of qubits, such as a Bell state.

Is more entanglement always better?

Not always. Many algorithms and protocols need specific amounts or structures of entanglement, and too much can be as unhelpful as too little.

References

  1. Wootters, W. K. (1998). Entanglement of formation of an arbitrary state of two qubits. Physical Review Letters, 80, 2245-2248.
  2. Bennett, C. H., Bernstein, H. J., Popescu, S., & Schumacher, B. (1996). Concentrating partial entanglement by local operations. Physical Review A, 53, 2046-2052.
  3. Werner, R. F. (1989). Quantum states with Einstein-Podolsky-Rosen correlations admitting a hidden-variable model. Physical Review A, 40, 4277-4281.
  4. Horodecki, R., Horodecki, P., Horodecki, M., & Horodecki, K. (2009). Quantum entanglement. Reviews of Modern Physics, 81, 865-942.
  5. Nielsen, M. A., & Chuang, I. L. (2010). Quantum computation and quantum information (10th anniversary ed.). Cambridge University Press.
  6. Schrödinger, E. (1935). Die gegenwärtige Situation in der Quantenmechanik. Die Naturwissenschaften, 23, 807-812.

Keep exploring

These calculators use simplified, published models for education and planning. Real devices and systems differ, so treat results as estimates. They are not engineering, investment, legal, or security advice.