Skip to content

Commit 88f7d3e

Browse files
authored
[DOCS] More clarifications for ITensors.compile() (#1607)
* [DOCS] More clarifications for `ITensors.compile()` * [ITensors] Bump to v0.7.10
1 parent e5eee23 commit 88f7d3e

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ITensors"
22
uuid = "9136182c-28ba-11e9-034c-db9fb085ebd5"
33
authors = ["Matthew Fishman <[email protected]>", "Miles Stoudenmire <[email protected]>"]
4-
version = "0.7.9"
4+
version = "0.7.10"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

docs/src/AdvancedUsageGuide.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,8 +816,17 @@ julia> @time svd(A, i');
816816
ITensors provides the command `ITensors.compile()` to create what is
817817
called a "custom system image", a custom version of Julia that
818818
includes a compiled version of ITensors (see the [PackageCompiler documentation](https://julialang.github.io/PackageCompiler.jl/dev/) for more details).
819-
Just run the command:
819+
820+
!!! compat "ITensors 0.7"
821+
As of ITensors 0.7, you must now install and load the
822+
[ITensorMPS.jl](https://github.com/ITensor/ITensorMPS.jl) package
823+
in order to use `ITensors.compile()`, since it relies on running MPS/MPO
824+
functionality as example code for Julia to compile.
825+
826+
Just run the commands:
820827
```
828+
julia> using ITensors, ITensorMPS
829+
821830
julia> ITensors.compile()
822831
[...]
823832
```

0 commit comments

Comments
 (0)