From e5eee2386a7f19f4004e171fa341eee63cee50dc Mon Sep 17 00:00:00 2001 From: Matt Fishman Date: Fri, 13 Dec 2024 08:36:01 -0500 Subject: [PATCH] [DOCS] Warning in `ITensors.compile()` docs about ITensors v0.7 (#1606) * [DOCS] Warning in `ITensors.compile()` docs about ITensors v0.7 * [ITensors] Bump to v0.7.9 --- Project.toml | 2 +- src/packagecompile/compile.jl | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index b5fff474b4..371e760ac6 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ITensors" uuid = "9136182c-28ba-11e9-034c-db9fb085ebd5" authors = ["Matthew Fishman ", "Miles Stoudenmire "] -version = "0.7.8" +version = "0.7.9" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" diff --git a/src/packagecompile/compile.jl b/src/packagecompile/compile.jl index 093e73dac3..1bc0fceec0 100644 --- a/src/packagecompile/compile.jl +++ b/src/packagecompile/compile.jl @@ -50,5 +50,11 @@ This will take some time, perhaps a few minutes. This will create a system image containing the compiled version of ITensors located at `dir/filename`, by default `$(default_compile_path())`. +!!! compat "ITensors 0.7" + As of ITensors 0.7, you must now install and load the + [ITensorMPS.jl](https://github.com/ITensor/ITensorMPS.jl) package + in order to use `ITensors.compile()`, since it relies on running MPS/MPO + functionality as example code for Julia to compile. + $(compile_note()) """ compile