New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write to disk for ProjMPOSum (DiskProjMPOSum) #1043
Conversation
Benchmark resultJudge resultBenchmark Report for /home/runner/work/ITensors.jl/ITensors.jlJob Properties
ResultsA ratio greater than
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfoTarget
Baseline
Target resultBenchmark Report for /home/runner/work/ITensors.jl/ITensors.jlJob Properties
ResultsBelow is a table of this job's results, obtained by running the benchmarks.
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfo
Baseline resultBenchmark Report for /home/runner/work/ITensors.jl/ITensors.jlJob Properties
ResultsBelow is a table of this job's results, obtained by running the benchmarks.
Benchmark Group ListHere's a list of all the benchmark groups executed by this job:
Julia versioninfo
Runtime information
|
I think we should make a single parametrized type: struct ProjMPOSum{T}
pm::Vector{T}
end instead, this is a lot of code repetition. |
Description
Fixes the request by Steve W. on the forum at this link. This fix is minimal, and intentially just follows a combination of the current styles used for DiskProjMPO and ProjMPOSum. (I mention this because while I could have updated ProjMPOSum to use the AbstractProjMPO interface, this whole subsystem is slated for a redesign anyway. I'd be ok with submitting a new PR in the near future updating these to use the Abstract interface.)
How Has This Been Tested?
Added a small new unit test that runs DMRG on a sum of two Hamiltonians and uses
write_when_maxdim_exceeds
.Checklist:
using JuliaFormatter; format(".")
in the base directory of the repository (~/.julia/dev/ITensors
) to format your code according to our style guidelines.