Skip to content

Commit fa7c5c3

Browse files
authored
fix low rank tutorial
1 parent 48ee272 commit fa7c5c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QuantumToolbox.jl/time_evolution/lowrank.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ M = latt.N + 1
4646
Define `lr` states. Take as initial state all spins up. All other `N` states are taken as those with minimum Hamming distance to the initial state.
4747

4848
```{julia}
49-
ϕ = Vector{QuantumObject{Vector{ComplexF64},KetQuantumObject,M-1}}(undef, M)
49+
ϕ = Vector{QuantumObject{KetQuantumObject,Dimensions{M - 1,NTuple{M - 1,Space}},Vector{ComplexF64}}}(undef, M)
5050
ϕ[1] = kron(fill(basis(2, 1), N_modes)...)
5151
5252
i = 1

0 commit comments

Comments
 (0)