Allow specifying the element type in random_unitary, such as random_unitary(ComplexF64, 4, 4) or random_unitary(Float64, 4, 4). Then, random_orthog(m, n) could be defined as random_unitary(Float64, m, n). Allows for more generic code (for example see the usage in randomCircuitMPS).
Allow specifying the element type in
random_unitary
, such asrandom_unitary(ComplexF64, 4, 4)
orrandom_unitary(Float64, 4, 4)
. Then,random_orthog(m, n)
could be defined asrandom_unitary(Float64, m, n)
. Allows for more generic code (for example see the usage inrandomCircuitMPS
).