Skip to content

Commit

Permalink
measure_all() -> m_all()
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Jun 12, 2024
1 parent 247c5a9 commit fa3779b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pennylane_qrack/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
Version number (major.minor.patch[-label])
"""

__version__ = "0.6.8"
__version__ = "0.6.9"
2 changes: 1 addition & 1 deletion pennylane_qrack/qrack_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ def generate_samples(self):
)

if self.shots == 1:
rev_sample = self._state.measure_all()
rev_sample = self._state.m_all()
sample = 0
for i in range(self.num_wires):
if (rev_sample & (1 << i)) > 0:
Expand Down

0 comments on commit fa3779b

Please sign in to comment.