From aeae4303a3e877f0e63b766bdaccb59642aeaaf6 Mon Sep 17 00:00:00 2001 From: Matt Fishman Date: Thu, 12 Dec 2024 19:56:34 -0500 Subject: [PATCH] [DOCS] Warning in ITensors.compile docs about ITensors v0.7 Add warning in `ITensors.compile()` docstring about requiring `ITensorMPS.jl` to be loaded in ITensors v0.7. Addresses #1605. --- src/packagecompile/compile.jl | 6 ++++++ 1 file changed, 6 insertions(+) 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