Skip to content

Commit 6404588

Browse files
committed
Fix build
1 parent da02034 commit 6404588

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ makedocs(;
5656
"Library" => "lib/lib.md",
5757
"References" => "references.md"],
5858
checkdocs=:exports,
59-
doctests=true,
59+
doctest=true,
6060
plugins=[bib, links])
6161

6262
deploydocs(; repo="github.com/QuantumKitHub/MPSKit.jl.git", push_preview=true)

docs/src/man/algorithms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ This is supported via the following syntax:
235235
```@example excitations
236236
g = 1.0
237237
L = 16
238-
H = transverse_field_ising(; g)
238+
H = transverse_field_ising(FiniteChain(L); g)
239239
ψ₀ = FiniteMPS(L, ComplexSpace(2), ComplexSpace(32))
240240
ψ, envs, = find_groundstate(ψ₀, H; verbosity=0)
241241
E₀ = real(sum(expectation_value(ψ, H, envs)))

0 commit comments

Comments
 (0)