tensorcircuit-nightly 1.3.0.dev20250809__py3-none-any.whl → 1.3.0.dev20250810__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 +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250809.dist-info → tensorcircuit_nightly-1.3.0.dev20250810.dist-info}/METADATA +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250809.dist-info → tensorcircuit_nightly-1.3.0.dev20250810.dist-info}/RECORD +6 -37
- {tensorcircuit_nightly-1.3.0.dev20250809.dist-info → tensorcircuit_nightly-1.3.0.dev20250810.dist-info}/top_level.txt +0 -1
- tests/__init__.py +0 -0
- tests/conftest.py +0 -67
- tests/test_backends.py +0 -1156
- tests/test_calibrating.py +0 -149
- tests/test_channels.py +0 -409
- tests/test_circuit.py +0 -1713
- tests/test_cloud.py +0 -219
- tests/test_compiler.py +0 -147
- tests/test_dmcircuit.py +0 -555
- tests/test_ensemble.py +0 -72
- tests/test_fgs.py +0 -318
- tests/test_gates.py +0 -156
- tests/test_hamiltonians.py +0 -159
- tests/test_interfaces.py +0 -557
- tests/test_keras.py +0 -160
- tests/test_lattice.py +0 -1750
- tests/test_miscs.py +0 -304
- tests/test_mpscircuit.py +0 -341
- tests/test_noisemodel.py +0 -156
- tests/test_qaoa.py +0 -86
- tests/test_qem.py +0 -152
- tests/test_quantum.py +0 -549
- tests/test_quantum_attr.py +0 -42
- tests/test_results.py +0 -379
- tests/test_shadows.py +0 -160
- tests/test_simplify.py +0 -46
- tests/test_stabilizer.py +0 -226
- tests/test_templates.py +0 -218
- tests/test_timeevol.py +0 -641
- tests/test_torchnn.py +0 -99
- tests/test_van.py +0 -102
- {tensorcircuit_nightly-1.3.0.dev20250809.dist-info → tensorcircuit_nightly-1.3.0.dev20250810.dist-info}/WHEEL +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809.dist-info → tensorcircuit_nightly-1.3.0.dev20250810.dist-info}/licenses/LICENSE +0 -0
tensorcircuit/__init__.py
CHANGED
|
@@ -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.dev20250810
|
|
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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tensorcircuit/__init__.py,sha256=
|
|
1
|
+
tensorcircuit/__init__.py,sha256=Y9J_YTZFWmHsvmnjeoRqAwd2YgENb8YEjjI4Y35Ioe4,2055
|
|
2
2
|
tensorcircuit/about.py,sha256=DazTswU2nAwOmASTaDII3L04PVtaQ7oiWPty5YMI3Wk,5267
|
|
3
3
|
tensorcircuit/abstractcircuit.py,sha256=0osacPqq7B1EJki-cI1aLYoVRmjFaG9q3XevWMs7SsA,44125
|
|
4
4
|
tensorcircuit/asciiart.py,sha256=neY1OWFwtoW5cHPNwkQHgRPktDniQvdlP9QKHkk52fM,8236
|
|
@@ -86,39 +86,8 @@ tensorcircuit/templates/graphs.py,sha256=cPYrxjoem0xZ-Is9dZKAvEzWZL_FejfIRiCEOTA
|
|
|
86
86
|
tensorcircuit/templates/hamiltonians.py,sha256=Ag8djD6lckTeU7I99gCbXiQAb2VYqzm_p7-hpXo-5u4,5554
|
|
87
87
|
tensorcircuit/templates/lattice.py,sha256=P64OGUedE3o8vWekhM8XAs5nUe5CdG-gojLlTGA20TI,60534
|
|
88
88
|
tensorcircuit/templates/measurements.py,sha256=pzc5Aa9S416Ilg4aOY77Z6ZhUlYcXnAkQNQFTuHjFFs,10943
|
|
89
|
-
tensorcircuit_nightly-1.3.0.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
tests/test_channels.py,sha256=BL4CirU8ku9-_NrI6PZAS5xZ0wrL1UEC1S3wPI9dYQM,12628
|
|
95
|
-
tests/test_circuit.py,sha256=IsSIFEs7hUCSYexMb-ESt1ZUpztHtLA0qz0CZolGdc4,52240
|
|
96
|
-
tests/test_cloud.py,sha256=241ng6LnG_o_2PKR-BuUFfmrj3V1aeFiI-_bcWuPFyo,5606
|
|
97
|
-
tests/test_compiler.py,sha256=R1t0MDQR01uEbY2wxqzQEf-LkSehrfZWmLvPuguC2JI,3419
|
|
98
|
-
tests/test_dmcircuit.py,sha256=ZtTS-Jcpt-oN3yafYee9ZZCFW8-2I0MaLpyaDPve0PA,17234
|
|
99
|
-
tests/test_ensemble.py,sha256=0RzJkv-5D8LeZxS0Q0MwtEcgnXd2zefMquPHRNYT6RY,2109
|
|
100
|
-
tests/test_fgs.py,sha256=W-wPl1_2GquutfDJvD7yQvol-qkvVQnWe2tbAgGJz3w,10491
|
|
101
|
-
tests/test_gates.py,sha256=rAIV2QFpFsA5bT1QivTSkhdarvwu5t0N3IOz4SEDrzg,4593
|
|
102
|
-
tests/test_hamiltonians.py,sha256=E0E5ABhUeG7XLMLRkb3AIAPi7aJgnIeMWTgqzF1Q6yc,5724
|
|
103
|
-
tests/test_interfaces.py,sha256=iJPmes8S8HkA9_PGjsu4Ike-vCXYyS1EMgnNKKXDNaU,16938
|
|
104
|
-
tests/test_keras.py,sha256=U453jukavmx0RMeTSDEgPzrNdHNEfK1CW0CqO3XCNKo,4841
|
|
105
|
-
tests/test_lattice.py,sha256=DJoQ3Dr6uAHrdaKofEApc2LD8FgjYAH_a3Ux0cIkgO8,68917
|
|
106
|
-
tests/test_miscs.py,sha256=4fXKsW0kYu2JYO0iGlwWLAYlkFD1rfeVc4xG4Zjn5FQ,8935
|
|
107
|
-
tests/test_mpscircuit.py,sha256=mDXX8oQeFeHr_PdZvwqyDs_tVcVAqLmCERqlTAU7590,10552
|
|
108
|
-
tests/test_noisemodel.py,sha256=UYoMtCjwDaB-CCn5kLosofz-qTMiY4KGAFBjVtqqLPE,5637
|
|
109
|
-
tests/test_qaoa.py,sha256=hEcC_XVmKBGt9XgUGtbTO8eQQK4mjorgTIrfqZCeQls,2616
|
|
110
|
-
tests/test_qem.py,sha256=jUqsfaDNqrZdSB4Jur51R0OUP-3FHyNsXtPsIRCh6L4,4304
|
|
111
|
-
tests/test_quantum.py,sha256=p6ilnHVmi6Gkhynd7eLX-6xbO14fm9hVfPJjF69FUK4,19317
|
|
112
|
-
tests/test_quantum_attr.py,sha256=Zl6WbkbnTWVp6FL2rR21qBGsLoheoIEZXqWZKxfpDRs,1245
|
|
113
|
-
tests/test_results.py,sha256=8cQO0ShkBc4_pB-fi9s35WJbuZl5ex5y1oElSV-GlRo,11882
|
|
114
|
-
tests/test_shadows.py,sha256=1T3kJesVJ5XfZrSncL80xdq-taGCSnTDF3eL15UlavY,5160
|
|
115
|
-
tests/test_simplify.py,sha256=35tbOu1QANsPvY1buLwNhqPnMkBOsnBtHn82qaukmgI,1175
|
|
116
|
-
tests/test_stabilizer.py,sha256=MivuZ5pY7GOcEPTanhtrflXostyLBToHyjfPqCU0tG0,5450
|
|
117
|
-
tests/test_templates.py,sha256=Xm9otFFaaBWG9TZpgJ-nNh9MBfRipTzFWL8fBOnie2k,7192
|
|
118
|
-
tests/test_timeevol.py,sha256=zz17x21C-5f8ZvcgkXm30JzLgZMhsKaOCzyHCyS43h0,20333
|
|
119
|
-
tests/test_torchnn.py,sha256=CHLTfWkF7Ses5_XnGFN_uv_JddfgenFEFzaDtSH8XYU,2848
|
|
120
|
-
tests/test_van.py,sha256=kAWz860ivlb5zAJuYpzuBe27qccT-Yf0jatf5uXtTo4,3163
|
|
121
|
-
tensorcircuit_nightly-1.3.0.dev20250809.dist-info/METADATA,sha256=mynu7-YoElvSJ0EsO6GAde-zC7XWNUJz_9Ix-nWIq0Y,35190
|
|
122
|
-
tensorcircuit_nightly-1.3.0.dev20250809.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
123
|
-
tensorcircuit_nightly-1.3.0.dev20250809.dist-info/top_level.txt,sha256=O_Iqeh2x02lasEYMI9iyPNNNtMzcpg5qvwMOkZQ7n4A,20
|
|
124
|
-
tensorcircuit_nightly-1.3.0.dev20250809.dist-info/RECORD,,
|
|
89
|
+
tensorcircuit_nightly-1.3.0.dev20250810.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
90
|
+
tensorcircuit_nightly-1.3.0.dev20250810.dist-info/METADATA,sha256=o1aNdaF_X8a-Udq_oxNCHzWLCNuGIHulWCOKpEIu7KM,35190
|
|
91
|
+
tensorcircuit_nightly-1.3.0.dev20250810.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
92
|
+
tensorcircuit_nightly-1.3.0.dev20250810.dist-info/top_level.txt,sha256=9dcuK5488dWpVauYz8cdvx743z_La1h7zIQCsEEgu7o,14
|
|
93
|
+
tensorcircuit_nightly-1.3.0.dev20250810.dist-info/RECORD,,
|
tests/__init__.py
DELETED
|
File without changes
|
tests/conftest.py
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import sys
|
|
2
|
-
import os
|
|
3
|
-
import pytest
|
|
4
|
-
|
|
5
|
-
thisfile = os.path.abspath(__file__)
|
|
6
|
-
modulepath = os.path.dirname(os.path.dirname(thisfile))
|
|
7
|
-
|
|
8
|
-
sys.path.insert(0, modulepath)
|
|
9
|
-
import tensorcircuit as tc
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@pytest.fixture(scope="function")
|
|
13
|
-
def npb():
|
|
14
|
-
tc.set_backend("numpy")
|
|
15
|
-
yield
|
|
16
|
-
tc.set_backend("numpy") # default backend
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
@pytest.fixture(scope="function")
|
|
20
|
-
def tfb():
|
|
21
|
-
tc.set_backend("tensorflow")
|
|
22
|
-
yield
|
|
23
|
-
tc.set_backend("numpy") # default backend
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
@pytest.fixture(scope="function")
|
|
27
|
-
def jaxb():
|
|
28
|
-
try:
|
|
29
|
-
tc.set_backend("jax")
|
|
30
|
-
yield
|
|
31
|
-
tc.set_backend("numpy")
|
|
32
|
-
|
|
33
|
-
except ImportError as e:
|
|
34
|
-
print(e)
|
|
35
|
-
tc.set_backend("numpy")
|
|
36
|
-
pytest.skip("****** No jax backend found, skipping test suit *******")
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
@pytest.fixture(scope="function")
|
|
40
|
-
def torchb():
|
|
41
|
-
try:
|
|
42
|
-
tc.set_backend("pytorch")
|
|
43
|
-
yield
|
|
44
|
-
tc.set_backend("numpy")
|
|
45
|
-
except ImportError as e:
|
|
46
|
-
print(e)
|
|
47
|
-
tc.set_backend("numpy")
|
|
48
|
-
pytest.skip("****** No torch backend found, skipping test suit *******")
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
@pytest.fixture(scope="function")
|
|
52
|
-
def cpb():
|
|
53
|
-
try:
|
|
54
|
-
tc.set_backend("cupy")
|
|
55
|
-
yield
|
|
56
|
-
tc.set_backend("numpy")
|
|
57
|
-
except ImportError as e:
|
|
58
|
-
print(e)
|
|
59
|
-
tc.set_backend("numpy")
|
|
60
|
-
pytest.skip("****** No cupy backend found, skipping test suit *******")
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
@pytest.fixture(scope="function")
|
|
64
|
-
def highp():
|
|
65
|
-
tc.set_dtype("complex128")
|
|
66
|
-
yield
|
|
67
|
-
tc.set_dtype("complex64")
|