qit.utils.mkron

qit.utils.mkron(*arg)

This is how kron should work, dammit.

Parameters
  • A (array) – arbitrary numpy arrays

  • B (array) – arbitrary numpy arrays

  • C... (array) – arbitrary numpy arrays

Returns

tensor (Kronecker) product of the input arrays, \(A \otimes B \otimes C \otimes \ldots\)

Return type

array