Skip to content

Commit

Permalink
Update README.md (#11078)
Browse files Browse the repository at this point in the history
Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
  • Loading branch information
Chandanmali and 1ucian0 committed Apr 12, 2024
1 parent adfcf72 commit b30c94c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Running this will give an outcome similar to `{0: 0.497, 7: 0.503}` which is `00
To illustrate the power of Estimator, we now use the quantum information toolbox to create the operator $XXY+XYX+YXX-YYY$ and pass it to the `run()` function, along with our quantum circuit. Note the Estimator requires a circuit _**without**_ measurement, so we use the `qc_example` circuit we created earlier.

```python
# 2. define the observable to be measured
# 2. Define the observable to be measured
from qiskit.quantum_info import SparsePauliOp
operator = SparsePauliOp.from_list([("XXY", 1), ("XYX", 1), ("YXX", 1), ("YYY", -1)])

Expand Down Expand Up @@ -165,4 +165,4 @@ We acknowledge partial support for Qiskit development from the DOE Office of Sci

## License

[Apache License 2.0](LICENSE.txt)
[Apache License 2.0](LICENSE.txt)

0 comments on commit b30c94c

Please sign in to comment.