Skip to content

Commit adbe289

Browse files
committed
format
1 parent f0406e3 commit adbe289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pennylane/estimator/compact_hamiltonian.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def num_pauli_words(self):
384384

385385
@property
386386
def max_weight(self):
387-
"""The maximum number of Pauli operators in the Pauli word for any given term in the sum.
387+
r"""The maximum number of Pauli operators in the Pauli word for any given term in the sum.
388388
For example, given a hamiltonian :math:`H = \hat{X}_{0} \hat{X}_{1} + \hat{Z}_{0}`. The
389389
``max_weight = 2`` because there are atmost two Pauli operators in any term.
390390
"""

0 commit comments

Comments
 (0)