| Literature DB >> 30518780 |
Shuxian Jiang1, Keith A Britt2, Alexander J McCaskey2, Travis S Humble3, Sabre Kais4,5.
Abstract
We have developed a framework to convert an arbitrary integer factorization problem to an executable Ising model by first writing it as an optimization function then transforming the k-bit coupling (k ≥ 3) terms to quadratic terms using ancillary variables. Our resource-efficient method uses [Formula: see text] binary variables (qubits) for finding the factors of an integer N. We present how to factorize 15, 143, 59989, and 376289 using 4, 12, 59, and 94 logical qubits, respectively. This method was tested using the D-Wave 2000Q for finding an embedding and determining the prime factors for a given composite number. The method is general and could be used to factor larger integers as the number of available qubits increases, or combined with other ad hoc methods to achieve better performances for specific numbers.Entities:
Year: 2018 PMID: 30518780 PMCID: PMC6281593 DOI: 10.1038/s41598-018-36058-z
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.379
Multiplication table for 13 × 11 or 11 × 13 = 143 in binary.
| 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
|---|---|---|---|---|---|---|---|---|
|
| 1 |
|
| 1 | ||||
|
| 1 |
|
| 1 | ||||
| 1 |
|
| 1 | |||||
|
|
|
|
| |||||
|
|
|
|
| |||||
| 1 |
|
| 1 | |||||
| carries |
|
|
|
| ||||
| 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
Multiplication table for 251 × 239 = 59989 in binary.
| 215 | 214 | 213 | 212 | 211 | 210 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| p | 1 | p6 | p5 | p4 | p3 | p2 | p1 | 1 | ||||||||
| q | 1 | q6 | q5 | q4 | q3 | q2 | q1 | 1 | ||||||||
| 1 | p6 | p5 | p4 | p3 | p2 | p1 | 1 | |||||||||
| q1 | p6q1 | p5q1 | p4q1 | p3q1 | p2q1 | p1q1 | q1 | |||||||||
| q2 | p6q2 | p5q2 | p4q2 | p3q2 | p2q2 | p1q2 | q2 | |||||||||
| q3 | p6q3 | p5q3 | p4q3 | p3q3 | p2q3 | p1q3 | q3 | |||||||||
| q4 | p6q4 | p5q4 | p4q4 | p3q4 | p2q4 | p1q4 | q4 | |||||||||
| q5 | p6q5 | p5q5 | p4q5 | p3q5 | p2q5 | p1q5 | q5 | |||||||||
| q6 | p6q6 | p5q6 | p4q6 | p3q6 | p2q6 | p1q6 | q6 | |||||||||
| 1 | p6 | p5 | p4 | p3 | p2 | p1 | 1 | |||||||||
| c11 | c10 | c9 | c8 | c7 | c6 | c5 | c4 | c3 | c2 | c1 | ||||||
| 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 |
Multiplication table for 659 × 571 = 376289 in binary.
| 218 | 217 | 216 | 215 | 214 | 213 | 212 | 211 | 210 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | p8 | p7 | p6 | p5 | p4 | p3 | p2 | p1 | 1 | |||||||||
| 1 | q8 | q7 | q6 | q5 | q4 | q3 | q2 | q1 | 1 | |||||||||
| 1 | p8 | p7 | p6 | p5 | p4 | p3 | p2 | p1 | 1 | |||||||||
| q1 | p8q1 | p7q1 | p6q1 | p5q1 | p4q1 | p3q1 | p2q1 | p1q1 | q1 | |||||||||
| q2 | p8q2 | p7q2 | p6q2 | p5q2 | p4q2 | p3q2 | p2q2 | p1q2 | q2 | |||||||||
| q3 | p8q3 | p7q3 | p6q3 | p5q3 | p4q3 | p3q3 | p2q3 | p1q3 | q3 | |||||||||
| q4 | p8q4 | p7q4 | p6q4 | p5q4 | p4q4 | p3q4 | p2q4 | p1q4 | q4 | |||||||||
| q5 | p8q5 | p7q5 | p6q5 | p5q5 | p4q5 | p3q5 | p2q5 | p1q5 | q5 | |||||||||
| q6 | p8q6 | p7q6 | p6q6 | p5q6 | p4q6 | p3q6 | p2q6 | p1q6 | q6 | |||||||||
| q7 | p8q7 | p7q7 | p6q7 | p5q7 | p4q7 | p3q7 | p2q7 | p1q7 | q7 | |||||||||
| q8 | p8q8 | p7q8 | p6q8 | p5q8 | p4q8 | p3q8 | p2q8 | p1q8 | q8 | |||||||||
| 1 | p8 | p7 | p6 | p5 | p4 | p3 | p2 | p1 | 1 | |||||||||
| c14 | c10 | c9 | c8 | c7 | c6 | c5 | c4 | c3 | c2 | c1 | ||||||||
| c13 | c12 | c11 | ||||||||||||||||
| 1 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 |
Figure 1Experimental results on D-Wave machine: rates of getting different solutions. For example, the (3, 5) in the x-axis denotes the factorization of 15 is 3 multiplied by 5, the number in y-axis denotes the rate to get this factorization.
Figure 2Embedding the factoring instance N = 143 to Chimera graph. The nodes with the same color denote the same original qubit, with their connected lines corresponding to strong couplings. The left footnotes refer to which spin the node was embedded.
Figure 3Experimental results on D-Wave machine: final ground state of factoring 143. Nodes colored red denote +1, nodes colored blue denote −1. (a) This graph shows s1 = 1, s2 = −1, s3 = −1, s4 = 1 which means p = 1101, q = 1011. (b) This graph shows s1 = −1, s2 = 1, s3 = 1, s4 = −1 which means p = 1011, q = 1101.