Sunday, December 6, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Technology and Engineering

Simulated quantum algorithm improves electricity theft detection on synthetic smart-grid data

December 6, 2026
in Technology and Engineering
Katie Riggs
By Katie Riggs Scienmag Editorial Profile - Quantum Physics
Reading Time: 6 mins read
0
Simulated quantum algorithm improves electricity theft detection on synthetic smart-grid data

Simulated quantum algorithm improves electricity theft detection on synthetic smart-grid data

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

In a proof-of-concept study published on December 4, 2026, in Discover Computing, Rubi Sharma and colleagues report that a Quantum k-Nearest Neighbor (QkNN) framework outperformed classical machine learning models at detecting simulated electricity theft in a highly imbalanced smart-grid dataset. Paired with Synthetic Minority Over-sampling Technique (SMOTE) to balance rare theft cases during training, QkNN achieved 0.90 recall and 0.93 accuracy in the study’s concluding comparison, compared with 0.842 recall and 0.918 accuracy for the strongest classical baseline, while the abstract reports that QkNN’s 0.90 recall surpassed classical models’ 0.789 recall. Crucially, all experiments ran on a noise-free classical quantum simulator using 2,000 synthetic consumption records rather than physical quantum hardware or live utility meters, framing the work as a quantum-inspired feasibility study rather than evidence of quantum speedup.

The study addresses electricity theft as a barrier to Sustainable Development Goal 7 (SDG-7), instituted by the United Nations in 2015 under the 2030 Agenda to secure universal access to affordable, reliable, sustainable, and modern energy by 2030. Citing United Nations findings, the authors note that over 13% of the global population lacks adequate electricity access through modern infrastructure, while roughly 3 billion people rely heavily on conventional fuels such as coal, charcoal, wood, and animal waste for cooking and heating. Electricity theft—including illegal connections, billing fraud, and meter tampering, particularly where monitoring is weak—causes utility revenue losses, grid instability, power outages, higher tariffs, and reduced capital for renewable energy, undermining SDG-7 sub-targets for energy access (7.1), renewables (7.2), and efficiency (7.3). A cited distribution-network study suggests advanced monitoring and detection can cut overall losses by more than 17%.

Identifying fraudulent smart-meter patterns involves two main technical challenges: high-dimensional, non-linear consumption data that complicate classical classification, and severe class imbalance, since theft forms a small fraction of records and biases models toward normal usage. While prior energy-sector studies have explored quantum annealing, variational quantum algorithms, quantum kernel methods, hybrid quantum neural networks, and quantum support vector machines for optimization, power-flow analysis, and fault diagnosis, the authors note that many rely on deep parameterized circuits or complex variational optimization that raise training complexity and limit interpretability. Their study instead examines an underexplored alternative: a lightweight, interpretable QkNN architecture using quantum fidelity-based distances without expensive variational training, combining weighted neighborhood voting, SMOTE-based imbalance handling, explainability-driven feature analysis, and benchmarking against multiple classical baselines.

To evaluate QkNN under current Noisy Intermediate-Scale Quantum (NISQ) constraints, the researchers used a synthetic smart-grid dataset of 2,000 samples emulating normal and anomalous consumption. Real-world smart grids generate thousands of variables from high-frequency meter readings, voltage signals, harmonic measurements, and distributed energy resources, whereas Angle Embedding requires one qubit per feature and accessible NISQ devices or simulators stably support around four to five qubits. Directly compressing more than 1,000 features into a few qubits would cause severe information loss, and QkNN’s pairwise fidelity evaluations scale quadratically at approximately O(n²), making larger datasets slow on classical simulators. Access to physical quantum hardware also remains constrained because large-scale systems are often commercially restricted, queue-based, or unavailable for continuous experimentation, and running repeated pairwise comparisons across thousands of samples would entail long queues and high operational costs. Starting from 10 selected electrical, consumption, and billing features—including voltage fluctuations, current consumption, power factor, load variation, billing patterns, and energy loss—the team used Mutual Information ranking with SelectKBest to retain seven informative features, with variance analysis for exploratory assessment, before applying Principal Component Analysis (PCA) to generate four principal components.

PCA feature-importance analysis indicated that Transformer Load, Frequency Drift, Load Variation, and Peak Demand contributed most strongly to the four-dimensional compressed space, whereas Current Consumption and Billing History contributed minimally. The five-stage hybrid quantum-classical workflow then applied standard normalization—such as Min-Max or Z-score scaling—encoded binary labels with 1 representing theft and 0 representing normal usage, and divided the data using a 75:25 stratified train-test split. To prevent data leakage, SMOTE was applied exclusively to the training subset after splitting, creating synthetic minority-class samples by interpolating between a minority record and one of its k-nearest neighbors while leaving the test set completely unseen. All experiments ran in Google Colaboratory using Python 3.10, Scikit-learn, Imbalanced-learn, and PennyLane’s noise-free default.qubit simulator on an Intel i7 processor with 16 GB of RAM.

