Skip to content

tsim.core.instructions.ry

← Module overview

functionrysource

tsim.core.instructions.ry

def ry(b: GraphRepresentation, qubit: int) -> None

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

NameTypeDescription
bGraphRepresentation
qubitint
source