Skip to content
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

Add CTMRG support for regular 2D partition functions #111

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
11f5c41
Add CTMRG support for regular 2D partition functions
leburgel Jan 3, 2025
7a71095
Format
leburgel Jan 3, 2025
1286788
Update for new CTMRG flavor specification
leburgel Jan 3, 2025
911a415
Fix typo
leburgel Jan 3, 2025
5262256
Rename `PartitionFunction` -> `PartitionFunctionTensor`
leburgel Jan 6, 2025
9e88c56
Add documentation
sanderdemeyer Jan 6, 2025
7049b2d
change convention of PartitionFuntionTensor
sanderdemeyer Jan 6, 2025
9908180
bug fix in left_projector
sanderdemeyer Jan 6, 2025
3f128e8
format fix
sanderdemeyer Jan 6, 2025
c822dc7
full_infinite_environment for PartitionFunction
sanderdemeyer Jan 6, 2025
4a90a9a
fixes for sequential ctmrg
sanderdemeyer Jan 6, 2025
327160d
Update src/algorithms/contractions/ctmrg_contractions.jl
leburgel Jan 7, 2025
30cfb49
Add internal aliases, merge first set of docstrings and update type a…
leburgel Jan 7, 2025
55a2a22
Format
leburgel Jan 7, 2025
6d244d2
Fix typos and clean up signatures
leburgel Jan 7, 2025
e65651f
Split out abstract network definitions
leburgel Jan 7, 2025
2140bc2
Test different CTMRG and projector flavors to increase test coverage
leburgel Jan 7, 2025
37ad16b
Use `half_infinite_environment` consistently
leburgel Jan 7, 2025
14ee40b
Squash more docstrings
leburgel Jan 7, 2025
d1f84d9
Fix typos, switch to shorter aliases internally
leburgel Jan 7, 2025
063105a
Format
leburgel Jan 7, 2025
adf7158
Remove overwritten method, use random seed in test
leburgel Jan 7, 2025
2014a17
Update src/states/infinitepartitionfunction.jl
leburgel Jan 7, 2025
7b66878
Update src/states/infinitepartitionfunction.jl
leburgel Jan 7, 2025
2bf9dac
Remove stray `build_projectors`
leburgel Jan 8, 2025
484f3ba
Add `InfiniteSquareNetwork`
leburgel Jan 8, 2025
52d8d28
Fix typos, change temperature in test
leburgel Jan 8, 2025
9f38380
Fix more in-place operations
leburgel Jan 8, 2025
960f5cc
Fix typo
leburgel Jan 8, 2025
5324e89
Merge sparse environment structures for different network types
leburgel Jan 8, 2025
9772242
Rename `norm` -> `value` for `InfinitePartitionFunction`
leburgel Jan 8, 2025
441040f
Remove unused abstract network supertypes
leburgel Jan 8, 2025
759721b
Break out network-specific CTMRG obective functions
leburgel Jan 9, 2025
328335c
Make norm computation verbosity-dependent
leburgel Jan 9, 2025
47abb46
Fix typos
leburgel Jan 9, 2025
78225a6
Remove arrows in tensor docstring diagrams
leburgel Jan 9, 2025
5fd0f80
Add local expectation value for partition functions
leburgel Jan 9, 2025
16777c0
Correct signature in docstring
leburgel Jan 9, 2025
b818adf
Update test to use partition function expectation value
leburgel Jan 9, 2025
a18824c
Fix small docstring typos
pbrehmer Jan 9, 2025
fa63d44
Add InfiniteSquareNetwork supertype
pbrehmer Jan 9, 2025
2b7e600
Fix division
leburgel Jan 10, 2025
7452dd3
Move `infinitesquarenetwork.jl` to dedicated folder
leburgel Jan 10, 2025
77a60bc
Add contract_local_tensor for plaquette tensors and matrices of tensors
pbrehmer Jan 10, 2025
e065897
Fix partition_function.jl test
pbrehmer Jan 10, 2025
e191d39
Merge branch 'master' into partition_function
pbrehmer Jan 10, 2025
959a23a
Refactor contract_local_tensor
pbrehmer Jan 10, 2025
fde495b
Add operator index safeguard
pbrehmer Jan 10, 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
Binary file removed .DS_Store
Binary file not shown.
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ julia = "1.10"
[extras]
ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a"
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000"
QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test", "SafeTestsets", "ChainRulesTestUtils", "FiniteDifferences"]
test = ["Test", "SafeTestsets", "ChainRulesTestUtils", "FiniteDifferences", "QuadGK"]
5 changes: 4 additions & 1 deletion src/PEPSKit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ include("utility/diffset.jl")
include("utility/hook_pullback.jl")
include("utility/autoopt.jl")

include("states/abstractpeps.jl")
include("networks/tensors.jl")

include("states/infinitepeps.jl")
include("states/infiniteweightpeps.jl")
include("states/infinitepartitionfunction.jl")

include("operators/transferpeps.jl")
include("operators/infinitepepo.jl")
Expand Down Expand Up @@ -194,6 +196,7 @@ export fixedpoint
export absorb_weight
export su_iter, simpleupdate, SimpleUpdate

export InfinitePartitionFunction, value
export InfinitePEPS, InfiniteTransferPEPS
export SUWeight, InfiniteWeightPEPS
export InfinitePEPO, InfiniteTransferPEPO
Expand Down
Loading
Loading