<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JAMP</journal-id><journal-title-group><journal-title>Journal of Applied Mathematics and Physics</journal-title></journal-title-group><issn pub-type="epub">2327-4352</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jamp.2019.711192</article-id><article-id pub-id-type="publisher-id">JAMP-96380</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  The Mapping and Optimization Method of Quantum Circuits for Clifford + T Gate
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Xianya</surname><given-names>He</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Zhijin</surname><given-names>Guan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Fei</surname><given-names>Ding</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>School of Information Science and Technology, Nantong University, Nantong, China</addr-line></aff><pub-date pub-type="epub"><day>04</day><month>11</month><year>2019</year></pub-date><volume>07</volume><issue>11</issue><fpage>2796</fpage><lpage>2810</lpage><history><date date-type="received"><day>15,</day>	<month>October</month>	<year>2019</year></date><date date-type="rev-recd"><day>10,</day>	<month>November</month>	<year>2019</year>	</date><date date-type="accepted"><day>13,</day>	<month>November</month>	<year>2019</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  
    In order to solve the fault tolerance and reliability problems of quantum circuit, a series of structural equivalence rules and optimization operation strategies of quantum circuit are proposed to minimize the number of T gates, increase T gate depth, minimize circuit level, reduce fault tolerance implementation costs and increase circuit reliability. In order to satisfy the nearest neighbor constraints of some quantum systems, a LNN (linear nearest neighbor) arrangement algorithm based on Clifford + T gate quantum circuit is presented. Experiments are done on some benchmarks of RevLib, the results show that the optimization rate of most functions and the running time of the algorithm are better than those of the existing literature. 
  
 
