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

[NDTensors] DiagonalArray tensor operations #1226

Merged
merged 43 commits into from
Nov 1, 2023

Conversation

mtfishman
Copy link
Member

Description

Building off of #1225, this is work in progress defining tensor operations for DiagonalArray, with the goal of making them usable as ITensor storage backends for DMRG.

mtfishman and others added 26 commits October 27, 2023 09:06
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@mtfishman mtfishman marked this pull request as draft October 31, 2023 00:34
NDTensors/src/DiagonalArrays/examples/README.jl Outdated Show resolved Hide resolved
NDTensors/test/arraytensor/diagonalarray.jl Outdated Show resolved Hide resolved
NDTensors/test/arraytensor/diagonalarray.jl Outdated Show resolved Hide resolved
@mtfishman
Copy link
Member Author

[test ITensors mps]

@mtfishman mtfishman marked this pull request as ready for review November 1, 2023 03:17
@mtfishman mtfishman changed the title [WIP][NDTensors] DiagonalArray tensor operations [NDTensors] DiagonalArray tensor operations Nov 1, 2023
Copy link
Contributor

github-actions bot commented Nov 1, 2023

Run ITensors mps tests from comment trigger: succeeded ✅
https://github.com/ITensor/ITensors.jl/actions/runs/6715162746

1 similar comment
Copy link
Contributor

github-actions bot commented Nov 1, 2023

Run ITensors mps tests from comment trigger: succeeded ✅
https://github.com/ITensor/ITensors.jl/actions/runs/6715162746

@mtfishman
Copy link
Member Author

@kmp5VT @emstoudenmire in the latest, I have DMRG working entirely without Dense or Diag, i.e. just using Array and DiagonalArray as storage.

I also did some code refactoring, like improving the keyword argument logic (listing them explicitly, avoiding get) and also refactored the svd code for Tensors with Array storage, which I think is much nicer and simpler now.

@kmp5VT mostly this changed code in the arraystorage folder but I made some changes in other parts of the code as well, hopefully it doesn't cause too many conflicts with PRs you are working on.

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.

2 participants