SimulationResult
Return the leakage from the qubit subspace.
Leakage is defined as the probability that a quantum operation results in the system leaving the qubit subspace.
shot (str | int | List[int]) – Specify the shot by its index or indices, or use 'all' or 'avg'.
str
int
List
'all'
'avg'
t_idx (str | int | List[int]) – Specify the time by its index or indices, or use 'all'.
basis (str) – Specify the basis, must be either 'product' or 'eigen'.
'product'
'eigen'
ndarray | Array
ndarray
Array
Leakage or leakages.