Skip to content

Commit

Permalink
Merge pull request #228 from 5c0t-qi/bugfix/typo
Browse files Browse the repository at this point in the history
PauliOperatorのexample codeのtypoを修正
  • Loading branch information
corryvrequan committed Jun 19, 2020
2 parents 12f1f46 + a975965 commit 224ceb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/4_Tutorial_python_advance.md
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ from qulacs import PauliOperator, QuantumState
n = 5
coef = 2.0
Pauli_string = "X 0 X 1 Y 2 Z 4"
pauli = Pauli(Pauli_string,coef)
pauli = PauliOperator(Pauli_string,coef)

# 期待値の計算 <a|H|a>
state = QuantumState(n)
Expand Down Expand Up @@ -1316,4 +1316,4 @@ Gaussian : no
*** Parameter Info ***
# of parameter: 151
```
```

0 comments on commit 224ceb9

Please sign in to comment.