Skip to content

Commit f4cb4f8

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 883dae2 + 6311998 commit f4cb4f8

File tree

15 files changed

+991
-179
lines changed

15 files changed

+991
-179
lines changed

.all-contributorsrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,15 @@
258258
"contributions": [
259259
"doc"
260260
]
261+
},
262+
{
263+
"login": "PeilinZHENG",
264+
"name": "peilin",
265+
"avatar_url": "https://avatars.githubusercontent.com/u/45784888?v=4",
266+
"profile": "https://github.com/PeilinZHENG",
267+
"contributions": [
268+
"tutorial"
269+
]
261270
}
262271
],
263272
"contributorsPerLine": 6,

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
- Add multiple GPU VQE examples using jax pmap
88

9+
- Add `with_prob` option to `general_kraus` so that the probability of each option can be returned together
10+
11+
- Add benchmark example showcasing new way of implementing matrix product using vmap
12+
13+
- Add keras3 example showcasing integration with tc
14+
915
## 0.10.0
1016

1117
### Added

README.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,32 @@ theta = tc.array_to_tensor(1.0)
7676
print(g(theta))
7777
```
7878

79+
<details>
80+
<summary> More highlight features for TensorCircuit (click for details) </summary>
81+
82+
- Sparse Hamiltonian generation and expectation evaluation:
83+
84+
```python
85+
n = 6
86+
pauli_structures = []
87+
weights = []
88+
for i in range(n):
89+
pauli_structures.append(tc.quantum.xyz2ps({"z": [i, (i + 1) % n]}, n=n))
90+
weights.append(1.0)
91+
for i in range(n):
92+
pauli_structures.append(tc.quantum.xyz2ps({"x": [i]}, n=n))
93+
weights.append(-1.0)
94+
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+
79105
## Install
80106

81107
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/)
182208

183209
### Citation
184210

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.
186212

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)
188214

189215
which is also a good introduction to the software.
190216

217+
Research works citing TensorCircuit can be highlighted in [Research and Applications section](https://github.com/tencent-quantum-lab/tensorcircuit#research-and-applications).
218+
191219
### Guidelines
192220

193221
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.
234262
<td align="center" valign="top" width="16.66%"><a href="https://github.com/WiuYuan"><img src="https://avatars.githubusercontent.com/u/108848998?v=4?s=100" width="100px;" alt="WiuYuan"/><br /><sub><b>WiuYuan</b></sub></a><br /><a href="#example-WiuYuan" title="Examples">💡</a></td>
235263
<td align="center" valign="top" width="16.66%"><a href="https://www.linkedin.com/in/felix-xu-16a153196/"><img src="https://avatars.githubusercontent.com/u/61252303?v=4?s=100" width="100px;" alt="Felix Xu"/><br /><sub><b>Felix Xu</b></sub></a><br /><a href="#tutorial-FelixXu35" title="Tutorials">✅</a></td>
236264
<td align="center" valign="top" width="16.66%"><a href="https://scholar.harvard.edu/hongyehu/home"><img src="https://avatars.githubusercontent.com/u/50563225?v=4?s=100" width="100px;" alt="Hong-Ye Hu"/><br /><sub><b>Hong-Ye Hu</b></sub></a><br /><a href="https://github.com/tencent-quantum-lab/tensorcircuit/commits?author=hongyehu" title="Documentation">📖</a></td>
265+
<td align="center" valign="top" width="16.66%"><a href="https://github.com/PeilinZHENG"><img src="https://avatars.githubusercontent.com/u/45784888?v=4?s=100" width="100px;" alt="peilin"/><br /><sub><b>peilin</b></sub></a><br /><a href="#tutorial-PeilinZHENG" title="Tutorials">✅</a></td>
237266
</tr>
238267
</tbody>
239268
</table>

README_cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ pip install tensorcircuit-nightly
127127

128128
### 引用
129129

130-
如果该软件对您的研究有帮助, 请引用我们发表在 Quantum 期刊的白皮书文章:
130+
如果该软件对您的研究有帮助, 请引用我们发表在 Quantum 期刊的白皮书文章来支持我们的研发付出。
131131

132132
[TensorCircuit: a Quantum Software Framework for the NISQ Era](https://quantum-journal.org/papers/q-2023-02-02-912/).
133133

0 commit comments

Comments
 (0)