We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0406e3 commit adbe289Copy full SHA for adbe289
pennylane/estimator/compact_hamiltonian.py
@@ -384,7 +384,7 @@ def num_pauli_words(self):
384
385
@property
386
def max_weight(self):
387
- """The maximum number of Pauli operators in the Pauli word for any given term in the sum.
+ r"""The maximum number of Pauli operators in the Pauli word for any given term in the sum.
388
For example, given a hamiltonian :math:`H = \hat{X}_{0} \hat{X}_{1} + \hat{Z}_{0}`. The
389
``max_weight = 2`` because there are atmost two Pauli operators in any term.
390
"""
0 commit comments