Commit 7585275
committed
feat: simplify MPO project from P'HP to HP
Based on David's comments, we can use the operator diagonality
to simplify P'HP = PHP = HPP = HP.
This improves the constraint's contribution to the bond dimension
from a quadratic to a linear factor.1 parent 98945c5 commit 7585275
1 file changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
| |||
0 commit comments