qit.utils.lmul¶
- qit.utils.lmul(L, q=None)¶
Superoperator equivalent for multiplying from the left.
\[L \rho = \text{inv_vec}(\text{lmul}(L) \text{vec}(\rho))\]- Parameters
L (array) – multiplying operator, shape == (m, p)
q (int) – The shape of \(\rho\) is (p, q). If q is not given, \(\rho\) is assumed square.
- Returns
superoperator that implements left multiplication of a vectorized matrix \(\rho\) by the matrix L
- Return type
array