Inspiration

Where do you put a data center? Companies ask this all the time, but in South Carolina it has become a real problem for utilities. Santee Cooper told state legislators that data centers could use around 70% of its future power, and single requests now come in at 70 to 300 MW. Colleton County even paused new data center approvals this summer.

Most siting tools score every location and take the top few. We thought that missed something. Two data centers close to each other share the same power lines, the same river and the same hurricane risk. So the best four sites aren't always the four highest scores. Picking a group of sites where pairs affect each other is an optimization problem, and we wanted to know if a quantum computer could actually help with it today.

What it does

  • Scores 147 large substations across South Carolina using public data on power, water, natural hazards, electricity price and fiber access.
  • Picks the best set of 4 sites while accounting for sites that overlap.
  • Solves that choice with QAOA on two real IBM quantum computers and compares two ways of setting up the problem.

How we built it

Data. We used OpenStreetMap for substations, EIA data for power plants and prices, WRI Aqueduct for water stress and FEMA's National Risk Index for hazards. We kept the 16 best sites that were at least 15 km apart, and each site became one qubit.

The problem. For each site, $x_i = 1$ means we build there. We want to minimize

$$ E(x) = -\sum_i u_i x_i + \sum_{i<j} J_{ij}\, x_i x_j \quad \text{with} \quad \sum_i x_i = 4 $$

Here $u_i$ is how good a site is on its own, and $J_{ij}$ is a penalty for building at two sites that share power lines, a river or a storm path. 78 of the 120 possible pairs get a penalty. Ranking alone picks Oconee and Jocassee, which are only 18 km apart. The actual best set keeps Oconee and swaps Jocassee for Campfield on the coast.

Our main design choice. The usual way to force "pick exactly 4" is a penalty $P\left(\sum_i x_i - 4\right)^2$. That connects every qubit to every other qubit. We used $\lambda \sum_i x_i$ instead and tuned $\lambda$ with a simple search. This kept only the 78 real pairs and cut the two-qubit gates on ibm_fez from 436 to 322.

The circuit. Standard QAOA: Hadamards on all 16 qubits, an RZ gate for each site's score, an RZZ gate for each penalized pair, RX gates to mix, then measurement. We trained the angles on a laptop simulator, since 16 qubits is small enough to simulate exactly, using CVaR and COBYLA. That saved our 10 free minutes of quantum time for the final runs. On hardware we ran 4,000 shots per circuit with dynamical decoupling and twirling turned on.

Results

Each shot gives one set of sites. Quality scores a set from 0 (worst) to 1 (best), and a random set averages 0.54.

Run Quality, ours Quality, usual Exact best, ours Exact best, usual
ibm_fez, p=1 0.71 0.52 4 0
ibm_fez, p=2 0.62 0.53 0 0
ibm_marrakesh, p=1 0.67 0.54 1 0
ibm_marrakesh, p=2 0.70 0.55 3 0

Across both chips, our version returned the exact best answer 8 times in 16,000 shots. The usual version never did. Random guessing would expect about 0.24 hits. On real hardware the usual setup did no better than random, and ours did clearly better.

Challenges we ran into

  • HIFLD, the federal map of substations and power lines, went offline in 2025, so we rebuilt that layer from OpenStreetMap.
  • Qiskit's Statevector tried to use about 68 GB of memory for 16 qubits. We wrote our own simulator in numpy and checked it against Qiskit Aer.
  • At first we fixed every shot to exactly 4 sites before scoring it. Then we noticed random guesses did just as well after the same fix. We switched to scoring the raw shots.
  • One ibm_fez job sat in a long queue late at night, so we also ran on ibm_marrakesh.

What we learned

  • How we set up the problem mattered more than how deep the circuit was. Same problem, two setups, and only one survived the noise.
  • Every extra two-qubit gate costs you. IBM's qubits only connect to 2 or 3 neighbors, so extra pairs turn into extra gates and extra noise.
  • A regular computer still solves 16 sites instantly. We aren't claiming a quantum speedup. We learned which setups actually work on today's hardware.
  • Always compare against random guessing. It caught a mistake we would have missed.

What's next

We want to try bigger regions with more sites, use real grid capacity data when it becomes public, and add error mitigation on top of what we already used.

Built With

Share this project:

Updates

Submission history