Skip to content

[WIP] Rewrite based on NamedDimsArrays.jl/ITensorBase.jl #1611

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

Draft
wants to merge 30 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b2b3450
[WIP] Rewrite based on NamedDimsArrays
mtfishman Dec 17, 2024
c848322
Rewrite using NamedDimsArrays.jl (#1610)
mtfishman Jan 6, 2025
af8cd2e
Use ITensorBase.jl
mtfishman Jan 10, 2025
5d67434
Disable failing Aqua tests
mtfishman Jan 10, 2025
6453a6b
Start adding back missing functionality
mtfishman Jan 10, 2025
e62dcb4
Tagging and priming, etc.
mtfishman Jan 12, 2025
7769294
More missing functionality
mtfishman Jan 12, 2025
8c8290e
Exports
mtfishman Jan 16, 2025
5b4d245
Format
mtfishman Jan 16, 2025
27bd715
Fix tests
mtfishman Jan 17, 2025
ea89024
Don't error for missing docs in docs build
mtfishman Jan 17, 2025
4d371ee
Get tests passing in Julia 1.10
mtfishman Jan 17, 2025
79ff014
Warn only in docs build
mtfishman Jan 17, 2025
283a2b4
Fix state constructor, include definition of permute
mtfishman Jan 17, 2025
9d3d9d3
replaceinds, mapinds
mtfishman Jan 18, 2025
46ff8d4
Fix some issues with op
mtfishman Jan 18, 2025
cd704ef
Delete SiteTypes, LazyApply, Ops modules
mtfishman Jan 20, 2025
1001c8a
Delete SiteTypes, LazyApply, Ops modules
mtfishman Jan 20, 2025
a5a7254
Update for tags dict
mtfishman Jan 24, 2025
afad3c0
Remove unneeded functions
mtfishman Jan 28, 2025
702e6b2
Simplifications
mtfishman Jan 28, 2025
05b7989
Delete Algorithm definition, moved to BackendSelection
mtfishman Jan 28, 2025
a13ee99
Delete `onehot`
mtfishman Feb 3, 2025
3b0adf4
Don't import dag
mtfishman Feb 9, 2025
a54553a
Bump to v0.9
mtfishman Feb 20, 2025
d99fc50
Use setprime from ITensorBase
mtfishman Feb 21, 2025
a275046
Bump package versions
mtfishman Mar 10, 2025
db971da
Update template
mtfishman Mar 27, 2025
77c89ac
Update dependency versions
mtfishman Apr 11, 2025
3ba4815
Delete outdated TODO
mtfishman Apr 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .JuliaFormatter.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# See https://domluna.github.io/JuliaFormatter.jl/stable/ for a list of options
style = "blue"
indent = 2
60 changes: 0 additions & 60 deletions .github/ISSUE_TEMPLATE/02_NDTensors_bug_report.md

This file was deleted.

24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/02_NDTensors_feature_request.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: ITensors.jl bug report
about: Create a bug report to help us improve ITensors.jl
title: "[ITensors] [BUG] YOUR SHORT DESCRIPTION OF THE BUG HERE"
labels: ["ITensors", "bug"]
title: "[BUG] YOUR SHORT DESCRIPTION OF THE BUG HERE"
labels: ["bug"]
assignees: ''

---
Expand All @@ -22,6 +22,7 @@ If you are unable to construct a minimal code that demonstrates the bug or unexp
```julia
[YOUR MINIMAL RUNNABLE CODE HERE]
```

</p></details>


Expand All @@ -43,6 +44,7 @@ If you provided a minimal code that demonstrates the bug or unexpected behavior,
```julia
[OUTPUT OF YOUR MINIMAL RUNNABLE CODE HERE]
```

</p></details>


Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: ITensors.jl feature request
about: Suggest an idea for ITensors.jl
title: "[ITensors] [ENHANCEMENT] YOUR SHORT DESCRIPTION OF THE FEATURE REQUEST HERE"
labels: ["ITensors", "enhancement"]
title: "[ENHANCEMENT] YOUR SHORT DESCRIPTION OF THE FEATURE REQUEST HERE"
labels: ["enhancement"]
assignees: ''

---
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ If practical and applicable, please include a minimal demonstration of the previ
```julia
[YOUR MINIMAL DEMONSTRATION OF PREVIOUS BEHAVIOR]
```

</p></details>

<details><summary>Minimal demonstration of new behavior</summary><p>

```julia
[YOUR MINIMAL DEMONSTRATION OF NEW BEHAVIOR]
```

</p></details>

# How Has This Been Tested?
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: CompatHelper
name: "CompatHelper"

on:
schedule:
- cron: 0 0 * * *
workflow_dispatch:
permissions:
contents: write
pull-requests: write

jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
run: julia -e 'using CompatHelper; CompatHelper.main(; subdirs=["", "NDTensors"])'
compat-helper:
name: "CompatHelper"
uses: "ITensor/ITensorActions/.github/workflows/CompatHelper.yml@main"
with:
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
57 changes: 0 additions & 57 deletions .github/workflows/Downstream.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/FormatCheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "Format Check"

on:
push:
branches:
- 'main'
tags: '*'
pull_request:

jobs:
format-check:
name: "Format Check"
uses: "ITensor/ITensorActions/.github/workflows/FormatCheck.yml@main"
14 changes: 14 additions & 0 deletions .github/workflows/IntegrationTestRequest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Integration Test Request"

on:
issue_comment:
types: [created]

jobs:
integrationrequest:
if: |
github.event.issue.pull_request &&
contains(fromJSON('["OWNER", "COLLABORATOR", "MEMBER"]'), github.event.comment.author_association)
uses: ITensor/ITensorActions/.github/workflows/IntegrationTestRequest.yml@main
with:
localregistry: https://github.com/ITensor/ITensorRegistry.git
Loading