Datasets:
Publish gps-satellite-selection (mirror of Kaggle soniciumquantumlab/gps-satellite-selection)
c78a5ec verified |
Download README.md from SoniciumQuantumLab/gps-satellite-selection: direct link, hf CLI and curl.
- Browser
- Download file 13.3 kB
-
https://huggingface.co/datasets/SoniciumQuantumLab/gps-satellite-selection/resolve/main/README.md
- Command line
-
hf download hf://datasets/SoniciumQuantumLab/gps-satellite-selection/README.md
-
curl -L -o README.md https://huggingface.co/datasets/SoniciumQuantumLab/gps-satellite-selection/resolve/main/README.md
13.3 kB
| license: cc-by-nc-sa-4.0 | |
| language: | |
| - en | |
| pretty_name: "GPS Satellite Selection – QAOA QUBO Benchmark" | |
| tags: | |
| - synthetic | |
| - sonicium-quantum-lab | |
| - physics | |
| - computer-science | |
| - tabular | |
| - optimization | |
| - simulations | |
| - qubo | |
| - qaoa | |
| - combinatorial-optimization | |
| - quantum-computing | |
| - benchmark | |
| configs: | |
| - config_name: default | |
| data_files: | |
| - split: train | |
| path: "gps_satellite_selection.csv.gz" | |
| # GPS Satellite Selection – QAOA QUBO Benchmark | |
| > **Hugging Face mirror** of the Kaggle dataset [soniciumquantumlab/gps-satellite-selection](https://www.kaggle.com/datasets/soniciumquantumlab/gps-satellite-selection), created by **Hussain Billah** ([ORCID 0009-0009-5686-619X](https://orcid.org/0009-0009-5686-619X)) and published by **Sonicium Quantum Lab Ltd.** | |
| > Data files here are gzip-compressed copies of the original files (`gps_satellite_selection.csv.gz`) and load directly with the `datasets` library: | |
| > | |
| > ```python | |
| > from datasets import load_dataset | |
| > ds = load_dataset("SoniciumQuantumLab/gps-satellite-selection") | |
| > ``` | |
| **89,053 exactly-solved QUBO instances (8–12 qubits) for GPS satellite coverage selection** | |
| Created by **Hussain Billah** ([ORCID 0009-0009-5686-619X](https://orcid.org/0009-0009-5686-619X)) · Published by **Sonicium Quantum Lab Ltd.** · Series DOI: [10.5281/zenodo.24355128](https://doi.org/10.5281/zenodo.24355128) · Generator `qaoa-stream-1.1` · License **CC BY-NC-SA 4.0** | |
| > **Custom datasets & commercial licensing:** Need a larger volume, a new domain, a custom schema or file format, or a commercial / enterprise license? Sonicium Quantum Lab Ltd. builds custom datasets on request. | |
| > | |
| > Email: **research@sonicium.ltd** · **collaboration@sonicium.ltd** · Website: **https://soniciumquantumlab.com** | |
| --- | |
| ## 1. Overview | |
| This dataset is a synthetic benchmark for **quantum and classical combinatorial optimization**. Every row is one instance of a **GPS / GNSS satellite selection** problem: from *n* candidate satellites, choose exactly *k* so that the selected constellation covers as many ground regions as possible while avoiding redundant (overlapping) coverage. | |
| Each instance is delivered as a ready-to-run **QUBO** (Quadratic Unconstrained Binary Optimization) model with **8–12 binary variables**, so it maps one-to-one onto **8–12 qubits** for **QAOA**, VQE, quantum annealing, or any classical QUBO / Ising solver. | |
| Every row ships with its **exact global optimum** (proven by exhaustive brute force over all 2ⁿ assignments), together with the worst value, the random-guess expectation and a greedy-heuristic baseline. This makes the dataset well suited for measuring **approximation ratios, solver accuracy and QAOA parameter strategies** at scale. | |
| All data was produced by deterministic, seeded Python code; no AI/LLM was used to generate any value. | |
| ## 2. Highlights | |
| | Item | Value | | |
| |---|---| | |
| | Instances (rows) | **89,053** | | |
| | Columns | **28** | | |
| | Files | `gps_satellite_selection.csv` (≈100 MB), `README.md` | | |
| | Problem size | n = 8, 9, 10, 11, 12 variables / qubits (≈17.7k–17.9k instances each) | | |
| | Satellites to select | k = ⌊n/2⌋ → 4 (n = 8, 9), 5 (n = 10, 11), 6 (n = 12) | | |
| | Ground regions | n_regions = 2n | | |
| | QUBO graph | Fully connected (density 1.0), n(n−1)/2 = 28–66 couplings | | |
| | Ground truth | Exact brute-force optimum for **100 %** of rows | | |
| | Feasibility | Every optimum selects exactly k satellites (100 %) | | |
| | Missing values | None | | |
| | Suggested QAOA depth | p = 4 for n ≤ 10 · p = 5 for n ≥ 11 | | |
| Instances per problem size: | |
| | n_vars | 8 | 9 | 10 | 11 | 12 | | |
| |---|---|---|---|---|---| | |
| | rows | 17,731 | 17,813 | 17,911 | 17,907 | 17,691 | | |
| ## 3. Problem formulation | |
| For instance parameters stored in `params_json`: | |
| - `coverage` — coverage score cᵢ of satellite *i* (number of ground regions it sees) | |
| - `n_regions` — number of ground regions (2n) | |
| - `cardinality` — k, the number of satellites to select | |
| - `penalty` — λ = Σ cᵢ + 1 (large enough that every optimum satisfies the cardinality constraint) | |
| the objective to **minimize** over x ∈ {0,1}ⁿ (xᵢ = 1 → satellite *i* is selected) is | |
| ``` | |
| E(x) = − Σᵢ cᵢ·xᵢ + Σᵢ<ⱼ wᵢⱼ·xᵢ·xⱼ + λ·(Σᵢ xᵢ − k)² | |
| ``` | |
| where wᵢⱼ ≥ 0 is the pairwise coverage-overlap (redundancy) term between satellites *i* and *j*. | |
| Expanded into QUBO form, the coefficients stored in `qubo_json` are | |
| ``` | |
| Qᵢᵢ = −cᵢ + λ·(1 − 2k) (linear / diagonal terms) | |
| Qᵢⱼ = 2λ + wᵢⱼ for i < j (quadratic couplings) | |
| offset = λ·k² | |
| E(x) = Σᵢ Qᵢᵢ·xᵢ + Σᵢ<ⱼ Qᵢⱼ·xᵢ·xⱼ + offset | |
| ``` | |
| `optimal_value`, `worst_value`, `random_value` and `greedy_baseline_value` are all values of E(x) **including the offset**. Lower is better. | |
| ## 4. Column dictionary | |
| | # | Column | Type | Description | | |
| |---|---|---|---| | |
| | 1 | `industry` | string | Application domain key. Constant: `gps_satellite_selection`. | | |
| | 2 | `problem_type` | string | Optimization archetype. Constant: `coverage_selection`. | | |
| | 3 | `instance_id` | string | Unique ID `gps_satellite_selection_<9-digit global index>`. The index is shared across Sonicium's multi-domain QAOA benchmark family (this domain uses every 31st index). | | |
| | 4 | `n_vars` | int | Number of binary decision variables n (candidate satellites), 8–12. | | |
| | 5 | `n_qubits` | int | Qubits needed for a direct one-variable-per-qubit encoding (= n_vars). | | |
| | 6 | `seed` | int | Random seed of the instance (= global index + 42). Every row is reproducible. | | |
| | 7 | `params_json` | JSON string | Generation parameters: `coverage` (cᵢ list), `n_regions`, `cardinality` (k), `penalty` (λ). | | |
| | 8 | `qubo_json` | JSON string | Upper-triangular QUBO as `{"i,j": value}` with 0-based i ≤ j. Keys `"i,i"` are linear terms; `"i,j"` (i < j) are couplings. | | |
| | 9 | `offset` | float | Constant energy offset λ·k². | | |
| | 10 | `optimal_bitstring` | string | Exact optimal assignment, n characters. Character *i* (left to right, 0-based) is xᵢ; `1` = satellite selected. **Read as string** to keep leading zeros. | | |
| | 11 | `optimal_value` | float | Exact minimum of E(x) (range −24 to 0, mean −16.9). | | |
| | 12 | `optimal_is_exact` | bool | `True` when the optimum is proven by exhaustive search over all 2ⁿ states (all rows). | | |
| | 13 | `worst_value` | float | Maximum of E(x) over all 2ⁿ states. | | |
| | 14 | `random_value` | float | Expected E(x) of a uniformly random bitstring (exact mean over all 2ⁿ states). | | |
| | 15 | `greedy_baseline_value` | float | E(x) of the solution found by a classical greedy heuristic. | | |
| | 16 | `greedy_gap` | float | `greedy_baseline_value − optimal_value` (≥ 0; 0 means greedy found the optimum). Mean 4.08, median 3. | | |
| | 17 | `value_range` | float | `worst_value − optimal_value`; use it to normalize energies. | | |
| | 18 | `num_linear_terms` | int | Number of non-zero linear QUBO terms (= n). | | |
| | 19 | `num_quadratic_terms` | int | Number of non-zero couplings (= n(n−1)/2, 28–66). | | |
| | 20 | `density` | float | Coupling density of the interaction graph (1.0 = complete graph; all rows). | | |
| | 21 | `coeff_abs_max` | float | Largest absolute QUBO coefficient (useful for angle / parameter scaling). | | |
| | 22 | `coeff_abs_mean` | float | Mean absolute value of all non-zero QUBO coefficients. | | |
| | 23 | `degree_max` | int | Maximum node degree of the interaction graph (= n − 1). | | |
| | 24 | `degree_mean` | float | Mean node degree of the interaction graph (= n − 1). | | |
| | 25 | `suggested_qubits` | int | Recommended qubit count for QAOA (= n). | | |
| | 26 | `suggested_p` | int | Recommended QAOA depth p: 4 for n ≤ 10 (53,455 rows), 5 for n ≥ 11 (35,598 rows). | | |
| | 27 | `feasible` | bool | `True` when the optimum selects exactly k satellites (all rows). | | |
| | 28 | `generator_version` | string | Generator version: `qaoa-stream-1.1`. | | |
| ## 5. Quick start | |
| ### Load and verify an optimum (pandas + NumPy) | |
| ```python | |
| import json | |
| import numpy as np | |
| import pandas as pd | |
| df = pd.read_csv( | |
| "/kaggle/input/gps-satellite-selection/gps_satellite_selection.csv", | |
| dtype={"optimal_bitstring": str}, # keep leading zeros | |
| ) | |
| def qubo_matrix(row): | |
| n = int(row.n_vars) | |
| Q = np.zeros((n, n)) | |
| for key, value in json.loads(row.qubo_json).items(): | |
| i, j = map(int, key.split(",")) | |
| Q[i, j] = value # upper-triangular, i <= j | |
| return Q | |
| def energy(Q, x, offset): | |
| return float(x @ Q @ x + offset) | |
| row = df.iloc[0] | |
| Q = qubo_matrix(row) | |
| x_opt = np.array([int(b) for b in row.optimal_bitstring]) # char i -> x_i | |
| print(energy(Q, x_opt, row.offset), row.optimal_value) # identical | |
| ``` | |
| ### Approximation ratio for a solver / QAOA result | |
| ```python | |
| def approximation_ratio(E, row): | |
| # 1.0 = optimal, 0.0 = worst possible assignment | |
| return (row.worst_value - E) / row.value_range | |
| ``` | |
| ### Build a QAOA Hamiltonian (Qiskit Optimization) | |
| ```python | |
| from qiskit_optimization import QuadraticProgram | |
| n = int(row.n_vars) | |
| qp = QuadraticProgram() | |
| for i in range(n): | |
| qp.binary_var(f"x{i}") | |
| qp.minimize( | |
| constant=row.offset, | |
| linear={f"x{i}": Q[i, i] for i in range(n)}, | |
| quadratic={(f"x{i}", f"x{j}"): Q[i, j] for i in range(n) for j in range(i + 1, n)}, | |
| ) | |
| hamiltonian, ising_offset = qp.to_ising() # use with QAOA / QAOAAnsatz, p = row.suggested_p | |
| ``` | |
| > Qiskit measurement strings are little-endian (rightmost bit = qubit 0). Reverse them before comparing with `optimal_bitstring`, where the leftmost character is x₀. | |
| ### D-Wave Ocean / dimod | |
| ```python | |
| import dimod | |
| bqm = dimod.BinaryQuadraticModel.from_qubo( | |
| {tuple(map(int, k.split(","))): v for k, v in json.loads(row.qubo_json).items()}, | |
| offset=row.offset, | |
| ) | |
| best = dimod.ExactSolver().sample(bqm).first | |
| print(best.energy, row.optimal_value) | |
| ``` | |
| ## 6. Suggested uses | |
| - Benchmarking **QAOA** and other variational algorithms (VQE, warm-start QAOA, recursive QAOA) against exact ground truth | |
| - Studying **QAOA parameter transfer / concentration** across thousands of same-family instances (n = 8–12, p = 4–5) | |
| - Training ML models that **predict QAOA angles, optimal energies or instance hardness** from instance features | |
| - Comparing quantum annealing, simulated annealing, tabu search, greedy and exact solvers on constrained selection problems | |
| - Teaching penalty-based **constraint encoding** (cardinality constraints) in QUBO / Ising models | |
| - Rapid prototyping of satellite / sensor **coverage-selection** optimizers for GNSS, Earth observation and IoT networks | |
| ## 7. Generation methodology | |
| 1. A global, round-robin instance counter drives Sonicium's multi-domain QAOA stream generator; this domain receives every 31st index, and each instance is seeded with `seed = index + 42`. | |
| 2. n ∈ {8, …, 12} candidate satellites are drawn with coverage scores cᵢ over 2n ground regions; k = ⌊n/2⌋ satellites must be selected. | |
| 3. Pairwise overlap terms wᵢⱼ and the cardinality penalty λ = Σcᵢ + 1 are combined into a fully connected QUBO. | |
| 4. All 2ⁿ assignments are evaluated exhaustively to obtain the exact optimum, the worst value and the exact random-assignment mean; a greedy heuristic provides the classical baseline. | |
| 5. Graph statistics (terms, density, degrees, coefficient magnitudes) and QAOA hints (`suggested_qubits`, `suggested_p`) are attached, and every row is validated (`optimal_is_exact`, `feasible`) before being written. | |
| ## 8. Notes for users | |
| - `optimal_bitstring` contains leading zeros; load it with `dtype=str` (some tools, including Kaggle's preview, display it as a number). | |
| - `qubo_json` and `params_json` are JSON strings; parse them with `json.loads`. | |
| - The data is fully synthetic and contains no personal, proprietary or real satellite-tracking information. | |
| - Energy columns hold whole numbers written as floats (e.g. `-17.0`); only `random_value` and `coeff_abs_mean` can be fractional. | |
| ## 9. License | |
| Released under **Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)** — https://creativecommons.org/licenses/by-nc-sa/4.0/ | |
| Free for research, education and other non-commercial use with attribution. For **commercial licensing**, larger instance sets or custom domains, contact Sonicium Quantum Lab Ltd. (below). | |
| ## 10. Citation | |
| ```bibtex | |
| @misc{sonicium2026gpsqubo, | |
| title = {GPS Satellite Selection -- QAOA QUBO Benchmark}, | |
| author = {Billah, Hussain and {Sonicium Quantum Lab Ltd.}}, | |
| year = {2026}, | |
| publisher = {Kaggle}, | |
| howpublished = {\url{https://www.kaggle.com/datasets/soniciumquantumlab/gps-satellite-selection}}, | |
| note = {89,053 exactly-solved QUBO instances, generator qaoa-stream-1.1} | |
| } | |
| ``` | |
| ## 11. Contact & Custom Data Requests | |
| For **custom datasets** (larger scale, new domains, custom schema or format) or a **commercial license**, email us with your use case, the volume you need and your preferred format. | |
| **Sonicium Quantum Lab Ltd.** | |
| - Primary contact: **Nazmul Basher**, Head of Marketing & Communications | |
| - Chairman and Chief Scientist: **Hussain Billah** | |
| - Email: research@sonicium.ltd · collaboration@sonicium.ltd | |
| - Website: https://soniciumquantumlab.com | |
| - Bangladesh office: 5th Floor, Opolok, 225 Senpara Parbata Lane, Mirpur-10, Dhaka-1216, Bangladesh | |
| - US office: 1270 3rd St, Brooklyn, New York 11219, USA | |