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