Skip to content

Commit 107ff9d

Browse files
committed
Merge branch '2.17.0' of https://github.com/LowSh/VQNET2.0-tutorial into 2.17.0
2 parents 2721577 + 6d86fa4 commit 107ff9d

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

source/rst/CHANGELOG.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,16 @@ Changed
1717
- 使用openblas进行矩阵运算。
1818
- 使用sleef进行CPU SIMD运算。
1919
- 删除qnn.MeasurePauliSum。
20-
- 当torch低于2.4版本时候,使用torch后端计算抛出警告。
20+
- 当torch低于2.4.0版本时候,使用torch后端计算抛出警告。
2121

2222

2323
Fixed
2424
===================
25-
- 解决保存和载入模型时候QMachine states问题
25+
- 解决保存和载入模型时候QMachine states无法载入的问题
2626
- 解决layernorm,groupnorm当affine=False时候的问题。
27-
- 解决QuantumLayerAdjoint在eval模式下的问题。
28-
- 解决toCPU() 的bug。
27+
- 解决 QuantumLayerAdjoint在eval模式下的问题。
28+
- 解决 `toCPU()` 的bug。
29+
- 解决 BatchNorm1d,BatchNorm2d, BatchNormNd 在affine=False 的bug。
2930

3031
[v2.16.0] - 2025-1-15
3132
***************************

source/rst/qnn_pq3.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,7 @@ BasicEntanglerTemplate
11091109

11101110
circuit = BasicEntanglerTemplate(weights=weights, num_qubits=num_qubits, rotation=pq.RZ)
11111111
result = circuit.compute_circuit()
1112+
cir = circuit.create_circuit(qubits)
11121113
circuit.print_circuit(qubits)
11131114

11141115

@@ -1144,7 +1145,7 @@ StronglyEntanglingTemplate
11441145

11451146
circuit = StronglyEntanglingTemplate(weights, num_qubits=num_qubits )
11461147
result = circuit.compute_circuit()
1147-
print(result)
1148+
cir = circuit.create_circuit(qubits)
11481149
circuit.print_circuit(qubits)
11491150

11501151

0 commit comments

Comments
 (0)