squlearn 0.9.0__tar.gz → 0.10.0__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.
- {squlearn-0.9.0 → squlearn-0.10.0}/.github/workflows/doc_checks.yml +8 -3
- squlearn-0.10.0/.github/workflows/elaborate_tests.yaml +202 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/.github/workflows/format.yml +10 -6
- {squlearn-0.9.0 → squlearn-0.10.0}/.github/workflows/publish.yml +2 -2
- {squlearn-0.9.0 → squlearn-0.10.0}/.github/workflows/publish_docs.yml +2 -2
- squlearn-0.10.0/.github/workflows/quick_tests.yaml +50 -0
- squlearn-0.10.0/.github/workflows/stale.yml +20 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/PKG-INFO +4 -4
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/conf.py +1 -0
- squlearn-0.9.0/docs/examples/example_qnn_ode_solver.nblink → squlearn-0.10.0/docs/examples/example_ode_solver.nblink +1 -1
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/examples/examples_index.rst +1 -1
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/modules/classes.rst +18 -4
- squlearn-0.10.0/examples/encoding_circuits/various_encoding_circuit.ipynb +282 -0
- squlearn-0.10.0/examples/kernel/example_qkode.ipynb +1450 -0
- squlearn-0.10.0/examples/qnn/ode_example.ipynb +353 -0
- squlearn-0.10.0/examples/tutorials/images/QK_ode_circ_workflow.png +0 -0
- squlearn-0.9.0/examples/tutorials/qnn_ode_solver.ipynb → squlearn-0.10.0/examples/tutorials/ode_solver.ipynb +639 -54
- {squlearn-0.9.0 → squlearn-0.10.0}/pyproject.toml +4 -4
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/__init__.py +1 -1
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/circuit_library/qiskit_encoding_circuit.py +9 -4
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/encoding_circuit_base.py +1 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/__init__.py +2 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/loss/__init__.py +2 -1
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/loss/kernel_loss_base.py +2 -4
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/loss/negative_log_likelihood.py +9 -2
- squlearn-0.10.0/src/squlearn/kernel/loss/ode_loss.py +277 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/loss/target_alignment.py +11 -2
- squlearn-0.10.0/src/squlearn/kernel/qkode.py +209 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/optimizers/adam.py +24 -2
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/optimizers/optimizers_wrapper.py +2 -2
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/__init__.py +2 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/base_qnn.py +29 -30
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/loss/__init__.py +2 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/loss/cross_entropy_loss.py +2 -2
- squlearn-0.10.0/src/squlearn/qnn/loss/mean_squared_error.py +139 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/loss/ode_loss.py +137 -219
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/loss/squared_loss.py +3 -12
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/util/training.py +25 -32
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/execution/parallel_sampler.py +5 -1
- squlearn-0.10.0/tests/kernel/loss/test_ode_loss.py +110 -0
- squlearn-0.10.0/tests/kernel/ml/test_qkode.py +106 -0
- squlearn-0.10.0/tests/qnn/loss/test_mean_squared_error.py +146 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/qnn/test_loss.py +43 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/qnn/test_qnnr.py +3 -3
- squlearn-0.9.0/.github/workflows/tests.yaml +0 -128
- squlearn-0.9.0/examples/encoding_circuits/various_encoding_circuit.ipynb +0 -282
- squlearn-0.9.0/examples/qnn/ode_example.ipynb +0 -361
- {squlearn-0.9.0 → squlearn-0.10.0}/.github/CODE_OF_CONDUCT.md +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/.github/CONTRIBUTING.md +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/.gitignore +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/CITATION.cff +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/LICENSE.txt +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/README.md +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/Makefile +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/README.md +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/_static/css/custom.css +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/_static/favicon.png +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/_static/logo.png +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/_static/qkm/QKM_scheme_pic.jpg +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/_static/qnn/qnn.svg +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/_static/qrc/QRC_user_guide.png +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/_static/qrc/qrc_classification_transparent.png +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/_static/qrc/qrc_regression_transparent.png +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/_static/schematic.png +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/_static/util/executor.png +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/_templates/class.rst +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/_templates/class_with_call.rst +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/_templates/function.rst +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/examples/example_kernel_digit_classification.nblink +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/examples/example_kernel_grid_search.nblink +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/examples/example_qnn_backend_mitigation.nblink +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/examples/example_quantum_bayesian_optimization.nblink +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/index.rst +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/install/install.rst +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/make.bat +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/qiskit_settings.conf +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/spelling_wordlist.txt +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/user_guide/encoding_circuits.rst +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/user_guide/executor.rst +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/user_guide/kernel_methods.rst +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/user_guide/observables.rst +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/user_guide/quantum_neural_networks.rst +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/user_guide/quantum_reservoir_computing.rst +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/docs/user_guide/user_guide_index.rst +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/encoding_circuits/layered_encoding_circuit.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/encoding_circuits/pruning_example.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/executor/example_executor_qiskit.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/integration/mlflow.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/kernel/example_fidelity_kernel.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/kernel/example_projected_kernel.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/kernel/example_regularization_mitigation.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/kernel/qgpc_workflow.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/kernel/qgpr_optimization_workflow.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/kernel/qgpr_workflow.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/qnn/classification_example.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/qnn/example_adam.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/qnn/example_minibatch.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/qnn/example_qcnn_encoding_circuit.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/qnn/multiclass_classification.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/qnn/regression_example.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/qnn/regression_with_variance.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/qrc/qrc_classification.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/qrc/qrc_regression.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/tutorials/images/QNN_ode_workflow.png +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/tutorials/images/encoding_circuit.png +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/tutorials/images/pipeline.png +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/tutorials/images/projected_quantum_kernel.png +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/tutorials/images/quantum_bo.png +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/tutorials/kernel_digit_classification.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/tutorials/kernel_grid_search.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/tutorials/kernel_regression.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/tutorials/qnn_backend_mitigation.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/examples/tutorials/quantum_bayesian_optimization.ipynb +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/install_lowest_dependencies.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/output.png +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/circuit_library/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/circuit_library/chebyshev_pqc.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/circuit_library/chebyshev_rx.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/circuit_library/chebyshev_tower.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/circuit_library/highdim_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/circuit_library/hubregtsen_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/circuit_library/kyriienko_nonlinear_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/circuit_library/multi_control_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/circuit_library/param_z_feature_map.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/circuit_library/qcnn_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/circuit_library/random_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/circuit_library/random_layered_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/circuit_library/yz_cx_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/encoding_circuit_derivatives.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/layered_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/pruned_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/encoding_circuit/transpiled_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/lowlevel_kernel/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/lowlevel_kernel/fidelity_kernel.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/lowlevel_kernel/fidelity_kernel_expectation_value.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/lowlevel_kernel/fidelity_kernel_statevector.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/lowlevel_kernel/kernel_matrix_base.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/lowlevel_kernel/kernel_optimizer.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/lowlevel_kernel/kernel_util.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/lowlevel_kernel/projected_quantum_kernel.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/lowlevel_kernel/regularization.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/qgpc.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/qgpr.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/qkrr.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/qsvc.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/kernel/qsvr.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/observables/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/observables/observable_base.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/observables/observable_derivatives.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/observables/observable_implemented/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/observables/observable_implemented/custom_observable.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/observables/observable_implemented/ising_hamiltonian.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/observables/observable_implemented/single_pauli.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/observables/observable_implemented/single_probability.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/observables/observable_implemented/summed_paulis.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/observables/observable_implemented/summed_probabilities.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/optimizers/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/optimizers/approximated_gradients.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/optimizers/optimizer_base.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/optimizers/sglbo.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/loss/parameter_regularization_loss.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/loss/qnn_loss_base.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/loss/variance_loss.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/lowlevel_qnn/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/lowlevel_qnn/evaluation_classes.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/lowlevel_qnn/lowlevel_qnn.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/lowlevel_qnn/lowlevel_qnn_base.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/lowlevel_qnn/lowlevel_qnn_pennylane.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/lowlevel_qnn/lowlevel_qnn_qiskit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/lowlevel_qnn/lowlevel_qnn_qulacs.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/qnnc.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/qnnr.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/util/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qnn/util/barren_plateau_analysis.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qrc/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qrc/base_qrc.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qrc/qrc_classifier.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/qrc/qrc_regressor.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/data_preprocessing.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/decompose_to_std.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/execution/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/execution/automatic_backend_selection.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/execution/hqaa/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/execution/hqaa/heuristic.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/execution/hqaa/parser.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/execution/parallel_estimator.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/executor.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/optree/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/optree/optree.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/optree/optree_derivative.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/optree/optree_evaluate.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/pennylane/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/pennylane/pennylane_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/pennylane/pennylane_gates.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/qfi.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/qulacs/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/qulacs/qulacs_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/qulacs/qulacs_execution.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/qulacs/qulacs_gates.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/serialization/__init__.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/serialization/model_pickler.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/src/squlearn/util/serialization/serializable_model_mixin.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/encoding_circuit/circuit_library/test_chebyshev_pqc.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/encoding_circuit/circuit_library/test_chebyshev_rx.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/encoding_circuit/circuit_library/test_chebyshev_tower.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/encoding_circuit/circuit_library/test_high_dim_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/encoding_circuit/circuit_library/test_hubregtsen_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/encoding_circuit/circuit_library/test_kyriienko_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/encoding_circuit/circuit_library/test_multi_control_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/encoding_circuit/circuit_library/test_param_z_feature_map.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/encoding_circuit/circuit_library/test_random_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/encoding_circuit/circuit_library/test_random_layered_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/encoding_circuit/circuit_library/test_yz_cx_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/encoding_circuit/test_encoding_circuit_base.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/encoding_circuit/test_layered_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/encoding_circuit/test_pruned_encoding_circuit.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/kernel/matrix/test_fidelity_quantum_kernel.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/kernel/matrix/test_kernel_optimizer.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/kernel/matrix/test_projected_quantum_kernel.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/kernel/ml/test_qgpc.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/kernel/ml/test_qgpr.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/kernel/ml/test_qkrr.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/kernel/ml/test_qsvc.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/kernel/ml/test_qsvr.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/optimizers/test_sglbo.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/qnn/lowlevel_qnn/test_lowlevel_qnn.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/qnn/test_base_qnn.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/qnn/test_qnnc.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/qnn/test_training.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/qrc/test_base_qrc.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/qrc/test_qrc_classifier.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/qrc/test_qrc_regressor.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/util/execution/test_automatic_backend_selection.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/util/execution/test_parallel_primitives.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/util/optree/test_optree_derivative.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/util/optree/test_optree_evaluate.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/util/serialization/test_model_pickler.py +0 -0
- {squlearn-0.9.0 → squlearn-0.10.0}/tests/util/test_executor.py +0 -0
|
@@ -2,6 +2,13 @@ name: Documentation check
|
|
|
2
2
|
on:
|
|
3
3
|
- pull_request
|
|
4
4
|
|
|
5
|
+
permissions:
|
|
6
|
+
contents: read
|
|
7
|
+
|
|
8
|
+
concurrency:
|
|
9
|
+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
10
|
+
cancel-in-progress: true
|
|
11
|
+
|
|
5
12
|
jobs:
|
|
6
13
|
doc_checks:
|
|
7
14
|
runs-on: ubuntu-latest
|
|
@@ -9,10 +16,8 @@ jobs:
|
|
|
9
16
|
QISKIT_SETTINGS: ${{github.workspace}}/docs/qiskit_settings.conf
|
|
10
17
|
|
|
11
18
|
steps:
|
|
12
|
-
- name: Cancel Workflow Action
|
|
13
|
-
uses: styfle/cancel-workflow-action@0.11.0
|
|
14
19
|
|
|
15
|
-
- uses: actions/checkout@
|
|
20
|
+
- uses: actions/checkout@v5
|
|
16
21
|
|
|
17
22
|
- uses: sQUlearn/sphinx-action@master
|
|
18
23
|
with:
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
name: Elaborate Tests
|
|
2
|
+
on:
|
|
3
|
+
pull_request:
|
|
4
|
+
types: [review_requested]
|
|
5
|
+
schedule:
|
|
6
|
+
- cron: '23 1 * * *'
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
concurrency:
|
|
12
|
+
group: ${{ github.workflow }}-${
|
|
13
|
+
(github.event_name == 'pull_request' && github.event.pull_request.number || github.ref_name)
|
|
14
|
+
}
|
|
15
|
+
cancel-in-progress: true
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
pytest_minimal_requirements:
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v5
|
|
23
|
+
- name: Set up Python
|
|
24
|
+
uses: actions/setup-python@v6
|
|
25
|
+
with:
|
|
26
|
+
python-version: '3.9'
|
|
27
|
+
- name: Install dependencies
|
|
28
|
+
run: |
|
|
29
|
+
python -m venv venv_minimal
|
|
30
|
+
source venv_minimal/bin/activate
|
|
31
|
+
python -m pip install --upgrade pip
|
|
32
|
+
pip install toml autoray==0.7.2 matplotlib-inline==0.1.7
|
|
33
|
+
python3 install_lowest_dependencies.py
|
|
34
|
+
- name: Test with pytest
|
|
35
|
+
run: |
|
|
36
|
+
source venv_minimal/bin/activate
|
|
37
|
+
pip install pytest
|
|
38
|
+
pytest tests/
|
|
39
|
+
- name: clean
|
|
40
|
+
run: |
|
|
41
|
+
rm -rf venv_minimal
|
|
42
|
+
|
|
43
|
+
pytest_qiskit_0_46:
|
|
44
|
+
runs-on: ubuntu-latest
|
|
45
|
+
|
|
46
|
+
steps:
|
|
47
|
+
- uses: actions/checkout@v5
|
|
48
|
+
- name: Set up Python
|
|
49
|
+
uses: actions/setup-python@v6
|
|
50
|
+
with:
|
|
51
|
+
python-version: '3.9'
|
|
52
|
+
- name: Install dependencies
|
|
53
|
+
run: |
|
|
54
|
+
python -m venv venv_qiskit_0_46
|
|
55
|
+
source venv_qiskit_0_46/bin/activate
|
|
56
|
+
python -m pip install --upgrade pip
|
|
57
|
+
pip install . qiskit==0.46.3 qiskit-ibm-runtime==0.20.0 autoray==0.7.2
|
|
58
|
+
- name: Test with pytest
|
|
59
|
+
run: |
|
|
60
|
+
source venv_qiskit_0_46/bin/activate
|
|
61
|
+
pip install pytest
|
|
62
|
+
pytest tests/
|
|
63
|
+
- name: clean
|
|
64
|
+
run: |
|
|
65
|
+
rm -rf venv_qiskit_0_46
|
|
66
|
+
|
|
67
|
+
pytest_qiskit_1:
|
|
68
|
+
runs-on: ubuntu-latest
|
|
69
|
+
|
|
70
|
+
steps:
|
|
71
|
+
- uses: actions/checkout@v5
|
|
72
|
+
- name: Set up Python
|
|
73
|
+
uses: actions/setup-python@v6
|
|
74
|
+
with:
|
|
75
|
+
python-version: '3.9'
|
|
76
|
+
- name: Install dependencies
|
|
77
|
+
run: |
|
|
78
|
+
python -m venv venv_qiskit_1
|
|
79
|
+
source venv_qiskit_1/bin/activate
|
|
80
|
+
python -m pip install --upgrade pip
|
|
81
|
+
pip install . qiskit==1.1.2 qiskit-algorithms==0.3.0 qiskit-ibm-runtime==0.27.1 autoray==0.7.2
|
|
82
|
+
- name: Test with pytest
|
|
83
|
+
run: |
|
|
84
|
+
source venv_qiskit_1/bin/activate
|
|
85
|
+
pip install pytest
|
|
86
|
+
pytest tests/
|
|
87
|
+
- name: clean
|
|
88
|
+
run: |
|
|
89
|
+
rm -rf venv_qiskit_1
|
|
90
|
+
|
|
91
|
+
pytest_full:
|
|
92
|
+
name: Tests + Examples on ubuntu-latest with Python ${{ matrix.python-version }}
|
|
93
|
+
runs-on: ubuntu-latest
|
|
94
|
+
|
|
95
|
+
strategy:
|
|
96
|
+
matrix:
|
|
97
|
+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
|
98
|
+
|
|
99
|
+
steps:
|
|
100
|
+
- uses: actions/checkout@v5
|
|
101
|
+
- name: Set up Python
|
|
102
|
+
uses: actions/setup-python@v6
|
|
103
|
+
with:
|
|
104
|
+
python-version: |
|
|
105
|
+
${{
|
|
106
|
+
matrix.python-version
|
|
107
|
+
}}
|
|
108
|
+
- name: Install dependencies
|
|
109
|
+
run: |
|
|
110
|
+
python -m venv venv_latest
|
|
111
|
+
source venv_latest/bin/activate
|
|
112
|
+
python -m pip install --upgrade pip
|
|
113
|
+
pip install .[examples]
|
|
114
|
+
- name: Install old autoray
|
|
115
|
+
if: matrix.python-version == '3.9'
|
|
116
|
+
run: |
|
|
117
|
+
source venv_latest/bin/activate
|
|
118
|
+
pip install autoray==0.7.2
|
|
119
|
+
- name: Test with pytest
|
|
120
|
+
run: |
|
|
121
|
+
source venv_latest/bin/activate
|
|
122
|
+
pip install pytest
|
|
123
|
+
pytest tests/
|
|
124
|
+
- name: Test examples
|
|
125
|
+
run: |
|
|
126
|
+
source venv_latest/bin/activate
|
|
127
|
+
pip install nbmake
|
|
128
|
+
pytest --nbmake --nbmake-timeout 600 examples/
|
|
129
|
+
- name: clean
|
|
130
|
+
run: |
|
|
131
|
+
rm -rf venv_latest
|
|
132
|
+
|
|
133
|
+
pytest_windows:
|
|
134
|
+
name: Test on windows-latest with Python ${{ matrix.python-version }}
|
|
135
|
+
runs-on: windows-latest
|
|
136
|
+
|
|
137
|
+
strategy:
|
|
138
|
+
matrix:
|
|
139
|
+
python-version: ["3.9", "3.12"]
|
|
140
|
+
|
|
141
|
+
steps:
|
|
142
|
+
- uses: actions/checkout@v5
|
|
143
|
+
- name: Set up Python
|
|
144
|
+
uses: actions/setup-python@v6
|
|
145
|
+
with:
|
|
146
|
+
python-version: |
|
|
147
|
+
${{
|
|
148
|
+
matrix.python-version
|
|
149
|
+
}}
|
|
150
|
+
- name: Install dependencies
|
|
151
|
+
run: |
|
|
152
|
+
python -m venv venv_latest
|
|
153
|
+
.\venv_latest\Scripts\python.exe -m pip install --upgrade pip
|
|
154
|
+
.\venv_latest\Scripts\pip.exe install .
|
|
155
|
+
- name: Install old autoray
|
|
156
|
+
if: matrix.python-version == '3.9'
|
|
157
|
+
run: |
|
|
158
|
+
.\venv_latest\Scripts\pip.exe install autoray==0.7.2
|
|
159
|
+
- name: Test with pytest
|
|
160
|
+
run: |
|
|
161
|
+
.\venv_latest\Scripts\pip.exe install pytest
|
|
162
|
+
.\venv_latest\Scripts\pytest.exe tests/
|
|
163
|
+
- name: clean
|
|
164
|
+
run: |
|
|
165
|
+
rm -Recurse -Force venv_latest
|
|
166
|
+
|
|
167
|
+
pytest_macos:
|
|
168
|
+
name: Test on macos-latest with Python ${{ matrix.python-version }}
|
|
169
|
+
runs-on: macos-latest
|
|
170
|
+
|
|
171
|
+
strategy:
|
|
172
|
+
matrix:
|
|
173
|
+
python-version: ["3.9", "3.12"]
|
|
174
|
+
|
|
175
|
+
steps:
|
|
176
|
+
- uses: actions/checkout@v5
|
|
177
|
+
- name: Set up Python
|
|
178
|
+
uses: actions/setup-python@v6
|
|
179
|
+
with:
|
|
180
|
+
python-version: |
|
|
181
|
+
${{
|
|
182
|
+
matrix.python-version
|
|
183
|
+
}}
|
|
184
|
+
- name: Install dependencies
|
|
185
|
+
run: |
|
|
186
|
+
python -m venv venv_latest
|
|
187
|
+
source venv_latest/bin/activate
|
|
188
|
+
python -m pip install --upgrade pip
|
|
189
|
+
pip install .
|
|
190
|
+
- name: Install old autoray
|
|
191
|
+
if: matrix.python-version == '3.9'
|
|
192
|
+
run: |
|
|
193
|
+
source venv_latest/bin/activate
|
|
194
|
+
pip install autoray==0.7.2
|
|
195
|
+
- name: Test with pytest
|
|
196
|
+
run: |
|
|
197
|
+
source venv_latest/bin/activate
|
|
198
|
+
pip install pytest
|
|
199
|
+
pytest tests/
|
|
200
|
+
- name: clean
|
|
201
|
+
run: |
|
|
202
|
+
rm -rf venv_latest
|
|
@@ -2,23 +2,27 @@ name: Formatting check
|
|
|
2
2
|
on:
|
|
3
3
|
- pull_request
|
|
4
4
|
|
|
5
|
+
permissions:
|
|
6
|
+
contents: read
|
|
7
|
+
|
|
8
|
+
concurrency:
|
|
9
|
+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
10
|
+
cancel-in-progress: true
|
|
11
|
+
|
|
5
12
|
jobs:
|
|
6
13
|
black:
|
|
7
14
|
runs-on: ubuntu-latest
|
|
8
15
|
|
|
9
16
|
steps:
|
|
10
|
-
- name: Cancel Workflow Action
|
|
11
|
-
uses: styfle/cancel-workflow-action@0.11.0
|
|
12
|
-
|
|
13
17
|
- name: Set up Python
|
|
14
|
-
uses: actions/setup-python@
|
|
18
|
+
uses: actions/setup-python@v6
|
|
15
19
|
with:
|
|
16
|
-
python-version: 3.
|
|
20
|
+
python-version: 3.13
|
|
17
21
|
|
|
18
22
|
- name: Install dependencies
|
|
19
23
|
run: pip install black[jupyter]
|
|
20
24
|
|
|
21
|
-
- uses: actions/checkout@
|
|
25
|
+
- uses: actions/checkout@v5
|
|
22
26
|
|
|
23
27
|
- name: Run Black
|
|
24
28
|
run: |
|
|
@@ -14,14 +14,14 @@ jobs:
|
|
|
14
14
|
id-token: write
|
|
15
15
|
steps:
|
|
16
16
|
- name: Set up Python
|
|
17
|
-
uses: actions/setup-python@
|
|
17
|
+
uses: actions/setup-python@v6
|
|
18
18
|
with:
|
|
19
19
|
python-version: 3.9
|
|
20
20
|
|
|
21
21
|
- name: Install dependencies
|
|
22
22
|
run: pip install flit
|
|
23
23
|
|
|
24
|
-
- uses: actions/checkout@
|
|
24
|
+
- uses: actions/checkout@v5
|
|
25
25
|
|
|
26
26
|
- name: Build
|
|
27
27
|
run: flit build
|
|
@@ -12,9 +12,9 @@ jobs:
|
|
|
12
12
|
QISKIT_SETTINGS: ${{github.workspace}}/docs/qiskit_settings.conf
|
|
13
13
|
steps:
|
|
14
14
|
- name: Checkout Source Code
|
|
15
|
-
uses: actions/checkout@
|
|
15
|
+
uses: actions/checkout@v5
|
|
16
16
|
- name: Checkout GH Pages
|
|
17
|
-
uses: actions/checkout@
|
|
17
|
+
uses: actions/checkout@v5
|
|
18
18
|
with:
|
|
19
19
|
repository: sQUlearn/squlearn.github.io
|
|
20
20
|
fetch-depth: 0
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: Quick Tests
|
|
2
|
+
on:
|
|
3
|
+
pull_request:
|
|
4
|
+
|
|
5
|
+
permissions:
|
|
6
|
+
contents: read
|
|
7
|
+
|
|
8
|
+
concurrency:
|
|
9
|
+
group: ${{ github.workflow }}-${
|
|
10
|
+
(github.event_name == 'pull_request' && github.event.pull_request.number || github.ref_name)
|
|
11
|
+
}
|
|
12
|
+
cancel-in-progress: true
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
pytest:
|
|
16
|
+
name: Tests on ubuntu-latest with Python ${{ matrix.python-version }}
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
|
|
19
|
+
strategy:
|
|
20
|
+
matrix:
|
|
21
|
+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
|
22
|
+
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/checkout@v5
|
|
25
|
+
- name: Set up Python
|
|
26
|
+
uses: actions/setup-python@v6
|
|
27
|
+
with:
|
|
28
|
+
python-version: |
|
|
29
|
+
${{
|
|
30
|
+
matrix.python-version
|
|
31
|
+
}}
|
|
32
|
+
- name: Install dependencies
|
|
33
|
+
run: |
|
|
34
|
+
python -m venv venv_latest
|
|
35
|
+
source venv_latest/bin/activate
|
|
36
|
+
python -m pip install --upgrade pip
|
|
37
|
+
pip install .
|
|
38
|
+
- name: Install old autoray
|
|
39
|
+
if: matrix.python-version == '3.9'
|
|
40
|
+
run: |
|
|
41
|
+
source venv_latest/bin/activate
|
|
42
|
+
pip install autoray==0.7.2
|
|
43
|
+
- name: Test with pytest
|
|
44
|
+
run: |
|
|
45
|
+
source venv_latest/bin/activate
|
|
46
|
+
pip install pytest
|
|
47
|
+
pytest tests/
|
|
48
|
+
- name: clean
|
|
49
|
+
run: |
|
|
50
|
+
rm -rf venv_latest
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: 'Close stale issues and PRs'
|
|
2
|
+
on:
|
|
3
|
+
schedule:
|
|
4
|
+
- cron: '30 1 * * *'
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
stale:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/stale@v10
|
|
11
|
+
with:
|
|
12
|
+
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 1 year.'
|
|
13
|
+
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 1 year.'
|
|
14
|
+
close-issue-message: 'This issue was closed because it has been stalled for 1 year with no activity.'
|
|
15
|
+
close-pr-message: 'This PR was closed because it has been stalled for 1 year with no activity.'
|
|
16
|
+
days-before-stale: 30
|
|
17
|
+
days-before-close: 365
|
|
18
|
+
exempt-issue-labels: 'bug,eternal'
|
|
19
|
+
exempt-all-issue-milestones: 'true'
|
|
20
|
+
exempt-all-issue-assignees: 'true'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: squlearn
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.10.0
|
|
4
4
|
Summary: A library for quantum machine learning following the scikit-learn standard.
|
|
5
5
|
Keywords: quantum,machine learning,qml
|
|
6
6
|
Author-email: David Kreplin <david.kreplin@ipa.fraunhofer.de>, Moritz Willmann <moritz.willmann@ipa.fraunhofer.de>, Jan Schnabel <jan.schnabel@ipa.fraunhofer.de>, Frederic Rapp <frederic.rapp@ipa.fraunhofer.de>, Manuel Hagelüken <manuel.hagelueken@ipa.fraunhofer.de>, Marco Roth <marco.roth@ipa.fraunhofer.de>
|
|
7
7
|
Maintainer-email: David Kreplin <david.kreplin@ipa.fraunhofer.de>, Moritz Willmann <moritz.willmann@ipa.fraunhofer.de>
|
|
8
|
-
Requires-Python: >=3.9
|
|
8
|
+
Requires-Python: >=3.9
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
10
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
11
11
|
Classifier: Programming Language :: Python
|
|
@@ -33,7 +33,7 @@ Requires-Dist: pylint ; extra == "dev"
|
|
|
33
33
|
Requires-Dist: pytest ; extra == "dev"
|
|
34
34
|
Requires-Dist: ipykernel ; extra == "docs"
|
|
35
35
|
Requires-Dist: jupyter-sphinx ; extra == "docs"
|
|
36
|
-
Requires-Dist: matplotlib>=3.
|
|
36
|
+
Requires-Dist: matplotlib>=3.4.1 ; extra == "docs"
|
|
37
37
|
Requires-Dist: myst-parser ; extra == "docs"
|
|
38
38
|
Requires-Dist: nbsphinx ; extra == "docs"
|
|
39
39
|
Requires-Dist: nbsphinx_link ; extra == "docs"
|
|
@@ -44,7 +44,7 @@ Requires-Dist: sphinx-rtd-theme<3.0.0 ; extra == "docs"
|
|
|
44
44
|
Requires-Dist: sphinx-sitemap ; extra == "docs"
|
|
45
45
|
Requires-Dist: scikit-learn!=1.7.1 ; extra == "docs"
|
|
46
46
|
Requires-Dist: jupyter ; extra == "examples"
|
|
47
|
-
Requires-Dist: matplotlib>=3.
|
|
47
|
+
Requires-Dist: matplotlib>=3.4.1 ; extra == "examples"
|
|
48
48
|
Requires-Dist: mlflow ; extra == "examples"
|
|
49
49
|
Requires-Dist: numpy>=1.24.1 ; extra == "examples"
|
|
50
50
|
Requires-Dist: pandas ; extra == "examples"
|
|
@@ -112,6 +112,7 @@ intersphinx_mapping = {
|
|
|
112
112
|
"qiskit-ibm-runtime": ("https://quantum.cloud.ibm.com/docs/api/qiskit-ibm-runtime/", None),
|
|
113
113
|
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
|
|
114
114
|
"sklearn": ("https://scikit-learn.org/stable/", None),
|
|
115
|
+
"sympy": ("https://docs.sympy.org/latest/", None),
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
suppress_warnings = ["myst.header", "config.cache"]
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
API Reference
|
|
5
5
|
=============
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
High Level API
|
|
8
|
+
==============
|
|
8
9
|
|
|
9
10
|
QML Regressors
|
|
10
|
-
|
|
11
|
+
--------------
|
|
11
12
|
|
|
12
13
|
.. currentmodule:: squlearn
|
|
13
14
|
|
|
@@ -22,9 +23,8 @@ QML Regressors
|
|
|
22
23
|
qnn.QNNRegressor
|
|
23
24
|
qrc.QRCRegressor
|
|
24
25
|
|
|
25
|
-
|
|
26
26
|
QML Classifiers
|
|
27
|
-
|
|
27
|
+
---------------
|
|
28
28
|
|
|
29
29
|
.. currentmodule:: squlearn
|
|
30
30
|
|
|
@@ -38,6 +38,18 @@ QML Classifiers
|
|
|
38
38
|
qnn.QNNClassifier
|
|
39
39
|
qrc.QRCClassifier
|
|
40
40
|
|
|
41
|
+
ODE Solvers
|
|
42
|
+
-----------
|
|
43
|
+
|
|
44
|
+
.. currentmodule:: squlearn
|
|
45
|
+
|
|
46
|
+
.. autosummary::
|
|
47
|
+
:nosignatures:
|
|
48
|
+
:toctree: generated/
|
|
49
|
+
:template: class.rst
|
|
50
|
+
|
|
51
|
+
kernel.QKODE
|
|
52
|
+
|
|
41
53
|
Circuit Design
|
|
42
54
|
====================================
|
|
43
55
|
|
|
@@ -183,6 +195,7 @@ Quantum Kernel Core
|
|
|
183
195
|
|
|
184
196
|
kernel.loss.negative_log_likelihood.NLL
|
|
185
197
|
kernel.loss.target_alignment.TargetAlignment
|
|
198
|
+
kernel.loss.ODELoss
|
|
186
199
|
|
|
187
200
|
QNN Core
|
|
188
201
|
------------------------------------
|
|
@@ -204,6 +217,7 @@ QNN Core
|
|
|
204
217
|
qnn.lowlevel_qnn.lowlevel_qnn_qulacs.LowLevelQNNQulacs
|
|
205
218
|
qnn.lowlevel_qnn.lowlevel_qnn_base.LowLevelQNNBase
|
|
206
219
|
qnn.loss.SquaredLoss
|
|
220
|
+
qnn.loss.MeanSquaredError
|
|
207
221
|
qnn.loss.CrossEntropyLoss
|
|
208
222
|
qnn.loss.VarianceLoss
|
|
209
223
|
qnn.loss.ODELoss
|