-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NDTensors] [ITensors] Excise unneeded submodules (#1601)
- Loading branch information
Showing
427 changed files
with
117 additions
and
20,192 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "NDTensors" | ||
uuid = "23ae76d9-e61a-49c4-8f12-3f1a16adf9cf" | ||
authors = ["Matthew Fishman <[email protected]>"] | ||
version = "0.3.74" | ||
version = "0.4.0" | ||
|
||
[deps] | ||
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697" | ||
|
@@ -29,6 +29,7 @@ Strided = "5e0ebb24-38b0-5f93-81fe-25c709ecae67" | |
StridedViews = "4db3bf67-4bd7-4b4e-b153-31dc3fb37143" | ||
TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f" | ||
TupleTools = "9d95972d-f1c8-5527-a6e0-b4b365fa01f6" | ||
TypeParameterAccessors = "7e5a90cf-f82e-492e-a09b-e3e26432c138" | ||
VectorInterface = "409d34a3-91d5-4945-b6ec-7529ddf182d8" | ||
|
||
[weakdeps] | ||
|
@@ -89,6 +90,7 @@ StridedViews = "0.2.2, 0.3" | |
TBLIS = "0.2" | ||
TimerOutputs = "0.5.5" | ||
TupleTools = "1.2.0" | ||
TypeParameterAccessors = "0.2" | ||
VectorInterface = "0.4.2, 0.5" | ||
cuTENSOR = "2" | ||
julia = "1.10" | ||
|
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
6 changes: 0 additions & 6 deletions
6
NDTensors/src/NDTensorsNamedDimsArraysExt/NDTensorsNamedDimsArraysExt.jl
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Selected interface functions from https://github.com/ITensor/DiagonalArrays.jl, | ||
# copied here so we don't have to depend on `DiagonalArrays.jl`. | ||
|
||
function diaglength(a::AbstractArray) | ||
return minimum(size(a)) | ||
end | ||
|
||
function diagstride(a::AbstractArray) | ||
s = 1 | ||
p = 1 | ||
for i in 1:(ndims(a) - 1) | ||
p *= size(a, i) | ||
s += p | ||
end | ||
return s | ||
end | ||
|
||
function diagindices(a::AbstractArray) | ||
maxdiag = LinearIndices(a)[CartesianIndex(ntuple(Returns(diaglength(a)), ndims(a)))] | ||
return 1:diagstride(a):maxdiag | ||
end | ||
|
||
function diagindices(a::AbstractArray{<:Any,0}) | ||
return Base.OneTo(1) | ||
end | ||
|
||
function diagview(a::AbstractArray) | ||
return @view a[diagindices(a)] | ||
end |
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
73 changes: 0 additions & 73 deletions
73
NDTensors/src/backup/arraystorage/arraystorage/storage/arraystorage.jl
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
NDTensors/src/backup/arraystorage/arraystorage/storage/conj.jl
This file was deleted.
Oops, something went wrong.
61 changes: 0 additions & 61 deletions
61
NDTensors/src/backup/arraystorage/arraystorage/storage/contract.jl
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
NDTensors/src/backup/arraystorage/arraystorage/storage/permutedims.jl
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
NDTensors/src/backup/arraystorage/arraystorage/tensor/arraystorage.jl
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
ce09804
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register subdir=NDTensors
ce09804
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/124280
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
ce09804
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
Release notes:
Breaking changes
ce09804
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/124284
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
ce09804
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register subdir=NDTensors
Release notes:
Breaking changes
ce09804
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request updated: JuliaRegistries/General/124280
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: