qit.utils.lrmul

qit.utils.lrmul(L, R)

Superoperator equivalent for multiplying both from left and right.

LρR=inv_vec(lrmul(L,R)vec(ρ))
Parameters
  • L (array) – matrix, shape (m, p)

  • R (array) – matrix, shape (q, r)

Returns

superoperator that implements left multiplication by the matrix L and right

multiplication by the matrix R of a vectorized matrix ρ

Return type

array