Skip to content

Commit b4dff86

Browse files
committed
Remove strict mode for docs building
1 parent 8c07d7a commit b4dff86

File tree

7 files changed

+1225
-5
lines changed

7 files changed

+1225
-5
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Python
2121
uses: actions/setup-python@v4
2222
with:
23-
python-version: '3.11'
23+
python-version: "3.11"
2424

2525
- name: Install UV
2626
uses: astral-sh/setup-uv@v3
@@ -34,7 +34,7 @@ jobs:
3434
3535
- name: Build documentation
3636
run: |
37-
uv run mkdocs build --strict
37+
uv run mkdocs build
3838
3939
- name: Deploy to gh-pages
4040
uses: peaceiris/actions-gh-pages@v3
@@ -55,7 +55,7 @@ jobs:
5555
- name: Set up Python
5656
uses: actions/setup-python@v4
5757
with:
58-
python-version: '3.11'
58+
python-version: "3.11"
5959

6060
- name: Install UV
6161
uses: astral-sh/setup-uv@v3
@@ -69,4 +69,4 @@ jobs:
6969
7070
- name: Build documentation (test only)
7171
run: |
72-
uv run mkdocs build --strict
72+
uv run mkdocs build --strict

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ google_quantum_cache/
302302
!.github/**/*.yml
303303
!.github/**/*.yaml
304304
data/
305-
datasets/
306305
raw_data/
307306
processed_data/
308307
*.sqlite
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
"""SuperQuantX Datasets Module.
2+
3+
This module provides datasets and data loading utilities for quantum machine learning.
4+
It includes quantum-specific datasets, classical datasets adapted for quantum computing,
5+
and synthetic data generators for testing quantum algorithms.
6+
"""
7+
8+
from .molecular import (
9+
load_beh2_molecule,
10+
load_h2_molecule,
11+
load_lih_molecule,
12+
load_molecule,
13+
)
14+
from .preprocessing import (
15+
AmplitudeEncoder,
16+
AngleEncoder,
17+
QuantumFeatureEncoder,
18+
normalize_quantum_data,
19+
)
20+
from .quantum_datasets import (
21+
load_breast_cancer_quantum,
22+
load_digits_quantum,
23+
load_iris_quantum,
24+
load_wine_quantum,
25+
)
26+
from .synthetic import (
27+
generate_classification_data,
28+
generate_clustering_data,
29+
generate_portfolio_data,
30+
generate_regression_data,
31+
)
32+
33+
34+
__all__ = [
35+
# Quantum datasets
36+
"load_iris_quantum",
37+
"load_wine_quantum",
38+
"load_digits_quantum",
39+
"load_breast_cancer_quantum",
40+
41+
# Synthetic data generators
42+
"generate_classification_data",
43+
"generate_regression_data",
44+
"generate_clustering_data",
45+
"generate_portfolio_data",
46+
47+
# Molecular datasets
48+
"load_molecule",
49+
"load_h2_molecule",
50+
"load_lih_molecule",
51+
"load_beh2_molecule",
52+
53+
# Preprocessing utilities
54+
"QuantumFeatureEncoder",
55+
"AmplitudeEncoder",
56+
"AngleEncoder",
57+
"normalize_quantum_data",
58+
]

0 commit comments

Comments
 (0)