AngouriMath

Navigation

← Back to list of members

TensorExpand​(AngouriMath.​Entity)

 Method (no overloads)

Summary

A product of states over consecutive qubits multiplied back out into a single
superposition, or null where the expression is not such a product.

Remarks

The inverse of TensorFactorize(AngouriMath.Entity), and the reason it is here rather than on the
spine: within one state the qubits are a fixed width and combining two kets overlays
them, while a *product* of states concatenates their widths. Those are two different
monoids on the same type, and only the first is what
SparseTerms`1 multiplies with.

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1953 pages online