tsim.core.instructions.my
← Module overview
function
source
functionmy¶source
tsim.core.instructions.my
Signature
def my(b: GraphRepresentation, qubit: int, p: float = 0, invert: bool = False) -> NoneMeasure qubit in Y basis.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
b | GraphRepresentation | required | |
qubit | int | required | |
p | float | 0 | |
invert | bool | False |