Skip to content

Commit f9c9806

Browse files
authored
Merge pull request #95 from mit-han-lab/dev
[major] v 0.1.7
2 parents ac1edd8 + 1f7f235 commit f9c9806

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

torchquantum/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.1.6"
1+
__version__ = "0.1.7"
22
__author__ = "Hanrui Wang, Jiannan Cao, Jessica Ding, Jiai Gu, Song Han, Zirui Li, Zhiding Liang, Pengyu Liu, Mohammadreza Tavasoli"
33

44
from .macro import *

torchquantum/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
# packages=find_packages(),
3434
# )
3535

36-
version = "0.1.6"
36+
version = "0.1.7"

torchquantum/measurement.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ def expval(
108108

109109

110110
class MeasureAll(tq.QuantumModule):
111+
"""Obtain the expectation value of all the qubits.
112+
"""
111113
def __init__(self, obs, v_c_reg_mapping=None):
112114
super().__init__()
113115
self.obs = obs

0 commit comments

Comments
 (0)