</p></abstract><kwd-group><kwd>Quantum Circuit</kwd><kwd> Clifford + T Circuit</kwd><kwd> Quantum Cost</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Quantum circuits are an important model of quantum computing. The integration and optimization of quantum circuits is of great significance [<xref ref-type="bibr" rid="scirp.96380-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.96380-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.96380-ref3">3</xref>]. In recent years, the Clifford + T gates [<xref ref-type="bibr" rid="scirp.96380-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.96380-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.96380-ref6">6</xref>] have been used in some typical quantum circuits. Due to the importance of fault tolerance in quantum computing [<xref ref-type="bibr" rid="scirp.96380-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.96380-ref8">8</xref>], and the fault-tolerant implementation cost of T gates may exceed the implementation cost of Clifford Gate by 100 times or more [<xref ref-type="bibr" rid="scirp.96380-ref4">4</xref>]. Therefore, minimizing the number of T gates is critical to optimizing the T depth of a quantum circuit.</p><p>Due to the limitation of quantum techniques, it is required that the control bit and target bit of the 2-qubit gates are physically adjacent, that is the Linear Nearest Neighbor (LNN) constraint required to be considered [<xref ref-type="bibr" rid="scirp.96380-ref9">9</xref>] [<xref ref-type="bibr" rid="scirp.96380-ref10">10</xref>] [<xref ref-type="bibr" rid="scirp.96380-ref11">11</xref>]. This paper considers the mapping of NCV circuits to equivalent circuits composed of Clifford + T gates, especially optimizing T-count and T-depth, reducing circuit depth, satisfying the constraints of certain quantum architecture, reducing the cost of fault tolerance quantum circuit, and increasing circuit reliability.</p></sec><sec id="s2"><title>2. Background</title><sec id="s2_1"><title>2.1. Quantum Gate and Quantum Circuit</title><p>The basic unit of operation in a quantum system is a qubit, which is similar to a bit in classical computer system. Qubits can represent states 0 and 1, represented by the symbols |0&gt; and |1&gt; respectively. Qubits can also represent an infinite number of state vectors |φ&gt; (called quantum superposition states) between 0 and 1, expressed as:</p><p>| φ 〉 = α | 0 〉 + β | 1 〉 (1)</p><p>where α and β are complex numbers and satisfy the condition | α | 2 + | β | 2 = 1 .</p><p>The operation of the qubit is equivalent to superimposing a unitary matrix U on the state vector of the qubit. The logic gates that operate on qubits in quantum circuits are called quantum gates [<xref ref-type="bibr" rid="scirp.96380-ref12">12</xref>], and each quantum gate can be represented by a 2<sup>n</sup>-order unitary matrix, where n represents the number of qubits.</p><p>A quantum circuit cascaded by quantum gates is called a quantum circuit. Some specific quantum gates that make up a quantum circuit are called quantum gate libraries [<xref ref-type="bibr" rid="scirp.96380-ref13">13</xref>]. The NCV gate library contains quantum gates such as NOT, CNOT, V, and V<sup>+</sup> [<xref ref-type="bibr" rid="scirp.96380-ref9">9</xref>]. The Clifford + T gate library includes quantum gates such as NOT, CNOT, H, S, S<sup>+</sup>, T, and T<sup>+</sup> which is shown in <xref ref-type="table" rid="table1">Table 1</xref>. The circuit cascaded only by Clifford + T quantum gates is called Clifford + T circuit. The Clifford + T gate libraries are adopted by many quantum physics architectures [<xref ref-type="bibr" rid="scirp.96380-ref14">14</xref>].</p><p>The one-dimensional n-qubit circuit has n horizontal lines, respectively representing n quantum bit lines, which are sequentially recorded as l = { l 1 , l 2 , … , l n } from top to bottom. The position of the left to right quantum gate in the line (can be regarded as a vertical line from left to right) indicates the time sequence of the line execution, which is recorded as h = { h 1 , h 2 , … , h m } . <xref ref-type="fig" rid="fig1">Figure 1</xref> is an example of representation of quantum circuit. There l = { 1 , 2 , 3 , 4 } and h = { 1 , 2 , 3 , … , 21 } .</p></sec><sec id="s2_2"><title>2.2. Quantum Gate Decomposition</title><p>In general, quantum algorithms can be described by reversible circuits of MCT reversible logic gate cascades of multiple (single) control bit(s)/multiple (single) target bit(s). In order to map a reversible circuit to a quantum system for computation, it is necessary to decompose the logic gates in the reversible circuit. It can be seen from the literature [<xref ref-type="bibr" rid="scirp.96380-ref15">15</xref>] and [<xref ref-type="bibr" rid="scirp.96380-ref16">16</xref>] that a two control bits Toffoli gate is decomposed into a circuit composed of NCV gate library quantum gates as shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>. AV gate can be decomposed into seven gates as shown in</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Clifford + T gate library</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >type</th><th align="center" valign="middle" >symbol</th><th align="center" valign="middle" >graph</th><th align="center" valign="middle" >matrix</th></tr></thead><tr><td align="center" valign="middle" >NOT</td><td align="center" valign="middle" >N</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/96380x11.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >[ 0 1 1 0 ]</td></tr><tr><td align="center" valign="middle" >CNOT</td><td align="center" valign="middle" >C</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/96380x13.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >[ 1 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 ]</td></tr><tr><td align="center" valign="middle" >Hadamard</td><td align="center" valign="middle" >H</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/96380x15.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >1 2 [ 1 1 1 − 1 ]</td></tr><tr><td align="center" valign="middle" >T gate</td><td align="center" valign="middle" >T</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/96380x17.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >[ 1 0 0 e i π 4 ]</td></tr><tr><td align="center" valign="middle" >T gate<sup>−</sup><sup>1</sup></td><td align="center" valign="middle" >T<sup>+</sup></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/96380x19.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >[ 1 0 0 e − i π 4 ]</td></tr><tr><td align="center" valign="middle" >Phase</td><td align="center" valign="middle" >S</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/96380x21.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >[ 1 0 0 i ]</td></tr><tr><td align="center" valign="middle" >Phase<sup>−</sup><sup>1</sup></td><td align="center" valign="middle" >S<sup>+</sup></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/96380x23.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >[ 1 0 0 − i ]</td></tr></tbody></table></table-wrap><p><xref ref-type="fig" rid="fig3">Figure 3</xref>(a). A V<sup>+</sup> gate can be decomposed into seven gates as shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>(b), and the equivalent circuit can be obtained by further simplification as shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>(c).</p></sec><sec id="s2_3"><title>2.3. Clifford + T Circuit Structure</title><p>Definition 1: In a one-dimensional quantum circuit, a sequence of quantum gates that can be operated in parallel is called a circuit level. If two or more quantum gates can be combined together in a circuit, their qubits can operate in parallel without disjoint, and these quantum gates are said to form a grouped.</p><p>Definition 2: In a one-dimensional circuit, the circuit depth is the number of levels in the circuit.</p><p>Definition 3: The T-depth of the Clifford + T circuit is the number of T or T<sup>+</sup> gates contained on different qubit lines in one level of the circuit.</p><p>Definition 4: A “CNOT + T(T<sup>+</sup>) + CNOT” structure is a gate group by the consisting of two CNOT gates and one T or T<sup>+</sup> gate, called the CTC-structure.</p><p>The two control bits and the two target bits of the two CNOT gates are on the same qubit line, and the T (or T<sup>+</sup>) gate is between the two target bits.</p><p><xref ref-type="fig" rid="fig4">Figure 4</xref>(a) and <xref ref-type="fig" rid="fig4">Figure 4</xref>(b) are represented as CTC (T) and CTC (T<sup>+</sup>) respectively for ease of use. Where line l a is called the control bit line of the CTC-structure, and line l b is called the target bit line of CTC-structure. If the control bit line of the CTC-structure is line i, the target bit line is line j, and the two CNOT gates are located on h 1 and h 2 respectively ( h 1 = h 2 − 2 ), then the CTC-structure can be expressed as C T C h 1 , h 2 ( i , j ) .</p><p>Definition 5: The depth of the CTC-structure refers to the number of T (or T<sup>+</sup>) gates that can be operated in parallel in the CTC-structure.</p><p>Definition 6: If the depth of the CTC-structure is equal to the number of the circuit input/output qubits, then this CTC-structure is said to be full.</p></sec></sec><sec id="s3"><title>3. Decomposition and Optimization of the Quantum Circuits</title><p>In order to optimize quantum circuits, the quantum gates and related sub-line structures in the Clifford + T circuit are analyzed and discussed in this section.</p><sec id="s3_1"><title>3.1. Relevant Properties</title><p>The following properties 1 - 3 [<xref ref-type="bibr" rid="scirp.96380-ref5">5</xref>] can be verified by the matrix representation of the quantum gates, which are multiplied by matrices to obtain the results of their interactions.</p><p>Property 1: (a) Two adjacent T-gates are equivalent to a S-gate. Two adjacent T<sup>+</sup>-gates are equivalent to a S<sup>+</sup>-gate.</p><p>Property 2: A CNOT gate is equivalent to two consecutive V-gates which have same control bit line and target bit line. A CNOT gate is also equivalent to two consecutive V<sup>+</sup>-gates which have same control bit line and target bit line.</p><p>Property 3: 1) Two adjacent CNOT gates with control bits on the same qubit line and target bits on the same qubit line can cancel each other out. 2) Two adjacent H-gates can cancel each other out. 3) Two adjacent T and T<sup>+</sup>-gates can cancel each other out. 4) Two adjacent S and S<sup>+</sup>-gates can cancel each other out.</p><p>Property 4: The combinations of two adjacent 2-qubit gates are equivalent, if the control bits are on the same qubit line, and their combinations are switched [<xref ref-type="bibr" rid="scirp.96380-ref5">5</xref>]. Analogously, the combinations of two adjacent 2-qubit gates are equivalent,</p><p>if the target bits are on the same qubit line, and their combinations are switched.</p><p>Property 5: If the T-gate (or T<sup>+</sup>-gate) and the 2-qubit gate control bit are on the same qubit line and adjacent to each other, then the combination of the T-gate (or T<sup>+</sup>-gate) and the 2-qubit gate on the left and right sides of the control bit of the 2-qubit gate are equivalent [<xref ref-type="bibr" rid="scirp.96380-ref5">5</xref>].</p><p>Property 6 [<xref ref-type="bibr" rid="scirp.96380-ref5">5</xref>]: For two CTC(T) structures, if the control line of a CTC(T) structure is the target line of the other CTC(T) structure, then the two CTC(T) structures are equivalent. Analogously, For two CTC(T<sup>+</sup>) structures, if the control line of a CTC(T<sup>+</sup>) structure is the target line of the other CTC(T<sup>+</sup>) structure, then the two CTC(T<sup>+</sup>) structures are equivalent.</p><p>Property 7 [<xref ref-type="bibr" rid="scirp.96380-ref5">5</xref>]: The combination of the 2-qubit gate and the CTC(T) structure are equivalent for the right and the left of CTC(T) structure, if the control bit of the 2-qubit gate is on the target bit line of the CTC(T) structure and the target bit of the 2-qubit gate is not on the line crossed by CTC(T). The combination of the 2-qubit gate and the CTC(T<sup>+</sup>) structure are equivalent for the right and the left of CTC(T<sup>+</sup>) structure, if the control bit of the 2-qubit gate is on the target bit line of the CTC(T<sup>+</sup>) structure and the target bit of the 2-qubit gate are not on the line crossed by CTC(T<sup>+</sup>).</p><p>Property 8: The subcircuit of the CNOT gate combination is equivalent as shown in Figures 5(a)-(c).</p><p>The equivalence of the above subcircuits can be easily verified by the truth table.</p><p>Conclusion 1: The combination of two adjacent T-gates and 2-qubit gate are equivalent on the right and the left of control bit of this 2-qubit gate.</p><p>The combination of two adjacent T<sup>+</sup>-gates and 2-qubit gate are equivalent on the right and the left of control bit of 2-qubit gate.</p><p>The above inferences are readily available based on property 5.</p><p>Generally, the arbitrary combination of m (m ≥ 1) 2-qubit gates and n (n ≥ 1) T-gates (or T<sup>+</sup>-gates) are equivalent, if the control bits of m (m ≥ 1) 2-qubit gates and n (n ≥ 1) T-gates (or T<sup>+</sup>-gates) are on the same qubit line.</p><p>Conclusion 2: According to property 1, the S-gate (or S<sup>+</sup>-gate) distributed on the left and right sides of the control bit is equivalent for a combination of an S-gate (or S<sup>+</sup>-gate) on the control bit line of a two-qubit gate and the two-qubit gate. It can be seen from the conclusion 1.</p><p>Conclusion 3: The combination of single quantum gate (T, T<sup>+</sup>, S, S<sup>+</sup>) located on the left and right side of CTC structure is equivalent if the single quantum gate is on the same quantum bit line of CTC-structure.</p><p>Theorem 1: 1) Any combinations of the CTC-structure with the T-gates on</p><p>its control bit line and target bit line are equivalent. 2) Any combinations of the CTC-structure with the T<sup>+</sup>-gates on its control bit line and target bit line are equivalent.</p><p>Proof: As long as proof 1), then 2) is available as the same.</p><p>1) According to the Property 6, the CTC-structure interchange control bit line with target bit line is equivalent, so the combination of a T gate and a CTC-structure on the same qubit line is also equivalent. As show in <xref ref-type="fig" rid="fig6">Figure 6</xref> that <xref ref-type="fig" rid="fig6">Figure 6</xref>(a) is equivalent to <xref ref-type="fig" rid="fig6">Figure 6</xref>(b);</p><p>2) According to the Property 5, the T gate of <xref ref-type="fig" rid="fig6">Figure 6</xref>(b) can be moved to the right side of the first CNOT gate. Similarly, it can be moved to the right side of the second CNOT gate to get <xref ref-type="fig" rid="fig6">Figure 6</xref>(c). As show in <xref ref-type="fig" rid="fig6">Figure 6</xref> that <xref ref-type="fig" rid="fig6">Figure 6</xref>(b) is equivalent to <xref ref-type="fig" rid="fig6">Figure 6</xref>(c);</p><p>3) According to the Property 6, the CTC-structure interchange control bit line with target bit line is equivalent, therefore, the combination of the CTC-structure and the T gate on the same bit line is also equivalent. As show in <xref ref-type="fig" rid="fig6">Figure 6</xref> that <xref ref-type="fig" rid="fig6">Figure 6</xref>(c) and <xref ref-type="fig" rid="fig6">Figure 6</xref>(d) are equivalent.</p><p>QED ■</p><p>Corollary 1: The combination of S-gate (or S<sup>+</sup>-gate) and CTC-structure is equivalent when S-gate (or S<sup>+</sup>-gate) is on the left or right sides of the target position of the CTC-structure according to property 1 and theorem 1.</p><p>Theorem 2: In an 1-dimensional quantum circuit, let V ′ = { V , V + } , if there are consecutive mV-gates and nV<sup>+</sup>-gates, the control bit line of V' and the target bit line of V' are same respectively, then the target bit line of the m + nV'-gates can decompose into sub-circuit structure and the number of quantum gates are:</p><p>{ H + Σ + H ,     | m − n |   i s   e v e n H + Σ + T ′ + H ,     | m − n |   i s   o d d (2)</p><p>the control bit line of this m + nV'-gates can decompose into sub-circuit structure and the number of quantum gates are:</p><p>{ Σ ,     | m − n |   i s   e v e n 　 Σ + T ′ ,     | m − n |   i s   o d d (3)</p><p>where T ′ = { T , T + } , S ′ = { S , S + } , Σ = m ∗ CTC ( T + ) + n ∗ CTC ( T ) + ⌊ | m − n | 2 ⌋ ∗ S ′ .</p><p>Proof: In an 1-dimensional quantum circuit, it is assumed that there are k quantum bit lines l (i.e. the input/output of the quantum line is k), that is, L 1 = { l 1 , l 2 , … , l k } . If there are consecutive m target bits of V-gates and n target bits of -gates on the i-th quantum bit line, i ∈ { 1 , 2 , … , k } . Let V ′ = { V , V + } =   &lt; V ′ 1 , V ′ 2 , … , V ′ m , V ′ m + 1 , … , V ′ m + n &gt; , then:</p><p>The target bit line of V-gate in V ′ can be decomposed into:</p><p>H + CTC ( T + ) + T + H (4)</p><p>The target bit line of V<sup>+</sup>-gate in V ′ can be decomposed into:</p><p>H + CTC ( T ) + T + + H (5)</p><p>It can be seen that when m, n ≥ 1, continuous m + n V'-gates are decomposed, and m + n − 1 pair of H-gates are adjacent on the target bit line of CTC-structure. In (1) and (2), the first H-gate and the last H-gate are the remaining, and there are m + n CTC-structures and m T-gates and nT<sup>+</sup>-gates between this two H-gates. By the theorem 1, these mT-gates and nT<sup>+</sup>-gates can be moved so that they are adjacent. So there have:</p><p>1) When m&gt;n, there are n T-gates and nT<sup>+</sup>-gates are eliminated and ⌊(m − n)/2⌋ pairs of T-gates are replaced by ⌊(m − n)/2⌋ S-gates. If m-n is an even number, all T gates are replaced; if m-n is an odd number, then remain a T-gate. The target bit line of V ′ -gate can eventually be decomposed into:</p><p>{ H + m ∗ CTC ( T + ) + n ∗ CTC ( T ) + ⌊ m − n 2 ⌋ ∗ S + H ,     m − n   i s   e v e n H + m ∗ CTC ( T + ) + n ∗ CTC ( T ) + ⌊ m − n 2 ⌋ ∗ S + T + H ,     m − n   i s   o d d (6)</p><p>2) When m = n, all T-gates and T<sup>+</sup>-gates are eliminated. The target bit line of V ′ -gate can eventually be decomposed into:</p><p>H + m ∗ CTC ( T + ) + n ∗ CTC ( T ) + H (7)</p><p>3) When m &lt; n, there are m T-gates and m T<sup>+</sup>-gates are eliminated, and ⌊ ( n − m ) / 2 ⌋ pairs of T<sup>+</sup>-gates are replaced by ⌊ ( n − m ) / 2 ⌋ S<sup>+</sup>-gates. If n-m is an even number, all T<sup>+</sup>-gates are replaced and if n-m is an odd number then remaining a T<sup>+</sup>-gate. The target bit line of the V ′ -gate can be eventually decomposed into:</p><p>{ H + m ∗ CTC ( T + ) + n ∗ CTC ( T ) + ⌊ n − m 2 ⌋ ∗ S + + H ,     n − m   i s   e v e n H + m ∗ CTC ( T + ) + n ∗ CTC ( T ) + ⌊ n − m 2 ⌋ ∗ S + + T + + H ,     n − m   i s   o d d (8)</p><p>The control bit of V-gate and V<sup>+</sup>-gate in V ′ can be decomposed into the form of CTC ( T + ) + T and CTC ( T ) + T + respectively at the control bit line.</p><p>The control bit of mV-gates and nV<sup>+</sup>-gates in V ′ may be distributed on the L 2 = { l 1 , … , l i − 1 , l i + 1 , … , l k } . When m, n ≥ 1, after successive m + nV' gates are decomposed, there are a total of m + n CTC-structures, mT-gates and nT<sup>+</sup>-gates on all control bit lines. Among them, the l j ( l j ∈ L 2 ) qubit line has m j T -gates, n j T + -gates and m j + n j CTC-structures, where m = ∑ j = 1 k m j , n = ∑ j = 1 k n j , j ≠ i .</p><p>By theorem 1, these m j T -gates and n j T + -gates can be moved to be adjacent, so:</p><p>1) When m j &gt; n j , there are n j T -gates and n j T + -gates are eliminated; ⌊ ( m j − n j ) / 2 ⌋ pairs of T-gates are replaced by ⌊ ( m j − n j ) / 2 ⌋ S-gates. If m j − n j is an even number, all T-gates are replaced, and if m j − n j is an odd number, then remain a T-gate. The control bit line of the V ′ -gate can be finally decomposed into:</p><p>{ m j ∗ CTC ( T + ) + n j ∗ CTC ( T ) + ⌊ m j − n j 2 ⌋ ∗ S ,     m j − n j   i s   e v e n m j ∗ CTC ( T + ) + n j ∗ CTC ( T ) + ⌊ m j − n j 2 ⌋ ∗ S + T ,     m j − n j   i s   o d d (9)</p><p>2) When m j = n j , all m j T -gates and m j T + -gates are eliminated. The control bit line of V ′ -gate can be finally decomposed into:</p><p>m j ∗ CTC ( T + ) + n j ∗ CTC ( T ) (10)</p><p>3) When m j &lt; n j , m j T gates and m j T + -gates are eliminated, and ⌊ ( n j − m j ) / 2 ⌋ pairs of T<sup>+</sup>-gates are replaced by ⌊ ( n j − m j ) / 2 ⌋ S<sup>+</sup>-gates. If n j − m j is an even number, all T<sup>+</sup>-gates are replaced and if n j − m j is an odd number, then remain a T<sup>+</sup>-gate. The control bit line of the V ′ -gate can be finally decomposed into:</p><p>{ m j ∗ CTC ( T + ) + n j ∗ CTC ( T ) + ⌊ n j − m j 2 ⌋ ∗ S + ,     n − m   i s   e v e n m j ∗ CTC ( T + ) + n j ∗ CTC ( T ) + ⌊ n j − m j 2 ⌋ ∗ S + + T + ,     n − m   i s   o d d (11)</p><p>QED■</p><p>As shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>(a), the circuit has eight 2-qubit gates (G<sub>1</sub> to G<sub>8</sub> from left to right), where G<sub>1</sub>, G<sub>3</sub>, G<sub>5</sub>, G<sub>8</sub> are V ′ ( V ′ ∈ { V , V + } ) gates whose target bits are</p><p>on the same qubit line l c . The circuit after decomposition is shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>(b) where the second H gate and T c gate generated by G<sub>1</sub> are eliminated respectively with the first H gate and T c + gate generated by G<sub>3</sub>, the second H gate and T c + gate generated by G<sub>3</sub> are eliminated respectively with the first H gate and T c gate generated by G<sub>5</sub>, while the H gate generated by G<sub>8</sub> cannot cancel out with the H gate generated by G<sub>5</sub> because of the blocking of the G<sub>6</sub> target bit. The T a generated by G<sub>5</sub> and G<sub>8</sub> respectively can be merged into S a .</p></sec><sec id="s3_2"><title>3.2. Algorithm for Decomposition of NCV Circuit</title><p>In order to obtain the quantum circuit composed of Clifford + T gate, using the equivalent circuit given in <xref ref-type="fig" rid="fig3">Figure 3</xref> and the related theory of theorem 2 to decompose NCV circuit.</p><p>The circuit is initially optimized with the relevant properties in the decomposition process. The decomposition algorithm is shown in Algorithm 1.</p></sec><sec id="s3_3"><title>3.3. Depth Maximization of the CTC-Structure</title><p>In order to deepen the depth of the CTC-structure, reduce the depth of the circuit, improve the parallelism of the circuit, the decomposed Clifford + T circuit need to be structured and the main goal is to make the depth of each CTC-structure equal to the number of qubits (That is to say, make the CTC-structure to be fully occupied). The CTC-structure depth deepening algorithm is shown in Algorithm 2.</p></sec><sec id="s3_4"><title>3.4. Depth Optimization of Circuit</title><p>After deepening the depth of the CTC-structure of the circuit, there will be many adjacent CNOT gates. The optimization of continuous CNOT gates can reduce the number of gates. Algorithm 3 is CNOT optimization algorithm.</p></sec></sec><sec id="s4"><title>4. Quantum Circuit Synthesis Satisfying Constraints</title><sec id="s4_1"><title>4.1. Some Constraints on Quantum Circuits</title><p>In some practical quantum techniques, quantum bit interactions of quantum</p><disp-formula id="scirp.96380-formula1"><graphic  xlink:href="//html.scirp.org/file/96380x107.png"  xlink:type="simple"/></disp-formula><p>Algorithm 1. NCV decomposition algorithm.</p><disp-formula id="scirp.96380-formula2"><graphic  xlink:href="//html.scirp.org/file/96380x108.png"  xlink:type="simple"/></disp-formula><p>Algorithm 2. CTC-structure depth deepening algorithm.</p><disp-formula id="scirp.96380-formula3"><graphic  xlink:href="//html.scirp.org/file/96380x109.png"  xlink:type="simple"/></disp-formula><p>Algorithm 3. CNOT optimization algorithm.</p><p>gates are required to satisfy linear nearest neighbor constraints. In a quantum logic circuit, to exchange the logic values of certain two circuits, it can generally be realized by inserting a SWAP-gate. The SWAP-gate also needs to satisfy the linear nearest neighbor in the nearest neighbor constrained quantum circuit, it is called the nearest neighbor SWAP gate (NNS gate) [<xref ref-type="bibr" rid="scirp.96380-ref7">7</xref>]. An NNS gate is equivalent to three cascades of CNOT gates that satisfy the linear nearest neighbor architecture, as shown in <xref ref-type="fig" rid="fig8">Figure 8</xref>(a). Some quantum circuit physical structures require even stronger constraints. For example, IBM QX [<xref ref-type="bibr" rid="scirp.96380-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.96380-ref18">18</xref>] requires that the CONT gates in different directions be flipped through the H gate to be in the same direction (control bits and target bits are on two qubits), as shown in <xref ref-type="fig" rid="fig8">Figure 8</xref>(b). Converting a non-LNN Clifford + T circuit into an LNN Clifford + T circuit is usually done by inserting several NNS gates, as shown in <xref ref-type="fig" rid="fig9">Figure 9</xref>. <xref ref-type="fig" rid="fig9">Figure 9</xref>(a) is a non-LNN circuit, <xref ref-type="fig" rid="fig9">Figure 9</xref>(b) is equivalent LNN circuit by insert SWAP gates, <xref ref-type="fig" rid="fig9">Figure 9</xref>(c) is equivalent form of NNS gate.</p></sec><sec id="s4_2"><title>4.2. Synthesis Algorithm</title><p>It can be seen from the literature [<xref ref-type="bibr" rid="scirp.96380-ref1">1</xref>] that the linear nearest neighbor cost of the 2-qubit gate G in a quantum circuit is:</p><p>G n n c = | l C − l T | − 1 (12)</p><p>where l C and l T are the number of the control bit line and the target bit line of G, respectively, the nearest neighbor cost of a Clifford + T circuit is:</p><p>C C ′ = ∑ i = 1 K     G n n c &#215; N − i + 1 N , ( 1 &lt; K ≤ N ) (13)</p><p>where N is the number of quantum gates in the Clifford + T circuit and K is the linear nearest neighbor cost calculation coefficient of the circuit.</p><p>This paper presents an adaptive Clifford + T circuit neighborhood optimization algorithm, such as Algorithm 4. The optimized Clifford + T circuit is scanned from left to right, and all LNN schemes are listed for the first non-LNN 2-qubit gate is encountered. Calculate the C C ′ of the remaining circuit after each scheme is executed, select the scheme with the smallest C C ′ , insert the NNS gates into the circuit one after the other, then continue to scan the remaining circuits, and iteratively execute the above steps until all the quantum gates reached LNN. The algorithm is executed for all coefficients K, and the scheme with the least number of inserted switching gates is recorded for output.</p><p>The time complexity of the algorithm is O ( L &#215; N &#215; K ) , where L is the quantum number. For small-scale circuits, try all the coefficients K to find the optimal solution. For large-scale circuits, K can be reduced to a constant term in order to reduce algorithm runtime.</p></sec></sec><sec id="s5"><title>5. Experiment and Result Analysis</title><p>According to all the considerations and methods discussed above, based on RevLib [<xref ref-type="bibr" rid="scirp.96380-ref19">19</xref>] benchmark and the decomposition tool designed by the research team [<xref ref-type="bibr" rid="scirp.96380-ref6">6</xref>], use Intel (R) 64 - 3.2 GHz bit processor, 8 GB RAM, windows 10 operating environment, C++ programming language. Decompose NCV gate library circuit into basic quantum gate circuit of Clifford + T structure, then through neighboring and CNOT gate flipping the relevant constraints comparable to the literature [<xref ref-type="bibr" rid="scirp.96380-ref14">14</xref>] are satisfied, so use the experimental results to compare with the results in [<xref ref-type="bibr" rid="scirp.96380-ref14">14</xref>] (<xref ref-type="table" rid="table2">Table 2</xref>). In order to more fully evaluate the effectiveness of the proposed method, the benchmark function selected in this paper is more extensive. Since the literature [<xref ref-type="bibr" rid="scirp.96380-ref14">14</xref>] only targets the 10 - 16 qubit part of the benchmark</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Experimental results comparison</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Name</th><th align="center" valign="middle"  rowspan="2"  >n</th><th align="center" valign="middle"  colspan="3"  >Ref. [<xref ref-type="bibr" rid="scirp.96380-ref14">14</xref>]</th><th align="center" valign="middle"  colspan="3"  >Proposed approach</th><th align="center" valign="middle"  rowspan="2"  >Gate optimization rate (%)</th><th align="center" valign="middle"  rowspan="2"  >Depth optimization rate (%)</th></tr></thead><tr><td align="center" valign="middle" >gate1</td><td align="center" valign="middle" >deep1</td><td align="center" valign="middle" >time</td><td align="center" valign="middle" >gate2</td><td align="center" valign="middle" >deep2</td><td align="center" valign="middle" >time</td></tr><tr><td align="center" valign="middle" >mini_alu_305</td><td align="center" valign="middle" >10</td><td align="center" valign="middle" >474</td><td align="center" valign="middle" >225</td><td align="center" valign="middle" >1.25</td><td align="center" valign="middle" >518</td><td align="center" valign="middle" >372</td><td align="center" valign="middle" >0.05</td><td align="center" valign="middle" >−9.28</td><td align="center" valign="middle" >−65.33</td></tr><tr><td align="center" valign="middle" >rd73_141</td><td align="center" valign="middle" >10</td><td align="center" valign="middle" >656</td><td align="center" valign="middle" >301</td><td align="center" valign="middle" >1.52</td><td align="center" valign="middle" >478</td><td align="center" valign="middle" >328</td><td align="center" valign="middle" >0.04</td><td align="center" valign="middle" >27.13</td><td align="center" valign="middle" >−8.97</td></tr><tr><td align="center" valign="middle" >sys6−v0_144</td><td align="center" valign="middle" >10</td><td align="center" valign="middle" >613</td><td align="center" valign="middle" >250</td><td align="center" valign="middle" >1.36</td><td align="center" valign="middle" >476</td><td align="center" valign="middle" >326</td><td align="center" valign="middle" >0.04</td><td align="center" valign="middle" >22.35</td><td align="center" valign="middle" >−30.4</td></tr><tr><td align="center" valign="middle" >dc1_220</td><td align="center" valign="middle" >11</td><td align="center" valign="middle" >5946</td><td align="center" valign="middle" >3378</td><td align="center" valign="middle" >12.38</td><td align="center" valign="middle" >3460</td><td align="center" valign="middle" >2622</td><td align="center" valign="middle" >1.14</td><td align="center" valign="middle" >41.81</td><td align="center" valign="middle" >22.38</td></tr><tr><td align="center" valign="middle" >wim_266</td><td align="center" valign="middle" >11</td><td align="center" valign="middle" >2985</td><td align="center" valign="middle" >1711</td><td align="center" valign="middle" >6.3</td><td align="center" valign="middle" >1738</td><td align="center" valign="middle" >1294</td><td align="center" valign="middle" >0.29</td><td align="center" valign="middle" >41.78</td><td align="center" valign="middle" >24.37</td></tr><tr><td align="center" valign="middle" >sqrt8_260</td><td align="center" valign="middle" >12</td><td align="center" valign="middle" >9744</td><td align="center" valign="middle" >5501</td><td align="center" valign="middle" >19.66</td><td align="center" valign="middle" >5108</td><td align="center" valign="middle" >3909</td><td align="center" valign="middle" >2.52</td><td align="center" valign="middle" >47.58</td><td align="center" valign="middle" >28.94</td></tr><tr><td align="center" valign="middle" >sym9_147</td><td align="center" valign="middle" >12</td><td align="center" valign="middle" >955</td><td align="center" valign="middle" >425</td><td align="center" valign="middle" >2.08</td><td align="center" valign="middle" >748</td><td align="center" valign="middle" >518</td><td align="center" valign="middle" >0.10</td><td align="center" valign="middle" >21.68</td><td align="center" valign="middle" >−21.88</td></tr><tr><td align="center" valign="middle" >adr4_197</td><td align="center" valign="middle" >13</td><td align="center" valign="middle" >11,301</td><td align="center" valign="middle" >6205</td><td align="center" valign="middle" >23.17</td><td align="center" valign="middle" >6332</td><td align="center" valign="middle" >4799</td><td align="center" valign="middle" >3.65</td><td align="center" valign="middle" >43.97</td><td align="center" valign="middle" >22.66</td></tr><tr><td align="center" valign="middle" >squar5_261</td><td align="center" valign="middle" >13</td><td align="center" valign="middle" >6267</td><td align="center" valign="middle" >3448</td><td align="center" valign="middle" >12.96</td><td align="center" valign="middle" >3699</td><td align="center" valign="middle" >2764</td><td align="center" valign="middle" >1.63</td><td align="center" valign="middle" >40.98</td><td align="center" valign="middle" >19.84</td></tr><tr><td align="center" valign="middle" >pm1_249</td><td align="center" valign="middle" >14</td><td align="center" valign="middle" >5431</td><td align="center" valign="middle" >3013</td><td align="center" valign="middle" >11.1</td><td align="center" valign="middle" >3221</td><td align="center" valign="middle" >2437</td><td align="center" valign="middle" >0.92</td><td align="center" valign="middle" >40.69</td><td align="center" valign="middle" >19.12</td></tr><tr><td align="center" valign="middle" >0410184_169</td><td align="center" valign="middle" >14</td><td align="center" valign="middle" >758</td><td align="center" valign="middle" >366</td><td align="center" valign="middle" >1.48</td><td align="center" valign="middle" >572</td><td align="center" valign="middle" >379</td><td align="center" valign="middle" >0.03</td><td align="center" valign="middle" >24.54</td><td align="center" valign="middle" >−3.55</td></tr><tr><td align="center" valign="middle" >cm42a_207</td><td align="center" valign="middle" >14</td><td align="center" valign="middle" >5431</td><td align="center" valign="middle" >3013</td><td align="center" valign="middle" >11.95</td><td align="center" valign="middle" >3221</td><td align="center" valign="middle" >2437</td><td align="center" valign="middle" >1.08</td><td align="center" valign="middle" >40.69</td><td align="center" valign="middle" >19.12</td></tr><tr><td align="center" valign="middle" >sym6_316</td><td align="center" valign="middle" >14</td><td align="center" valign="middle" >852</td><td align="center" valign="middle" >456</td><td align="center" valign="middle" >1.84</td><td align="center" valign="middle" >1015</td><td align="center" valign="middle" >720</td><td align="center" valign="middle" >0.26</td><td align="center" valign="middle" >−19.13</td><td align="center" valign="middle" >−57.89</td></tr><tr><td align="center" valign="middle" >ham15_108</td><td align="center" valign="middle" >15</td><td align="center" valign="middle" >28,310</td><td align="center" valign="middle" ></td><td align="center" valign="middle" >68.75</td><td align="center" valign="middle" >4756</td><td align="center" valign="middle" >3528</td><td align="center" valign="middle" >3.24</td><td align="center" valign="middle" >83.20</td><td align="center" valign="middle" >77.80</td></tr><tr><td align="center" valign="middle" >misex1_241</td><td align="center" valign="middle" >15</td><td align="center" valign="middle" >15,185</td><td align="center" valign="middle" >8729</td><td align="center" valign="middle" >33.11</td><td align="center" valign="middle" >8103</td><td align="center" valign="middle" >6239</td><td align="center" valign="middle" >5.81</td><td align="center" valign="middle" >46.64</td><td align="center" valign="middle" >28.53</td></tr><tr><td align="center" valign="middle" >average value</td><td align="center" valign="middle" ></td><td align="center" valign="middle" >6327.2</td><td align="center" valign="middle" >3527.47</td><td align="center" valign="middle" ></td><td align="center" valign="middle" >2896.33</td><td align="center" valign="middle" >2178.13</td><td align="center" valign="middle" ></td><td align="center" valign="middle" >32.97</td><td align="center" valign="middle" >4.98</td></tr></tbody></table></table-wrap><disp-formula id="scirp.96380-formula4"><graphic  xlink:href="//html.scirp.org/file/96380x119.png"  xlink:type="simple"/></disp-formula><p>Algorithm 4. LNN arrangement algorithm based on quantum weight.</p><p>function, the comparison results only compare the partial functions of 10 - 16 qubits. For each benchmark function, the function name (Name), the number of qubits (n), the number of quantum gates (g) of the circuit, the depth of the circuit (d), and the operation time (in seconds) in the corresponding operating environment are provided.</p></sec><sec id="s6"><title>6. Conclusion</title><p>Due to the limitations of some quantum techniques, there are special requirements for the use of quantum gates in quantum circuits, and the linear nearest neighbor constraints are required for the physical positions of the control bits and target bits of the 2-qubit gates. The main work of this paper is to map the NCV circuit to the equivalent circuit composed of Clifford + T gate, optimize the quantum gate number and T depth, reduce the circuit depth, propose a series of circuit structure equivalence rules and optimization operation strategies. The CNOT gate neighbor algorithm of the Clifford + T gate quantum circuit satisfies the CNOT constraint imposed by the architecture. In the related properties and operation methods proposed in this paper, due to the limitation of H gate, the optimization of the circuit will have a great impact. How to lay out the position of the H gate is an important part of future work research.</p></sec><sec id="s7"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s8"><title>Cite this paper</title><p>He, X.Y., Guan, Z.J. and Ding, F. (2019) The Mapping and Optimization Method of Quantum Circuits for Clifford + T Gate. Journal of Applied Mathematics and Physics, 7, 2796-2810. https://doi.org/10.4236/jamp.2019.711192</p></sec></body><back><ref-list><title>References</title><ref id="scirp.96380-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Abdessaied, N. and Drechsler, R. (2018) Reversible and Quantum Circuits Optimization and Complexity Analysis. Springer Nature.</mixed-citation></ref><ref id="scirp.96380-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Wille, R., Keszocze, O., Walter, M., Rohrs, P., Chattopadhyay, A. and Drechsler, R. (2016) Look-Ahead Schemes for Nearest Neighbor Optimization of 1d and 2d Quantum Circuits. Asia and South Pacific Design Automation Conf., 292-297.  
https://doi.org/10.1109/ASPDAC.2016.7428026</mixed-citation></ref><ref id="scirp.96380-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">http://www.jku.at/iic/eda/ibm_qx_mapping</mixed-citation></ref><ref id="scirp.96380-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Biswal, L., Bandyopadhyay, C., Wille, R., et al. (2016) Improving the Realization of Multiple-Control Toffoli Gates Using the NCVW Quantum Gate Library. International Conference on VLSI Design &amp; International Conference on Embedded Systems. https://doi.org/10.1109/VLSID.2016.23</mixed-citation></ref><ref id="scirp.96380-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Miller, D.M., Soeken, M. and Drechsler, R. (2014) Mapping NCV Circuits to Optimized Clifford + T Circuits. Reversible Computation. Springer International Publishing. https://doi.org/10.1007/978-3-319-08494-7_13</mixed-citation></ref><ref id="scirp.96380-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Saeedi, M., Wille, R. and Drechsler, R. (2010) Synthesis of Quantum Circuits for Linear Nearest Neighbor Architectures. Quantum Information Processing.  
https://doi.org/10.1007/s11128-010-0201-2</mixed-citation></ref><ref id="scirp.96380-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Xueyun, C., Zhijin, G. and Weiping, D. (2018) Mapping from Multiple-Control Toffoli Circuits to Linear Nearest Neighbor Quantum Circuits. Quantum Information Processing, 17, 169. https://doi.org/10.1007/s11128-018-1908-8</mixed-citation></ref><ref id="scirp.96380-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Abhari, A.J., Faruque, A., Dousti, M.J., Svec, L., Catu, O., Chakrabati, A., Chiang, C.-F., Vanderwilt, S., Black, J. and Chong, F. (2012) Scaffold: Quantum Programming Language. Technical Report, Princeton Univ Nj Dept of Computer Science.</mixed-citation></ref><ref id="scirp.96380-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Wille, R., Lye, A. and Drechsler, R. (2014) Exact Reordering of Circuit Lines for Nearest Neighbor Quantum Architectures. IEEE Trans. on CAD of Integrated Circuits and Systems, 33, 1818-1831. https://doi.org/10.1109/TCAD.2014.2356463</mixed-citation></ref><ref id="scirp.96380-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Shafaei, A., Saeedi, M. and Pedram, M. (2013) Optimization of Quantum Circuits for Interaction Distance in Linear Nearest Neighbor Architectures. Design Automation Conf., 41-46. https://doi.org/10.1145/2463209.2488785</mixed-citation></ref><ref id="scirp.96380-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Cross, A.W., Bishop, L.S., Smolin, J.A. and Gambetta, J.M. (2017) Open Quantum Assembly Language. arXiv Preprint arXiv:1707.03429.</mixed-citation></ref><ref id="scirp.96380-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Barenco, A., Bennett, C.H., Cleve, R., et al. (1995) Elementary Gates for Quantum Computation. Physical Review A. https://doi.org/10.1103/PhysRevA.52.3457</mixed-citation></ref><ref id="scirp.96380-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Green, A.S., Lumsdaine, P.L., Ross, N.J., Selinger, P. and Valiron, B. (2013) Quipper: A Scalable Quantum Programming Language. Conference on Programming Language Design and Implementation, 333-342.</mixed-citation></ref><ref id="scirp.96380-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Zulehner, A., Paler, A. and Wille, R. (2018) An Efficient Methodology for Mapping Quantum Circuits to the IBM QX Architectures. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 1.  
https://doi.org/10.23919/DATE.2018.8342181</mixed-citation></ref><ref id="scirp.96380-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Barenco, A., Bennett, C.H., Cleve, R., et al. (1995) Elementary Gates for Quantum Computation. Physical Review A, 52, 3457.  
https://doi.org/10.1103/PhysRevA.52.3457</mixed-citation></ref><ref id="scirp.96380-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Soeken, M., Miller, D.M. and Drechsler, R. (2013) Quantum Circuits Employing Roots of the Pauli Matrices. Phys. Rev. A, 88, Article ID: 042322.  
https://doi.org/10.1103/PhysRevA.88.042322</mixed-citation></ref><ref id="scirp.96380-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">(2019) QISKIT Python SDK. https://github.com/QISKit/qiskit-sdk-py</mixed-citation></ref><ref id="scirp.96380-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Zulehner, A., Paler, A. and Wille, R. (2018) Efficient Mapping of Quantum Circuits to the IBM QX Architectures. Design, Automation and Test in Europe.  
https://doi.org/10.23919/DATE.2018.8342181</mixed-citation></ref><ref id="scirp.96380-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Tan, Y.Y., Cheng, X.Y., Guan, Z.J., et al. (2018) Multi-Strategy Based Quantum Cost Reduction of Linear Nearest-Neighbor Quantum Circuit. Quantum Information Processing, 17, 61. https://doi.org/10.1007/s11128-018-1832-y</mixed-citation></ref></ref-list></back></article>