qit.utils.tensorsum¶
- qit.utils.tensorsum(*arg)¶
Like kron but adding instead of multiplying.
- Parameters
A (array) – arbitrary numpy arrays
B (array) – arbitrary numpy arrays
C... (array) – arbitrary numpy arrays
- Returns
tensor sum of the input arrays
- Return type
array