Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 5, 2024
1 parent bf36a09 commit 9bdd178
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qibo/models/dbi/double_bracket.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ class DoubleBracketGeneratorType(Enum):
group_commutator = auto()
"""Use group commutator approximation"""
group_commutator_3 = auto()
"""Implements: $e^{\frac{\sqrt{5}-1}{2}sH}e^{\frac{\sqrt{5}-1}{2}sD}e^{-sH}e^{sD}e^{\frac{3-\sqrt{5}}{2}sH}e^{sD}
\approx e^{s^2[H,D]} + O(s^4)$
"""Implements: $e^{\frac{\\sqrt{5}-1}{2}sH}e^{\frac{\\sqrt{5}-1}{2}sD}e^{-sH}e^{sD}e^{\frac{3-\\sqrt{5}}{2}sH}e^{sD}
\approx e^{s^2[H,D]} + O(s^4)$
which is equation (8) in https://arxiv.org/abs/2111.12177]
s must be taken as $\sqrt{s}$ to approximate the flow using the commutator
s must be taken as $\\sqrt{s}$ to approximate the flow using the commutator
"""


Expand Down

0 comments on commit 9bdd178

Please sign in to comment.