Skip to content

Commit

Permalink
fix: Fix doc typos in driven_controls/predefined.py (#209)
Browse files Browse the repository at this point in the history
The expressions for the CORPSE angle $\theta^3$ in the doc strings of `new_corpse_control`, and the three methods `new_corpse_in_*_control`, were missing a $\sin^{-1}$. The code looks correct.
  • Loading branch information
FlorianH-1QBit authored Dec 17, 2021
1 parent aa5dba7 commit 4d24a46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qctrlopencontrols/driven_controls/predefined.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def new_corpse_control(
\theta_2 &= 2\pi - 2\sin^{-1} \left[ \frac{\sin(\theta/2)}{2}\right]
\theta_3 &= \frac{\theta}{2} - \left[ \frac{\sin(\theta/2)}{2}\right].
\theta_3 &= \frac{\theta}{2} - \sin^{-1} \left[ \frac{\sin(\theta/2)}{2}\right].
References
----------
Expand Down Expand Up @@ -570,7 +570,7 @@ def new_corpse_in_bb1_control(
\theta_2 &= 2\pi - 2\sin^{-1} \left[ \frac{\sin(\theta/2)}{2}\right]
\theta_3 &= \frac{\theta}{2} - \left[ \frac{\sin(\theta/2)}{2}\right]
\theta_3 &= \frac{\theta}{2} - \sin^{-1} \left[ \frac{\sin(\theta/2)}{2}\right]
\phi_* &= \cos^{-1} \left( -\frac{\theta}{4\pi} \right).
Expand Down Expand Up @@ -674,7 +674,7 @@ def new_corpse_in_sk1_control(
\theta_2 &= 2\pi - 2\sin^{-1} \left[ \frac{\sin(\theta/2)}{2}\right]
\theta_3 &= \frac{\theta}{2} - \left[ \frac{\sin(\theta/2)}{2}\right]
\theta_3 &= \frac{\theta}{2} - \sin^{-1} \left[ \frac{\sin(\theta/2)}{2}\right]
\phi_* &= \cos^{-1} \left( -\frac{\theta}{4\pi} \right).
Expand Down Expand Up @@ -803,7 +803,7 @@ def new_corpse_in_scrofulous_control(
\Gamma^{\theta'}_2 &= 2\pi - 2\sin^{-1} \left[ \frac{\sin(\theta'/2)}{2}\right]
\Gamma^{\theta'}_3 &= \frac{\theta'}{2} - \left[ \frac{\sin(\theta'/2)}{2}\right]
\Gamma^{\theta'}_3 &= \frac{\theta'}{2} - \sin^{-1} \left[ \frac{\sin(\theta'/2)}{2}\right]
are the CORPSE angles corresponding to each SCROFULOUS angle
:math:`\theta'\in\{\theta_1,\theta_2,\theta_3\}`.
Expand Down

0 comments on commit 4d24a46

Please sign in to comment.