SOLVING THE MAX-CUT PROBLEM USING THE QASPA ALGORITHM
DOI:
https://doi.org/10.20998/2079-0023.2025.02.13Keywords:
Max-Cut, quantum algorithms, QASPA, superposition, phase shifts, QAOA, quantum programmingAbstract
A novel quantum algorithm named the Quantum Approximate Shift-Phase Algorithm (QASPA) is proposed for the approximate solution of the Max-Cut problem. The Max-Cut problem consists in partitioning the set of vertices into two subsets in such a way that the total weight of the edges connecting vertices from different subsets is maximized. This problem is known to be NP-complete and represents a combinatorial challenge. Classical solution algorithms require excessive computational time, rendering them inefficient for medium and large graphs. Approximate solution methods offer guaranteed approximation ratios but still face significant limitations in terms of accuracy and performance on larger graphs. The proposed algorithm features a simple scheme and a minimal number of optimized parameters. The input graph is represented by an adjacency matrix, after which the edge weights are linearly normalized to fixed phase angles. The quantum circuit begins by applying a Hadamard transform to each qubit, thereby creating an equal superposition of all possible partitions. Subsequently, for each pair of adjacent vertices, a sequence comprising a controlled NOT gate, a single-qubit rotation around the Y-axis by an angle proportional to the edge weight, and a second controlled NOT gate is applied. This encodes the phase information about the edge weights into the quantum state of the system. After circuit execution, the qubits are measured in the standard computational basis, and the resulting probability distribution allows the selection of the most probable partition as an approximate solution to the problem. Experimental studies conducted on quantum processor simulators have demonstrated that the proposed algorithm achieves accuracy comparable to the Variational Quantum Approximate Optimization Algorithm (QAOA) while significantly reducing computation time due to the absence of iterative parameter optimization. Moreover, as the graph size increases, the algorithm's runtime grows considerably slower compared to classical brute-force approaches and QAOA, confirming its potential for solving medium-sized Max-Cut problems.
References
Lucas A. Ising formulations of many NP problems. Frontiers in Physics. 2014, vol. 2, article 5. DOI: 10.3389/fphy.2014.00005.
Goemans M. X., Williamson D. P. Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming. Journal of the ACM. 1995, vol. 42, no. 6, pp. 1115–1145. DOI: 10.1145/227683.227684.
Farhi E., Goldstone J., Gutmann S. A quantum approximate optimization algorithm. arXiv preprint. 2014. DOI: 10.48550/arXiv.1411.4028.
Sapozhnyk D. Quantum approximate optimization algorithm for the Max-Cut problem: JavaScript programming language implementation. Proceedings of International Conference on Applied Innovation in IT. 2024, vol. 12, no. 2, pp. 27–34. DOI: 10.25673/118110.
Harrigan M. P., Sung K. J., Neeley M., et al. Quantum approximate optimization of non-planar graph problems on a planar superconducting processor. Nature Physics. 2021, vol. 17, pp. 332–336. DOI: 10.1038/s41567-020-01105-y.
Farhi E., Goldstone J., Gutmann S., et al. A quantum adiabatic evolution algorithm applied to random instances of an NP-complete problem. Science. 2001, vol. 292, no. 5516, pp. 472–475. DOI: 10.1126/science.1057726.
Albash T., Lidar D. A. Adiabatic quantum computing. Reviews of Modern Physics. 2018, vol. 90, article 015002. DOI: 10.1103/RevModPhys.90.015002.
Finžgar J. R., Kerschbaumer A., Schuetz M. J. A., et al. Quantum-informed recursive optimization algorithms. PRX Quantum. 2023, vol. 5, article 020327. DOI: 10.48550/arXiv.2308.13607.
Esposito A., Danzig T. Hybrid classical-quantum simulation of MaxCut using QAOA-in-QAOA. Proceedings of 2024 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW), San Francisco, CA, USA. 2024, pp. 1088–1094. DOI: 10.1109/IPDPSW63119.2024.00180.
Sahil M., Jain S Quantum pathfinders: navigate the shortest route. International Journal of Engineering Applied Sciences and Technology. 2022, vol. 7, no. 12, pp. 116–121. DOI: 10.33564/IJEAST.2023.v07i12.020.
IBM Quantum Documentation. Available at: https://quantum.cloud.ibm.com/docs/en/guides (accessed 18.04.2025).
Max-Cut QAOA Implementation. Available at: https://qrisp.eu/general/tutorial/Quantum%20Alternating%20Operator%20Ansatz/index.html (accessed 18.04.2025).
Egger D. J., Marecek J., Woerner S. Warm-starting quantum optimization. Quantum. 2021, vol. 5, article 479. DOI: 10.22331/q-2021-06-17-479.
Downloads
Published
How to Cite
Issue
Section
License

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
