As discussed in ITensor/ITensors.jl/pull/427, it would be helpful to extend the type parametrization of Spectrum to Union{<:AbstractVector, Nothing} so that the eigs field can be nothing for cases like qr where the eigenvalues are not easy to compute.
Also, we might consider changing the name of the eigs(...) function to eigvals(...) to match Julia's eigvals function.
As discussed in ITensor/ITensors.jl/pull/427, it would be helpful to extend the type parametrization of
Spectrum
toUnion{<:AbstractVector, Nothing}
so that theeigs
field can benothing
for cases likeqr
where the eigenvalues are not easy to compute.Also, we might consider changing the name of the
eigs(...)
function toeigvals(...)
to match Julia'seigvals
function.