The QkNN model builds on quantum computing principles—superposition, interference, entanglement, and measurement—in which qubits serve as unit vectors in a two-dimensional complex Hilbert space capable of representing 0, 1, or both simultaneously. Each four-dimensional PCA feature vector is encoded into a quantum state via the AngleEmbedding template in PennyLane, a specialized software development kit designed for differentiable quantum computing, with each feature setting one qubit’s rotation angle. Similarity between two samples is measured through quantum fidelity, or state overlap, defining distance as one minus the squared overlap magnitude so smaller values denote higher similarity. For prediction, QkNN uses inverse-distance weighted voting—adding a small constant of 10⁻⁶ to prevent division by zero—so closer neighbors carry greater weight. By contrast, the classical kNN baseline calculated Euclidean distances in standard vector space and applied unweighted majority voting.

The researchers evaluated QkNN across ten metrics and four neighborhood sizes (k = 1, 3, 5, and 7), with and without SMOTE. Across neighborhood sizes, accuracy rose from k = 1 to k = 3 and then saturated, while runtime increased and peaked around k = 5, making k = 3 the optimal trade-off with SMOTE. Confusion matrices, ROC curves, two-dimensional PCA cluster plots showing partial separation between theft and normal points, and chronological prediction timelines dominated by aligned segments further illustrated classification behavior.

For comparison, the team trained three classical baselines on the same four-feature, 2,000-sample dataset: classical kNN (k = 1, 3, 5, 7); Random Forest, an ensemble of decision trees built via bootstrap sampling with 50, 100, 200, and 300 estimators; and Support Vector Machine (SVM), which finds a maximum-margin separating hyperplane, tested with linear, radial basis function (RBF), and polynomial kernels. Classical kNN produced identical metrics with and without SMOTE, indicating lower sensitivity to synthetic oversampling when class boundaries are already well defined. For SVM, SMOTE reduced accuracy from 91.6% to 89.2% as majority-class bias declined, while raising recall from 26.3% to 73.7%. Overall, the best classical model achieved 0.918 accuracy, 0.842 recall, 0.81 F1-score, 0.92 AUC-ROC, 0.76 Cohen’s Kappa, and 0.77 MCC.

The authors note that while QkNN’s overall accuracy edge over the best classical model is modest at roughly 1 to 2 percentage points, its gains in recall, F1-score, MCC, and Cohen’s Kappa carry greater practical weight for theft detection, where missed fraud causes substantial financial losses and lower grid reliability. Increasing recall from 70.5% for non-SMOTE Random Forest to 90% for QkNN represents a meaningful drop in undetected theft cases. However, the researchers explicitly warn against viewing these findings as genuine quantum advantage or computational supremacy. Because every experiment ran on a noise-free simulator on classical hardware, the model exploits no quantum speedup. Instead, performance improves through the fidelity-based distance metric induced by quantum state embeddings mapping data into a high-dimensional Hilbert space—making QkNN a quantum-inspired method analogous to classical kernel-based models, evaluated against nonlinear baselines to confirm the role of feature mapping.

Practical deployment still faces major computational and empirical barriers. Because QkNN requires repeated quantum circuit executions for every pairwise comparison between training and test instances, its runtime was significantly higher than that of classical models and scaled quadratically with dataset size, leaving the simulator-based approach unscalable for nationwide smart-grid deployment; classical classifiers remain faster, more efficient alternatives under current conditions. Moreover, a 2,000-sample synthetic dataset cannot fully replicate the diverse theft strategies found in real-world smart meter networks, and noise-free simulation omits hardware noise, so the authors frame their results strictly as a proof-of-concept benchmark.

Detailed metric comparisons from the experimental evaluation further illustrate how class rebalancing shaped model behavior. In the section-level QkNN evaluation with SMOTE, the classifier reached an accuracy of 93.4, recall of 88.9, F1-score of 89.3, AUC-ROC of 92.5, MCC of 84.5, and Cohen’s kappa of 84.5, whereas the non-SMOTE configuration peaked at a neighborhood size of k = 5 with a lower AUC-ROC of 89.1, reflecting sensitivity to minority-class scarcity alongside reduced recall and calibration performance. In the concluding summary, QkNN also recorded a log loss of 0.23 and a Brier score loss of 0.06. Among the classical baselines, Random Forest without SMOTE maintained stable accuracy through majority-class dominance, while adding SMOTE raised its recall to 80.5, F1-score to 81.0, MCC to 70.8, and Cohen’s kappa to 69.9.

