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