You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: intro.Rmd
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -590,10 +590,9 @@ Can you tell what is the expected value of the observable $Z$ of the ancilla qub
590
590
591
591
<!-- Solution: it's just $\braket{\psi U \psi}$ -->
592
592
593
-
However, we might be interested in the imaginary part of
594
-
$\braket{\psi|U|\psi}$. To estimate that, we need to slightly change the
593
+
With the method described we can estimate the real part of $\braket{\psi|U|\psi}$ however, being it a complex number, in order to fully describe it we need a procedure to estimate also its imaginary part. To estimate that, we need to slightly change the
595
594
circuit. After the first Hadamard gate, we apply on the ancilla qubit a
596
-
phase gate $S$, which gives to the state $\ket{1}$ a phase of $-i$. To get
595
+
phase gate $S$, which gives to the state $\ket{1}$ a phase of $-i$. This operation may be interpreted as a 90 degrees rotation, enabling us to swap the real and imaginary axis to then make a measurement on the imaginary one. To get
597
596
the intuition behind this, let's recall that the imaginary part of a
0 commit comments