The authors situate these experiments within a broader body of energy-sector research exploring quantum and quantum-inspired algorithms. Cited studies include an enhanced quantum particle swarm optimization method that reported at least 30.3% lower energy use and at least 26.7% lower latency in network-topology optimization, a quantum-inspired multi-objective evolutionary approach paired with a multi-agent system to regulate smart-building electrical power usage where buildings account for 40% of global energy use, D-Wave-implemented hybrid deep learning for power-system fault diagnosis, and the HHL algorithm for DC power flow analysis. Looking ahead, the authors outline future work integrating real-world smart-meter datasets, utility-scale consumption statistics, repeated evaluations with statistical hypothesis testing, multi-class anomaly detection, and policy-level loss models to quantify SDG-7 outcomes under real deployment conditions, while noting that the dataset is available from the corresponding author on request.

Subject of Research: Simulated Quantum k-Nearest Neighbor classification for electricity theft detection in smart grids

Article Title: Quantum k-Nearest Neighbor approach to detect energy theft under SDG-7 goals

Article References: Sharma, R., Yadav, V., Sheoran, S. K., & Sheoran, R. K. (2026). Quantum k-Nearest Neighbor approach to detect energy theft under SDG-7 goals. Discover Computing, 29(1), Article 968. https://doi.org/10.1007/s10791-026-10459-5

Image Credits: AI Generated

DOI: 10.1007/s10791-026-10459-5

Keywords: Quantum k-Nearest Neighbor, Electricity theft detection, Smart grids, Quantum machine learning, Sustainable Development Goal 7, Quantum fidelity, SMOTE, Class imbalance, PennyLane, Angle embedding, Principal component analysis, Random Forest, Support Vector Machine, NISQ computing, Quantum simulation, Weighted voting, Smart meters

Cite Scienmag News

Katie Riggs. (December 6, 2026). Simulated quantum algorithm improves electricity theft detection on synthetic smart-grid data. Scienmag. https://scienmag.com/simulated-quantum-algorithm-improves-electricity-theft-detection-on-synthetic-smart-grid-data/

Katie Riggs. "Simulated quantum algorithm improves electricity theft detection on synthetic smart-grid data." Scienmag, 6 December 2026, https://scienmag.com/simulated-quantum-algorithm-improves-electricity-theft-detection-on-synthetic-smart-grid-data/. Accessed 6 December 2026.

Katie Riggs. "Simulated quantum algorithm improves electricity theft detection on synthetic smart-grid data." Scienmag. December 6, 2026. https://scienmag.com/simulated-quantum-algorithm-improves-electricity-theft-detection-on-synthetic-smart-grid-data/

Tags: angle embeddingclass imbalanceelectricity theft detectionNISQ computingPennyLanePrincipal Component Analysisquantum fidelityQuantum k-Nearest NeighborQuantum machine learningQuantum simulationRandom Forestsmart gridssmart metersSMOTEsupport vector machinesustainable development goal 7weighted voting
Share26Tweet16
Previous Post

Visual Arts Program Boosts Kindergarteners’ Circular Economy Awareness in Cairo Study

Next Post

Moderate Salinity Enhances Yeast Breakdown and Clarification of Brown Seaweed

Related Posts

Dedicated bus lanes and actuated signals cut simulated Kathmandu bus delays
Technology and Engineering

Dedicated bus lanes and actuated signals cut simulated Kathmandu bus delays

December 6, 2026
Neural branch helps LightGBM intrusion detection only on newer traffic
Technology and Engineering

Neural branch helps LightGBM intrusion detection only on newer traffic

December 6, 2026
Experiment Finds Evidence of Preserved Nuclear Spin in Laser-Accelerated Helium-3
Technology and Engineering

Experiment Finds Evidence of Preserved Nuclear Spin in Laser-Accelerated Helium-3

December 6, 2026
Ankle Relief Necessary but Insufficient for Simulated Humanoid Robot Gait Stability
Technology and Engineering

Ankle Relief Necessary but Insufficient for Simulated Humanoid Robot Gait Stability

December 6, 2026
Ease and AI knowledge predict AI adoption intention in Pakistani Islamic banks
Technology and Engineering

Ease and AI knowledge predict AI adoption intention in Pakistani Islamic banks

December 6, 2026
Review Maps Targeted Iron Nanoparticles for Breast, Lung, and Bone Cancers
Technology and Engineering

Review Maps Targeted Iron Nanoparticles for Breast, Lung, and Bone Cancers

December 6, 2026
Next Post
Moderate Salinity Enhances Yeast Breakdown and Clarification of Brown Seaweed

Moderate Salinity Enhances Yeast Breakdown and Clarification of Brown Seaweed

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27658 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1062 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    683 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    547 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    532 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Dedicated bus lanes and actuated signals cut simulated Kathmandu bus delays
  • Umbilical Cord Stem Cells Curb Mouse Lung Injury by Remodeling Neutrophils
  • Stem cell and mouse models link STAT1 to Marfan aortic pathology
  • Review maps eight shared surface antigens across three solid cancer types

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Science News
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,152 other subscribers

© 2026 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2026 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading