tensorcircuit-nightly 1.3.0.dev20250806__tar.gz → 1.3.0.dev20250809__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.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/CHANGELOG.md +2 -0
- tensorcircuit_nightly-1.3.0.dev20250809/MANIFEST.in +13 -0
- {tensorcircuit_nightly-1.3.0.dev20250806/tensorcircuit_nightly.egg-info → tensorcircuit_nightly-1.3.0.dev20250809}/PKG-INFO +15 -15
- tensorcircuit_nightly-1.3.0.dev20250809/pyproject.toml +75 -0
- tensorcircuit_nightly-1.3.0.dev20250809/setup.py +4 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/__init__.py +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/van.py +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/backends/abstract_backend.py +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/backends/numpy_backend.py +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/backends/pytorch_backend.py +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/backends/tensorflow_backend.py +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/cloud/local.py +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/cloud/quafu_provider.py +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/cloud/tencent.py +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/compiler/simple_compiler.py +2 -2
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/densitymatrix.py +1 -1
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/keras.py +3 -3
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/templates/blocks.py +2 -2
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809/tensorcircuit_nightly.egg-info}/PKG-INFO +15 -15
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit_nightly.egg-info/SOURCES.txt +1 -16
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit_nightly.egg-info/requires.txt +7 -1
- tensorcircuit_nightly-1.3.0.dev20250809/tensorcircuit_nightly.egg-info/top_level.txt +8 -0
- tensorcircuit_nightly-1.3.0.dev20250806/MANIFEST.in +0 -7
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/advance.rst +0 -876
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/cnconf.py +0 -208
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/conf.py +0 -212
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/contribution.rst +0 -272
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/faq.rst +0 -280
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/generate_rst.py +0 -117
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/index.rst +0 -229
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/infras.rst +0 -183
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/modules.rst +0 -33
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/quickstart.rst +0 -984
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/sharpbits.rst +0 -243
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/textbooktoc.rst +0 -11
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/tutorial.rst +0 -34
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/tutorial_cn.rst +0 -23
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/whitepapertoc.rst +0 -15
- tensorcircuit_nightly-1.3.0.dev20250806/docs/source/whitepapertoc_cn.rst +0 -15
- tensorcircuit_nightly-1.3.0.dev20250806/setup.py +0 -38
- tensorcircuit_nightly-1.3.0.dev20250806/tensorcircuit_nightly.egg-info/top_level.txt +0 -2
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/HISTORY.md +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/LICENSE +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/README.md +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/README_cn.md +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/setup.cfg +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/about.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/abstractcircuit.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/ai/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/ai/ensemble.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/dqas.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/finance/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/finance/portfolio.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/graphdata.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/layers.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/optimization.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/physics/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/physics/baseline.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/physics/fss.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/utils.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/vags.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/applications/vqes.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/asciiart.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/backends/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/backends/backend_factory.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/backends/cupy_backend.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/backends/jax_backend.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/backends/jax_ops.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/backends/pytorch_ops.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/backends/tf_ops.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/basecircuit.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/channels.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/circuit.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/cloud/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/cloud/abstraction.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/cloud/apis.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/cloud/config.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/cloud/utils.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/cloud/wrapper.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/compiler/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/compiler/composed_compiler.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/compiler/qiskit_compiler.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/cons.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/experimental.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/fgs.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/gates.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/interfaces/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/interfaces/jax.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/interfaces/numpy.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/interfaces/scipy.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/interfaces/tensorflow.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/interfaces/tensortrans.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/interfaces/torch.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/mps_base.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/mpscircuit.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/noisemodel.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/quantum.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/results/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/results/counts.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/results/qem/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/results/qem/benchmark_circuits.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/results/qem/qem_methods.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/results/readout_mitigation.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/shadows.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/simplify.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/stabilizercircuit.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/templates/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/templates/ansatz.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/templates/chems.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/templates/conversions.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/templates/dataset.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/templates/graphs.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/templates/hamiltonians.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/templates/lattice.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/templates/measurements.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/timeevol.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/torchnn.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/translation.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/utils.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit/vis.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tensorcircuit_nightly.egg-info/dependency_links.txt +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/__init__.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/conftest.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_backends.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_calibrating.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_channels.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_circuit.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_cloud.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_compiler.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_dmcircuit.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_ensemble.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_fgs.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_gates.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_hamiltonians.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_interfaces.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_keras.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_lattice.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_miscs.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_mpscircuit.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_noisemodel.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_qaoa.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_qem.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_quantum.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_quantum_attr.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_results.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_shadows.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_simplify.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_stabilizer.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_templates.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_timeevol.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_torchnn.py +0 -0
- {tensorcircuit_nightly-1.3.0.dev20250806 → tensorcircuit_nightly-1.3.0.dev20250809}/tests/test_van.py +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
include README.md
|
|
2
|
+
include README_cn.md
|
|
3
|
+
include HISTORY.md
|
|
4
|
+
include LICENSE
|
|
5
|
+
include CHANGELOG.md
|
|
6
|
+
include docs/source/*
|
|
7
|
+
include tests/*
|
|
8
|
+
prune examples
|
|
9
|
+
prune develop
|
|
10
|
+
prune benchmarks
|
|
11
|
+
prune docs
|
|
12
|
+
global-exclude __pycache__
|
|
13
|
+
global-exclude .DS_Store
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tensorcircuit-nightly
|
|
3
|
-
Version: 1.3.0.
|
|
4
|
-
Summary:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
Version: 1.3.0.dev20250809
|
|
4
|
+
Summary: High performance unified quantum computing framework for the NISQ era
|
|
5
|
+
Author-email: TensorCircuit Authors <znfesnpbh@gmail.com>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/tensorcircuit/tensorcircuit-ng
|
|
8
|
+
Project-URL: Repository, https://github.com/tensorcircuit/tensorcircuit-ng
|
|
8
9
|
Classifier: Programming Language :: Python :: 3
|
|
9
10
|
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Intended Audience :: Science/Research
|
|
12
|
+
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
13
|
+
Requires-Python: >=3.9
|
|
10
14
|
Description-Content-Type: text/markdown
|
|
11
15
|
License-File: LICENSE
|
|
12
16
|
Requires-Dist: numpy
|
|
13
17
|
Requires-Dist: scipy
|
|
14
|
-
Requires-Dist: tensornetwork
|
|
18
|
+
Requires-Dist: tensornetwork-ng
|
|
15
19
|
Requires-Dist: networkx
|
|
16
20
|
Provides-Extra: tensorflow
|
|
17
21
|
Requires-Dist: tensorflow; extra == "tensorflow"
|
|
@@ -22,16 +26,12 @@ Provides-Extra: torch
|
|
|
22
26
|
Requires-Dist: torch; extra == "torch"
|
|
23
27
|
Provides-Extra: qiskit
|
|
24
28
|
Requires-Dist: qiskit; extra == "qiskit"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
Dynamic: home-page
|
|
29
|
+
Requires-Dist: sympy; extra == "qiskit"
|
|
30
|
+
Requires-Dist: symengine; extra == "qiskit"
|
|
31
|
+
Provides-Extra: cloud
|
|
32
|
+
Requires-Dist: qiskit; extra == "cloud"
|
|
33
|
+
Requires-Dist: mthree<2.8; extra == "cloud"
|
|
31
34
|
Dynamic: license-file
|
|
32
|
-
Dynamic: provides-extra
|
|
33
|
-
Dynamic: requires-dist
|
|
34
|
-
Dynamic: summary
|
|
35
35
|
|
|
36
36
|
<p align="center">
|
|
37
37
|
<a href="https://github.com/tensorcircuit/tensorcircuit-ng">
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "tensorcircuit-nightly"
|
|
7
|
+
description = "High performance unified quantum computing framework for the NISQ era"
|
|
8
|
+
readme = "README.md"
|
|
9
|
+
license = "Apache-2.0"
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Programming Language :: Python :: 3",
|
|
13
|
+
"Operating System :: OS Independent",
|
|
14
|
+
"Intended Audience :: Science/Research",
|
|
15
|
+
"Topic :: Scientific/Engineering :: Physics",
|
|
16
|
+
]
|
|
17
|
+
authors = [
|
|
18
|
+
{ name = "TensorCircuit Authors", email = "znfesnpbh@gmail.com" },
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
dynamic = ["version"]
|
|
22
|
+
|
|
23
|
+
dependencies = [
|
|
24
|
+
"numpy",
|
|
25
|
+
"scipy",
|
|
26
|
+
"tensornetwork-ng",
|
|
27
|
+
"networkx",
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
[project.urls]
|
|
31
|
+
Homepage = "https://github.com/tensorcircuit/tensorcircuit-ng"
|
|
32
|
+
Repository = "https://github.com/tensorcircuit/tensorcircuit-ng"
|
|
33
|
+
|
|
34
|
+
[project.optional-dependencies]
|
|
35
|
+
tensorflow = ["tensorflow"]
|
|
36
|
+
jax = ["jax", "jaxlib"]
|
|
37
|
+
torch = ["torch"]
|
|
38
|
+
qiskit = ["qiskit", "sympy", "symengine"]
|
|
39
|
+
cloud = ["qiskit", "mthree<2.8"]
|
|
40
|
+
|
|
41
|
+
[tool.setuptools]
|
|
42
|
+
include-package-data = true
|
|
43
|
+
|
|
44
|
+
[tool.setuptools.packages.find]
|
|
45
|
+
where = ["."]
|
|
46
|
+
|
|
47
|
+
[tool.setuptools.dynamic]
|
|
48
|
+
version = { attr = "tensorcircuit.__version__" }
|
|
49
|
+
|
|
50
|
+
[tool.pytest.ini_options]
|
|
51
|
+
filterwarnings = [
|
|
52
|
+
"ignore::DeprecationWarning",
|
|
53
|
+
"ignore:Explicitly requested dtype*:UserWarning",
|
|
54
|
+
]
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
[tool.mypy]
|
|
58
|
+
python_version = "3.10"
|
|
59
|
+
ignore_missing_imports = true
|
|
60
|
+
strict = true
|
|
61
|
+
warn_unused_ignores = false
|
|
62
|
+
disallow_untyped_calls = false
|
|
63
|
+
local_partial_types = false
|
|
64
|
+
implicit_reexport = true
|
|
65
|
+
|
|
66
|
+
[[tool.mypy.overrides]]
|
|
67
|
+
# mypy simply cannot ignore files with wildcard patterns...
|
|
68
|
+
# only module level * works...
|
|
69
|
+
module = "tensorcircuit.backends.pytorch_ops"
|
|
70
|
+
ignore_errors = true
|
|
71
|
+
|
|
72
|
+
[[tool.mypy.overrides]]
|
|
73
|
+
module = "cirq.*"
|
|
74
|
+
ignore_errors = true
|
|
75
|
+
|
|
@@ -352,7 +352,7 @@ class NMF(Model): # type: ignore
|
|
|
352
352
|
spin_channel: int,
|
|
353
353
|
*dimensions: int,
|
|
354
354
|
_dtype: tf.DType = tf.float32,
|
|
355
|
-
probamp: Optional[tf.Tensor] = None
|
|
355
|
+
probamp: Optional[tf.Tensor] = None,
|
|
356
356
|
):
|
|
357
357
|
super().__init__()
|
|
358
358
|
self.w = self.add_weight(
|
|
@@ -1745,7 +1745,7 @@ class ExtendedBackend:
|
|
|
1745
1745
|
f: Callable[..., Any],
|
|
1746
1746
|
static_argnums: Optional[Union[int, Sequence[int]]] = None,
|
|
1747
1747
|
jit_compile: Optional[bool] = None,
|
|
1748
|
-
**kws: Any
|
|
1748
|
+
**kws: Any,
|
|
1749
1749
|
) -> Callable[..., Any]:
|
|
1750
1750
|
"""
|
|
1751
1751
|
Return the jitted version of function ``f``.
|
|
@@ -397,7 +397,7 @@ class NumpyBackend(numpy_backend.NumPyBackend, ExtendedBackend): # type: ignore
|
|
|
397
397
|
f: Callable[..., Any],
|
|
398
398
|
static_argnums: Optional[Union[int, Sequence[int]]] = None,
|
|
399
399
|
jit_compile: Optional[bool] = None,
|
|
400
|
-
**kws: Any
|
|
400
|
+
**kws: Any,
|
|
401
401
|
) -> Callable[..., Any]:
|
|
402
402
|
logger.info("numpy backend has no jit interface, just do nothing")
|
|
403
403
|
return f
|
|
@@ -661,7 +661,7 @@ class PyTorchBackend(pytorch_backend.PyTorchBackend, ExtendedBackend): # type:
|
|
|
661
661
|
f: Callable[..., Any],
|
|
662
662
|
static_argnums: Optional[Union[int, Sequence[int]]] = None,
|
|
663
663
|
jit_compile: Optional[bool] = None,
|
|
664
|
-
**kws: Any
|
|
664
|
+
**kws: Any,
|
|
665
665
|
) -> Any:
|
|
666
666
|
if jit_compile is True:
|
|
667
667
|
# experimental feature reusing the jit_compile flag for tf
|
|
@@ -908,7 +908,7 @@ class TensorFlowBackend(tensorflow_backend.TensorFlowBackend, ExtendedBackend):
|
|
|
908
908
|
f: Callable[..., Any],
|
|
909
909
|
static_argnums: Optional[Union[int, Sequence[int]]] = None,
|
|
910
910
|
jit_compile: Optional[bool] = None,
|
|
911
|
-
**kws: Any
|
|
911
|
+
**kws: Any,
|
|
912
912
|
) -> Any:
|
|
913
913
|
# static_argnums not supported in tf case, this is only for a consistent interface
|
|
914
914
|
# for more on static_argnums in tf.function, see issue: https://github.com/tensorflow/tensorflow/issues/52193
|
|
@@ -36,7 +36,7 @@ def submit_task(
|
|
|
36
36
|
shots: Union[int, Sequence[int]] = 1024,
|
|
37
37
|
version: str = "1",
|
|
38
38
|
circuit: Optional[Union[AbstractCircuit, Sequence[AbstractCircuit]]] = None,
|
|
39
|
-
**kws: Any
|
|
39
|
+
**kws: Any,
|
|
40
40
|
) -> List[Task]:
|
|
41
41
|
def _circuit2result(c: AbstractCircuit) -> Dict[str, Any]:
|
|
42
42
|
if device.name in ["testing", "default"]:
|
|
@@ -133,7 +133,7 @@ def submit_task(
|
|
|
133
133
|
enable_qos_gate_decomposition: bool = True,
|
|
134
134
|
enable_qos_initial_mapping: bool = False,
|
|
135
135
|
qos_dry_run: bool = False,
|
|
136
|
-
**kws: Any
|
|
136
|
+
**kws: Any,
|
|
137
137
|
) -> List[Task]:
|
|
138
138
|
"""
|
|
139
139
|
Submit task via tencent provider, we suggest to enable one of the compiling functionality:
|
|
@@ -109,7 +109,7 @@ def prune(
|
|
|
109
109
|
circuit: Union[AbstractCircuit, List[Dict[str, Any]]],
|
|
110
110
|
rtol: float = 1e-3,
|
|
111
111
|
atol: float = 1e-3,
|
|
112
|
-
**kws: Any
|
|
112
|
+
**kws: Any,
|
|
113
113
|
) -> Any:
|
|
114
114
|
if isinstance(circuit, list):
|
|
115
115
|
qir = circuit
|
|
@@ -251,7 +251,7 @@ def _merge(
|
|
|
251
251
|
def merge(
|
|
252
252
|
circuit: Union[AbstractCircuit, List[Dict[str, Any]]],
|
|
253
253
|
rules: Optional[Dict[Tuple[str, ...], str]] = None,
|
|
254
|
-
**kws: Any
|
|
254
|
+
**kws: Any,
|
|
255
255
|
) -> Any:
|
|
256
256
|
merge_rules = copy(default_merge_rules)
|
|
257
257
|
if rules is not None:
|
|
@@ -24,7 +24,7 @@ class QuantumLayer(Layer): # type: ignore
|
|
|
24
24
|
initializer: Union[Text, Sequence[Text]] = "glorot_uniform",
|
|
25
25
|
constraint: Optional[Union[Text, Sequence[Text]]] = None,
|
|
26
26
|
regularizer: Optional[Union[Text, Sequence[Text]]] = None,
|
|
27
|
-
**kwargs: Any
|
|
27
|
+
**kwargs: Any,
|
|
28
28
|
) -> None:
|
|
29
29
|
"""
|
|
30
30
|
`QuantumLayer` wraps the quantum function `f` as a `keras.Layer`
|
|
@@ -103,7 +103,7 @@ class QuantumLayer(Layer): # type: ignore
|
|
|
103
103
|
inputs: tf.Tensor,
|
|
104
104
|
training: Optional[bool] = None,
|
|
105
105
|
mask: Optional[tf.Tensor] = None,
|
|
106
|
-
**kwargs: Any
|
|
106
|
+
**kwargs: Any,
|
|
107
107
|
) -> tf.Tensor:
|
|
108
108
|
# input_shape = list(inputs.shape)
|
|
109
109
|
# inputs = tf.reshape(inputs, (-1, input_shape[-1]))
|
|
@@ -154,7 +154,7 @@ class HardwareLayer(QuantumLayer):
|
|
|
154
154
|
inputs: tf.Tensor,
|
|
155
155
|
training: Optional[bool] = None,
|
|
156
156
|
mask: Optional[tf.Tensor] = None,
|
|
157
|
-
**kwargs: Any
|
|
157
|
+
**kwargs: Any,
|
|
158
158
|
) -> tf.Tensor:
|
|
159
159
|
if inputs is None: # not possible
|
|
160
160
|
result = self.f(*self.pqc_weights, **kwargs)
|
|
@@ -91,7 +91,7 @@ def QAOA_block(
|
|
|
91
91
|
e2,
|
|
92
92
|
unitary=G._zz_matrix,
|
|
93
93
|
theta=paramzz * g[e1][e2].get("weight", 1.0),
|
|
94
|
-
**kws
|
|
94
|
+
**kws,
|
|
95
95
|
)
|
|
96
96
|
else:
|
|
97
97
|
i = 0
|
|
@@ -157,7 +157,7 @@ def qft(
|
|
|
157
157
|
*index: int,
|
|
158
158
|
do_swaps: bool = True,
|
|
159
159
|
inverse: bool = False,
|
|
160
|
-
insert_barriers: bool = False
|
|
160
|
+
insert_barriers: bool = False,
|
|
161
161
|
) -> Circuit:
|
|
162
162
|
"""
|
|
163
163
|
This function applies quantum fourier transformation (QFT) to the selected circuit lines
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tensorcircuit-nightly
|
|
3
|
-
Version: 1.3.0.
|
|
4
|
-
Summary:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
Version: 1.3.0.dev20250809
|
|
4
|
+
Summary: High performance unified quantum computing framework for the NISQ era
|
|
5
|
+
Author-email: TensorCircuit Authors <znfesnpbh@gmail.com>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/tensorcircuit/tensorcircuit-ng
|
|
8
|
+
Project-URL: Repository, https://github.com/tensorcircuit/tensorcircuit-ng
|
|
8
9
|
Classifier: Programming Language :: Python :: 3
|
|
9
10
|
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Intended Audience :: Science/Research
|
|
12
|
+
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
13
|
+
Requires-Python: >=3.9
|
|
10
14
|
Description-Content-Type: text/markdown
|
|
11
15
|
License-File: LICENSE
|
|
12
16
|
Requires-Dist: numpy
|
|
13
17
|
Requires-Dist: scipy
|
|
14
|
-
Requires-Dist: tensornetwork
|
|
18
|
+
Requires-Dist: tensornetwork-ng
|
|
15
19
|
Requires-Dist: networkx
|
|
16
20
|
Provides-Extra: tensorflow
|
|
17
21
|
Requires-Dist: tensorflow; extra == "tensorflow"
|
|
@@ -22,16 +26,12 @@ Provides-Extra: torch
|
|
|
22
26
|
Requires-Dist: torch; extra == "torch"
|
|
23
27
|
Provides-Extra: qiskit
|
|
24
28
|
Requires-Dist: qiskit; extra == "qiskit"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
Dynamic: home-page
|
|
29
|
+
Requires-Dist: sympy; extra == "qiskit"
|
|
30
|
+
Requires-Dist: symengine; extra == "qiskit"
|
|
31
|
+
Provides-Extra: cloud
|
|
32
|
+
Requires-Dist: qiskit; extra == "cloud"
|
|
33
|
+
Requires-Dist: mthree<2.8; extra == "cloud"
|
|
31
34
|
Dynamic: license-file
|
|
32
|
-
Dynamic: provides-extra
|
|
33
|
-
Dynamic: requires-dist
|
|
34
|
-
Dynamic: summary
|
|
35
35
|
|
|
36
36
|
<p align="center">
|
|
37
37
|
<a href="https://github.com/tensorcircuit/tensorcircuit-ng">
|
|
@@ -4,23 +4,8 @@ LICENSE
|
|
|
4
4
|
MANIFEST.in
|
|
5
5
|
README.md
|
|
6
6
|
README_cn.md
|
|
7
|
+
pyproject.toml
|
|
7
8
|
setup.py
|
|
8
|
-
docs/source/advance.rst
|
|
9
|
-
docs/source/cnconf.py
|
|
10
|
-
docs/source/conf.py
|
|
11
|
-
docs/source/contribution.rst
|
|
12
|
-
docs/source/faq.rst
|
|
13
|
-
docs/source/generate_rst.py
|
|
14
|
-
docs/source/index.rst
|
|
15
|
-
docs/source/infras.rst
|
|
16
|
-
docs/source/modules.rst
|
|
17
|
-
docs/source/quickstart.rst
|
|
18
|
-
docs/source/sharpbits.rst
|
|
19
|
-
docs/source/textbooktoc.rst
|
|
20
|
-
docs/source/tutorial.rst
|
|
21
|
-
docs/source/tutorial_cn.rst
|
|
22
|
-
docs/source/whitepapertoc.rst
|
|
23
|
-
docs/source/whitepapertoc_cn.rst
|
|
24
9
|
tensorcircuit/__init__.py
|
|
25
10
|
tensorcircuit/about.py
|
|
26
11
|
tensorcircuit/abstractcircuit.py
|