Skip to content

Commit

Permalink
added documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
EstherDelap committed Aug 8, 2023
1 parent 1bd22ee commit 61daaa5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
12 changes: 6 additions & 6 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
Documentation for DTWA.jl

```@docs
repeated_euler
euler_3D
spin_array_3D
intial_Si
J_XYZ
Jx_Ising
DTWA.repeated_euler
DTWA.euler_3D
DTWA.spin_array_3D
DTWA.intial_Si
DTWA.J_XYZ
DTWA.Jx_Ising
```
5 changes: 2 additions & 3 deletions src/3d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,8 @@ end
Repeatedly computes the time evolution of the spin system of dimensions dim for a certain time interval.
Returns two arrays: the first is the time evolution of the collective spin, defined as ```math
\left[\sum_i^n s_i^x/2, \sum_i^n s_i^y/2, \sum_i^n s_i^z/2\right]
```
Returns two arrays: the first is the time evolution of the collective spin, defined as
``\left[ \sum_i^n s_i^x/2, \sum_i^n s_i^y/2, \sum_i^n s_i^z/2\right]``
for each trajectory, in the form of a vecotr of length number_trajectories where each value is a vector of length N decribing the time
evolution of the collective spin. The second array returned is the time evolution of the collective spin averaged across all trajectories, in the form of a
vector of length N where each element is the averaged [sx, sy, sz] spin vector.
Expand Down

0 comments on commit 61daaa5

Please sign in to comment.