Skip to content

Commit

Permalink
Add spin chain tutorial (PT-TEBD)
Browse files Browse the repository at this point in the history
  • Loading branch information
gefux committed Jan 26, 2022
1 parent 695cbb8 commit 9a4efd2
Show file tree
Hide file tree
Showing 4 changed files with 526 additions and 8 deletions.
6 changes: 0 additions & 6 deletions examples/00-spin-chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@

# -----------------------------------------------------------------------------

sx = oqupy.operators.sigma("x")
sy = oqupy.operators.sigma("y")
sz = oqupy.operators.sigma("z")

up_dm = oqupy.operators.spin_dm("z+")
down_dm = oqupy.operators.spin_dm("z-")

# --- Parameters --------------------------------------------------------------

Expand Down
6 changes: 5 additions & 1 deletion oqupy/backends/pt_tebd_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@
# limitations under the License.
"""
Module for Process Tensor Time Evolving Block Decimation (PT-TEBD) backend.
The algorithms in this module are explained in the supplemental material
of [Fux2022].
**[Fux2022]**
G. E. Fux, D. Kilda, B. W. Lovett, and J. Keeling, *Thermalization of a
spin chain strongly coupled to its environment*, arXiv:2201.05529 (2022).
"""

import concurrent
Expand Down
6 changes: 5 additions & 1 deletion oqupy/pt_tebd.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
# limitations under the License.
"""
Module for the process tensor approach to time evolving block decimation.
This module is based on [Fux2022].
**[Fux2022]**
G. E. Fux, D. Kilda, B. W. Lovett, and J. Keeling, *Thermalization of a
spin chain strongly coupled to its environment*, arXiv:2201.05529 (2022).
"""

from typing import Dict, List, Optional, Text, Union
Expand Down
516 changes: 516 additions & 0 deletions tutorials/tutorial_00_pt_tebd.ipynb

Large diffs are not rendered by default.

0 comments on commit 9a4efd2

Please sign in to comment.