diff --git a/Project.toml b/Project.toml index 0cc8b5a..f2ba390 100644 --- a/Project.toml +++ b/Project.toml @@ -7,32 +7,31 @@ version = "0.6.0" EllipsisNotation = "da5c29d0-fa7d-589e-88eb-ea29b0a81949" ITensors = "9136182c-28ba-11e9-034c-db9fb085ebd5" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" -QuanticsTCI = "b11687fd-3a1c-4c41-97d0-998ab401d50e" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" SparseIR = "4fe2279e-80f0-4adb-8463-ee114ff56b7d" StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" T4AITensorCompat = "864b39ca-388c-4f43-a593-a1076cf4b253" T4APartitionedTT = "7ada5264-53d5-494a-9572-4199565888e0" -TensorCrossInterpolation = "b261b2ec-6378-4871-b32e-9173bb050604" +T4AQuanticsTCI = "ef09ec98-57a2-49a0-bf0b-86b55a3d9051" +T4ATensorCI = "14428447-6903-48c7-83df-f2cb08af9918" [compat] EllipsisNotation = "1" -QuanticsTCI = "0.7" SparseIR = "^0.96, 0.97, 1" StaticArrays = "1" T4APartitionedTT = "0.8" +T4AQuanticsTCI = "0.9" +T4ATensorCI = "0.12" julia = "1" [extras] Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" QuanticsGrids = "634c7f73-3e90-4749-a1bd-001b8efc642d" -QuanticsTCI = "b11687fd-3a1c-4c41-97d0-998ab401d50e" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" ReTestItems = "817f1d60-ba6b-4fd5-9520-3cf149f6a823" SparseIR = "4fe2279e-80f0-4adb-8463-ee114ff56b7d" T4APartitionedTT = "7ada5264-53d5-494a-9572-4199565888e0" -TensorCrossInterpolation = "b261b2ec-6378-4871-b32e-9173bb050604" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["Test", "Random", "ReTestItems", "Aqua", "T4APartitionedTT", "TensorCrossInterpolation", "QuanticsTCI", "QuanticsGrids", "SparseIR"] +test = ["Test", "Random", "ReTestItems", "Aqua", "T4APartitionedTT", "QuanticsGrids", "SparseIR"] diff --git a/src/T4AQuantics.jl b/src/T4AQuantics.jl index 361d851..cc3fff2 100644 --- a/src/T4AQuantics.jl +++ b/src/T4AQuantics.jl @@ -13,8 +13,8 @@ import LinearAlgebra: I, inv using StaticArrays import SparseArrays: sparse -import QuanticsTCI -import TensorCrossInterpolation as TCI +import T4AQuanticsTCI +import T4ATensorCI as TCI import T4APartitionedTT using T4AITensorCompat: contract, Algorithm, apply, product diff --git a/src/fouriertransform.jl b/src/fouriertransform.jl index 661ed6f..de856ab 100644 --- a/src/fouriertransform.jl +++ b/src/fouriertransform.jl @@ -28,8 +28,8 @@ function _qft(sites; cutoff::Float64=1e-25, sign::Int=1) R > 1 || error("The number of bits must be greater than 1") sites_MPO = collect.(zip(prime.(sites), sites)) - fouriertt = QuanticsTCI.quanticsfouriermpo(R; sign=Float64(sign), normalize=true) - # Convert TCI.TensorTrain to T4AITensorCompat.TensorTrain using new constructor + fouriertt = T4AQuanticsTCI.quanticsfouriermpo(R; sign=Float64(sign), normalize=true) + # Convert T4ATensorCI.TensorTrain to T4AITensorCompat.TensorTrain using new constructor tt_cores = TCI.sitetensors(fouriertt) M = TensorTrain(tt_cores; sites=sites_MPO) diff --git a/test/imaginarytime_tests.jl b/test/imaginarytime_tests.jl index b6980c3..d4a54d2 100644 --- a/test/imaginarytime_tests.jl +++ b/test/imaginarytime_tests.jl @@ -7,15 +7,15 @@ import SparseIR: Fermionic, Bosonic, FermionicFreq, valueim import T4AITensorCompat: TensorTrain - # Conditionally import QuanticsGrids and QuanticsTCI + # Conditionally import QuanticsGrids and T4AQuanticsTCI try import QuanticsGrids as QG - import QuanticsTCI: quanticscrossinterpolate + import T4AQuanticsTCI: quanticscrossinterpolate has_qg = true catch has_qg = false end - import TensorCrossInterpolation as TCI + import T4ATensorCI as TCI function _test_data_imaginarytime(nbit, β) ω = 0.5 @@ -94,12 +94,12 @@ @testset "ImaginaryTimeFT.to_tau with large R" begin - # Skip this test if QuanticsGrids or QuanticsTCI is not available + # Skip this test if QuanticsGrids or T4AQuanticsTCI is not available try import QuanticsGrids as QG - import QuanticsTCI: quanticscrossinterpolate + import T4AQuanticsTCI: quanticscrossinterpolate catch - @test_skip "QuanticsGrids or QuanticsTCI not available" + @test_skip "QuanticsGrids or T4AQuanticsTCI not available" return end @@ -136,7 +136,7 @@ ComplexF64, inv_iwn_tci, ngrid; tolerance=tol, maxbonddim=maxdim_TCI) inv_iwn_tt = TCI.TensorTrain(qtci2.tci) - # Convert TensorCrossInterpolation.TensorTrain to T4AITensorCompat.TensorTrain + # Convert T4ATensorCI.TensorTrain to T4AITensorCompat.TensorTrain # using new constructor with core arrays tt_cores = TCI.sitetensors(inv_iwn_tt) iwmps = TensorTrain(tt_cores; sites=sitesiω)