From 88f7d3ec84e0cb16c919914b905f863b0dfc23a9 Mon Sep 17 00:00:00 2001 From: Matt Fishman Date: Fri, 13 Dec 2024 10:39:55 -0500 Subject: [PATCH] [DOCS] More clarifications for `ITensors.compile()` (#1607) * [DOCS] More clarifications for `ITensors.compile()` * [ITensors] Bump to v0.7.10 --- Project.toml | 2 +- docs/src/AdvancedUsageGuide.md | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 371e760ac6..6740119d54 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.9" +version = "0.7.10" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" diff --git a/docs/src/AdvancedUsageGuide.md b/docs/src/AdvancedUsageGuide.md index 09582a4af4..7455b5ea81 100644 --- a/docs/src/AdvancedUsageGuide.md +++ b/docs/src/AdvancedUsageGuide.md @@ -816,8 +816,17 @@ julia> @time svd(A, i'); ITensors provides the command `ITensors.compile()` to create what is called a "custom system image", a custom version of Julia that includes a compiled version of ITensors (see the [PackageCompiler documentation](https://julialang.github.io/PackageCompiler.jl/dev/) for more details). -Just run the command: + +!!! 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. + +Just run the commands: ``` +julia> using ITensors, ITensorMPS + julia> ITensors.compile() [...] ```