grok-bloch icon indicating copy to clipboard operation
grok-bloch copied to clipboard

Wrong Phase shown (zero) when applying Y gate to |1>

Open sevetseh28 opened this issue 7 months ago • 2 comments

Hi,

Just wanted to mention that in the app, I've noticed that when applying the Y gate to state |1> the phase shown is still zero instead of 3pi/2.

sevetseh28 avatar Jun 11 '25 17:06 sevetseh28

So, the resultant state is |0> in the computational basis? The application sets the phase to 0 when the state is |0>

JavaFXpert avatar Jun 11 '25 18:06 JavaFXpert

Yeah, I believe it'd be correct to show the phase dial at 3pi/2 when performing Y on |1> as it gives -i|0>

sevetseh28 avatar Jun 11 '25 18:06 sevetseh28