Skip to content

Finishing touches to a working MultiTensorKit code #2

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 95 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
5473e0f
define leftone and rightone of BimoduleSector
borisdevos Feb 24, 2025
85541aa
make left/rightone a new method of TensorKitSectors left/rightone
borisdevos Feb 24, 2025
cf06437
define leftone and rightone of BimoduleSector
borisdevos Feb 24, 2025
4390d8d
make left/rightone a new method of TensorKitSectors left/rightone
borisdevos Feb 24, 2025
09acafc
add tests
borisdevos Mar 10, 2025
6cb34fa
test reading data from txt
borisdevos Mar 10, 2025
5c5effd
Merge branch 'boris-multitensorkit' of https://github.com/QuantumKitH…
borisdevos Mar 10, 2025
a45be26
rewrite extract_Fsymbol to read txt info
borisdevos Mar 11, 2025
eaa05c9
tests to run locally for my smooth brain
borisdevos Mar 11, 2025
599b74e
start on adding missing elements of extract_Fsymbol
borisdevos Mar 14, 2025
b9b0994
change extract_dual to get duals of module cats as well
borisdevos Mar 14, 2025
2683ad1
update one, leftone, rightone, conj functions with new extract_dual
borisdevos Mar 14, 2025
c425551
add test to check units and duals
borisdevos Mar 14, 2025
87c11b3
remove TODO about duals for modules
borisdevos Mar 14, 2025
66e6ef2
add missing elements of extract_Fsymbol
borisdevos Mar 14, 2025
adcc5fe
change Fcache definition
borisdevos Mar 14, 2025
10ee1b6
fix extract_Fsymbol to output something useful
borisdevos Mar 14, 2025
6236465
go back to correct definition Fcache
borisdevos Mar 14, 2025
d366a40
Revert "go back to correct definition Fcache"
borisdevos Mar 14, 2025
383218b
output correct dictionary in extract_Fsymbol
borisdevos Mar 14, 2025
54b64cd
fix Fcache to new output extract_Fsymbol
borisdevos Mar 14, 2025
16e683b
add sectorscalartype
borisdevos Mar 14, 2025
f8d45c3
have a functioning Fsymbol
borisdevos Mar 14, 2025
c0caddf
add bounds to what A4Object can be defined as
borisdevos Mar 17, 2025
df9eb3e
remove JSON3 dependency
borisdevos Mar 17, 2025
7743a00
more local tests
borisdevos Mar 17, 2025
07dfc6c
actually remove all JSON3 deps
borisdevos Mar 17, 2025
71f6916
Revert "actually remove all JSON3 deps"
borisdevos Mar 17, 2025
1f37a92
Revert "remove JSON3 dependency"
borisdevos Mar 17, 2025
c50f31a
remove Fsymbol code that was JSON dependent
borisdevos Mar 17, 2025
0d50452
add TensorKit dependency
borisdevos Mar 17, 2025
013c3d8
define length of SectorValues of A4Object + typo in Base.iterate of S…
borisdevos Mar 17, 2025
fb74131
export TensorKit hasblock
borisdevos Mar 24, 2025
9250470
custom TensorKit.blocksectors
borisdevos Mar 24, 2025
0c7d618
start of TensorKit tests
borisdevos Mar 24, 2025
a6c9aaf
some tests for bram
borisdevos Mar 25, 2025
471ce1e
update localtests
borisdevos Mar 25, 2025
b1afb01
add custom `scalar` for `TensorMap`s of `A4Object`
borisdevos Mar 27, 2025
0cb5b18
comments and changes in tests
borisdevos Mar 27, 2025
303876e
start of MPSKit tests
borisdevos Mar 27, 2025
5c1330e
quick fix to Fsymbol to return 0 when expected to be 0
borisdevos Apr 7, 2025
a77b77d
get blocksectors working
borisdevos Apr 8, 2025
5809f77
add BlockTensorKit dependency
borisdevos Apr 8, 2025
3661102
many many (temporary) dependencies
borisdevos Apr 8, 2025
4e2c0d5
edit Fsymbol to return correctly shaped zero arrays
borisdevos Apr 9, 2025
c1255d6
temporary BenchmarkTools dep
borisdevos Apr 9, 2025
75ec5c0
more tinkering
borisdevos Apr 9, 2025
50c4614
tests done for QPA infinite
borisdevos Apr 9, 2025
afb8272
add custom `dim` of `GradedSpace` for `A4Object` to return floats as …
borisdevos Apr 9, 2025
def64ea
define `oneunit` of `A4Object`-graded vector spaces where possible
borisdevos Apr 9, 2025
c686b9b
finite tests
borisdevos Apr 10, 2025
50a14d6
remove unnecessary check in specialised blocksectors
borisdevos Apr 10, 2025
86525d2
clean up dim and oneunit to accept `GradedSpace{<:BimoduleSector}`
borisdevos Apr 10, 2025
fedb1e4
clean up `oneunit` of `SumSpace` to accept `SumSpace{<:GradedSpace{<:…
borisdevos Apr 10, 2025
d5862b6
Fix `dim`
lkdvos Apr 10, 2025
722ea95
performance improvements
lkdvos Apr 10, 2025
d5b3006
fix `convert_Fs` to not contain elaborate (useless) identity function
borisdevos Apr 11, 2025
76df51b
`FiniteExcited` and `changebonds` tests
borisdevos Apr 11, 2025
b5155bf
time evolution test + `(In)FiniteMPOHamiltonian` constructor w/o `Loc…
borisdevos Apr 11, 2025
2e64e63
add custom `insertleftunit` and `insertrightunit` to evaluate a valid…
borisdevos Apr 17, 2025
0f6d4d2
Merge branch 'boris-multitensorkit' of https://github.com/QuantumKitH…
lkdvos Apr 22, 2025
52063d9
replace `map` with `for` loop
lkdvos Apr 22, 2025
a700577
Test all pentagons
lkdvos Apr 22, 2025
ed8019d
more local tests
borisdevos Apr 23, 2025
0b3d668
update `artifact_path`
borisdevos Apr 23, 2025
3cce841
Merge branch 'main' of https://github.com/QuantumKitHub/MultiTensorKi…
borisdevos Apr 23, 2025
0995d18
add file to test caching
borisdevos May 14, 2025
287bb39
add TensorKit tests
borisdevos May 14, 2025
f96812f
debugging fun + progress
borisdevos Jun 4, 2025
87e7502
remove commented code
borisdevos Jun 4, 2025
c584a89
change `IteratorSize` to actually evaluate `SizeUnknown`
borisdevos Jun 9, 2025
55c8708
change `blocksectors` definition to be flexible with `GradedSpace` type
borisdevos Jun 9, 2025
480d944
remove debug elements + clean up error messages
borisdevos Jun 10, 2025
96962c0
clean up A4 tests
borisdevos Jun 13, 2025
d5c6b32
clean up deps and add compat
borisdevos Jun 13, 2025
564c026
delete local test files
borisdevos Jun 13, 2025
24e0f4b
format
borisdevos Jun 13, 2025
d161568
apply some suggested changes
borisdevos Jun 16, 2025
801a774
TupleTools changes
borisdevos Jun 16, 2025
aaeb4c3
change `insertleft/rightunit` to evaluate `left/rightoneunit`s
borisdevos Jun 18, 2025
e08a712
add tests for left and right units
borisdevos Jun 18, 2025
213e23e
one more suggested change
borisdevos Jun 18, 2025
a70b569
Merge branch 'main' of https://github.com/QuantumKitHub/MultiTensorKi…
borisdevos Jun 26, 2025
a549943
update code to account for new N- and F-symbols
borisdevos Jun 26, 2025
2bbc946
expand on unitarity check explicitly + make less specific to A4
borisdevos Jun 30, 2025
cc824ab
update `Fsymbol`
borisdevos Jun 30, 2025
94eb6d1
remove JSON dependency
borisdevos Jun 30, 2025
5bd5c12
add pure module F-move unitarity check + clean up tests
borisdevos Jul 1, 2025
bb6eee3
adapt `TensorKit.scalar`
lkdvos Jul 16, 2025
71682dc
Simplify by fixing `collect`
lkdvos Jul 16, 2025
4b1b23a
Merge branch 'main' of https://github.com/QuantumKitHub/MultiTensorKi…
borisdevos Jul 17, 2025
8afa784
Merge https://github.com/QuantumKitHub/MultiTensorKit.jl into boris-m…
borisdevos Jul 18, 2025
ee71ed8
add the other unitarity tests
borisdevos Jul 22, 2025
4b067e5
fix test
borisdevos Jul 22, 2025
42de755
add compats to Project.toml
borisdevos Jul 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,23 @@ version = "0.1.0"

