pygsti.tools.jamiolkowski.fast_jamiolkowski_iso_std

pygsti.tools.jamiolkowski.fast_jamiolkowski_iso_std#

fast_jamiolkowski_iso_std(operation_mx, op_mx_basis, normalized=True)#

Returns the standard-basis representation of the Choi matrix for operation_mx, where operation_mx is interpreted in op_mx_basis.

This routine only computes the case of the Choi matrix being in the standard (matrix unit) basis, but does so more quickly than jamiolkowski_iso() and so is particularly useful when only the eigenvalues of the Choi matrix are needed.

Parameters:
  • operation_mx (numpy array) – the operation matrix to compute Choi matrix of.

  • op_mx_basis (Basis object) – The source and destination basis, respectively. Allowed values are Matrix-unit (std), Gell-Mann (gm), Pauli-product (pp), and Qutrit (qt) (or a custom basis object).

  • normalized (bool) – If normalized=True, then this function maps trace-preserving operation matrices to trace-1 Choi matrices.

Returns:

the Choi matrix, normalized to have trace == 1, in the std basis.

Return type:

numpy array