updated readme
Browse files- .ipynb_checkpoints/README-checkpoint.md +83 -0
- README.md +66 -12
.ipynb_checkpoints/README-checkpoint.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
title: "Embedding-Aware Quantum-Classical SVMs for Scalable Quantum Machine Learning"
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
## Overview
|
| 7 |
+
|
| 8 |
+
This repository contains a collection of embedding datasets for evaluating quantum-classical support vector machines (QSVMs) using pre-trained classical models.
|
| 9 |
+
Each dataset is named using the convention:
|
| 10 |
+
|
| 11 |
+
<model_name>_<embedding_dim>.csv
|
| 12 |
+
|
| 13 |
+
Where:
|
| 14 |
+
|
| 15 |
+
- `model_name`: the architecture used to generate the embeddings (e.g., `vit_b_16`, `efficientnet`, `vit_l_14@336px`, etc.)
|
| 16 |
+
- `embedding_dim`: the dimensionality of the embedding vectors.
|
| 17 |
+
- The **last column** in each CSV corresponds to the **class label**.
|
| 18 |
+
|
| 19 |
+
Each file includes a tabular structure where:
|
| 20 |
+
- Rows represent distilled training or testing samples.
|
| 21 |
+
- Columns represent the embedding dimensions followed by a label column.
|
| 22 |
+
|
| 23 |
+
These datasets are compatible with quantum kernel methods and hybrid learning pipelines as implemented in [QuantumVE](https://github.com/sebasmos/QuantumVE).
|
| 24 |
+
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
## Repository Structure
|
| 28 |
+
|
| 29 |
+
All datasets are stored in `.csv` format and follow the naming scheme:
|
| 30 |
+
|
| 31 |
+
<model_name>_<embedding_dim>/
|
| 32 |
+
├── train.csv # Training embeddings + labels
|
| 33 |
+
└── test.csv # Testing embeddings + labels
|
| 34 |
+
|
| 35 |
+
Example folders:
|
| 36 |
+
- `efficientnet_1536/`
|
| 37 |
+
- `vit_b_16_512/`
|
| 38 |
+
- `vit_l_14@336px_768/`
|
| 39 |
+
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
## Loading Datasets
|
| 43 |
+
|
| 44 |
+
You can load and preview a dataset using Python:
|
| 45 |
+
|
| 46 |
+
```python
|
| 47 |
+
import pandas as pd
|
| 48 |
+
|
| 49 |
+
df = pd.read_csv("vit_b_16_512/train.csv")
|
| 50 |
+
X = df.iloc[:, :-1].values # Embeddings
|
| 51 |
+
y = df.iloc[:, -1].values # Labels
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
⸻
|
| 56 |
+
|
| 57 |
+
Citation
|
| 58 |
+
|
| 59 |
+
If you use this dataset collection, please cite:
|
| 60 |
+
|
| 61 |
+
@misc{cajas_quantumve_2025,
|
| 62 |
+
author = {Sebastián Andrés Cajas Ordóñez, Luis Torres, Mario Bifulco, Carlos Duran, Cristian Bosch, Ricardo Simon Carbajo},
|
| 63 |
+
title = {Embedding-Aware Quantum-Classical SVMs for Scalable Quantum Machine Learning},
|
| 64 |
+
year = {2025},
|
| 65 |
+
url = {https://github.com/sebasmos/QuantumVE},
|
| 66 |
+
note = {GitHub repository},
|
| 67 |
+
version = {v1.0},
|
| 68 |
+
howpublished = {\url{https://github.com/sebasmos/QuantumVE}},
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
⸻
|
| 74 |
+
|
| 75 |
+
License
|
| 76 |
+
|
| 77 |
+
QuantumVE is free and open source, released under the MIT License.
|
| 78 |
+
|
| 79 |
+
⸻
|
| 80 |
+
|
| 81 |
+
Contact & Contributions
|
| 82 |
+
|
| 83 |
+
This dataset is part of the QuantumVE project.
|
README.md
CHANGED
|
@@ -1,29 +1,83 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
-
title: "
|
| 4 |
---
|
| 5 |
|
| 6 |
-
|
| 7 |
|
| 8 |
-
This
|
|
|
|
| 9 |
|
| 10 |
-
|
| 11 |
|
| 12 |
-
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
| 15 |
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
## Please Cite as
|
| 19 |
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
@misc{cajas_quantumve_2025,
|
| 22 |
-
author = {Sebastián Andrés Cajas Ordóñez, Carlos Duran
|
| 23 |
-
title = {
|
| 24 |
year = {2025},
|
| 25 |
url = {https://github.com/sebasmos/QuantumVE},
|
| 26 |
note = {GitHub repository},
|
| 27 |
version = {v1.0},
|
| 28 |
howpublished = {\url{https://github.com/sebasmos/QuantumVE}},
|
| 29 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
title: "Embedding-Aware Quantum-Classical SVMs for Scalable Quantum Machine Learning"
|
| 4 |
---
|
| 5 |
|
| 6 |
+
## Overview
|
| 7 |
|
| 8 |
+
This repository contains a collection of embedding datasets for evaluating quantum-classical support vector machines (QSVMs) using pre-trained classical models.
|
| 9 |
+
Each dataset is named using the convention:
|
| 10 |
|
| 11 |
+
<model_name>_<embedding_dim>.csv
|
| 12 |
|
| 13 |
+
Where:
|
| 14 |
|
| 15 |
+
- `model_name`: the architecture used to generate the embeddings (e.g., `vit_b_16`, `efficientnet`, `vit_l_14@336px`, etc.)
|
| 16 |
+
- `embedding_dim`: the dimensionality of the embedding vectors.
|
| 17 |
+
- The **last column** in each CSV corresponds to the **class label**.
|
| 18 |
|
| 19 |
+
Each file includes a tabular structure where:
|
| 20 |
+
- Rows represent distilled training or testing samples.
|
| 21 |
+
- Columns represent the embedding dimensions followed by a label column.
|
| 22 |
+
|
| 23 |
+
These datasets are compatible with quantum kernel methods and hybrid learning pipelines as implemented in [QuantumVE](https://github.com/sebasmos/QuantumVE).
|
| 24 |
+
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
## Repository Structure
|
| 28 |
+
|
| 29 |
+
All datasets are stored in `.csv` format and follow the naming scheme:
|
| 30 |
+
|
| 31 |
+
<model_name>_<embedding_dim>/
|
| 32 |
+
├── train.csv # Training embeddings + labels
|
| 33 |
+
└── test.csv # Testing embeddings + labels
|
| 34 |
+
|
| 35 |
+
Example folders:
|
| 36 |
+
- `efficientnet_1536/`
|
| 37 |
+
- `vit_b_16_512/`
|
| 38 |
+
- `vit_l_14@336px_768/`
|
| 39 |
+
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
## Loading Datasets
|
| 43 |
+
|
| 44 |
+
You can load and preview a dataset using Python:
|
| 45 |
+
|
| 46 |
+
```python
|
| 47 |
+
import pandas as pd
|
| 48 |
+
|
| 49 |
+
df = pd.read_csv("vit_b_16_512/train.csv")
|
| 50 |
+
X = df.iloc[:, :-1].values # Embeddings
|
| 51 |
+
y = df.iloc[:, -1].values # Labels
|
| 52 |
|
|
|
|
| 53 |
|
| 54 |
+
|
| 55 |
+
⸻
|
| 56 |
+
|
| 57 |
+
Citation
|
| 58 |
+
|
| 59 |
+
If you use this dataset collection, please cite:
|
| 60 |
+
|
| 61 |
@misc{cajas_quantumve_2025,
|
| 62 |
+
author = {Sebastián Andrés Cajas Ordóñez, Luis Torres, Mario Bifulco, Carlos Duran, Cristian Bosch, Ricardo Simon Carbajo},
|
| 63 |
+
title = {Embedding-Aware Quantum-Classical SVMs for Scalable Quantum Machine Learning},
|
| 64 |
year = {2025},
|
| 65 |
url = {https://github.com/sebasmos/QuantumVE},
|
| 66 |
note = {GitHub repository},
|
| 67 |
version = {v1.0},
|
| 68 |
howpublished = {\url{https://github.com/sebasmos/QuantumVE}},
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
⸻
|
| 74 |
+
|
| 75 |
+
License
|
| 76 |
+
|
| 77 |
+
QuantumVE is free and open source, released under the MIT License.
|
| 78 |
+
|
| 79 |
+
⸻
|
| 80 |
+
|
| 81 |
+
Contact & Contributions
|
| 82 |
+
|
| 83 |
+
This dataset is part of the QuantumVE project.
|