[deps]
Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
JSON3 = "0f8b85d8-7281-11e9-16c2-39a750bddbf1"
BlockTensorKit = "5f87ffc2-9cf1-4a46-8172-465d160bd8cd"
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
TensorKit = "07d1fe3e-3e46-537d-9eac-e9e13d0d4cec"
TensorKitSectors = "13a9c161-d5da-41f0-bcbd-e1a08ae0647f"
TupleTools = "9d95972d-f1c8-5527-a6e0-b4b365fa01f6"

[compat]
Aqua = "0.8.9"
Artifacts = "1.10, 1"
JSON3 = "1.14.1"
BlockTensorKit = "0.1.10"
DelimitedFiles = "1.9"
SafeTestsets = "0.1"
TensorKitSectors = "0.1.2"
TensorKit = "0.14.9"
TensorKitSectors = "0.1.7"
Test = "1.10"
TestExtras = "0.3"
TupleTools = "1.1"
julia = "1.10"

[extras]
Expand Down
12 changes: 11 additions & 1 deletion src/MultiTensorKit.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
module MultiTensorKit

export BimoduleSector, A4Object
export leftoneunit, rightoneunit

using JSON3
using DelimitedFiles
using Artifacts
using TensorKitSectors

using TupleTools
using TupleTools: insertafter

using BlockTensorKit
import BlockTensorKit: SumSpace

using TensorKit
import TensorKit: hasblock, dim

include("bimodulesector.jl")

end
Loading
Loading