├── .github ├── pull_request_template.md └── workflows │ ├── lint.yml │ ├── publish.yml │ └── test.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CITATION.cff ├── LICENSE ├── README.md ├── docs ├── CONTRIBUTOR AGREEMENT.md ├── LICENSE.md ├── contributing │ ├── first contact.md │ ├── how to contribute.md │ └── releasing.md ├── css │ └── mkdocstrings.css ├── index.md ├── installation.md ├── javascripts │ └── mathjax.js └── usage.md ├── examples ├── dataset │ └── PTC_FM │ │ ├── processed │ │ ├── data.pt │ │ ├── pre_filter.pt │ │ └── pre_transform.pt │ │ └── raw │ │ ├── PTC_FM_A.txt │ │ ├── PTC_FM_edge_labels.txt │ │ ├── PTC_FM_graph_indicator.txt │ │ ├── PTC_FM_graph_labels.txt │ │ ├── PTC_FM_node_labels.txt │ │ └── README.txt ├── ptcfm_processed_dataset.json ├── tutorial 1 - Using a Quantum Device to Extract Machine-Learning Features.ipynb ├── tutorial 1a - Using a Quantum Device to Extract Machine-Learning Features - low-level.ipynb ├── tutorial 1b - Training SVM QEK - low-level - generic dataset.ipynb └── tutorial 2 - Machine-Learning with the Quantum EvolutionKernel.ipynb ├── mkdocs.yml ├── pyproject.toml ├── qek ├── __init__.py ├── data │ ├── __init__.py │ ├── extractors.py │ ├── graphs.py │ ├── processed_data.py │ └── training_data.py ├── kernel │ ├── __init__.py │ └── kernel.py ├── shared │ ├── __init__.py │ ├── _utils.py │ ├── error.py │ └── retrier.py └── target │ ├── __init__.py │ ├── backends.py │ └── targets.py ├── scripts └── before_tests.py ├── setup.py └── tests ├── __init__.py ├── cloud_fixtures ├── README.md └── device_specs.json ├── mock_cloud_sdk.py ├── test_backends.py ├── test_dataset.py ├── test_extractors.py ├── test_graphs.py └── test_kernel.py /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CITATION.cff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/CITATION.cff -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/README.md -------------------------------------------------------------------------------- /docs/CONTRIBUTOR AGREEMENT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/docs/CONTRIBUTOR AGREEMENT.md -------------------------------------------------------------------------------- /docs/LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/docs/LICENSE.md -------------------------------------------------------------------------------- /docs/contributing/first contact.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/docs/contributing/first contact.md -------------------------------------------------------------------------------- /docs/contributing/how to contribute.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/docs/contributing/how to contribute.md -------------------------------------------------------------------------------- /docs/contributing/releasing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/docs/contributing/releasing.md -------------------------------------------------------------------------------- /docs/css/mkdocstrings.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/docs/css/mkdocstrings.css -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/docs/installation.md -------------------------------------------------------------------------------- /docs/javascripts/mathjax.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/docs/javascripts/mathjax.js -------------------------------------------------------------------------------- /docs/usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/docs/usage.md -------------------------------------------------------------------------------- /examples/dataset/PTC_FM/processed/data.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/examples/dataset/PTC_FM/processed/data.pt -------------------------------------------------------------------------------- /examples/dataset/PTC_FM/processed/pre_filter.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/examples/dataset/PTC_FM/processed/pre_filter.pt -------------------------------------------------------------------------------- /examples/dataset/PTC_FM/processed/pre_transform.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/examples/dataset/PTC_FM/processed/pre_transform.pt -------------------------------------------------------------------------------- /examples/dataset/PTC_FM/raw/PTC_FM_A.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/examples/dataset/PTC_FM/raw/PTC_FM_A.txt -------------------------------------------------------------------------------- /examples/dataset/PTC_FM/raw/PTC_FM_edge_labels.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/examples/dataset/PTC_FM/raw/PTC_FM_edge_labels.txt -------------------------------------------------------------------------------- /examples/dataset/PTC_FM/raw/PTC_FM_graph_indicator.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/examples/dataset/PTC_FM/raw/PTC_FM_graph_indicator.txt -------------------------------------------------------------------------------- /examples/dataset/PTC_FM/raw/PTC_FM_graph_labels.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/examples/dataset/PTC_FM/raw/PTC_FM_graph_labels.txt -------------------------------------------------------------------------------- /examples/dataset/PTC_FM/raw/PTC_FM_node_labels.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/examples/dataset/PTC_FM/raw/PTC_FM_node_labels.txt -------------------------------------------------------------------------------- /examples/dataset/PTC_FM/raw/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/examples/dataset/PTC_FM/raw/README.txt -------------------------------------------------------------------------------- /examples/ptcfm_processed_dataset.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/examples/ptcfm_processed_dataset.json -------------------------------------------------------------------------------- /examples/tutorial 1 - Using a Quantum Device to Extract Machine-Learning Features.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/examples/tutorial 1 - Using a Quantum Device to Extract Machine-Learning Features.ipynb -------------------------------------------------------------------------------- /examples/tutorial 1a - Using a Quantum Device to Extract Machine-Learning Features - low-level.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/examples/tutorial 1a - Using a Quantum Device to Extract Machine-Learning Features - low-level.ipynb -------------------------------------------------------------------------------- /examples/tutorial 1b - Training SVM QEK - low-level - generic dataset.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/examples/tutorial 1b - Training SVM QEK - low-level - generic dataset.ipynb -------------------------------------------------------------------------------- /examples/tutorial 2 - Machine-Learning with the Quantum EvolutionKernel.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/examples/tutorial 2 - Machine-Learning with the Quantum EvolutionKernel.ipynb -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/pyproject.toml -------------------------------------------------------------------------------- /qek/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/qek/__init__.py -------------------------------------------------------------------------------- /qek/data/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Data manipulation utilities. 3 | """ 4 | -------------------------------------------------------------------------------- /qek/data/extractors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/qek/data/extractors.py -------------------------------------------------------------------------------- /qek/data/graphs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/qek/data/graphs.py -------------------------------------------------------------------------------- /qek/data/processed_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/qek/data/processed_data.py -------------------------------------------------------------------------------- /qek/data/training_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/qek/data/training_data.py -------------------------------------------------------------------------------- /qek/kernel/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/qek/kernel/__init__.py -------------------------------------------------------------------------------- /qek/kernel/kernel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/qek/kernel/kernel.py -------------------------------------------------------------------------------- /qek/shared/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Shared utility code. 3 | """ 4 | -------------------------------------------------------------------------------- /qek/shared/_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/qek/shared/_utils.py -------------------------------------------------------------------------------- /qek/shared/error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/qek/shared/error.py -------------------------------------------------------------------------------- /qek/shared/retrier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/qek/shared/retrier.py -------------------------------------------------------------------------------- /qek/target/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Quantum compilation targets 3 | """ 4 | -------------------------------------------------------------------------------- /qek/target/backends.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/qek/target/backends.py -------------------------------------------------------------------------------- /qek/target/targets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/qek/target/targets.py -------------------------------------------------------------------------------- /scripts/before_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/scripts/before_tests.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/cloud_fixtures/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/tests/cloud_fixtures/README.md -------------------------------------------------------------------------------- /tests/cloud_fixtures/device_specs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/tests/cloud_fixtures/device_specs.json -------------------------------------------------------------------------------- /tests/mock_cloud_sdk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/tests/mock_cloud_sdk.py -------------------------------------------------------------------------------- /tests/test_backends.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/tests/test_backends.py -------------------------------------------------------------------------------- /tests/test_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/tests/test_dataset.py -------------------------------------------------------------------------------- /tests/test_extractors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/tests/test_extractors.py -------------------------------------------------------------------------------- /tests/test_graphs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/tests/test_graphs.py -------------------------------------------------------------------------------- /tests/test_kernel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pasqal-io/quantum-evolution-kernel/HEAD/tests/test_kernel.py --------------------------------------------------------------------------------