bring toIQMPO, toIQ back to work#95
Conversation
|
Hi, thanks for contributing this and sorry it's been so long. Part of the issue is that while this functionality is nice to have, I wasn't sure about maintaining it myself and supporting it as a core part of ITensor. The toIQMPO feature was always a tricky because it relies on a lot of heuristics such as when to treat a very small number as exactly zero, etc. So I had quietly stopped supporting it in the new version. But people may still benefit from it in certain cases. So we came up with a new way for people to contribute complex, somewhat experimental codes like these. We now have a "Codes" page on the ITensor site: http://itensor.org/codes Please let me know what you think about posting your toIQMPO implementation as a separate code this way - thanks. |
Update toIQMPO(), toIQ(), convertToIQ() to itensor version 2 .
Those codes are based on the original codes in v1, and tested with the programs in fold samples by substituting
auto H = IQMPO(ampo)with
auto A = MPO(ampo); auto H = A.toIQMPO();which give the same results.