squlearn 0.1.0__tar.gz → 0.2.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.1.0/README.md → squlearn-0.2.0/.github/CONTRIBUTING.md +46 -83
- squlearn-0.2.0/.github/workflows/format.yml +26 -0
- squlearn-0.2.0/.github/workflows/publish.yml +30 -0
- squlearn-0.2.0/.gitignore +167 -0
- {squlearn-0.1.0 → squlearn-0.2.0}/LICENSE.txt +201 -201
- squlearn-0.2.0/PKG-INFO +78 -0
- squlearn-0.2.0/README.md +45 -0
- squlearn-0.2.0/docs/Makefile +20 -0
- squlearn-0.2.0/docs/README.md +18 -0
- squlearn-0.2.0/docs/conf.py +69 -0
- squlearn-0.2.0/docs/index.rst +27 -0
- squlearn-0.2.0/docs/make.bat +35 -0
- squlearn-0.2.0/docs/modules/classes.rst +149 -0
- squlearn-0.2.0/docs/templates/class.rst +8 -0
- squlearn-0.2.0/docs/templates/class_with_call.rst +21 -0
- squlearn-0.2.0/docs/templates/function.rst +9 -0
- squlearn-0.2.0/docs/tutorials/install.rst +50 -0
- squlearn-0.2.0/docs/tutorials/operators.rst +50 -0
- squlearn-0.2.0/docs/tutorials/pqk.rst +10 -0
- squlearn-0.2.0/docs/tutorials/use_executor.rst +10 -0
- squlearn-0.2.0/examples/executor/.gitignore +3 -0
- squlearn-0.2.0/examples/executor/example_executor.ipynb +316 -0
- squlearn-0.2.0/examples/feature_maps/layered_feature_map.ipynb +142 -0
- squlearn-0.2.0/examples/feature_maps/pruning_example.ipynb +262 -0
- squlearn-0.2.0/examples/feature_maps/various_feature_maps.ipynb +269 -0
- squlearn-0.2.0/examples/kernel/example_fidelity_kernel.ipynb +134 -0
- squlearn-0.2.0/examples/kernel/example_projected_kernel.ipynb +250 -0
- squlearn-0.2.0/examples/kernel/example_regularization_mitigation.ipynb +460 -0
- squlearn-0.2.0/examples/kernel/qgpc_workflow.ipynb +176 -0
- squlearn-0.2.0/examples/kernel/qgpr_optimization_workflow.ipynb +181 -0
- squlearn-0.2.0/examples/kernel/qgpr_workflow.ipynb +220 -0
- squlearn-0.2.0/examples/qnn/classification_example.ipynb +1901 -0
- squlearn-0.2.0/examples/qnn/example_adam.ipynb +2370 -0
- squlearn-0.2.0/examples/qnn/example_minibatch.ipynb +282 -0
- squlearn-0.2.0/examples/qnn/example_shot_adjusting.ipynb +340 -0
- squlearn-0.2.0/examples/qnn/expectation_operator.ipynb +594 -0
- squlearn-0.2.0/examples/qnn/regression_example.ipynb +1949 -0
- squlearn-0.2.0/examples/qnn/regression_example_layered_fm.ipynb +2895 -0
- squlearn-0.2.0/examples/qnn/regression_with_variance.ipynb +1915 -0
- squlearn-0.2.0/examples/tutorials/kernel_regression.ipynb +201 -0
- squlearn-0.2.0/examples/tutorials/pipeline_example.ipynb +123 -0
- squlearn-0.2.0/examples/tutorials/qml_sklearn_interaction.ipynb +188 -0
- {squlearn-0.1.0 → squlearn-0.2.0}/pyproject.toml +55 -50
- squlearn-0.2.0/src/squlearn/__init__.py +15 -0
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/expectation_operator/__init__.py +17 -22
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/expectation_operator/expectation_operator_base.py +209 -173
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/expectation_operator/expectation_operator_derivatives.py +344 -344
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/expectation_operator/expectation_operator_implemented/custom_expectation_operator.py +79 -55
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/expectation_operator/expectation_operator_implemented/ising_hamiltonian.py +152 -115
- squlearn-0.2.0/src/squlearn/expectation_operator/expectation_operator_implemented/single_pauli.py +69 -0
- squlearn-0.2.0/src/squlearn/expectation_operator/expectation_operator_implemented/single_probability.py +73 -0
- squlearn-0.2.0/src/squlearn/expectation_operator/expectation_operator_implemented/summed_paulis.py +87 -0
- squlearn-0.1.0/src/squlearn/expectation_operator/expectation_operator_implemented/summed_amplitudes.py → squlearn-0.2.0/src/squlearn/expectation_operator/expectation_operator_implemented/summed_probabilities.py +81 -63
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/__init__.py +27 -37
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/feature_map_base.py +159 -159
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/feature_map_derivatives.py +457 -457
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/feature_map_implemented/cheb_pqc.py +140 -140
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/feature_map_implemented/cheb_rx.py +82 -82
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/feature_map_implemented/chebyshev_tower.py +117 -117
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/feature_map_implemented/highdim_feature_map.py +189 -189
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/feature_map_implemented/hz_crxcrycrz.py +97 -97
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/feature_map_implemented/qek_feature_map.py +99 -99
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/feature_map_implemented/qiskit_z_feature_map.py +67 -67
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/feature_map_implemented/yz_cx_feature_map.py +90 -90
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/feature_map_implemented/zfeaturemap_cx.py +55 -55
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/layered_feature_map.py +2149 -2149
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/pruned_feature_map.py +244 -244
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/transpiled_feature_map.py +131 -131
- squlearn-0.2.0/src/squlearn/kernel/__init__.py +3 -0
- squlearn-0.2.0/src/squlearn/kernel/matrix/__init__.py +4 -0
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/kernel/matrix/fidelity_kernel.py +138 -127
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/kernel/matrix/kernel_matrix_base.py +128 -128
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/kernel/matrix/projected_quantum_kernel.py +382 -370
- squlearn-0.2.0/src/squlearn/kernel/ml/__init__.py +8 -0
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/kernel/ml/kernel_util.py +59 -55
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/kernel/ml/qgpc.py +31 -34
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/kernel/ml/qgpr.py +112 -125
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/kernel/ml/qkrr.py +88 -96
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/kernel/ml/qsvc.py +33 -33
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/kernel/ml/qsvr.py +32 -32
- squlearn-0.2.0/src/squlearn/kernel/optimization/__init__.py +5 -0
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/kernel/optimization/kernel_loss_base.py +9 -9
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/kernel/optimization/kernel_optimization_base.py +19 -19
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/kernel/optimization/kernel_optimizer.py +38 -41
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/kernel/optimization/negative_log_likelihood.py +38 -38
- squlearn-0.2.0/src/squlearn/kernel/optimization/target_alignment.py +36 -0
- squlearn-0.2.0/src/squlearn/optimizers/__init__.py +12 -0
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/optimizers/adam.py +156 -133
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/optimizers/approximated_gradients.py +138 -135
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/optimizers/optimizer_base.py +75 -75
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/optimizers/optimizers_wrapper.py +108 -108
- squlearn-0.2.0/src/squlearn/qnn/__init__.py +14 -0
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/qnn/barren_plateau_analysis.py +242 -242
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/qnn/base_qnn.py +112 -119
- squlearn-0.2.0/src/squlearn/qnn/loss.py +471 -0
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/qnn/qnn.py +1056 -1057
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/qnn/qnnc.py +185 -186
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/qnn/qnnr.py +159 -162
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/qnn/training.py +566 -649
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/util/__init__.py +3 -3
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/util/data_preprocessing.py +93 -93
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/util/evaluate_opflow.py +320 -262
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/util/executor.py +1116 -1092
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/util/quantum_fisher.py +151 -151
- squlearn-0.2.0/tests/qnn/test_training.py +42 -0
- squlearn-0.1.0/PKG-INFO +0 -300
- squlearn-0.1.0/setup.cfg +0 -4
- squlearn-0.1.0/src/squlearn/__init__.py +0 -1
- squlearn-0.1.0/src/squlearn/expectation_operator/expectation_operator_implemented/single_amplitude.py +0 -49
- squlearn-0.1.0/src/squlearn/expectation_operator/expectation_operator_implemented/single_pauli.py +0 -61
- squlearn-0.1.0/src/squlearn/expectation_operator/expectation_operator_implemented/summed_paulis.py +0 -49
- squlearn-0.1.0/src/squlearn/kernel/__init__.py +0 -0
- squlearn-0.1.0/src/squlearn/kernel/matrix/__init__.py +0 -9
- squlearn-0.1.0/src/squlearn/kernel/ml/__init__.py +0 -10
- squlearn-0.1.0/src/squlearn/kernel/ml/helper_functions.py +0 -8
- squlearn-0.1.0/src/squlearn/kernel/ml/kernel_ml_base.py +0 -14
- squlearn-0.1.0/src/squlearn/kernel/optimization/__init__.py +0 -13
- squlearn-0.1.0/src/squlearn/kernel/optimization/target_alignment.py +0 -34
- squlearn-0.1.0/src/squlearn/optimizers/__init__.py +0 -17
- squlearn-0.1.0/src/squlearn/qnn/__init__.py +0 -3
- squlearn-0.1.0/src/squlearn/qnn/loss.py +0 -209
- squlearn-0.1.0/src/squlearn.egg-info/PKG-INFO +0 -300
- squlearn-0.1.0/src/squlearn.egg-info/SOURCES.txt +0 -73
- squlearn-0.1.0/src/squlearn.egg-info/dependency_links.txt +0 -1
- squlearn-0.1.0/src/squlearn.egg-info/requires.txt +0 -13
- squlearn-0.1.0/src/squlearn.egg-info/top_level.txt +0 -1
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/expectation_operator/expectation_operator_implemented/__init__.py +0 -0
- {squlearn-0.1.0 → squlearn-0.2.0}/src/squlearn/feature_map/feature_map_implemented/__init__.py +0 -0
|
@@ -1,83 +1,46 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
black path/to/folder/or/file.py
|
|
48
|
-
```
|
|
49
|
-
from the top level directory to ensure the use of the `pyproject.toml` configuration file.
|
|
50
|
-
|
|
51
|
-
We don't enforce but highly encourage the use of the [pylint linter](https://docs.pylint.org/) to check newly written code and adapt accordingly. To run the linter with the desired configuration run
|
|
52
|
-
```bash
|
|
53
|
-
pylint path/to/folder/or/file.py
|
|
54
|
-
```
|
|
55
|
-
from the top level directory to again ensure the use of the `pyproject.toml` configuration file. Running pylint before and after the contribution shouldn't add violations and/or lower the overall code score.
|
|
56
|
-
|
|
57
|
-
#### Docstrings
|
|
58
|
-
We furthermore desire to use the [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings) for our Docstrings. Generally we at least expect
|
|
59
|
-
- A one-line summary, terminated by a period, and
|
|
60
|
-
- a description of the class/method.
|
|
61
|
-
|
|
62
|
-
For classes we furthermore expect
|
|
63
|
-
- A list of attributes.
|
|
64
|
-
|
|
65
|
-
For methods we furthermore expect
|
|
66
|
-
- A list of arguments, and
|
|
67
|
-
- A list of return values.
|
|
68
|
-
|
|
69
|
-
### Git Flow
|
|
70
|
-
We use the Git Flow branch structure specified [here](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow) except for release branches.
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
## License
|
|
75
|
-
|
|
76
|
-
[Apache License 2.0](https://github.com/sQUlearn/squlearn/blob/main/LICENSE.txt)
|
|
77
|
-
|
|
78
|
-
## Imprint
|
|
79
|
-
This project is maintained by the quantum computing group at the Fraunhofer Institute for Manufacturing Engineering and Automation IPA. It started as a collection of implementations of quantum machine learning methods.
|
|
80
|
-
|
|
81
|
-
https://www.ipa.fraunhofer.de/en/expertise/cyber-cognitive-intelligence-cci/quantencomputing.html
|
|
82
|
-
|
|
83
|
-
---
|
|
1
|
+
# Contributing
|
|
2
|
+
If you plan to contribute to this project, please read this section carefully and check that your contribution fits the desired process and style.
|
|
3
|
+
|
|
4
|
+
## Install development version
|
|
5
|
+
To contribute to sQUlearn install the package from the source code:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
git clone https://github.com/sQUlearn/squlearn.git && cd squlearn
|
|
9
|
+
git checkout develop
|
|
10
|
+
pip install -e .
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Devtools
|
|
14
|
+
Install the recommended tools with
|
|
15
|
+
```bash
|
|
16
|
+
pip install -e .[dev]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Style Guide
|
|
20
|
+
### Code Style
|
|
21
|
+
We try to match all of our python code closely to the [PEP8 style guide](https://pep8.org/) with the exception of using a line length of `99`. To ensure this we use the [Black formater](https://black.readthedocs.io/en/stable/index.html) with the configuration specified in [pyproject.toml](https://github.com/sQUlearn/squlearn/blob/main/pyproject.toml). To format your code, run
|
|
22
|
+
```bash
|
|
23
|
+
black path/to/folder/or/file.py
|
|
24
|
+
```
|
|
25
|
+
from the top level directory to ensure the use of the `pyproject.toml` configuration file.
|
|
26
|
+
|
|
27
|
+
We don't enforce but highly encourage the use of the [pylint linter](https://docs.pylint.org/) to check newly written code and adapt accordingly. To run the linter with the desired configuration run
|
|
28
|
+
```bash
|
|
29
|
+
pylint path/to/folder/or/file.py
|
|
30
|
+
```
|
|
31
|
+
from the top level directory to again ensure the use of the `pyproject.toml` configuration file. Running pylint before and after the contribution shouldn't add violations and/or lower the overall code score.
|
|
32
|
+
|
|
33
|
+
### Docstrings
|
|
34
|
+
We furthermore desire to use the [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings) for our Docstrings. Generally we at least expect
|
|
35
|
+
- A one-line summary, terminated by a period, and
|
|
36
|
+
- a description of the class/method.
|
|
37
|
+
|
|
38
|
+
For classes we furthermore expect
|
|
39
|
+
- A list of attributes.
|
|
40
|
+
|
|
41
|
+
For methods we furthermore expect
|
|
42
|
+
- A list of arguments, and
|
|
43
|
+
- A list of return values.
|
|
44
|
+
|
|
45
|
+
## Git Flow
|
|
46
|
+
We use the Git Flow branch structure specified [here](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow) except for release branches.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: Formatting check
|
|
2
|
+
on:
|
|
3
|
+
- pull_request
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
black:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
|
|
9
|
+
steps:
|
|
10
|
+
- name: Cancel Workflow Action
|
|
11
|
+
uses: styfle/cancel-workflow-action@0.11.0
|
|
12
|
+
|
|
13
|
+
- name: Set up Python
|
|
14
|
+
uses: actions/setup-python@v2
|
|
15
|
+
with:
|
|
16
|
+
python-version: 3.9
|
|
17
|
+
|
|
18
|
+
- name: Install dependencies
|
|
19
|
+
run: pip install black[jupyter]
|
|
20
|
+
|
|
21
|
+
- uses: actions/checkout@v2
|
|
22
|
+
|
|
23
|
+
- name: Run Black
|
|
24
|
+
run: |
|
|
25
|
+
black -l 99 src --check
|
|
26
|
+
black -l 99 --ipynb examples --check
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
on:
|
|
3
|
+
release:
|
|
4
|
+
types: [published]
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
pypi-publish:
|
|
8
|
+
name: Upload release to PyPI
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
environment:
|
|
11
|
+
name: release
|
|
12
|
+
url: https://pypi.org/p/squlearn
|
|
13
|
+
permissions:
|
|
14
|
+
id-token: write
|
|
15
|
+
steps:
|
|
16
|
+
- name: Set up Python
|
|
17
|
+
uses: actions/setup-python@v2
|
|
18
|
+
with:
|
|
19
|
+
python-version: 3.9
|
|
20
|
+
|
|
21
|
+
- name: Install dependencies
|
|
22
|
+
run: pip install flit
|
|
23
|
+
|
|
24
|
+
- uses: actions/checkout@v2
|
|
25
|
+
|
|
26
|
+
- name: Build
|
|
27
|
+
run: flit build
|
|
28
|
+
|
|
29
|
+
- name: Publish package distributions to PyPI
|
|
30
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
docs/modules/generated/*
|
|
74
|
+
|
|
75
|
+
# PyBuilder
|
|
76
|
+
.pybuilder/
|
|
77
|
+
target/
|
|
78
|
+
|
|
79
|
+
# Jupyter Notebook
|
|
80
|
+
.ipynb_checkpoints
|
|
81
|
+
|
|
82
|
+
# IPython
|
|
83
|
+
profile_default/
|
|
84
|
+
ipython_config.py
|
|
85
|
+
|
|
86
|
+
# pyenv
|
|
87
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
88
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
89
|
+
# .python-version
|
|
90
|
+
|
|
91
|
+
# pipenv
|
|
92
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
93
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
94
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
95
|
+
# install all needed dependencies.
|
|
96
|
+
#Pipfile.lock
|
|
97
|
+
|
|
98
|
+
# poetry
|
|
99
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
100
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
101
|
+
# commonly ignored for libraries.
|
|
102
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
103
|
+
#poetry.lock
|
|
104
|
+
|
|
105
|
+
# pdm
|
|
106
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
107
|
+
#pdm.lock
|
|
108
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
109
|
+
# in version control.
|
|
110
|
+
# https://pdm.fming.dev/#use-with-ide
|
|
111
|
+
.pdm.toml
|
|
112
|
+
|
|
113
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
114
|
+
__pypackages__/
|
|
115
|
+
|
|
116
|
+
# Celery stuff
|
|
117
|
+
celerybeat-schedule
|
|
118
|
+
celerybeat.pid
|
|
119
|
+
|
|
120
|
+
# SageMath parsed files
|
|
121
|
+
*.sage.py
|
|
122
|
+
|
|
123
|
+
# Environments
|
|
124
|
+
.env
|
|
125
|
+
.venv
|
|
126
|
+
env/
|
|
127
|
+
venv/
|
|
128
|
+
ENV/
|
|
129
|
+
env.bak/
|
|
130
|
+
venv.bak/
|
|
131
|
+
|
|
132
|
+
# Spyder project settings
|
|
133
|
+
.spyderproject
|
|
134
|
+
.spyproject
|
|
135
|
+
|
|
136
|
+
# Rope project settings
|
|
137
|
+
.ropeproject
|
|
138
|
+
|
|
139
|
+
# mkdocs documentation
|
|
140
|
+
/site
|
|
141
|
+
|
|
142
|
+
# mypy
|
|
143
|
+
.mypy_cache/
|
|
144
|
+
.dmypy.json
|
|
145
|
+
dmypy.json
|
|
146
|
+
|
|
147
|
+
# Pyre type checker
|
|
148
|
+
.pyre/
|
|
149
|
+
|
|
150
|
+
# pytype static type analyzer
|
|
151
|
+
.pytype/
|
|
152
|
+
|
|
153
|
+
# Cython debug symbols
|
|
154
|
+
cython_debug/
|
|
155
|
+
|
|
156
|
+
# PyCharm
|
|
157
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
158
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
159
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
160
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
161
|
+
#.idea/
|
|
162
|
+
|
|
163
|
+
# VSCode
|
|
164
|
+
.vscode/
|
|
165
|
+
|
|
166
|
+
#Example logs
|
|
167
|
+
examples/qnn/*_log.csv
|