Skip to content

Commit a1eef35

Browse files
authored
Updates for TensorKit v0.15 (#33)
* specializations for `infimum` and `supremum` * bump dependency * use blockiterators * update SumSpace implementations for more complete coverage * rework factorizations * add `block` for empty tensors * some cleanup * update actions
1 parent 75d376c commit a1eef35

9 files changed

Lines changed: 613 additions & 406 deletions

File tree

.github/workflows/Documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
workflow_dispatch:
1212

1313
jobs:
14-
build:
14+
documentation:
1515
runs-on: ${{ matrix.os }}
1616
strategy:
1717
matrix:

Project.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name = "BlockTensorKit"
22
uuid = "5f87ffc2-9cf1-4a46-8172-465d160bd8cd"
33
authors = ["Lukas Devos <ldevos98@gmail.com> and contributors"]
4-
version = "0.2.0"
4+
version = "0.3.0"
55

66
[deps]
77
BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e"
88
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
99
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
10+
MatrixAlgebraKit = "6c742aac-3347-4629-af66-fc926824e5e4"
1011
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1112
Strided = "5e0ebb24-38b0-5f93-81fe-25c709ecae67"
1213
TensorKit = "07d1fe3e-3e46-537d-9eac-e9e13d0d4cec"
@@ -20,10 +21,11 @@ BlockArrays = "1"
2021
Combinatorics = "1"
2122
Compat = "4.13"
2223
LinearAlgebra = "1"
24+
MatrixAlgebraKit = "0.5"
2325
Random = "1"
2426
SafeTestsets = "0.1"
2527
Strided = "2"
26-
TensorKit = "0.14"
28+
TensorKit = "0.15"
2729
TensorOperations = "5"
2830
Test = "1"
2931
TestExtras = "0.2, 0.3"

src/BlockTensorKit.jl

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,12 @@ export dropzeros!, droptol!
1515
export undef_blocks
1616

1717
using TensorKit
18-
using TensorKit:
19-
OneOrNoneIterator,
20-
HomSpace,
21-
MatrixAlgebra,
22-
SectorDict,
23-
AdjointTensorMap,
24-
adjointtensorindices,
25-
compose,
26-
sectorscalartype
18+
using TensorKit: OneOrNoneIterator, HomSpace, SectorDict, AdjointTensorMap,
19+
adjointtensorindices, compose, sectorscalartype
2720
using VectorInterface
2821
using TensorOperations
29-
using TensorOperations:
30-
dimcheck_tensoradd,
31-
dimcheck_tensorcontract,
32-
dimcheck_tensortrace,
33-
argcheck_tensoradd,
34-
argcheck_tensorcontract,
35-
argcheck_tensortrace,
36-
AbstractBackend
22+
using TensorOperations: dimcheck_tensoradd, dimcheck_tensorcontract, dimcheck_tensortrace,
23+
argcheck_tensoradd, argcheck_tensorcontract, argcheck_tensortrace, AbstractBackend
3724
using LinearAlgebra
3825
using Strided
3926
using BlockArrays
@@ -48,6 +35,7 @@ import VectorInterface as VI
4835
import TensorKit as TK
4936
import TensorOperations as TO
5037
import TupleTools as TT
38+
import MatrixAlgebraKit as MAK
5139

5240
# Spaces
5341
include("vectorspaces/sumspace.jl")
@@ -64,7 +52,6 @@ include("tensors/vectorinterface.jl")
6452
include("tensors/tensoroperations.jl")
6553

6654
include("linalg/linalg.jl")
67-
include("linalg/matrixalgebra.jl")
6855
include("linalg/factorizations.jl")
6956

7057
include("auxiliary/sparsetensorarray.jl")

0 commit comments

Comments
 (0)