tensorcircuit-nightly 1.3.0.dev20250809__tar.gz → 1.3.0.dev20250810__tar.gz
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_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/MANIFEST.in +2 -2
- {tensorcircuit_nightly-1.3.0.dev20250809/tensorcircuit_nightly.egg-info → tensorcircuit_nightly-1.3.0.dev20250810}/PKG-INFO +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/__init__.py +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810/tensorcircuit_nightly.egg-info}/PKG-INFO +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit_nightly.egg-info/SOURCES.txt +1 -32
- tensorcircuit_nightly-1.3.0.dev20250809/tests/__init__.py +0 -0
- tensorcircuit_nightly-1.3.0.dev20250809/tests/conftest.py +0 -67
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_backends.py +0 -1156
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_calibrating.py +0 -149
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_channels.py +0 -409
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_circuit.py +0 -1713
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_cloud.py +0 -219
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_compiler.py +0 -147
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_dmcircuit.py +0 -555
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_ensemble.py +0 -72
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_fgs.py +0 -318
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_gates.py +0 -156
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_hamiltonians.py +0 -159
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_interfaces.py +0 -557
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_keras.py +0 -160
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_lattice.py +0 -1750
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_miscs.py +0 -304
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_mpscircuit.py +0 -341
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_noisemodel.py +0 -156
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_qaoa.py +0 -86
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_qem.py +0 -152
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_quantum.py +0 -549
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_quantum_attr.py +0 -42
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_results.py +0 -379
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_shadows.py +0 -160
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_simplify.py +0 -46
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_stabilizer.py +0 -226
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_templates.py +0 -218
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_timeevol.py +0 -641
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_torchnn.py +0 -99
- tensorcircuit_nightly-1.3.0.dev20250809/tests/test_van.py +0 -102
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/CHANGELOG.md +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/HISTORY.md +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/LICENSE +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/README.md +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/README_cn.md +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/pyproject.toml +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/setup.cfg +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/setup.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/about.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/abstractcircuit.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/ai/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/ai/ensemble.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/dqas.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/finance/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/finance/portfolio.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/graphdata.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/layers.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/optimization.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/physics/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/physics/baseline.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/physics/fss.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/utils.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/vags.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/van.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/applications/vqes.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/asciiart.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/backends/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/backends/abstract_backend.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/backends/backend_factory.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/backends/cupy_backend.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/backends/jax_backend.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/backends/jax_ops.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/backends/numpy_backend.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/backends/pytorch_backend.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/backends/pytorch_ops.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/backends/tensorflow_backend.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/backends/tf_ops.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/basecircuit.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/channels.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/circuit.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/cloud/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/cloud/abstraction.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/cloud/apis.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/cloud/config.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/cloud/local.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/cloud/quafu_provider.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/cloud/tencent.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/cloud/utils.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/cloud/wrapper.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/compiler/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/compiler/composed_compiler.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/compiler/qiskit_compiler.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/compiler/simple_compiler.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/cons.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/densitymatrix.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/experimental.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/fgs.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/gates.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/interfaces/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/interfaces/jax.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/interfaces/numpy.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/interfaces/scipy.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/interfaces/tensorflow.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/interfaces/tensortrans.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/interfaces/torch.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/keras.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/mps_base.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/mpscircuit.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/noisemodel.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/quantum.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/results/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/results/counts.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/results/qem/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/results/qem/benchmark_circuits.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/results/qem/qem_methods.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/results/readout_mitigation.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/shadows.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/simplify.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/stabilizercircuit.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/templates/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/templates/ansatz.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/templates/blocks.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/templates/chems.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/templates/conversions.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/templates/dataset.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/templates/graphs.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/templates/hamiltonians.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/templates/lattice.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/templates/measurements.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/timeevol.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/torchnn.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/translation.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/utils.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit/vis.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit_nightly.egg-info/dependency_links.txt +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit_nightly.egg-info/requires.txt +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250809 → tensorcircuit_nightly-1.3.0.dev20250810}/tensorcircuit_nightly.egg-info/top_level.txt +0 -0
|
@@ -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,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
|
|
@@ -98,35 +98,4 @@ tensorcircuit_nightly.egg-info/PKG-INFO
|
|
|
98
98
|
tensorcircuit_nightly.egg-info/SOURCES.txt
|
|
99
99
|
tensorcircuit_nightly.egg-info/dependency_links.txt
|
|
100
100
|
tensorcircuit_nightly.egg-info/requires.txt
|
|
101
|
-
tensorcircuit_nightly.egg-info/top_level.txt
|
|
102
|
-
tests/__init__.py
|
|
103
|
-
tests/conftest.py
|
|
104
|
-
tests/test_backends.py
|
|
105
|
-
tests/test_calibrating.py
|
|
106
|
-
tests/test_channels.py
|
|
107
|
-
tests/test_circuit.py
|
|
108
|
-
tests/test_cloud.py
|
|
109
|
-
tests/test_compiler.py
|
|
110
|
-
tests/test_dmcircuit.py
|
|
111
|
-
tests/test_ensemble.py
|
|
112
|
-
tests/test_fgs.py
|
|
113
|
-
tests/test_gates.py
|
|
114
|
-
tests/test_hamiltonians.py
|
|
115
|
-
tests/test_interfaces.py
|
|
116
|
-
tests/test_keras.py
|
|
117
|
-
tests/test_lattice.py
|
|
118
|
-
tests/test_miscs.py
|
|
119
|
-
tests/test_mpscircuit.py
|
|
120
|
-
tests/test_noisemodel.py
|
|
121
|
-
tests/test_qaoa.py
|
|
122
|
-
tests/test_qem.py
|
|
123
|
-
tests/test_quantum.py
|
|
124
|
-
tests/test_quantum_attr.py
|
|
125
|
-
tests/test_results.py
|
|
126
|
-
tests/test_shadows.py
|
|
127
|
-
tests/test_simplify.py
|
|
128
|
-
tests/test_stabilizer.py
|
|
129
|
-
tests/test_templates.py
|
|
130
|
-
tests/test_timeevol.py
|
|
131
|
-
tests/test_torchnn.py
|
|
132
|
-
tests/test_van.py
|
|
101
|
+
tensorcircuit_nightly.egg-info/top_level.txt
|
|
File without changes
|
|
@@ -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")
|