tsim.core.instructions.sqrt_x
← Module overview
function
source
functionsqrt_x¶source
tsim.core.instructions.sqrt_x
def sqrt_x(b: GraphRepresentation, qubit: int) -> NoneApply √X gate (π/2 X rotation).
Parameters
| Name | Type | Description |
|---|---|---|
b | GraphRepresentation | |
qubit | int |