Skip to content

Commit

Permalink
[minor] comment on measureall
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanrui-Wang committed Mar 18, 2023
1 parent dfc4514 commit ec3a16a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions torchquantum/measurement.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ def expval(


class MeasureAll(tq.QuantumModule):
"""Obtain the expectation value of all the qubits.
"""
def __init__(self, obs, v_c_reg_mapping=None):
super().__init__()
self.obs = obs
Expand Down

0 comments on commit ec3a16a

Please sign in to comment.