Skip to content

tsim.core.instructions.r_y

← Module overview

functionr_ysource

tsim.core.instructions.r_y

def r_y(b: GraphRepresentation, qubit: int, phase: Fraction) -> None

Apply R_Y rotation gate with given phase (in units of π).

Parameters

NameTypeDescription
bGraphRepresentation
qubitint
phaseFraction
source