Skip to content

Commit 65599ee

Browse files
authored
fixing chapter to use split-op code (#888)
1 parent 7f814fa commit 65599ee

File tree

6 files changed

+5
-174
lines changed

6 files changed

+5
-174
lines changed

contents/quantum_systems/code/c++/energy.cpp

-59
This file was deleted.

contents/quantum_systems/code/c/energy.c

-61
This file was deleted.

contents/quantum_systems/code/haskell/Energy.hs

-14
This file was deleted.

contents/quantum_systems/code/julia/energy.jl

-18
This file was deleted.

contents/quantum_systems/code/python/energy.py

-17
This file was deleted.

contents/quantum_systems/quantum_systems.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -226,15 +226,15 @@ This ultimately looks like this:
226226

227227
{% method %}
228228
{% sample lang="jl" %}
229-
[import, lang:"julia"](code/julia/energy.jl)
229+
[import:114-132, lang:"julia"](../split-operator_method/code/julia/split_op.jl)
230230
{% sample lang="hs" %}
231-
[import, lang:"haskell"](code/haskell/Energy.hs)
231+
[import:75-82, lang:"haskell"](../split-operator_method/code/haskell/splitOp.hs)
232232
{% sample lang="c" %}
233-
[import:29-, lang:"c"](code/c/energy.c)
233+
[import:150-184, lang:"c"](../split-operator_method/code/c/split_op.c)
234234
{% sample lang="cpp" %}
235-
[import:26-, lang:"cpp"](code/c++/energy.cpp)
235+
[import:158-189, lang:"cpp"](../split-operator_method/code/c++/split_op.cpp)
236236
{% sample lang="py" %}
237-
[import:4-17, lang:"python"](code/python/energy.py)
237+
[import:98-112, lang:"python"](../split-operator_method/code/python/split_op.py)
238238
{% endmethod %}
239239

240240
This calculation will be used in many different simulations of quantum systems to check our results.

0 commit comments

Comments
 (0)