Skip to content

Commit

Permalink
fixing chapter to use split-op code (algorithm-archivists#888)
Browse files Browse the repository at this point in the history
Removed the quantum_systems SConscript
  • Loading branch information
leios authored and Amaras committed Oct 20, 2021
1 parent 5740ed2 commit e17e2c4
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 180 deletions.
59 changes: 0 additions & 59 deletions contents/quantum_systems/code/c++/energy.cpp

This file was deleted.

6 changes: 0 additions & 6 deletions contents/quantum_systems/code/c/SConscript

This file was deleted.

61 changes: 0 additions & 61 deletions contents/quantum_systems/code/c/energy.c

This file was deleted.

14 changes: 0 additions & 14 deletions contents/quantum_systems/code/haskell/Energy.hs

This file was deleted.

18 changes: 0 additions & 18 deletions contents/quantum_systems/code/julia/energy.jl

This file was deleted.

17 changes: 0 additions & 17 deletions contents/quantum_systems/code/python/energy.py

This file was deleted.

10 changes: 5 additions & 5 deletions contents/quantum_systems/quantum_systems.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,15 +226,15 @@ This ultimately looks like this:

{% method %}
{% sample lang="jl" %}
[import, lang:"julia"](code/julia/energy.jl)
[import:114-132, lang:"julia"](../split-operator_method/code/julia/split_op.jl)
{% sample lang="hs" %}
[import, lang:"haskell"](code/haskell/Energy.hs)
[import:75-82, lang:"haskell"](../split-operator_method/code/haskell/splitOp.hs)
{% sample lang="c" %}
[import:29-, lang:"c"](code/c/energy.c)
[import:150-184, lang:"c"](../split-operator_method/code/c/split_op.c)
{% sample lang="cpp" %}
[import:26-, lang:"cpp"](code/c++/energy.cpp)
[import:158-189, lang:"cpp"](../split-operator_method/code/c++/split_op.cpp)
{% sample lang="py" %}
[import:4-17, lang:"python"](code/python/energy.py)
[import:98-112, lang:"python"](../split-operator_method/code/python/split_op.py)
{% endmethod %}

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

0 comments on commit e17e2c4

Please sign in to comment.