Previous Article in Journal
New Information Communication Technologies in the Digital Era
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

From Subset-Sum to Decoding: Improved Classical and Quantum Algorithms via Ternary Representation Technique

by
Yang Li
Key Laboratory of System Software (Chinese Academy of Sciences) and State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China
Information 2025, 16(10), 887; https://doi.org/10.3390/info16100887 (registering DOI)
Submission received: 11 September 2025 / Revised: 6 October 2025 / Accepted: 10 October 2025 / Published: 12 October 2025

Abstract

The subset-sum problem, a foundational NP-hard problem in theoretical computer science, serves as a critical building block for cryptographic constructions. This work introduces novel classical and quantum heuristic algorithms for the random subset-sum problem at density d=1, where exactly one solution is expected. Classically, we propose the first algorithm based on a ternary tree representation structure, inspired by recent advances in lattice-based cryptanalysis. Through numerical optimization, our method achieves a time complexity of O˜20.2400n and space complexity of O˜20.2221n, improving upon the previous best classical heuristic result of O˜20.2830n. In the quantum setting, we develop a corresponding algorithm by integrating the classical ternary representation technique with a quantum walk search framework. The optimized quantum algorithm attains a time and space complexity of O˜20.1843n, surpassing the prior state-of-the-art quantum heuristic of O˜20.2182n. Furthermore, we apply our algorithms to information set decoding in code-based cryptography. For half-distance decoding, our classical algorithm improves the time complexity to O˜20.0453n, surpassing the previous best of O˜20.0465n. For full-distance decoding, we achieve a quantum complexity of O˜20.058326n, advancing beyond the prior best quantum result of O˜20.058696n. These findings demonstrate the broad applicability and efficiency of our ternary representation technique across both classical and quantum computational models.
Keywords: subset-sum; information set decoding; representation technique; quantum algorithm; quantum walk subset-sum; information set decoding; representation technique; quantum algorithm; quantum walk
Graphical Abstract

Share and Cite

MDPI and ACS Style

Li, Y. From Subset-Sum to Decoding: Improved Classical and Quantum Algorithms via Ternary Representation Technique. Information 2025, 16, 887. https://doi.org/10.3390/info16100887

AMA Style

Li Y. From Subset-Sum to Decoding: Improved Classical and Quantum Algorithms via Ternary Representation Technique. Information. 2025; 16(10):887. https://doi.org/10.3390/info16100887

Chicago/Turabian Style

Li, Yang. 2025. "From Subset-Sum to Decoding: Improved Classical and Quantum Algorithms via Ternary Representation Technique" Information 16, no. 10: 887. https://doi.org/10.3390/info16100887

APA Style

Li, Y. (2025). From Subset-Sum to Decoding: Improved Classical and Quantum Algorithms via Ternary Representation Technique. Information, 16(10), 887. https://doi.org/10.3390/info16100887

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop