pygsti.tools.optools.unitary_to_std_process_mx

pygsti.tools.optools.unitary_to_std_process_mx#

unitary_to_std_process_mx(u)#

Compute the superoperator corresponding to unitary matrix u.

Computes a super-operator (that acts on (row)-vectorized density matrices) from a unitary operator (matrix) u which acts on state vectors. This super-operator is given by the tensor product of u and conjugate(u), i.e. kron(u,u.conj).

Parameters:

u (numpy array) – The unitary matrix which acts on state vectors.

Returns:

The super-operator process matrix.

Return type:

numpy array