This is used by the `ITensorMPS.random_mps` constructor. Maybe it should be defined in `MatrixAlgebra.jl`/`TensorAlgebra.jl`.