Skip to content

Commit

Permalink
doc: Update docstring
Browse files Browse the repository at this point in the history
Co-authored-by: Matteo Robbiati <[email protected]>
  • Loading branch information
andrea-pasquale and MatteoRobbiati authored Jun 10, 2024
1 parent f8ed712 commit a8f453b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibo/models/dbi/double_bracket.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def eval_dbr_unitary(
mode: DoubleBracketGeneratorType = None,
d: np.array = None,
):
"""In call we will are working in the convention that $H' = U^\\dagger H
"""In call we are working in the convention that $H' = U^\\dagger H
U$ where $U=e^{-sW}$ with $W=[D,H]$ or an approximation of that by a group commutator.
That is handy because if we switch from the DBI in the Heisenberg picture for the
Hamiltonian, we get that the transformation of the state is $|\\psi'\rangle = U |\\psi\rangle$
Expand Down

0 comments on commit a8f453b

Please sign in to comment.