unitaryfund / mitiq

Mitiq is an open source toolkit for implementing error mitigation techniques on most current intermediate-scale quantum computers.
https://mitiq.readthedocs.io
GNU General Public License v3.0
359 stars 157 forks source link

Add docstrings to Observable class #2324

Open jordandsullivan opened 5 months ago

jordandsullivan commented 5 months ago

Issue Description

The Observable class lacks docstrings for most of its methods. While some might be considered self-explanatory (depending on a person's background), many are not, such as Observable.partition(). Even short @property functions could still benefit from having fully written out explanations of what the property is.

Proposed Solution

Add descriptive docstrings for each method.

Additional References