Por favor, use este identificador para citar o enlazar este ítem: https://hdl.handle.net/20.500.12104/110568
Registro completo de metadatos
Campo DCValorLengua/Idioma
dc.contributor.authorPons Martinez, Mauricio
dc.date.accessioned2025-12-04T21:50:23Z-
dc.date.available2025-12-04T21:50:23Z-
dc.date.issued2024-12-10
dc.identifier.urihttps://wdg.biblio.udg.mx
dc.identifier.urihttps://hdl.handle.net/20.500.12104/110568-
dc.description.abstractABSTRACT Classical and quantum solvers were implemented to compare their efficiency and scalability when solving the N-Queens problem with excluded diagonals. This problem is NP-complete (Nondeterministic Polynomial-complete), meaning it belongs to a class of problems for which solutions can be verified quickly, however, the time to find those solutions scales exponentially with the size of the board. The classical solver was implemented using FORTRAN, while D-Wave’s quantum computers implementing quantum annealing were used for the quantum solver. Additionally, a simulation of quantum annealing was performed for a very small search problem using Python. During quantum annealing, it is important to stay in the adiabatic regime to avoid jumping to the next energy level. Therefore, a review of the Landau-Zener formula was included. This formula explains the relationship between the anneal time and the distance between energy levels. The number of solutions to the N-Queens problem grows exponentially with the board size. Therefore, a more interesting variation is the N-Queens problem with excluded diagonals, which significantly reduces the number of solutions and is proven to be NP-complete. The classical solver was used to study the statistics of solution times and to classify and select problems based on the number of excluded diagonals and board sizes. The problems with the least number of solutions were used to test the quantum solver. This method was able to find solutions for boards up to size 10 × 10 with excluded diagonals. To find a solution the anneal time remains constant, while the embedding time grows exponentially. Embedding refers to the process of mapping the problem onto the QPU topology. Unfortunately, this embedding is also an NP search problem which until now, has to be solved with a classical algorithm. VII The hybrid solver provided by D-Wave was also studied. It demonstrated significantly greater capabilities, finding solutions for boards up to size 50×50 with excluded diagonals. This solver implements decomposition methods to break the problem into smaller, less dependent sub-problems, which require fewer qubits and connections. These sub-problems can then be solved with quantum annealing and recombined into a solution of the original problem. The results showed that quantum annealing could be a promising method since the anneal time does not grow with the problem size. But, current topologies still struggle to solve even relatively small problems. The hybrid solver, on the other hand, can solve much larger problems. However, for the N-Queens problem, the classical solver was still more efficient and could handle even larger problems. VIII
dc.description.tableofcontentsTable of Content LIST OF FIGURES V LIST OF TABLES VI ABSTRACT VII RESUMEN IX INTRODUCTION 1 1. JUSTIFICATION, THEORETICAL FRAMEWORK AND BACKGROUND 4 1.1. JUSTIFICATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2. THEORETICAL FRAMEWORK AND BACKGROUND . . . . . . . . . . . . . . . . . 5 1.2.1. N-QUEENS PROBLEM . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2.2. SIMULATED ANNEALING . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.2.3. QUANTUM ANNEALING . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.2.4. D-WAVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Architecture of Quantum Processing Unit (QPU) . . . . . . . . . . . . . . . . 18 Timing Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 D-Wave’s quantum-classical hybrid solvers . . . . . . . . . . . . . . . . . . . 22 2. METHODOLOGY 24 2.1. CLASSICAL SIMULATED ANNEALING . . . . . . . . . . . . . . . . . . . . . 24 2.2. IMPLEMENTATION ON THE D-WAVE’S PLATFORM . . . . . . . . . . . . 27 2.3. QUANTUM ANNEALING SIMULATION . . . . . . . . . . . . . . . . . . . . . 29 2.4. PROBABILITY OF TRANSITION TO THE EXITED STATE . . . . . . . . 31 I 3. RESULTS AND DISCUSSION 33 3.1. CLASSICAL SIMULATED ANNEALING . . . . . . . . . . . . . . . . . . . . . 33 3.2. GROUPS OF MAXIMAL BLOCKING DIAGONALS . . . . . . . . . . . . . 35 3.3. IMPLEMENTATION ON THE D-WAVE’S PLATFORM . . . . . . . . . . . . 39 3.4. QUANTUM ANNEALING SIMULATION . . . . . . . . . . . . . . . . . . . . . 46 4. CONCLUSIONS AND RECOMMENDATIONS 49 Bibliography 54 A. Detailed Calculations for the Probability of Transition to the Excited State 55
dc.formatapplication/PDF
dc.language.isospa
dc.publisherBiblioteca Digital wdg.biblio
dc.publisherUniversidad de Guadalajara
dc.rights.urihttps://www.riudg.udg.mx/info/politicas.jsp
dc.subjectQuantum Vs Classical
dc.titleQUANTUM VS CLASSICAL SIMULATED ANNEALING FOR THE N-QUEENS PROBLEM
dc.typeTesis de Maestría
dc.rights.holderUniversidad de Guadalajara
dc.rights.holderPons Martinez, Mauricio
dc.coverageGUADALAJARA, JALISCO
dc.type.conacytmasterThesis
dc.degree.nameMAESTRIA EN CIENCIAS EN FISICA
dc.degree.departmentCUCEI
dc.degree.grantorUniversidad de Guadalajara
dc.rights.accessopenAccess
dc.degree.creatorMAESTRO EN CIENCIAS EN FISICA
dc.contributor.directorGorin, Thomas
Aparece en las colecciones:CUCEI

Ficheros en este ítem:
Fichero TamañoFormato 
MCUCEI11261FT.pdf5.11 MBAdobe PDFVisualizar/Abrir


Los ítems de RIUdeG están protegidos por copyright, con todos los derechos reservados, a menos que se indique lo contrario.