Measuring post phase shift on digital basis #505
-
Hi all, I am quite new to the world of quantum computing with Rydberg atoms and I am trying to use Pulser to pulse elaborate qubit gates. I am trying to incorporate the single qubit Z rotation gate in the digital basis using a virtual post phase shift (as described by the docs) but upon simulating the result in the digital basis, I see that nothing changes. Is there something that I am fundamentally missing or is there another way to incorporate a Z gate for it to appear in the simulation? Thank you very much! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi @Santopelufincho, welcome ! |
Beta Was this translation helpful? Give feedback.
-
Hi @HGSilveri, |
Beta Was this translation helpful? Give feedback.
When we speak of two states (|phi_1>, |phi_2>) being equal up to a global phase, it just means there is some phase
alpha
that makes|phi_1> = exp(i*alpha) |phi_2>
. In QC this global phase factors are always ignored because, when measuring some observableÔ
,<phi_1| Ô |phi_1> = <phi_1| exp(-i * alpha) Ô exp(i*alpha) |phi_1> = <phi_2| Ô |phi_2>
, so it can always be ignored.What you are asking for (adding a global phase to a state) is something that is never considered in QC and there is no gate that will do so.
I understand that you are trying to see the effect of a CPHASE gate, but it will never show in an eigenstate. You need to have your state be in a superposition of basis states to se…