process_matrix
- SimulationResult.process_matrix(spin_names=None, shot='avg', t_idx=-1, basis='product', frame='rotating', remove_virtual_phase=True)
Return the process matrix corresponding to the time evolution operator.
- Parameters:
spin_names (
str
|List
[str
] |None
) – Names of the selected spins (defaults to all spins).shot (
str
|int
|List
[int
]) – Specify the shot by its index or indices, or use'all'
or'avg'
.t_idx (
int
) – Specify the time by its index (defaults to last timestamp).basis (
str
) – Specify the basis, must be either'product'
or'eigen'
.frame (
str
) – Specify the frame, must be either'lab'
or'rotating'
.remove_virtual_phase (
bool
) – Specify to remove the virtual z-phases.
- Return type:
- Returns:
Process matrix or process matrices.