Skip to content

Commit

Permalink
fix escape char problem in docstring
Browse files Browse the repository at this point in the history
Use raw string literals
  • Loading branch information
MatthewRHermes committed Oct 24, 2024
1 parent c576175 commit 6d9a262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions my_pyscf/mcscf/productstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# TODO: linkstr support
class ProductStateFCISolver (StateAverageNMixFCISolver, lib.StreamObject):
'''Minimize the energy of a wave function of the form
r'''Minimize the energy of a wave function of the form
|Psi> = A \prod_K |ci_K>
Expand Down Expand Up @@ -332,7 +332,7 @@ def state_average_fcisolver (solver, weights=(.5,.5), wfnsym=None):
return state_average_mcscf (dummy, weights=weights, wfnsym=wfnsym).fcisolver

class ImpureProductStateFCISolver (ProductStateFCISolver):
'''Minimize the energy of an impure state:
r'''Minimize the energy of an impure state:
E = \sum_n1 w_n1 \sum_n2 w_n2 \sum_n3 w_n3 ... <n1n2n3...|H|n1n2n3...>
Expand Down

0 comments on commit 6d9a262

Please sign in to comment.