-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into normalize_support_bp_update
- Loading branch information
Showing
39 changed files
with
437 additions
and
325 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 = "ITensorNetworks" | ||
uuid = "2919e153-833c-4bdc-8836-1ea460a35fc7" | ||
authors = ["Matthew Fishman <[email protected]>, Joseph Tindall <[email protected]> and contributors"] | ||
version = "0.11.7" | ||
version = "0.11.15" | ||
|
||
[deps] | ||
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c" | ||
|
@@ -19,6 +19,7 @@ IsApprox = "28f27b66-4bd8-47e7-9110-e2746eb8bed7" | |
IterTools = "c8e1da08-722c-5040-9ed9-7db0dc04731e" | ||
KrylovKit = "0b1a1467-8014-51b9-945f-bf0ae24f4b77" | ||
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | ||
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" | ||
NDTensors = "23ae76d9-e61a-49c4-8f12-3f1a16adf9cf" | ||
NamedGraphs = "678767b0-92e7-4007-89e4-4527a8725b19" | ||
PackageExtensionCompat = "65ce6f38-6b18-4e1d-a461-8949797d7930" | ||
|
@@ -35,19 +36,22 @@ TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f" | |
TupleTools = "9d95972d-f1c8-5527-a6e0-b4b365fa01f6" | ||
|
||
[weakdeps] | ||
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" | ||
EinExprs = "b1794770-133b-4de1-afb4-526377e9f4c5" | ||
GraphsFlows = "06909019-6f44-4949-96fc-b9d9aaa02889" | ||
OMEinsumContractionOrders = "6f22d1fd-8eed-4bb7-9776-e7d684900715" | ||
Observers = "338f10d5-c7f1-4033-a7d1-f9dec39bcaa0" | ||
|
||
[extensions] | ||
ITensorNetworksAdaptExt = "Adapt" | ||
ITensorNetworksEinExprsExt = "EinExprs" | ||
ITensorNetworksGraphsFlowsExt = "GraphsFlows" | ||
ITensorNetworksOMEinsumContractionOrdersExt = "OMEinsumContractionOrders" | ||
ITensorNetworksObserversExt = "Observers" | ||
|
||
[compat] | ||
AbstractTrees = "0.4.4" | ||
Adapt = "4" | ||
Combinatorics = "1" | ||
Compat = "3, 4" | ||
DataGraphs = "0.2.3" | ||
|
@@ -58,11 +62,12 @@ DocStringExtensions = "0.9" | |
EinExprs = "0.6.4" | ||
Graphs = "1.8" | ||
GraphsFlows = "0.1.1" | ||
ITensorMPS = "0.1" | ||
ITensors = "0.4, 0.5, 0.6" | ||
ITensorMPS = "0.2.2" | ||
ITensors = "0.6.8" | ||
IsApprox = "0.1" | ||
IterTools = "1.4.0" | ||
KrylovKit = "0.6, 0.7" | ||
MacroTools = "0.5" | ||
NDTensors = "0.3" | ||
NamedGraphs = "0.6.0" | ||
OMEinsumContractionOrders = "0.8.3" | ||
|
@@ -80,6 +85,7 @@ TupleTools = "1.4" | |
julia = "1.10" | ||
|
||
[extras] | ||
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" | ||
EinExprs = "b1794770-133b-4de1-afb4-526377e9f4c5" | ||
GraphsFlows = "06909019-6f44-4949-96fc-b9d9aaa02889" | ||
OMEinsumContractionOrders = "6f22d1fd-8eed-4bb7-9776-e7d684900715" | ||
|
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,14 @@ | ||
module ITensorNetworksAdaptExt | ||
using Adapt: Adapt, adapt | ||
using ITensorNetworks: AbstractITensorNetwork, map_vertex_data_preserve_graph | ||
function Adapt.adapt_structure(to, tn::AbstractITensorNetwork) | ||
# TODO: Define and use: | ||
# | ||
# @preserve_graph map_vertex_data(adapt(to), tn) | ||
# | ||
# or just: | ||
# | ||
# @preserve_graph map(adapt(to), tn) | ||
return map_vertex_data_preserve_graph(adapt(to), tn) | ||
end | ||
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
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.