未验证 提交 10f4dbb2 编写于 作者: Y yangguohao 提交者: GitHub

Update utils.py

上级 ddf695c8
......@@ -914,7 +914,7 @@ class Hamiltonian:
pass
return self.coefficients, self.__pauli_words
def construct_h_matrix(selfn_qubit):
def construct_h_matrix(self, n_qubit):
r"""构建 Hamiltonian 在 Z 基底下的矩阵。
Returns:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册