From 0362267f5b6da351c302e873236d8c519fb2cfda Mon Sep 17 00:00:00 2001 From: Matt Fishman Date: Thu, 16 May 2024 21:14:08 -0400 Subject: [PATCH] random_mps and random_mpo (#18) --- Project.toml | 4 ++-- src/ITensorMPS.jl | 3 ++- test/utils/TestITensorMPSExportedNames.jl | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Project.toml b/Project.toml index 5ac2c22..ae48ba2 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ITensorMPS" uuid = "0d1a4710-d33b-49a5-8f18-73bdf49b47e2" authors = ["Matthew Fishman ", "Miles Stoudenmire "] -version = "0.2.1" +version = "0.2.2" [deps] ITensorTDVP = "25707e16-a4db-4a07-99d9-4d67b7af0342" @@ -10,7 +10,7 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69" [compat] ITensorTDVP = "0.4.1" -ITensors = "0.3, 0.4, 0.5, 0.6" +ITensors = "0.6.7" Reexport = "1" julia = "1.6" diff --git a/src/ITensorMPS.jl b/src/ITensorMPS.jl index eace1be..6932f32 100644 --- a/src/ITensorMPS.jl +++ b/src/ITensorMPS.jl @@ -129,9 +129,10 @@ export dmrg productMPS, projector, promote_itensor_eltype, - randomITensor, randomMPO, randomMPS, + random_mpo, + random_mps, replace_siteinds, replace_siteinds!, replacebond, diff --git a/test/utils/TestITensorMPSExportedNames.jl b/test/utils/TestITensorMPSExportedNames.jl index 158a847..52deb77 100644 --- a/test/utils/TestITensorMPSExportedNames.jl +++ b/test/utils/TestITensorMPSExportedNames.jl @@ -120,9 +120,10 @@ const ITENSORMPS_EXPORTED_NAMES = [ :productMPS, :projector, :promote_itensor_eltype, - :randomITensor, :randomMPO, :randomMPS, + :random_mpo, + :random_mps, :replace_siteinds, :replace_siteinds!, :replacebond,