tsim.core.instructions.z_error
← Module overview
function
source
functionz_error¶source
tsim.core.instructions.z_error
def z_error(b: GraphRepresentation, qubit: int, p: float) -> NoneApply Z error with probability p.
Parameters
| Name | Type | Description |
|---|---|---|
b | GraphRepresentation | |
qubit | int | |
p | float |