Skip to content

Commit dd820ff

Browse files
committed
Merge branches 'master' and 'matrixalgebra' of https://github.com/Jutho/TensorKit.jl into matrixalgebra
2 parents b9f874d + 2c1da06 commit dd820ff

24 files changed

+1677
-1416
lines changed

Project.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ version = "0.14.9"
66
[deps]
77
LRUCache = "8ac3fa9e-de4c-5943-b1dc-09c6b5f20637"
88
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
9+
MatrixAlgebraKit = "6c742aac-3347-4629-af66-fc926824e5e4"
10+
OhMyThreads = "67456a42-1dca-4109-a031-0a68de7e3ad5"
911
PackageExtensionCompat = "65ce6f38-6b18-4e1d-a461-8949797d7930"
1012
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
13+
ScopedValues = "7e506255-f358-4e82-b7e4-beb19740aa63"
1114
Strided = "5e0ebb24-38b0-5f93-81fe-25c709ecae67"
1215
TensorKitSectors = "13a9c161-d5da-41f0-bcbd-e1a08ae0647f"
1316
TensorOperations = "6aa20fa7-93e2-5fca-9bc0-fbd0db3c71a2"
@@ -30,8 +33,11 @@ Combinatorics = "1"
3033
FiniteDifferences = "0.12"
3134
LRUCache = "1.0.2"
3235
LinearAlgebra = "1"
36+
MatrixAlgebraKit = "0.3"
37+
OhMyThreads = "0.8.0"
3338
PackageExtensionCompat = "1"
3439
Random = "1"
40+
ScopedValues = "1.3.0"
3541
Strided = "2"
3642
TensorKitSectors = "0.1"
3743
TensorOperations = "5.1"

docs/src/lib/spaces.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ dual
9090
conj
9191
flip
9292
93+
9394
zero(::ElementarySpace)
9495
oneunit
9596
supremum

ext/TensorKitChainRulesCoreExt/TensorKitChainRulesCoreExt.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module TensorKitChainRulesCoreExt
33
using TensorOperations
44
using VectorInterface
55
using TensorKit
6+
using TensorKit: foreachblock
67
using ChainRulesCore
78
using LinearAlgebra
89
using TupleTools
@@ -11,6 +12,11 @@ import TensorOperations as TO
1112
using TensorOperations: promote_contract, tensoralloc_add, tensoralloc_contract
1213
using VectorInterface: promote_scale, promote_add
1314

15+
using MatrixAlgebraKit
16+
using MatrixAlgebraKit: TruncationStrategy,
17+
svd_compact_pullback!, eig_full_pullback!, eigh_full_pullback!,
18+
qr_compact_pullback!, lq_compact_pullback!
19+
1420
include("utility.jl")
1521
include("constructors.jl")
1622
include("linalg.jl")

0 commit comments

Comments
 (0)