tsim.core.instructions.r_y
← Module overview
function
source
functionr_y¶source
tsim.core.instructions.r_y
def r_y(b: GraphRepresentation, qubit: int, phase: Fraction) -> NoneApply R_Y rotation gate with given phase (in units of π).
Parameters
| Name | Type | Description |
|---|---|---|
b | GraphRepresentation | |
qubit | int | |
phase | Fraction |