UnitaryBuilder.calc_env_matrix

UnitaryBuilder.calc_env_matrix(location)[source]

Calculates the environment matrix w.r.t.

Return type:

complex128

the specified location.
Args:
location (Sequence[int]): Calculate the environment matrix

with respect to the qudit indices in location.

Returns:

np.ndarray: The environmental matrix.