pygsti.process_fidelity¶
-
pygsti.
process_fidelity
(A, B, mxBasis='gm')¶ - Returns the process fidelity between gate
matrices A and B given by :
F = Tr( sqrt{ sqrt(J(A)) * J(B) * sqrt(J(A)) } )^2
where J(.) is the Jamiolkowski isomorphism map that maps a gate matrix to it’s corresponding Choi Matrix.
Parameters: - B (A,) – The matrices to compute the fidelity between.
- mxBasis ({“std”,”gm”,”pp”}, optional) – the basis of the gate matrices A and B : standard (matrix units), Gell-Mann, or Pauli-product, respectively.