For a single qubit in the initial state , the quantum operations , , and are applied sequentially. At the end, the qubit is measured. What is the probability of getting the initial state back when measuring?
Details and assumptions: The basis states and of the qubit can be represented by two-dimensional unit vectors: In this basis, the quantum operations and can be represented as matrices:
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The operator sequence H X H is calculated by matrix multiplication H X H = 2 1 ( 1 1 1 − 1 ) ⋅ ( 0 1 1 0 ) ⋅ ( 1 1 1 − 1 ) = 2 1 ( 1 1 1 − 1 ) ⋅ ( 1 1 − 1 1 ) = 2 1 ( 2 0 0 − 2 ) = ( 1 0 0 − 1 ) = Z The result is the quantum gate Z (phase shift). Applying this gate on the state ∣ 0 ⟩ results Z ∣ 0 ⟩ = ( 1 0 0 − 1 ) ( 1 0 ) = ( 1 0 ) = ∣ 0 ⟩ Therefore, the state is not changed at all.