tsim.core.instructions.mxx
← Module overview
function
source
functionmxx¶source
tsim.core.instructions.mxx
Signature
def mxx(b: GraphRepresentation, q0: int, q1: int, p: float = 0, invert: bool = False) -> NoneMeasure two qubits in XX basis.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
b | GraphRepresentation | required | |
q0 | int | required | |
q1 | int | required | |
p | float | 0 | |
invert | bool | False |