fix: spacing fixed

This commit is contained in:
Fabian Joswig 2022-05-12 15:12:42 +01:00
parent acb47a6782
commit be0990d112

View file

@ -233,7 +233,7 @@ def _scalar_mat_op(op, obs, **kwargs):
def _mat_mat_op(op, obs, **kwargs): def _mat_mat_op(op, obs, **kwargs):
"""Computes the matrix to matrix operation op to a given matrix of Obs.""" """Computes the matrix to matrix operation op to a given matrix of Obs."""
# Use real representation to calculate matrix operations for complex matrices # Use real representation to calculate matrix operations for complex matrices
if any(isinstance(o, CObs) for o in obs.ravel()): if any(isinstance(o, CObs) for o in obs.ravel()):
A = np.empty_like(obs) A = np.empty_like(obs)
B = np.empty_like(obs) B = np.empty_like(obs)
for (n, m), entry in np.ndenumerate(obs): for (n, m), entry in np.ndenumerate(obs):