File size: 13,555 Bytes
f8d5109
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
---
license: cc-by-nc-sa-4.0
language:
- en
pretty_name: "Radio Telescope Array – QAOA QUBO Benchmark"
tags:
- synthetic
- sonicium-quantum-lab
- astronomy
- computer-science
- tabular
- optimization
- simulations
- qubo
- qaoa
- combinatorial-optimization
- quantum-computing
- benchmark
configs:
- config_name: default
  data_files:
  - split: train
    path: "radio_telescope_array.csv.gz"
---

# Radio Telescope Array – QAOA QUBO Benchmark

> **Hugging Face mirror** of the Kaggle dataset [soniciumquantumlab/radio-telescope-array](https://www.kaggle.com/datasets/soniciumquantumlab/radio-telescope-array), 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 (`radio_telescope_array.csv.gz`) and load directly with the `datasets` library:
>
> ```python
> from datasets import load_dataset
> ds = load_dataset("SoniciumQuantumLab/radio-telescope-array")
> ```


**89K exactly-solved coverage-selection QUBO instances (8–12 qubits)**

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** in the **radio telescope array** domain. Every row is one instance of a **k-of-n coverage selection** problem: choosing a fixed number of radio-telescope antennas that cover as many sky 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 — ideal 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 | `radio_telescope_array.csv` (99.71 MB), `README.md` |
| Problem type | `coverage_selection` (k-of-n coverage selection) |
| Problem size | n = 8–12 variables / qubits |
| QUBO graph | fully connected (density 1.0) |
| Ground truth | Exact brute-force optimum for **100 %** of rows |
| Feasibility | `feasible` = True for **100 %** of rows |
| Missing values | None |

Instances per problem size:

| n_vars | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|
| rows | 17,810 | 17,993 | 17,685 | 17,777 | 17,788 |

## 3. Problem formulation

Instance parameters are stored in `params_json`:

- `coverage` — coverage score cᵢ of antenna *i* (number of regions it covers)
- `n_regions` — number of regions (2n)
- `cardinality` — k = ⌊n/2⌋, the number of antennas to select
- `penalty` — λ = Σ cᵢ + 1 (large enough that every optimum satisfies the cardinality constraint)

The objective to **minimize** over x ∈ {0,1}ⁿ is

```
E(x) = − Σᵢ cᵢ·xᵢ  +  Σᵢ<ⱼ wᵢⱼ·xᵢ·xⱼ  +  λ·(Σᵢ xᵢ − k)²
```

where xᵢ = 1 selects antenna *i* and wᵢⱼ ≥ 0 is the pairwise coverage-overlap (redundancy) term between antennas *i* and *j*.

Expanded into QUBO form, the coefficients stored in `qubo_json` are

```
Qᵢᵢ = −cᵢ + λ·(1 − 2k)          (linear terms)
Qᵢⱼ = 2λ + wᵢⱼ      for i < j   (couplings)
offset = λ·k²
E(x) = Σᵢ Qᵢᵢ·xᵢ + Σᵢ<ⱼ Qᵢⱼ·xᵢ·xⱼ + offset
```

The optimum always selects exactly k antennas (`feasible` = True). Lower E is better; −E at the optimum is the net covered value after overlap penalties. `optimal_value`, `worst_value`, `random_value` and `greedy_baseline_value` are all values of E(x) **including the offset**.

## 4. Key statistics

| Statistic | Value |
|---|---|
| optimal_value | mean -16.9, median -17, range -24 … -1 |
| greedy_gap (greedy − optimal) | mean 4.06, median 3, max 36 |
| random_value (mean) | 189 |
| worst_value (mean) | 2.18k |
| suggested_p | p = 4: 53,488, p = 5: 35,565 |

## 5. Column dictionary

| # | Column | Type | Description |
|---|---|---|---|
| 1 | `industry` | string | Application domain key of the instance generator. Constant value: radio_telescope_array. |
| 2 | `problem_type` | string | Optimization archetype. Constant value: coverage_selection (k-of-n coverage selection). |
| 3 | `instance_id` | string | Unique instance ID radio_telescope_array_<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 (one per antenna). |
| 5 | `n_qubits` | int | Qubits needed for a direct one-variable-per-qubit QAOA encoding (equals n_vars). |
| 6 | `seed` | int | Random seed used to generate the instance (= global index + 42); makes every row reproducible. |
| 7 | `params_json` | JSON string | JSON generation parameters: coverage (score c_i per antenna), n_regions (= 2n), cardinality (k = floor(n/2) to select), penalty (λ = Σc_i + 1). |
| 8 | `qubo_json` | JSON string | Upper-triangular QUBO as JSON {"i,j": value}, 0-based, i ≤ j. Q_ii = −c_i + λ(1−2k); Q_ij = 2λ + w_ij, w_ij ≥ 0 = pairwise coverage overlap. |
| 9 | `offset` | float | Constant energy offset λ·k². Objective: E(x) = Σ_{i≤j} Q_ij x_i x_j + offset. |
| 10 | `optimal_bitstring` | string | Exact optimal assignment as an n-character bit string; character i (left to right, 0-based) is x_i. Read as string to keep leading zeros. |
| 11 | `optimal_value` | float | Exact minimum objective E(x*) including the offset (lower is better). |
| 12 | `optimal_is_exact` | bool | True when the optimum was proven by exhaustive brute force over all 2^n assignments (True for all rows). |
| 13 | `worst_value` | float | Maximum objective over all 2^n assignments (worst possible solution). |
| 14 | `random_value` | float | Expected objective of a uniformly random bit string (exact mean over all 2^n assignments). |
| 15 | `greedy_baseline_value` | float | Objective E(x) of the solution found by a classical greedy heuristic (baseline for solver comparison). |
| 16 | `greedy_gap` | float | greedy_baseline_value − optimal_value (≥ 0); 0 means the greedy heuristic found the optimum. |
| 17 | `value_range` | float | worst_value − optimal_value; use it to normalize energies, e.g. approximation ratio = (worst_value − E) / value_range. |
| 18 | `num_linear_terms` | int | Number of non-zero linear (diagonal) QUBO terms. |
| 19 | `num_quadratic_terms` | int | Number of non-zero quadratic couplings in the QUBO. |
| 20 | `density` | float | Density of the QUBO interaction graph = num_quadratic_terms / (n(n−1)/2); 1.0 = fully connected. |
| 21 | `coeff_abs_max` | float | Largest absolute QUBO coefficient; useful for scaling QAOA angles or annealer parameters. |
| 22 | `coeff_abs_mean` | float | Mean absolute value of all non-zero QUBO coefficients (linear + quadratic). |
| 23 | `degree_max` | int | Maximum node degree of the QUBO interaction graph. |
| 24 | `degree_mean` | float | Mean node degree of the QUBO interaction graph. |
| 25 | `suggested_qubits` | int | Recommended qubit count for a QAOA run (= n). |
| 26 | `suggested_p` | int | Recommended QAOA circuit depth p (number of layers) for this instance. |
| 27 | `feasible` | bool | True when the optimum selects exactly k antennas (all rows). |
| 28 | `generator_version` | string | Version of the Sonicium generator that produced the row (qaoa-stream-1.1). |

## 6. 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/radio-telescope-array/radio_telescope_array.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

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(x_opt @ 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) if Q[i, j]},
)
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,
)
print(dimod.ExactSolver().sample(bqm).first.energy, row.optimal_value)
```

## 7. Suggested uses

- Benchmarking QAOA, warm-start QAOA and recursive QAOA on cardinality-constrained selection
- Studying penalty tuning for k-of-n constraints in QUBO / Ising models
- Training ML models that predict optimal energies, QAOA angles or instance hardness from instance features
- Comparing simulated annealing, tabu search, greedy and exact solvers against the stored exact optimum
- Prototyping radio telescope array optimisers with quantum-ready QUBO models

## 8. 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. For each instance, n ∈ {8, …, 12} antennas and the k-of-n coverage selection parameters in `params_json` are drawn from the seeded random generator.
3. The parameters are encoded as a QUBO (`qubo_json`, `offset`) using the formulation in section 3.
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.

## 9. Notes for users

- `optimal_bitstring` contains leading zeros; load it with `dtype=str` (some tools 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 or proprietary information.
- This dataset is one domain of Sonicium's multi-domain QAOA benchmark family; all domains share the same 28-column schema, so they can be concatenated for cross-domain studies.

## 10. 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).

## 11. Citation

```bibtex
@misc{sonicium2026radiotelescopearray,
  title        = {Radio Telescope Array -- QAOA QUBO Benchmark},
  author       = {Billah, Hussain and {Sonicium Quantum Lab Ltd.}},
  year         = {2026},
  publisher    = {Kaggle},
  howpublished = {\url{https://www.kaggle.com/datasets/soniciumquantumlab/radio-telescope-array}},
  note         = {89,053 exactly-solved QUBO instances, generator qaoa-stream-1.1}
}
```

## 12. 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