HaeffnerLab / IonSim.jl

a simple tool for simulating trapped ion systems
https://ionsim.org
MIT License
70 stars 17 forks source link

typo in examples #92

Closed marwahaha closed 2 years ago

marwahaha commented 2 years ago

image

I doubt this is correct. $\sum_{i=1,2}$ but then $\sigma^{(1)} + \sigma^{(2)}$??

neil-glikin commented 2 years ago

It looks like $i$ is enumerating lasers here. Which is confusing because in the second bullet point it's enumerating the ion. I think this should stick with the convention at the beginning of $m$ indexing lasers and $n$ indexing ions.

To be more precise: I suggest changing the equation by replacing $i$ with $m$, and changing the second bullet point by replacing $i$ with $n$.

jbroz11 commented 2 years ago

Neil's right. I tend to recycle indices in new expressions. Feel free to change it if you'd like.