pygsti.tools.jamiolkowski.fast_jamiolkowski_iso_std_inv

pygsti.tools.jamiolkowski.fast_jamiolkowski_iso_std_inv#

fast_jamiolkowski_iso_std_inv(choi_mx, op_mx_basis, normalized=True)#

Given a choi matrix in the standard basis, return the corresponding operation matrix (in op_mx_basis).

This function performs the inverse of fast_jamiolkowski_iso_std().

Parameters:
  • choi_mx (numpy array) – the Choi matrix in the standard (matrix units) basis, normalized to have trace == 1, to compute operation matrix for.

  • 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 we assume choi_mx was computed with the convention that trace-preserving maps have trace-1 choi matrices.

Returns:

operation matrix in the desired basis.

Return type:

numpy array