Skip to content

Commit

Permalink
Merge pull request #95 from mit-han-lab/dev
Browse files Browse the repository at this point in the history
[major] v 0.1.7
  • Loading branch information
Hanrui-Wang authored Mar 18, 2023
2 parents ac1edd8 + 1f7f235 commit f9c9806
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion torchquantum/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1.6"
__version__ = "0.1.7"
__author__ = "Hanrui Wang, Jiannan Cao, Jessica Ding, Jiai Gu, Song Han, Zirui Li, Zhiding Liang, Pengyu Liu, Mohammadreza Tavasoli"

from .macro import *
Expand Down
2 changes: 1 addition & 1 deletion torchquantum/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
# packages=find_packages(),
# )

version = "0.1.6"
version = "0.1.7"
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 f9c9806

Please sign in to comment.