| Literature DB >> 34157035 |
Abstract
Quantum computing is a newly emerging computing environment that has recently attracted intense research interest in improving the output fidelity, fully utilizing its high computing power from both hardware and software perspectives. In particular, several attempts have been made to reduce the errors in quantum computing algorithms through the efficient synthesis of quantum circuits. In this study, we present an application of an optimization model for synthesizing quantum circuits with minimum implementation costs to lower the error rates by forming a simpler circuit. Our model has a unique structure that combines the arc-subset selection problem with a conventional multi-commodity network flow model. The model targets the circuit synthesis with multiple control Toffoli gates to implement Boolean reversible functions that are often used as a key component in many quantum algorithms. Compared to previous studies, the proposed model has a unifying yet straightforward structure for exploiting the operational characteristics of quantum gates. Our computational experiment shows the potential of the proposed model, obtaining quantum circuits with significantly lower quantum costs compared to prior studies. The proposed model is also applicable to various other fields where reversible logic is utilized, such as low-power computing, fault-tolerant designs, and DNA computing. In addition, our model can be applied to network-based problems, such as logistics distribution and time-stage network problems.Entities:
Year: 2021 PMID: 34157035 PMCID: PMC8219173 DOI: 10.1371/journal.pone.0253140
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Fig 1Quantum circuit of Grover’s algorithm.
A quantum circuit implementing Grover’s algorithm with four qubits [50].
Representation of Boolean reversible function f.
| (a) Matrix | (b) Truth Table | |||||||
|---|---|---|---|---|---|---|---|---|
|
| No. | Inputs | Outputs | Permutation | ||||
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | |
| 2 | 0 | 1 | 0 | 0 | 1 | 1 | 2 | |
| 3 | 0 | 1 | 1 | 1 | 0 | 0 | 3 | |
| 4 | 1 | 0 | 0 | 1 | 0 | 0 | 4 | |
| 5 | 1 | 0 | 1 | 1 | 0 | 1 | 5 | |
| 6 | 1 | 1 | 0 | 1 | 1 | 1 | 7 | |
| 7 | 1 | 1 | 1 | 1 | 1 | 0 | 6 | |
(a) Matrix form representation of the given Boolean reversible function f
(b) Truth table form representation of the given Boolean reversible function f
Truth tables of completely and incompletely specified functions.
| (a) | (b) | ||||
|---|---|---|---|---|---|
| Inputs | Outputs | Inputs | Outputs | Inputs | Outputs |
| 0 0 0 | 0 0 0 | 0 0 0 0 | - - 0 0 | 0 1 0 0 | - - - 0 |
| 0 0 1 | 0 1 1 | 0 0 0 1 | - - 0 1 | 0 1 0 1 | - - - 1 |
| 0 1 0 | 0 1 0 | 0 0 1 0 | - - 1 0 | 0 1 1 0 | - - - 1 |
| 0 1 1 | 1 0 1 | 0 0 1 1 | - - 1 1 | 0 1 1 1 | - - - 1 |
| 1 0 0 | 1 0 0 | 1 0 0 0 | - - - 0 | 1 1 0 0 | - - 0 0 |
| 1 0 1 | 1 1 1 | 1 0 0 1 | - - - 0 | 1 1 0 1 | - - 0 1 |
| 1 1 0 | 1 1 0 | 1 0 1 0 | - - - 0 | 1 1 1 0 | - - 0 1 |
| 1 1 1 | 0 0 1 | 1 0 1 1 | - - - 1 | 1 1 1 1 | - - 1 0 |
(a) Completely specified function peres
(b) Incompletely specified function minialu
Fig 2Toffoli gate implementation with basic quantum gates.
A circuit composed of five basic quantum gates implementing the Toffoli gate C2 NOT(1, 2;3).
Quantum costs of multiple control Toffoli gates.
| Control line | Quantum Cost |
|---|---|
| 0 | 1 |
| 1 | 1 |
| 2 | 5 |
| 3 | 13 |
| 4 | 26, if at least 2 lines are empty |
| 29, otherwise | |
| 5 | 50, if at least 4 lines are empty |
| 80, if at least 1-3 lines are empty | |
| 125, otherwise |
This table cites the quantum cost table presented in [35].
Fig 3MCNF representation of the QRCS problem.
Fig 43-qubit example of MCT gate-network conversion: CASE1.
Fig 53-qubit example of MCT gate-network conversion: CASE2.
Fig 63-qubit example of MCT gate-network conversion: CASE3A.
Fig 73-qubit example of MCT gate-network conversion: CASE3B.
Fig 8Network representation of MCT circuit for function F1.
Truth table and parameters of completely specified function F1.
|
|
|
| |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Input | Output | Output | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |||||
| 000 | 000 | 1 | 000 | 1 | -1 | 000 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 000 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 001 | 011 | 2 | 001 | 1 | -1 | 001 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 001 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| 010 | 010 | 3 | 010 | 1 | -1 | 010 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 010 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
| 011 | 101 | 4 | 011 | 1 | -1 | 011 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 011 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
| 100 | 100 | 5 | 100 | 1 | -1 | 100 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 100 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
| 101 | 111 | 6 | 101 | 1 | -1 | 101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 101 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
| 110 | 110 | 7 | 110 | 1 | -1 | 110 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 110 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
| 111 | 001 | 8 | 111 | 1 | -1 | 111 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Fig 9Network representation of MCT circuit for function F2.
Truth table and parameters of incompletely specified function F2.
|
|
|
| |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Input | Output | Output | 1 | 2 | 3 | 1 | 2 | 3 | |||||
| 000 | - - 0 | 1 | - - 0 | 2 | -2 | 000 | 1 | 0 | 0 | 000 | 1 | 0 | 1 |
| 001 | - - 1 | 2 | - - 1 | 2 | -2 | 001 | 0 | 1 | 0 | 001 | 0 | 1 | 1 |
| 010 | - - 0 | 3 | - - - | 4 | -4 | 010 | 1 | 0 | 0 | 010 | 1 | 0 | 1 |
| 011 | - - 1 | 011 | 0 | 1 | 0 | 011 | 0 | 1 | 1 | ||||
| 100 | - - - | 100 | 0 | 0 | 1 | 100 | 1 | 0 | 1 | ||||
| 101 | - - - | 101 | 0 | 0 | 1 | 101 | 0 | 1 | 1 | ||||
| 110 | - - - | 110 | 0 | 0 | 1 | 110 | 1 | 0 | 1 | ||||
| 111 | - - - | 111 | 0 | 0 | 1 | 111 | 0 | 1 | 1 | ||||
Sets and parameters.
| lX Notation | Definition |
|---|---|
| Number of qubits that compose the quantum circuit. | |
| Total number of gate levels that compose the network. | |
| Number of commodity types in the network. | |
| Set of indices for each gate level, | |
| Set of indices for each qubit, | |
| Set of indices for each commodity type, | |
| Ω | Set of indices for each state node, |
|
| Set of paired indices for each candidate arc in gate levels with head node |
| Source node of the network. | |
| Terminal node of the network. | |
|
| Upper bound of flow carrying commodity |
|
| Upper bound of flow carrying commodity |
|
| Total flow required in |
| Set of commodities that satisfy | |
| Set of state nodes that satisfy | |
| Quantum cost of an MCT gate containing | |
| Binary string of length |
(a) For a completely specified function, . Otherwise, .
(b) For any non-negative integer , n(2) implies a binary representation of integer n of fixed-length N. If the length is shorter than N, the remaining bits are filled with zeros from the first digit.
(c) For example, if N = 3, then e3 = 001.
(d) The parameters are determined by the given Boolean reversible function.
Decision variables.
| lX Notation | Definition |
|---|---|
|
| A binary variable for |
|
| An integer variable for |
|
| A binary variable for |
|
| A binary variable for |
|
| A binary variable for |
|
| A binary variable for |
| A binary variable for | |
| A binary variable for | |
| A binary variable ∀ | |
| A binary variable for | |
|
| A binary variable for |
| A binary variable for | |
|
| A binary variable for |
|
| A binary variable for |
(a) ν, h, and θ are the discriminators for CASE 1, CASE 2, and CASE 3, repectively.
(b) is a discriminator for CASE 3A () and CASE 3B ().
(c) z works jointly with h to classify CASE 2 through the values of ν and u.
(d) works jointly with to classify CASE 3A and CASE 3B through the values of u and .
Comparison of computational results with those of previous studies.
| No. | Function | C/I | Previous studies | Best among previous studies | Proposed model | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| [ | [ | [ | [ | [ | ||||||||||||||
| Gate | QC | Gate | QC | Gate | QC | Gate | QC | Gate | QC | Gate | QC | Gate | QC | Δ | ||||
| 1 | fredkin | C | 3 | 3 | 15 | 3 | 15 | 3 | 7 | 53.3 | ||||||||
| 2 | peres | C | 3 | 2 | 6 | 2 | 6 | 2 | 6 | 0.0 | ||||||||
| 3 | ham3 | C | 3 | 5 | 9 | 5 | 9 | 5 | 9 | 5 | 9 | 0.0 | ||||||
| 4 | miller | C | 3 | 5 | 17 | 5 | 17 | 5 | 9 | 47.1 | ||||||||
| 5 | 3_17 | C | 3 | 6 | 14 | 6 | 14 | 6 | 14 | 6 | 14 | 0.0 | ||||||
| 6 | ex_1 | C | 3 | 4 | 8 | 4 | 8 | 4 | 8 | 4 | 8 | 0.0 | ||||||
| 7 | toffoli_double | C | 4 | 2 | 10 | 2 | 10 | 3 | 7 | 30.0 | ||||||||
| 8 | mod5d1 | C | 5 | 7 | 11 | 7 | 11 | 7 | 11 | 7 | 11 | 0.0 | ||||||
| 9 | mod5d2 | C | 5 | 8 | 16 | 8 | 20 | 8 | 16 | - | - | - | ||||||
| 10 | mod5mils | C | 5 | 5 | 13 | 5 | 13 | 5 | 13 | 5 | 13 | 6 | 10 | 23.1 | ||||
| 11 | graycode6 | C | 6 | 5 | 5 | 5 | 5 | 5 | 5 | 0.0 | ||||||||
| 12 | decod24_v0 | I | 4 | 6 | 18 | 6 | 18 | 6 | 18 | 6 | 10 | 44.4 | ||||||
| 13 | decod24_v1 | I | 4 | 6 | 22 | 6 | 22 | 7 | 11 | 50.0 | ||||||||
| 14 | decod24_v2 | I | 4 | 6 | 18 | 6 | 18 | 7 | 11 | 38.9 | ||||||||
| 15 | decod24_v3 | I | 4 | 7 | 35 | 7 | 35 | 7 | 11 | 68.6 | ||||||||
| 16 | rd32_v0 | I | 4 | 4 | 12 | 4 | 12 | 4 | 12 | 5 | 9 | 25.0 | ||||||
| 17 | rd32_v1 | I | 4 | 5 | 13 | 5 | 13 | 6 | 10 | 23.1 | ||||||||
| 18 | mini_alu | I | 4 | 5 | 33 | 6 | 62 | 5 | 33 | 7 | 19 | 42.4 | ||||||
| 19 | mod10 | I | 4 | 7 | 43 | 7 | 43 | 7 | 27 | 37.2 | ||||||||
| 20 | alu_v0 | I | 5 | 6 | 22 | 6 | 14 | 6 | 22 | 6 | 14 | 6 | 14 | 0.0 | ||||
| 21 | alu_v1 | I | 5 | 7 | 15 | 7 | 15 | 7 | 15 | 7 | 15 | 0.0 | ||||||
| 22 | alu_v2 | I | 5 | 13 | 101 | 7 | 39 | 7 | 15 | 7 | 15 | 7 | 15 | 0.0 | ||||
| 23 | alu_v3 | I | 5 | 7 | 19 | 7 | 15 | 7 | 15 | 7 | 15 | 0.0 | ||||||
| 24 | alu_v4 | I | 5 | 7 | 31 | 7 | 15 | 7 | 15 | 7 | 15 | 0.0 | ||||||
| 25 | 4gt4_v0 | I | 5 | 17 | 89 | 6 | 54 | 6 | 54 | 7 | 19 | 64.8 | ||||||
| 26 | 4gt4_v1 | I | 5 | 5 | 57 | 5 | 57 | 7 | 19 | 66.7 | ||||||||
| 27 | 4gt5_v0 | I | 5 | 13 | 29 | 5 | 21 | 5 | 21 | 5 | 13 | 38.1 | ||||||
| 28 | 4gt5_v1 | I | 5 | 4 | 28 | 4 | 16 | 4 | 16 | 5 | 13 | 18.8 | ||||||
| 29 | 4gt10_v0 | I | 5 | 15 | 53 | 5 | 37 | 9 | 49 | 5 | 37 | 6 | 18 | 51.4 | ||||
| 30 | 4gt10_v1 | I | 5 | 6 | 34 | 6 | 34 | 7 | 19 | 44.1 | ||||||||
| 31 | 4gt11_v0 | I | 5 | 12 | 16 | 3 | 7 | 8 | 12 | 3 | 7 | 3 | 7 | 3 | 7 | 0.0 | ||
| 32 | 4gt11_v1 | I | 5 | 4 | 8 | 4 | 8 | 4 | 8 | 0.0 | ||||||||
| 33 | 4gt12_v0 | I | 5 | 14 | 58 | 5 | 41 | 10 | 54 | 5 | 37 | 5 | 37 | 6 | 22 | 40.5 | ||
| 34 | 4gt12_v1 | I | 5 | 5 | 45 | 5 | 45 | 7 | 23 | 48.9 | ||||||||
| 35 | 4gt13_v0 | I | 5 | 14 | 34 | 3 | 15 | 10 | 30 | 3 | 15 | 3 | 15 | 3 | 15 | 0.0 | ||
| 36 | 4gt13_v1 | I | 5 | 4 | 16 | 4 | 16 | 4 | 16 | 0.0 | ||||||||
| 37 | 4mod7_v0 | I | 5 | 6 | 38 | 6 | 38 | 6 | 38 | 7 | 39 | -2.6 | ||||||
| 38 | 4mod7_v1 | I | 5 | 5 | 39 | 5 | 39 | 7 | 39 | 0.0 | ||||||||
| 39 | one_two_three_v0 | I | 5 | 11 | 71 | 8 | 40 | 8 | 40 | 8 | 20 | 50.0 | ||||||
| 40 | one_two_three_v1 | I | 5 | 8 | 36 | 8 | 36 | 8 | 24 | 33.3 | ||||||||
| 41 | one_two_three_v2 | I | 5 | 8 | 24 | 8 | 24 | 8 | 16 | 33.3 | ||||||||
| 42 | one_two_three_v3 | I | 5 | 8 | 24 | 8 | 24 | 8 | 24 | 0.0 | ||||||||
| 43 | 4mod5_v0 | I | 5 | 5 | 9 | 5 | 9 | 5 | 9 | 5 | 9 | 0.0 | ||||||
| 44 | 4mod5_v1 | I | 5 | 5 | 13 | 4 | 7 | 4 | 7 | 5 | 9 | -28.6 | ||||||
C/I: C for a completely specified function, I for an incompletely specified function
Gate: Number of MCT gates composing the circuit/QC: Quantum cost of the circuit
Δ(%): Percentage of improvement in the result of the proposed model in terms of quantum costs, compared to the best solution among previous studies
(a) A feasible solution to data No. 9 under N = 7 was not found within the time limit.
(b) The solution under N = 8 is presented as at least eight MCT gates being required to implement function Nos.39–42, one_two_three.
Computational results with different N.
| Index | Function name | C/I | Best solution among | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gate | QC | Gap | Time | Node | Gate | QC | Gap | Time | Node | Gate | QC | Gap | Time | Node | Gate | QC | Gap | Time | Node | |||||
| 1 | fredkin | C | 3 | 5 | 3 | 7 | 0.0 | 1 | 341 | 3 | 7 | 0.0 | 19 | 7055 | 3 | 7 | 0.0 | 5 | 2897 | 3 | 7 | 0.0 | 4 | 1347 |
| 2 | peres | C | 3 | 5 | 2 | 6 | 0.0 | 1 | 729 | 2 | 6 | 0.0 | 2 | 1456 | 2 | 6 | 0.0 | 2 | 821 | 2 | 6 | 0.0 | 3 | 1054 |
| 3 | ham3 | C | 3 | 5 | 5 | 9 | 0.0 | 1 | 88 | 5 | 9 | 0.0 | 6 | 959 | 5 | 9 | 0.0 | 33 | 8174 | 5 | 9 | 0.0 | 306 | 47602 |
| 4 | miller | C | 3 | 5 | 5 | 9 | 0.0 | 1 | 78 | 5 | 9 | 0.0 | 3 | 581 | 5 | 9 | 0.0 | 27 | 7451 | 5 | 9 | 0.0 | 245 | 39168 |
| 5 | 3_17 | C | 3 | - | - | - | - | 2 | 81 | 6 | 14 | 0.0 | 5 | 947 | 6 | 14 | 0.0 | 22 | 6737 | 6 | 14 | 0.0 | 173 | 42601 |
| 6 | ex_1 | C | 3 | 5 | 4 | 8 | 0.0 | 1 | 264 | 4 | 8 | 0.0 | 4 | 1163 | 4 | 8 | 0.0 | 23 | 9538 | 4 | 8 | 0.0 | 15 | 11390 |
| 7 | toffoli_double | C | 4 | 5 | 3 | 7 | 0.0 | 36 | 2605 | 3 | 7 | 0.0 | 608 | 18934 | 3 | 7 | 0.0 | 182 | 3984 | 3 | 7 | 0.0 | 191 | 1640 |
| 8 | mod5d1 | C | 5 | - | - | - | - | 500 | 2849 | - | - | - | 33586 | 24813 | 7 | 11 | 54.5 | 36000 | 7859 | 8 | 24 | 83.3 | 36000 | 2488 |
| 9 | mod5d2 | C | 5 | - | - | - | - | 65 | 1 | - | - | - | 9949 | 975 | - | - | - | 36000 | 3242 | - | - | - | 36000 | 1155 |
| 10 | mod5mils | C | 5 | 5 | 5 | 13 | 0.0 | 729 | 1406 | 6 | 10 | 40.0 | 36000 | 7381 | 6 | 10 | 50.0 | 36000 | 3511 | 6 | 10 | 50.0 | 36000 | 1666 |
| 11 | graycode6 | C | 6 | 5 | 5 | 5 | 0.0 | 9 | 0 | 5 | 5 | 0.0 | 2145 | 1 | 5 | 5 | 0.0 | 5144 | 1 | 8 | 8 | 37.5 | 36000 | 1 |
| 12 | decod24_v0 | I | 4 | - | - | - | - | 5 | 498 | 6 | 10 | 0.0 | 34 | 5449 | 6 | 10 | 0.0 | 185 | 13729 | 6 | 10 | 0.0 | 2342 | 247649 |
| 13 | decod24_v1 | I | 4 | - | - | - | - | 7 | 650 | 6 | 14 | 0.0 | 36 | 7912 | 7 | 11 | 0.0 | 244 | 16908 | 7 | 11 | 0.0 | 1402 | 88010 |
| 14 | decod24_v2 | I | 4 | - | - | - | - | 6 | 503 | 6 | 14 | 0.0 | 88 | 11253 | 7 | 11 | 0.0 | 172 | 10429 | 7 | 11 | 0.0 | 2079 | 162105 |
| 15 | decod24_v3 | I | 4 | - | - | - | - | 8 | 798 | - | - | - | 34 | 7059 | 7 | 11 | 0.0 | 358 | 19005 | 7 | 11 | 0.0 | 1426 | 66886 |
| 16 | rd32_v0 | I | 4 | 5 | 5 | 9 | 0.0 | 19 | 3846 | 5 | 9 | 0.0 | 170 | 11443 | 5 | 9 | 0.0 | 3997 | 484100 | 5 | 9 | 11.1 | 36000 | 3832869 |
| 17 | rd32_v1 | I | 4 | 5 | 5 | 13 | 0.0 | 13 | 2666 | 6 | 10 | 0.0 | 167 | 23580 | 6 | 10 | 0.0 | 3191 | 405732 | 6 | 10 | 20.0 | 36001 | 3700460 |
| 18 | mini_alu | I | 4 | 5 | 5 | 25 | 0.0 | 23 | 2083 | 6 | 22 | 0.0 | 237 | 25844 | 7 | 19 | 0.0 | 7529 | 454341 | 7 | 19 | 57.9 | 36000 | 1452366 |
| 19 | mod10 | I | 4 | - | - | - | - | 17 | 342 | 6 | 30 | 0.0 | 142 | 4442 | 7 | 27 | 0.0 | 1087 | 14040 | 8 | 20 | 0.0 | 11725 | 120732 |
| 20 | alu_v0 | I | 5 | - | - | - | - | 42 | 5207 | 6 | 14 | 0.0 | 780 | 36819 | 6 | 14 | 0.0 | 17963 | 527448 | 7 | 15 | 60.0 | 36000 | 510597 |
| 21 | alu_v1 | I | 5 | - | - | - | - | 294 | 6076 | - | - | - | 1163 | 21574 | 7 | 15 | 0.0 | 20503 | 269789 | 8 | 16 | 62.5 | 36000 | 313732 |
| 22 | alu_v2 | I | 5 | - | - | - | - | 199 | 5431 | - | - | - | 3923 | 57282 | 7 | 15 | 0.0 | 32147 | 595676 | 7 | 15 | 60.0 | 36000 | 694169 |
| 23 | alu_v3 | I | 5 | - | - | - | - | 57 | 2189 | - | - | - | 1362 | 37397 | 7 | 15 | 0.0 | 9009 | 252350 | 7 | 15 | 53.3 | 36000 | 885082 |
| 24 | alu_v4 | I | 5 | - | - | - | - | 29 | 1870 | - | - | - | 1598 | 36909 | 7 | 15 | 0.0 | 11354 | 394906 | 7 | 15 | 53.3 | 36000 | 849367 |
| 25 | 4gt4_v0 | I | 5 | - | - | - | - | 152 | 8895 | 6 | 22 | 0.0 | 13315 | 403536 | 7 | 19 | 73.7 | 36000 | 754981 | 8 | 20 | 75.0 | 36000 | 806978 |
| 26 | 4gt4_v1 | I | 5 | 5 | 5 | 29 | 0.0 | 310 | 11221 | 6 | 18 | 0.0 | 33574 | 1043472 | 7 | 19 | 73.7 | 36000 | 1016556 | 7 | 19 | 73.7 | 36000 | 739778 |
| 27 | 4gt5_v0 | I | 5 | 5 | 5 | 13 | 0.0 | 350 | 11327 | 5 | 13 | 0.0 | 11157 | 275685 | 5 | 13 | 53.9 | 36000 | 1144365 | 5 | 13 | 53.9 | 36000 | 858094 |
| 28 | 4gt5_v1 | I | 5 | 5 | 5 | 13 | 0.0 | 259 | 8806 | 5 | 13 | 0.0 | 8813 | 322085 | 5 | 13 | 53.9 | 36000 | 1229372 | 5 | 13 | 53.9 | 36000 | 939766 |
| 29 | 4gt10_v0 | I | 5 | 5 | 21 | 0.0 | 283 | 12032 | 6 | 18 | 0.0 | 20601 | 694808 | 6 | 18 | 72.2 | 36000 | 892034 | 8 | 20 | 75.0 | 36000 | 734223 | |
| 30 | 4gt10_v1 | I | 5 | - | - | - | - | 171 | 8600 | 6 | 18 | 0.0 | 19275 | 518172 | 7 | 19 | 73.7 | 36000 | 1074299 | 8 | 20 | 75.0 | 36000 | 595028 |
| 31 | 4gt11_v0 | I | 5 | 5 | 3 | 7 | 0.0 | 130 | 7228 | 3 | 7 | 0.0 | 3452 | 72923 | 3 | 7 | 0.0 | 1208 | 28075 | 3 | 7 | 0.0 | 834 | 15140 |
| 32 | 4gt11_v1 | I | 5 | 5 | 4 | 8 | 0.0 | 91 | 11281 | 4 | 8 | 0.0 | 1034 | 29472 | 4 | 8 | 12.5 | 36000 | 1471249 | 4 | 8 | 12.5 | 36000 | 761025 |
| 33 | 4gt12_v0 | I | 5 | 5 | 5 | 25 | 0.0 | 295 | 19958 | 6 | 22 | 0.0 | 11605 | 340106 | 6 | 22 | 77.3 | 36000 | 846115 | 6 | 22 | 77.3 | 36000 | 675819 |
| 34 | 4gt12_v1 | I | 5 | 5 | 5 | 45 | 0.0 | 347 | 9637 | 6 | 26 | 0.0 | 7437 | 226915 | 7 | 23 | 73.9 | 36000 | 773936 | 7 | 23 | 78.3 | 36000 | 418497 |
| 35 | 4gt13_v0 | I | 5 | 5 | 3 | 15 | 0.0 | 250 | 7955 | 3 | 15 | 0.0 | 7731 | 233449 | 3 | 15 | 60.0 | 36000 | 1042868 | 3 | 15 | 66.7 | 36000 | 591244 |
| 36 | 4gt13_v1 | I | 5 | 5 | 4 | 16 | 0.0 | 183 | 10350 | 4 | 16 | 0.0 | 7380 | 192324 | 4 | 16 | 62.5 | 36000 | 788703 | 4 | 16 | 68.8 | 36000 | 540699 |
| 37 | 4mod7_v0 | I | 5 | - | - | - | - | 277 | 1515 | - | - | - | 3273 | 20345 | 7 | 39 | 84.6 | 36000 | 105314 | 8 | 32 | 81.3 | 36000 | 77169 |
| 38 | 4mod7_v1 | I | 5 | - | - | - | - | 137 | 920 | - | - | - | 3273 | 20345 | 7 | 39 | 84.6 | 36000 | 105314 | 8 | 32 | 81.3 | 36000 | 77169 |
| 39 | one_two_three_v0 | I | 5 | - | - | - | - | 80 | 1311 | - | - | - | 1080 | 14005 | - | - | - | 9586 | 141265 | 8 | 20 | 70.0 | 36000 | 278736 |
| 40 | one_two_three_v1 | I | 5 | - | - | - | - | 45 | 902 | - | - | - | 1255 | 27743 | - | - | - | 13662 | 190104 | 8 | 24 | 75.0 | 36000 | 264527 |
| 41 | one_two_three_v2 | I | 5 | - | - | - | - | 55 | 1064 | - | - | - | 1141 | 15947 | - | - | - | 10595 | 112521 | 8 | 16 | 62.5 | 36000 | 266788 |
| 42 | one_two_three_v3 | I | 5 | - | - | - | - | 62 | 1368 | - | - | - | 370 | 8783 | - | - | - | 6661 | 102340 | 8 | 24 | 70.8 | 36000 | 424232 |
| 43 | 4mod5_v0 | I | 5 | 5 | 5 | 9 | 0.0 | 132 | 8783 | 5 | 9 | 0.0 | 2277 | 53674 | 5 | 9 | 22.2 | 36000 | 947237 | 5 | 9 | 33.3 | 36000 | 1366449 |
| 44 | 4mod5_v1 | I | 5 | 5 | 5 | 9 | 0.0 | 109 | 6668 | 5 | 9 | 0.0 | 1264 | 33526 | 5 | 9 | 33.3 | 36000 | 1190263 | 5 | 9 | 33.3 | 36000 | 1080344 |
Gap: Optimality gap in percentage / Time: Computational time in seconds / Node: Number of explored node in branching tree / -: Infeasible cases or time limit reached
Fig 10Change in quantum cost as N increases.
The number on the top-left of each plot indicates the data index in Table 9.
Fig 11Resulting circuits of No. 18 mini_alu with varying N: N = 5.
Fig 18Resulting circuits of No. 18 4gt4_v1 with varying N: N = 8.
Fig 14Resulting circuits of No. 18 mini_alu with varying N: N = 8.
Fig 15Resulting circuits of No. 18 4gt4_v1 with varying N: N = 5.
Fig 12Resulting circuits of No. 18 mini_alu with varying N: N = 6.
Fig 16Resulting circuits of No. 18 4gt4_v1 with varying N: N = 6.