deltakit.circuit.gates.RY#
- class deltakit.circuit.gates.RY(qubit: Qubit[T] | T, *, tag: str | None = None)#
Bases:
OneQubitResetGate[T]Y - basis reset. Forces each target qubit into the
| i >state by silently measuring it in the Y basis and applying an X gate if it ended up in the| -i >state.- Parameters:
qubit (Qubit[T] | T) – The qubit that this gate acts on.
Notes
Stabilizer Generators:1 -> +YDecomposition(into H, S, CX, M, R):The following circuit is equivalent(up to global phase) toRY 0S 0S 0S 0H 0R 0H 0S 0
Methods#
Convert the qubits this gate acts on to equivalent stim targets. |
|
Transform this gates's qubits according to the id mapping. |