-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Prototype `MPS`, `MPO` * Implement `rand`, `adjoint`, `defaultorder`, `boundary`, `form` for `MPS`, `MPO` * Implement conversion from `Product` to `MPS`, `MPO` * Refactor `MPS`, `MPO` on top of new `Ansatz` type * Move `Chain` code to `AbstractAnsatz` and `MPS` * Fix `sites` method for `MPS` * Fix `inds` method for `MPS` * Refactor `adapt_structure` method to support additional types * Refactor `Reactant.make_tracer`, `Reactant.create_result` methods on top of recent changes * Refactor `ChainRules` methods on top of new types * Refactor `rand` for `MPS`, `MPO` * Refactor `Chain` tests on top of `MPS`, `MPO` * Try using more `@site_str` instead of `Site` in MPS tests * Implement some `sites`, `inds` methods for `MPO` * Try using more `@site_str` in MPO tests * Fix typo in `mixed_canonize!` * Fix `truncate` tests on `MPS` * Refactor some tests of `MPS` to simplify * Fix typo in `normalize!` on `MPS` method * Fix typo * Deprecate `isleftcanonical`, `isrightcanonical` in favor of `isisometry` * Fix `isleftcanonical`, `isrightcanonical` tests on boundary sites * Fix `evolve!` calls in tests * Refactor MPO tests * Stop orthogonalization to index on `mixed_canonize!` * Aesthetic name fix * Stop using `IdDict` on Reactant extension * Fix `create_result` on `MPS`, `MPO` * Refactor lattice generation in constructors of `Dense`, `Product`, `MPS`, `MPO`, `PEPS` * Implement an MPS method initializing the tensors to identity (copy-tensors) (#218) * Format code * Implement MPS identity initialization * Add tests for all dispatches of MPS identity init * Format julia code * Rename function header & add docstring * Fix test set for identity MPS * Format code * Rewrite MPS identity init function to nsites instead of arrays' dimensions * Format julia code * Update docstring of identity * Clean code in test (suggested by Jofre) Co-authored-by: Jofre Vallès Muns <61060572+jofrevalles@users.noreply.github.com> * Format julia code * Refactor virtualdims in identity (suggested by Sergio) * Update src/Ansatz/MPS.jl * Restrict to default order in identity MPS * Update src/Ansatz/MPS.jl * Remove order parameter in identity --------- Co-authored-by: Jofre Vallès Muns <61060572+jofrevalles@users.noreply.github.com> Co-authored-by: Sergio Sánchez Ramírez <15837247+mofeing@users.noreply.github.com> * move files * fix constructors * Document types * Remove unimplemented `evolve!` method * fix mutability of `MPO` * Move `MPO` code to "MPS.jl" and refactor common code * document `MPS`, `MPO` constructors * document `rand` on `MPS`, `MPO` * move some docstrings to `AbstractAnsatz` * Refactor `normalize!` * Fix `defaultorder` * fix `normalize!` * apply `isisometry` docstring suggestion by @starsfordummies * add shortcut for `normalize!` with mixed canonization * fix MPS identity constructor test * implement shortcut `Quantum` constructor for simple gates * fix test * refactor exported names * fix `mixed_canonize!` tests * fix `canonize!`, `mixed_canonize!` * import missing symbols to tests * fix field name of `MixedCanonical` * fix namespace clash with `truncate` * fix `truncate!` * fix tests * try fix `mixed_canonize!`, `normalize!` * fix keyword args of `simple_update!` call * comment * fix `MPO` test * more fixes * fix test * refactor legacy `simple_update!` on `Canonical` form * fix symbol in test * rename testset * fix `reindex!` * Remove legacy `@show` * format code * refactor `evolve!` tests * refactor `evolve!` tests again * fix indexing in `simple_update!` * fix wrong call to `canonize!` * try fix forward-mode diff of `MPS`, `MPO` constructors --------- Co-authored-by: Todorbsc <145352308+Todorbsc@users.noreply.github.com> Co-authored-by: Jofre Vallès Muns <61060572+jofrevalles@users.noreply.github.com>
- Loading branch information
1 parent
8a576c5
commit 4d57ecb
Showing
17 changed files
with
1,030 additions
and
586 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.