tensorcircuit-nightly 1.3.0.dev20250908__py3-none-any.whl → 1.3.0.dev20250910__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tensorcircuit-nightly might be problematic. Click here for more details.
- tensorcircuit/__init__.py +3 -1
- tensorcircuit/applications/layers.py +1 -1
- tensorcircuit/backends/abstract_backend.py +2 -2
- tensorcircuit/basecircuit.py +7 -23
- tensorcircuit/circuit.py +3 -3
- tensorcircuit/densitymatrix.py +2 -2
- tensorcircuit/quantum.py +11 -11
- tensorcircuit/quditcircuit.py +670 -0
- tensorcircuit/quditgates.py +618 -0
- tensorcircuit/results/counts.py +1 -1
- tensorcircuit/shadows.py +1 -1
- tensorcircuit/templates/hamiltonians.py +14 -6
- tensorcircuit/templates/lattice.py +1 -1
- tensorcircuit/timeevol.py +2 -2
- {tensorcircuit_nightly-1.3.0.dev20250908.dist-info → tensorcircuit_nightly-1.3.0.dev20250910.dist-info}/METADATA +2 -2
- {tensorcircuit_nightly-1.3.0.dev20250908.dist-info → tensorcircuit_nightly-1.3.0.dev20250910.dist-info}/RECORD +19 -17
- {tensorcircuit_nightly-1.3.0.dev20250908.dist-info → tensorcircuit_nightly-1.3.0.dev20250910.dist-info}/WHEEL +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250908.dist-info → tensorcircuit_nightly-1.3.0.dev20250910.dist-info}/licenses/LICENSE +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250908.dist-info → tensorcircuit_nightly-1.3.0.dev20250910.dist-info}/top_level.txt +0 -0
tensorcircuit/timeevol.py
CHANGED
|
@@ -387,7 +387,7 @@ def hamiltonian_evol(
|
|
|
387
387
|
... [0.0, 2.0, -1.0, 0.0],
|
|
388
388
|
... [0.0, 0.0, 0.0, 1.0]
|
|
389
389
|
... ])
|
|
390
|
-
>>> # Initial state |00
|
|
390
|
+
>>> # Initial state |00>
|
|
391
391
|
>>> psi0 = tc.array_to_tensor([1.0, 0.0, 0.0, 0.0])
|
|
392
392
|
>>> # Evolution times
|
|
393
393
|
>>> times = tc.array_to_tensor([0.0, 0.5, 1.0])
|
|
@@ -843,7 +843,7 @@ def estimate_spectral_bounds(
|
|
|
843
843
|
:type n_iter: int
|
|
844
844
|
:param psi0: Optional initial state.
|
|
845
845
|
:type psi0: Optional[Any]
|
|
846
|
-
:return: (E_max, E_min)
|
|
846
|
+
:return: (E_max, E_min)
|
|
847
847
|
"""
|
|
848
848
|
shape = h.shape
|
|
849
849
|
D = shape[-1]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tensorcircuit-nightly
|
|
3
|
-
Version: 1.3.0.
|
|
3
|
+
Version: 1.3.0.dev20250910
|
|
4
4
|
Summary: High performance unified quantum computing framework for the NISQ era
|
|
5
5
|
Author-email: TensorCircuit Authors <znfesnpbh@gmail.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -344,7 +344,7 @@ TensorCircuit-NG is open source, released under the Apache License, Version 2.0.
|
|
|
344
344
|
<td align="center" valign="top" width="16.66%"><a href="https://github.com/Stellogic"><img src="https://avatars.githubusercontent.com/u/186928579?v=4?s=100" width="100px;" alt="Stellogic"/><br /><sub><b>Stellogic</b></sub></a><br /><a href="https://github.com/tensorcircuit/tensorcircuit-ng/commits?author=Stellogic" title="Code">💻</a> <a href="#example-Stellogic" title="Examples">💡</a> <a href="https://github.com/tensorcircuit/tensorcircuit-ng/commits?author=Stellogic" title="Tests">⚠️</a> <a href="#tutorial-Stellogic" title="Tutorials">✅</a></td>
|
|
345
345
|
<td align="center" valign="top" width="16.66%"><a href="https://github.com/Charlespkuer"><img src="https://avatars.githubusercontent.com/u/112697147?v=4?s=100" width="100px;" alt="Huang"/><br /><sub><b>Huang</b></sub></a><br /><a href="https://github.com/tensorcircuit/tensorcircuit-ng/commits?author=Charlespkuer" title="Code">💻</a> <a href="#example-Charlespkuer" title="Examples">💡</a> <a href="https://github.com/tensorcircuit/tensorcircuit-ng/commits?author=Charlespkuer" title="Tests">⚠️</a></td>
|
|
346
346
|
<td align="center" valign="top" width="16.66%"><a href="https://github.com/Huang-Xu-Yang"><img src="https://avatars.githubusercontent.com/u/227286661?v=4?s=100" width="100px;" alt="Huang-Xu-Yang"/><br /><sub><b>Huang-Xu-Yang</b></sub></a><br /><a href="https://github.com/tensorcircuit/tensorcircuit-ng/commits?author=Huang-Xu-Yang" title="Code">💻</a> <a href="https://github.com/tensorcircuit/tensorcircuit-ng/commits?author=Huang-Xu-Yang" title="Tests">⚠️</a></td>
|
|
347
|
-
<td align="center" valign="top" width="16.66%"><a href="https://github.com/WeiguoMa"><img src="https://avatars.githubusercontent.com/u/108172530?v=4?s=100" width="100px;" alt="Weiguo_M"/><br /><sub><b>Weiguo_M</b></sub></a><br /><a href="https://github.com/tensorcircuit/tensorcircuit-ng/commits?author=WeiguoMa" title="Code">💻</a> <a href="https://github.com/tensorcircuit/tensorcircuit-ng/commits?author=WeiguoMa" title="Tests">⚠️</a></td>
|
|
347
|
+
<td align="center" valign="top" width="16.66%"><a href="https://github.com/WeiguoMa"><img src="https://avatars.githubusercontent.com/u/108172530?v=4?s=100" width="100px;" alt="Weiguo_M"/><br /><sub><b>Weiguo_M</b></sub></a><br /><a href="https://github.com/tensorcircuit/tensorcircuit-ng/commits?author=WeiguoMa" title="Code">💻</a> <a href="https://github.com/tensorcircuit/tensorcircuit-ng/commits?author=WeiguoMa" title="Tests">⚠️</a> <a href="#example-WeiguoMa" title="Examples">💡</a> <a href="#tutorial-WeiguoMa" title="Tutorials">✅</a></td>
|
|
348
348
|
</tr>
|
|
349
349
|
</tbody>
|
|
350
350
|
</table>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
tensorcircuit/__init__.py,sha256=
|
|
1
|
+
tensorcircuit/__init__.py,sha256=R0fa-DUKuPoTgNVIokqhBemX5rsY517_Nwu_OWPYXn0,2119
|
|
2
2
|
tensorcircuit/about.py,sha256=DazTswU2nAwOmASTaDII3L04PVtaQ7oiWPty5YMI3Wk,5267
|
|
3
3
|
tensorcircuit/abstractcircuit.py,sha256=VgvQiSeUagCR65kS2qo3TzrEjE7ER2uYGUwzDUzcn-8,44141
|
|
4
4
|
tensorcircuit/asciiart.py,sha256=neY1OWFwtoW5cHPNwkQHgRPktDniQvdlP9QKHkk52fM,8236
|
|
5
|
-
tensorcircuit/basecircuit.py,sha256=
|
|
5
|
+
tensorcircuit/basecircuit.py,sha256=9I0Es2P5VdGisx5_t0AKSYtgSb15RB6fXCZg4eEr5es,39138
|
|
6
6
|
tensorcircuit/channels.py,sha256=CFQxWI-JmkIxexslCBdjp_RSxUbHs6eAJv4LvlXXXCY,28637
|
|
7
|
-
tensorcircuit/circuit.py,sha256=
|
|
7
|
+
tensorcircuit/circuit.py,sha256=wF3UKCoUOuQG-S10JGX7U1nGwflcML1D8fT94WcGfmg,39921
|
|
8
8
|
tensorcircuit/cons.py,sha256=V0wjevtDkESCIWMJaysgPVorQlPAIT0vtRWvIZkEWcE,33065
|
|
9
|
-
tensorcircuit/densitymatrix.py,sha256=
|
|
9
|
+
tensorcircuit/densitymatrix.py,sha256=C8Q2fHXZ78S9ZaPqCIKl6_v_sILqbBgqBOUYUQ1QmFI,15020
|
|
10
10
|
tensorcircuit/experimental.py,sha256=TGK4FaS6TS_ZhtjcIZgYVuAkGdRW50LN0DdXp-h4bos,29906
|
|
11
11
|
tensorcircuit/fgs.py,sha256=J1TjAiiqZk9KO1xYX_V0xsgKlYZaUQ7Enm4s5zkRM50,49514
|
|
12
12
|
tensorcircuit/gates.py,sha256=KLAYZyX_MyvKw4s4HZ0trw_3q9VCTHh8nwn2_ZaIV2c,29598
|
|
@@ -14,11 +14,13 @@ tensorcircuit/keras.py,sha256=nMSuu9uZy7haWwuen1g_6GFVwYIirtX9IvejDyoH33M,10129
|
|
|
14
14
|
tensorcircuit/mps_base.py,sha256=UZ-v8vsr_rAsKrfun8prVgbXJ-qsdqKy2DZIHpq3sxo,15400
|
|
15
15
|
tensorcircuit/mpscircuit.py,sha256=CPWlsb-kybZE-lh4iUkVMDn45qhHtFHUnxATP6TsaVk,38802
|
|
16
16
|
tensorcircuit/noisemodel.py,sha256=vzxpoYEZbHVC4a6g7_Jk4dxsHi4wvhpRFwud8b616Qo,11878
|
|
17
|
-
tensorcircuit/quantum.py,sha256=
|
|
18
|
-
tensorcircuit/
|
|
17
|
+
tensorcircuit/quantum.py,sha256=asuA3rCfi2Y4knWz1ObkveCdSv8EeaSsf1xfPVowvT0,110628
|
|
18
|
+
tensorcircuit/quditcircuit.py,sha256=6KdHPRNzeBO8TxhXNNYnfN7EouTy_rX9Vu01gJM8yD0,23724
|
|
19
|
+
tensorcircuit/quditgates.py,sha256=PR5n9NLNhMPyoanFYjuDioW-0U7VGUiJf_OvxR_Twq0,20925
|
|
20
|
+
tensorcircuit/shadows.py,sha256=KQM19KnXnn6d3HgaqdRs33RWC2uCIiY5cEGnH1CVdGw,17012
|
|
19
21
|
tensorcircuit/simplify.py,sha256=EuEyQenFit-hgQhEJecL7t7jJ8m8zQ4KuL_sEvPNu-I,9488
|
|
20
22
|
tensorcircuit/stabilizercircuit.py,sha256=KbrBVSo2pXnf5JHIrxwRPSPTm7bJVMIcyE4d7-dIfCM,15545
|
|
21
|
-
tensorcircuit/timeevol.py,sha256=
|
|
23
|
+
tensorcircuit/timeevol.py,sha256=0WJC-bjk6KfagCETm0kTuCDDWeQ4lc3lXhFgFfrfm1Y,31852
|
|
22
24
|
tensorcircuit/torchnn.py,sha256=z_QpM0QC3mydGyWpyp877j-tSFCPyzynCwqrTWaw-IA,4637
|
|
23
25
|
tensorcircuit/translation.py,sha256=VnU7DnYmbk1cWjqa7N68WNLNDn3DwENrMzmbG4_CQco,28611
|
|
24
26
|
tensorcircuit/utils.py,sha256=nEDR1wTh1WF_yV6UyZYlifqOPWdKk_Krr4HjhrWHnGQ,7228
|
|
@@ -26,7 +28,7 @@ tensorcircuit/vis.py,sha256=O4hm050KKfOAoVyHsjpMg6NBNVoWhLSlv-xsCx4opsU,12196
|
|
|
26
28
|
tensorcircuit/applications/__init__.py,sha256=nAX-Am6JoL9k53iJ_CjZJ2NcjIpaz21H87nrW4Op03k,246
|
|
27
29
|
tensorcircuit/applications/dqas.py,sha256=RcIM-mHLcZ99U5oXQSBSVL36wfDoBe45kuaQageI_SQ,34463
|
|
28
30
|
tensorcircuit/applications/graphdata.py,sha256=FR28CFcZw3QenaFU74J2jlY-m3P_NtUvW6yAm-tmon8,15348
|
|
29
|
-
tensorcircuit/applications/layers.py,sha256=
|
|
31
|
+
tensorcircuit/applications/layers.py,sha256=i7CsquQvhAxYYihK9xDgdmF_wAYPdrbq_jOcg3BbDXI,18154
|
|
30
32
|
tensorcircuit/applications/optimization.py,sha256=ycPSlKg3iOZU2ZMhH3Es8s8EOn36wakOQsDhT2SXNXs,14396
|
|
31
33
|
tensorcircuit/applications/utils.py,sha256=MQKSYeFf_y9OUw5crAOsqpulNmhGRlX6HwD-8hu1rPA,14119
|
|
32
34
|
tensorcircuit/applications/vags.py,sha256=lg4KRxIaRVjZgtA5gmsgCjDxAQPS-pkaGqA9fkJah1Q,36392
|
|
@@ -40,7 +42,7 @@ tensorcircuit/applications/physics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
|
|
|
40
42
|
tensorcircuit/applications/physics/baseline.py,sha256=RWrzMGnC0PtmpYSFkvCE7r1llR88gncXuCakAAhFE-w,1775
|
|
41
43
|
tensorcircuit/applications/physics/fss.py,sha256=ny3U9ZDmT459PXjA1oUGfarBOlSKSy6fs04vD9s1XH4,3633
|
|
42
44
|
tensorcircuit/backends/__init__.py,sha256=WiUmbUFzM29w3hKfhuKxVUk3PpqDFiXf4za9g0ctpZA,80
|
|
43
|
-
tensorcircuit/backends/abstract_backend.py,sha256=
|
|
45
|
+
tensorcircuit/backends/abstract_backend.py,sha256=ox8gWb1ui21DPA8bnLYEg7HOp0NwWFLAhYBjQZj8p2o,70288
|
|
44
46
|
tensorcircuit/backends/backend_factory.py,sha256=Z0aQ-RnxOnQzp-SRw8sefAH8XyBSlj2NXZwOlHinbfY,1713
|
|
45
47
|
tensorcircuit/backends/cupy_backend.py,sha256=KG5fqP29wnngkPsi-TnOk0pHsr9lyD7hx6_Y56fCQuY,15172
|
|
46
48
|
tensorcircuit/backends/jax_backend.py,sha256=H43ofYIgdGpz3ubOIIAhbqMGHs6m12NXI3iJc_z3CZ0,28112
|
|
@@ -71,7 +73,7 @@ tensorcircuit/interfaces/tensorflow.py,sha256=U4hZjm-yWxOJ5tqmffk8-tNvOkAltYBJ8Z
|
|
|
71
73
|
tensorcircuit/interfaces/tensortrans.py,sha256=oUxIVpXfANZVRXfPjiGJDzFPiszfBsiY40ydh0BaELE,10364
|
|
72
74
|
tensorcircuit/interfaces/torch.py,sha256=13IFGmWUFoWiSzKAzwp2EkOSxgiwN_oUFxjQb36gimo,5149
|
|
73
75
|
tensorcircuit/results/__init__.py,sha256=3kkIvmjLYQd5ff-emY8l82rpv9mwMZdM2kTLZ9sNfA4,89
|
|
74
|
-
tensorcircuit/results/counts.py,sha256=
|
|
76
|
+
tensorcircuit/results/counts.py,sha256=gJ9x2D09wSZ8bwLB5ZR9lyx-bg6AAoz6JDr9cDAb83w,7267
|
|
75
77
|
tensorcircuit/results/readout_mitigation.py,sha256=dVpNvtFZe7n_fDVczKcqYPEepu3fV2qK3u-SfOpTf68,31746
|
|
76
78
|
tensorcircuit/results/qem/__init__.py,sha256=Pw0hcFYNesuPE8uNDm9P8DVTIFCSBqUcIkr6smQYzuM,419
|
|
77
79
|
tensorcircuit/results/qem/benchmark_circuits.py,sha256=LlFuKCDFKihMOhiY6WUZt9QPyoPeQw0SuaczdcSA3oM,3243
|
|
@@ -83,11 +85,11 @@ tensorcircuit/templates/chems.py,sha256=9ksMYTutfDEF3U04xrj9j0bYWb5gwTwMdMPi-SZK
|
|
|
83
85
|
tensorcircuit/templates/conversions.py,sha256=D3chiKDr7G1ekCJngiol91k9iqrMag1DZQGSx0j_uH4,3023
|
|
84
86
|
tensorcircuit/templates/dataset.py,sha256=ldPvCUlwjHU_S98E2ISQp34KqJzJPpPHmDIKJ4K-qYo,1933
|
|
85
87
|
tensorcircuit/templates/graphs.py,sha256=cPYrxjoem0xZ-Is9dZKAvEzWZL_FejfIRiCEOTA4qd4,3935
|
|
86
|
-
tensorcircuit/templates/hamiltonians.py,sha256=
|
|
87
|
-
tensorcircuit/templates/lattice.py,sha256=
|
|
88
|
+
tensorcircuit/templates/hamiltonians.py,sha256=Guvqqi-V47w8xeZDmca4_mU4mW9V4c3AplsBOrRtxFo,6308
|
|
89
|
+
tensorcircuit/templates/lattice.py,sha256=IvFyNgsFMfj82g-tpJraI3lMbI-EIZ0Cghq9v7tZ6Wg,72851
|
|
88
90
|
tensorcircuit/templates/measurements.py,sha256=pzc5Aa9S416Ilg4aOY77Z6ZhUlYcXnAkQNQFTuHjFFs,10943
|
|
89
|
-
tensorcircuit_nightly-1.3.0.
|
|
90
|
-
tensorcircuit_nightly-1.3.0.
|
|
91
|
-
tensorcircuit_nightly-1.3.0.
|
|
92
|
-
tensorcircuit_nightly-1.3.0.
|
|
93
|
-
tensorcircuit_nightly-1.3.0.
|
|
91
|
+
tensorcircuit_nightly-1.3.0.dev20250910.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
92
|
+
tensorcircuit_nightly-1.3.0.dev20250910.dist-info/METADATA,sha256=g1eE7RvyaxSO1X2xwrWo6_9zjpbStxiMX0nk0mi7bfI,37965
|
|
93
|
+
tensorcircuit_nightly-1.3.0.dev20250910.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
94
|
+
tensorcircuit_nightly-1.3.0.dev20250910.dist-info/top_level.txt,sha256=9dcuK5488dWpVauYz8cdvx743z_La1h7zIQCsEEgu7o,14
|
|
95
|
+
tensorcircuit_nightly-1.3.0.dev20250910.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|