Skip to content
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

Refactor and generalize tensor network constructors #155

Merged
merged 18 commits into from
Apr 12, 2024
Merged

Conversation

mtfishman
Copy link
Member

@mtfishman mtfishman commented Apr 5, 2024

Simplify the code logic for tensor network constructors, and additionally add flexibility in defining product states (for example, now you can define them through dictionaries from vertices to the desired state on that vertex).

TODO:

  • Get tests passing (need to bring back random_mps and random_ttn).
  • Test new functionality.

@b-kloss

src/itensornetwork.jl Outdated Show resolved Hide resolved
src/itensornetwork.jl Outdated Show resolved Hide resolved
src/itensornetwork.jl Outdated Show resolved Hide resolved
src/itensornetwork.jl Outdated Show resolved Hide resolved
src/treetensornetworks/abstracttreetensornetwork.jl Outdated Show resolved Hide resolved
src/treetensornetworks/abstracttreetensornetwork.jl Outdated Show resolved Hide resolved
src/treetensornetworks/ttn.jl Show resolved Hide resolved
src/treetensornetworks/ttn.jl Outdated Show resolved Hide resolved
src/treetensornetworks/ttn.jl Outdated Show resolved Hide resolved
src/treetensornetworks/ttn.jl Outdated Show resolved Hide resolved
test/test_itensornetwork.jl Outdated Show resolved Hide resolved
test/test_itensornetwork.jl Outdated Show resolved Hide resolved
@mtfishman mtfishman merged commit 906f184 into main Apr 12, 2024
5 of 9 checks passed
@mtfishman mtfishman deleted the generalize_ttn branch April 12, 2024 00:27
@mtfishman mtfishman changed the title [WIP] Refactor and generalize tensor network constructors Refactor and generalize tensor network constructors Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant