project_z¶ guppylang.std.quantum.project_z(q: qubit) → bool[source]¶ Project a single qubit into the Z-basis (a non-destructive measurement).