Skip to content

Commit e17e2c4

Browse files
leiosAmaras
authored andcommitted
fixing chapter to use split-op code (algorithm-archivists#888)
Removed the quantum_systems SConscript
1 parent 5740ed2 commit e17e2c4

File tree

7 files changed

+5
-180
lines changed

7 files changed

+5
-180
lines changed

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

Lines changed: 0 additions & 59 deletions
This file was deleted.

contents/quantum_systems/code/c/SConscript

Lines changed: 0 additions & 6 deletions
This file was deleted.

contents/quantum_systems/code/c/energy.c

Lines changed: 0 additions & 61 deletions
This file was deleted.

contents/quantum_systems/code/haskell/Energy.hs

Lines changed: 0 additions & 14 deletions
This file was deleted.

contents/quantum_systems/code/julia/energy.jl

Lines changed: 0 additions & 18 deletions
This file was deleted.

contents/quantum_systems/code/python/energy.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

contents/quantum_systems/quantum_systems.md

Lines changed: 5 additions & 5 deletions
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)