pygsti.tools.jamiolkowski.jamiolkowski_iso_inv

pygsti.tools.jamiolkowski.jamiolkowski_iso_inv#

jamiolkowski_iso_inv(choi_mx, choi_mx_basis='pp', op_mx_basis='pp', normalized=True)#

Given a choi matrix (interpreted in choi_mx_basis), return the corresponding operation matrix (in op_mx_basis).

This function performs the inverse of jamiolkowski_iso().

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

  • 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).

  • 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