tsim.core.instructions.ry
← Module overview
function
source
functionry¶source
tsim.core.instructions.ry
def ry(b: GraphRepresentation, qubit: int) -> NoneY-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
| Name | Type | Description |
|---|---|---|
b | GraphRepresentation | |
qubit | int |