You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
h = tc.quantum.PauliStringSum2COO(pauli_structures, weights)
95
+
print(h)
96
+
# BCOO(complex64[64, 64], nse=448)
97
+
c = tc.Circuit(n)
98
+
c.h(range(n))
99
+
energy = tc.templates.measurements.operator_expectation(c, h)
100
+
# -6
101
+
```
102
+
103
+
</details>
104
+
79
105
## Install
80
106
81
107
The package is written in pure Python and can be obtained via pip as:
@@ -182,12 +208,14 @@ This project is released by [Tencent Quantum Lab](https://quantum.tencent.com/)
182
208
183
209
### Citation
184
210
185
-
If this project helps in your research, please cite our software whitepaper published in Quantum:
211
+
If this project helps in your research, please cite our software whitepaper to acknowledge the work put into the development of TensorCircuit.
186
212
187
-
[TensorCircuit: a Quantum Software Framework for the NISQ Era](https://quantum-journal.org/papers/q-2023-02-02-912/)
213
+
[TensorCircuit: a Quantum Software Framework for the NISQ Era](https://quantum-journal.org/papers/q-2023-02-02-912/) (published in Quantum)
188
214
189
215
which is also a good introduction to the software.
190
216
217
+
Research works citing TensorCircuit can be highlighted in [Research and Applications section](https://github.com/tencent-quantum-lab/tensorcircuit#research-and-applications).
218
+
191
219
### Guidelines
192
220
193
221
For contribution guidelines and notes, see [CONTRIBUTING](/CONTRIBUTING.md).
@@ -234,6 +262,7 @@ TensorCircuit is open source, released under the Apache License, Version 2.0.
0 commit comments