pygsti.algorithms.find_closest_unitary_gatemx¶
-
pygsti.algorithms.
find_closest_unitary_gatemx
(gateMx)¶ - Get the closest gate matrix (by maximizing fidelity)
- to gateMx that describes a unitary quantum gate.
Parameters: gateMx (numpy array) – The gate matrix to act on. Returns: The resulting closest unitary gate matrix. Return type: numpy array