File size: 2,993 Bytes
eb57a01
 
c7b2e58
eb57a01
 
c7b2e58
eb57a01
97e1d6a
eb57a01
97e1d6a
c7b2e58
97e1d6a
eb57a01
c7b2e58
97e1d6a
 
 
eb57a01
97e1d6a
 
 
eb57a01
97e1d6a
c7b2e58
2e7a99d
 
 
 
 
 
c7b2e58
 
 
 
97e1d6a
c7b2e58
97e1d6a
c7b2e58
97e1d6a
 
 
c7b2e58
97e1d6a
c7b2e58
 
 
 
 
 
 
 
97e1d6a
c7b2e58
 
 
 
 
97e1d6a
 
 
eb57a01
97e1d6a
c7b2e58
97e1d6a
c7b2e58
 
 
97e1d6a
eb57a01
c7b2e58
 
eb57a01
 
 
 
 
97e1d6a
c7b2e58
97e1d6a
c7b2e58
97e1d6a
c7b2e58
97e1d6a
c7b2e58
97e1d6a
c7b2e58
97e1d6a
c7b2e58
97e1d6a
c7b2e58
97e1d6a
c7b2e58
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
license: mit
title: "Embedding-Aware Quantum-Classical SVMs for Scalable Quantum Machine Learning"
---

## Overview

This repository provides a collection of embedding datasets for evaluating quantum-classical support vector machines (QSVMs) using embeddings from pre-trained classical models. Each dataset follows the naming convention:

```
<model_name>_<embedding_dim>.csv
```

Where:
- `model_name`: the architecture used to generate the embeddings (e.g., `vit_b_16`, `efficientnet`, `vit_l_14@336px`)
- `embedding_dim`: the dimensionality of the embedding vectors
- The **last column** in each CSV represents the **class label**

Each CSV file is structured as a table:
- Rows correspond to distilled training or testing samples
- Columns represent embedding values followed by the class label

These datasets are designed to support quantum kernel methods and hybrid pipelines, as implemented in [QuantumVE](https://github.com/sebasmos/QuantumVE).

This dataset collection includes subsets derived from public datasets:
- **MNIST** – in the public domain and freely available [here](http://yann.lecun.com/exdb/mnist/)
- **Fashion-MNIST** – distributed under the [MIT License](https://github.com/zalandoresearch/fashion-mnist)

We confirm that only subsets of these datasets are included (images and embeddings), and they are redistributed in accordance with their respective licenses. This repository is intended for non-commercial academic use.

---

## Repository Structure

Datasets are stored in `.csv` format and organized into folders named according to the embedding configuration:

```
<model_name>_<embedding_dim>/
├── train.csv   # Training set with embeddings and labels
└── test.csv    # Testing set with embeddings and labels
```

### Example Folders:
- `efficientnet_1536/`
- `vit_b_16_512/`
- `vit_l_14@336px_768/`

---

## Loading Datasets

Example code to load and preview a dataset:

```python
import pandas as pd

df = pd.read_csv("vit_b_16_512/train.csv")
X = df.iloc[:, :-1].values  # Embedding features
y = df.iloc[:, -1].values   # Class labels
```

---

## Citation

If you use this dataset collection, please cite:

```bibtex
@misc{cajas_quantumve_2025,
  author       = {Sebastián Andrés Cajas Ordóñez, Luis Torres, Mario Bifulco, Carlos Duran, Cristian Bosch, Ricardo Simon Carbajo},
  title        = {Embedding-Aware Quantum-Classical SVMs for Scalable Quantum Machine Learning},
  year         = {2025},
  url          = {https://github.com/sebasmos/QuantumVE},
  note         = {GitHub repository},
  version      = {v1.0},
  howpublished = {\url{https://github.com/sebasmos/QuantumVE}},
```

---

## License

QuantumVE is free and open source, released under the MIT License.

---

## Contact & Contributions

This dataset collection is maintained as part of the QuantumVE project.

For questions or contributions, feel free to reach out or submit a pull request via the [GitHub repository](https://github.com/sebasmos/QuantumVE).