1
$\begingroup$

I've the following circuit which gives an output of 1 with a phase angle of 3π/4. When we measure the circuit all we get is the state 1 (On actual QC, it's 90% of the time 1). Is the information about the phase angle lost by measuring the state? Could the phase angle also be part of the output?

Circuit

OPENQASM 2.0;
include "qelib1.inc";

qreg q[1];
creg c[1];

u(pi/2,pi/2,0) q[0];
h q[0];
u(pi/2,pi/2,pi/2) q[0];
measure q[0] -> c[0];

$\endgroup$
2

1 Answer 1

1
$\begingroup$

When we make a measurement we project the state of the qubit to the z-basis (i.e 0 or 1) so in general it is not possible to measure a global phase.

That said, Measuring such global phases is an important subroutine in many quantum algorithms such as Shor's algorithm.

This can be done using the Quantum phase estimation algorithm. For details, check https://qiskit.org/textbook/ch-algorithms/quantum-phase-estimation.html and the following chapter on Shor's algorithm. The idea is roughly that of performing an interference experiment.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.