Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
831c4ff
First pitiful attempt at affine transforms.
mwallerb Sep 5, 2024
1283f78
Remove prints
mwallerb Sep 5, 2024
e62e997
Now affine transforms seem to work...
mwallerb Sep 9, 2024
16c48e9
Affine transforms are now correct (mostly)
mwallerb Sep 9, 2024
4fff92f
Affine transforms are now ready to be tested.
mwallerb Sep 10, 2024
792fed8
Add test.
mwallerb Sep 10, 2024
d21b833
Conform to the Quantics convention (1 ... most significant bit)
mwallerb Sep 10, 2024
d322c15
Remove print, add comment
mwallerb Sep 10, 2024
02bf35a
Add active and passive transforms.
mwallerb Sep 10, 2024
3c06780
Merged main
shinaoka Jan 8, 2025
2be3d74
Correct docstring.
mwallerb Jan 14, 2025
c059d7c
Prepare affine transforms.
mwallerb Jan 15, 2025
c426819
Add modular inverse.
mwallerb Jan 15, 2025
b85128f
Allow any odd denominator in affine transform.
mwallerb Jan 15, 2025
c71c65e
Allow different boundary conditions.
mwallerb Jan 15, 2025
6b02f08
Rename modular_inverse -> invmod_mod2.
mwallerb Jan 16, 2025
7f71a54
Boundary conditions
mwallerb Jan 16, 2025
8142d73
Do not store R in BC.
mwallerb Jan 16, 2025
a408205
Add boundary condition argument
mwallerb Jan 16, 2025
5a6d121
Support arbitrary affine transformation.
mwallerb Jan 17, 2025
1a19f29
Now we can use arbitrary divisors.
mwallerb Jan 17, 2025
969820f
Some case of even transforms.
mwallerb Jan 17, 2025
4ff56ca
Fix bug for even denominator - now we can do light cone coordinates.
mwallerb Jan 17, 2025
7811104
Generalize affine_transform_mpo for the cases R=0 and R=1.
mwallerb Jan 17, 2025
0fa9a6a
Add more tests on affine_transform_matrix()
shinaoka Jan 21, 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
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
.*
*~
\#*\#

!.gitignore
!/.github/
!/.gitlab*

*.jl.*.cov
*.jl.cov
*.jl.mem
.DS_Store
/Manifest.toml
/notebook*/
/docs/Manifest.toml
/docs/build/
docs/build
__pycache__/
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ FastMPOContractions = "f6e391d2-8ffa-4d7a-98cd-7e70024481ca"
ITensorMPS = "0d1a4710-d33b-49a5-8f18-73bdf49b47e2"
ITensors = "9136182c-28ba-11e9-034c-db9fb085ebd5"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
QuanticsTCI = "b11687fd-3a1c-4c41-97d0-998ab401d50e"
SparseIR = "4fe2279e-80f0-4adb-8463-ee114ff56b7d"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Expand All @@ -26,7 +27,7 @@ FastMPOContractions = "^0.2.2"
ITensorMPS = "0.3.1"
ITensors = "0.7"
PartitionedMPSs = "0.5.2"
QuanticsTCI = "0.7.0"
QuanticsTCI = "0.7"
SparseIR = "^0.96, 0.97, 1"
StaticArrays = "1"
TCIITensorConversion = "0.2.0"
Expand Down
4 changes: 3 additions & 1 deletion src/Quantics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ using ITensorMPS: ITensorMPS, MPS, MPO, AbstractMPS
using ITensorMPS: findsite, linkinds, linkind, findsites, truncate!

import SparseIR: Fermionic, Bosonic, Statistics
import LinearAlgebra: I
import LinearAlgebra: I, inv
using StaticArrays
import SparseArrays: sparse

import QuanticsTCI
import TCIITensorConversion
Expand All @@ -28,5 +29,6 @@ include("mps.jl")
include("fouriertransform.jl")
include("imaginarytime.jl")
include("transformer.jl")
include("affine.jl")

end
Loading
Loading