Bell states
The four Bell states are the most important two-qubit states. They are maximally entangled and form a basis.
The four states
In the states, the two qubits give equal results in the Z basis; in the states, different results.
In the state , the first qubit gave . What will the second one give, also in the Z basis?
Mini-challenge
Preparing and measuring
The H + CNOT circuit takes the standard basis to the Bell basis:
Since the circuit is unitary, running it backwards (CNOT and then H) identifies which Bell state we have. This is a Bell measurement: two bits that point to one of the four states.
The Bell measurement of a pair gave the bits (first the qubit that went through H). Which state was it? Answer phi+, phi-, psi+ or psi-.
Mini-challenge
From one to another with a local gate
By applying gates only to the first qubit, we go from one Bell state to another:
Which gate (one letter), applied to the first qubit, takes to up to a global phase? Consider only X and Z.
Mini-challenge
Correlation in every basis
In , the results are also equal in the X basis, because
A classical pair of matched coins cannot imitate this in all bases at once. The next skill measures that difference.
What is the probability that the two results are equal when measuring with both sides in the X basis?
Mini-challenge
In Python
Write a function that takes the bits a and b and returns the vector with the 4 amplitudes of the Bell state prepared from .
Mini-challenge · Python
Input
a, bintformat: 0 or 1
example:
1, 0
Output
bell_statenp.ndarrayformat: vector with the 4 amplitudes, in the order 00, 01, 10, 11, shape (4,)
example:
np.array([2**-0.5, 0, 0, -2**-0.5])
Tests
Test 1 Example Not run yet
Call:
bell_state(0, 0)Expected output:
np.array([2**-0.5, 0, 0, 2**-0.5])Test 2 Hidden Not run yet
Test 3 Hidden Not run yet
To go deeper: T. G. Wong, Introduction to Classical and Quantum Computing, ch. 6.
Solve this mini-lesson's mini-challenge to continue.