pygsti.tools.jamiolkowski.jamiolkowski_iso

pygsti.tools.jamiolkowski.jamiolkowski_iso#

jamiolkowski_iso(operation_mx, op_mx_basis='pp', choi_mx_basis='pp', normalized=True)#

Return a Choi matrix (in the choi_mx_basis) for operation_mx, when operation_mx is interpreted in the op_mx_basis.

Parameters:
  • operation_mx (numpy array or cvxpy Expression) – 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).

  • choi_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, in the desired basis.

Return type:

numpy array or cvxpy Expression