<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Phys.</journal-id>
<journal-title>Frontiers in Physics</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Phys.</abbrev-journal-title>
<issn pub-type="epub">2296-424X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">981225</article-id>
<article-id pub-id-type="doi">10.3389/fphy.2022.981225</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Physics</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Determining quantum topological semion code decoder performance and error correction effectiveness with reinforcement learning</article-title>
<alt-title alt-title-type="left-running-head">Wang&#x2009; et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fphy.2022.981225">10.3389/fphy.2022.981225</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Wang&#x2009;</surname>
<given-names>Hao-Wen</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Cao&#x2009;</surname>
<given-names>Qian</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Xue&#x2009;</surname>
<given-names>Yun-Jia</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Ding&#x2009;</surname>
<given-names>Li</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Liu&#x2009;</surname>
<given-names>Han-Yang</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Dong&#x2009;</surname>
<given-names>Yu-Min</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Ma&#x2009;</surname>
<given-names>Hong-Yang</given-names>
</name>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1569303/overview"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>School of Information and Control Engineering</institution>, <institution>Qingdao University of Technology</institution>, <addr-line>Qingdao</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>School of Computer and Information Science</institution>, <institution>Chongqing Normal University</institution>, <addr-line>Chongqing</addr-line>, <country>China</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>School of Sciences</institution>, <institution>Qingdao University of Technology</institution>, <addr-line>Qingdao</addr-line>, <country>China</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1556812/overview">Tianyu Ye</ext-link>, Zhejiang Gongshang University, China</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1559239/overview">Tingting Song</ext-link>, Jinan University, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1559454/overview">Hao Cao</ext-link>, Anhui Science and Technology University, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1562713/overview">Liyun Hu</ext-link>, Jiangxi Normal University, China</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Hong-Yang Ma&#x2009;, <email>hongyang_ma@aliyun.com</email>
</corresp>
<fn fn-type="other">
<p>This article was submitted to Quantum Engineering and Technology, a section of the journal Frontiers in Physics</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>15</day>
<month>08</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2022</year>
</pub-date>
<volume>10</volume>
<elocation-id>981225</elocation-id>
<history>
<date date-type="received">
<day>29</day>
<month>06</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>06</day>
<month>07</month>
<year>2022</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2022 Wang&#x2009;, Cao&#x2009;, Xue&#x2009;, Ding&#x2009;, Liu&#x2009;, Dong&#x2009; and Ma&#x2009;.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Wang&#x2009;, Cao&#x2009;, Xue&#x2009;, Ding&#x2009;, Liu&#x2009;, Dong&#x2009; and Ma&#x2009;</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>Quantum error correction technology is a vital method to eliminate noise during the operation of quantum computers. To solve the problem caused by noise, in this paper, reinforcement learning is used to encode defects of Semion codes, and the experience replay technique is used to realize the design of decoder. Semion codes are quantum topological error correction codes with the same symmetry group <inline-formula id="inf1">
<mml:math id="m1">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="double-struck">Z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> as Kitaev toric codes, we used the topological characteristics of error correction codes to map qubits to multi-dimensional space, and error correction accuracy of the decoder is calculated to be 77.5%. Calculate the threshold of topological quantum Semion code, depending on the code distance, resulting in different thresholds, <italic>p</italic>
<sub>
<italic>threshold</italic>
</sub> &#x3d; 0.081574 when the code distance is <italic>d</italic> &#x3d; 3, 5, 7 and threshold <italic>p</italic>
<sub>
<italic>threshold</italic>
</sub> &#x3d; 0.09542 when the code distance is <italic>d</italic> &#x3d; 5, 7, 9. And we design the <inline-formula id="inf2">
<mml:math id="m2">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-network to optimize the cost of quantum circuit gates and compare the size of the cost reduction under different thresholds. Reinforcement learning is an important method for designing Semion code decoders and optimizing numerical values, providing more general error models and error correction codes for future machine engineering decoders.</p>
</abstract>
<kwd-group>
<kwd>quantum error correction technology</kwd>
<kwd>topological quantum semion code</kwd>
<kwd>reinforcement learning</kwd>
<kwd>decoder performance</kwd>
<kwd>qubit overhead</kwd>
</kwd-group>
<contract-sponsor id="cn001">National Natural Science Foundation of China<named-content content-type="fundref-id">10.13039/501100001809</named-content>
</contract-sponsor>
<contract-sponsor id="cn002">Natural Science Foundation of Shandong Province<named-content content-type="fundref-id">10.13039/501100007129</named-content>
</contract-sponsor>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>Quantum computing and quantum information have made tremendous progress over the years, and technologies based on quantum communication and quantum error correction (QEC) are developing rapidly [<xref ref-type="bibr" rid="B1">1</xref>&#x2013;<xref ref-type="bibr" rid="B4">4</xref>]. The robustness of quantum memory to outer noise and noise removal is an extremely significant resource for quantum fault tolerance [<xref ref-type="bibr" rid="B5">5</xref>&#x2013;<xref ref-type="bibr" rid="B9">9</xref>]. Among quantum memories, Among quantum memories, Kitaev toric code [<xref ref-type="bibr" rid="B10">10</xref>] is the first proposed topological torus code, which is a simple two-dimensional lattice gauge theory with the <inline-formula id="inf3">
<mml:math id="m3">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="double-struck">Z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> gauge group. A double-Semion model is a model with the same gauge group theory as Kiteav but with not the same topological properties [<xref ref-type="bibr" rid="B11">11</xref>,<xref ref-type="bibr" rid="B12">12</xref>]. Although the double Semion model and Kitaev have the same standard set, there are some differences. Double Semion codes weave two elementary quasiparticle excitations that will give &#xb1; <italic>i</italic> phase, showing the statistic of anyons, while Kitaev toric codes only give a &#xb1;1 phase factor. The topological order provides a wide range of new topological codes with non-Pauli stabilizers, such as error correction codes: Semion code, which is topologically ordered, respect the stabilizer formalism, but due to Pauli X and Pauli Z existing in the square operator, it is not Pauli&#x2019;s code, it can not be represented as a tensor product of Pauli matrices, so it is not Calderbank-Shor-Steane (CSS) code [<xref ref-type="bibr" rid="B13">13</xref>].</p>
<p>Threshold is an effective means of characterizing fault tolerance performance. Specifically, when the physical error rate of qubits is lower than a certain threshold, quantum error correction can be applied to perform effective quantum computing, and the logical error rate can be suppressed to an arbitrarily low level. Due to the fragile nature of quantum information, future universal quantum computers could diagnose syndromes based on the logic qubits of stabilizers. To prevent error propagation and logical failures, a decoder needs to be designed that provides a set of recovery operations to correct errors given a specific syndrome, must include the corresponding error statistics [<xref ref-type="bibr" rid="B13">13</xref>] for any given syndrome, and must account for the defects of the syndrome due to measurement errors of the stabilizer, requiring QEC. At present, there are many decoders designed based on topological codes, not only toric codes [<xref ref-type="bibr" rid="B14">14</xref>,<xref ref-type="bibr" rid="B15">15</xref>], but also color codes [<xref ref-type="bibr" rid="B16">16</xref>,<xref ref-type="bibr" rid="B17">17</xref>]. The logical qubit is composed of a large number of entangled physical qubits. It can prevent local disturbance caused by errors such as bit flips when the logic operation requires global changes.</p>
<p>Reinforcement learning (RL) combined with deep learning has achieved great success in many fields [<xref ref-type="bibr" rid="B18">18</xref>&#x2013;<xref ref-type="bibr" rid="B20">20</xref>]. Techniques from machine learning have begun to find applications in various fields of quantum physics and to fast solve decoding problems [<xref ref-type="bibr" rid="B21">21</xref>&#x2013;<xref ref-type="bibr" rid="B23">23</xref>], decoders of many kinds of neural networks have been proposed, although such methods have obvious advantages, it promises extremely fast decoding times, flexibility relative to underlying code and noise models, and the ability to scale to large code distances, there is room for improvement and application. At present, there are many decoders designed based on toric codes and color codes [<xref ref-type="bibr" rid="B24">24</xref>,<xref ref-type="bibr" rid="B25">25</xref>], but few decoders based on Semion code are involved. Although the performance of our proposed decoder is not better than the current decoder, its value lies in the show that it is feasible to implement the design of Semion code using RL. The paper studies a decoder to find the optimal error correction strategy for quantum topological Semion codes. In the field of quantum computing, it is necessary to try to measure the logical errors generated by the decoder given the syndrome, and to detect the logical errors generated by the decoder through intelligent algorithms. We apply deep learning to quantum computing, decoding for future universal self-training devices provides ideas.</p>
<p>The following contents are arranged as follows. In <xref ref-type="sec" rid="s2">Section 2</xref>, a brief background on quantum topological Semion codes and RL. In <xref ref-type="sec" rid="s3">Section 3</xref>, an algorithm was designed for quantum topological Semion codes. In <xref ref-type="sec" rid="s4">Section 4</xref>, analysis of error correction performance, and conclude in <xref ref-type="sec" rid="s5">Section 5</xref>.</p>
</sec>
<sec id="s2">
<title>2 Background</title>
<sec id="s2-1">
<title>2.1 Quantum topological semion code</title>
<p>The double Semion model plays a principal role in the fields of gapped systems and new topological orders [<xref ref-type="bibr" rid="B26">26</xref>], and the Semion code is an error correction code that needs to be studied in depth in topological codes. Semion code is a QEC code with the characteristics of the double Semion model. The Semion code has a topological protection effect on quantum information and will not affect the global error due to local errors. Semion code is a non-CSS and non-Pauli topological code described as a hexagonal lattice &#x39b;. We map the qubits in three-dimensional space and use the topology of the code to convert qubits into qubits in multi-dimensional space. The edges represent physical qubits and the vertices represent stabilizer operators. The vertex operator is represented by <italic>V</italic>
<sub>
<italic>Q</italic>
</sub>, and vertex <italic>Q</italic> is represented as shown in <xref ref-type="fig" rid="F1">Figure 1</xref>(1), and the Pauli Z operator is represented as:<disp-formula id="e1">
<mml:math id="m4">
<mml:msub>
<mml:mrow>
<mml:mi>V</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Q</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>Z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>Z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>Z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
<label>(1)</label>
</disp-formula>
</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Hexagonal lattice diagram, the outermost hexagonal frame is only for aesthetics and does not represent a bounded hexagonal diagram. (1)Vertex operator <italic>V</italic>
<sub>
<italic>Q</italic>
</sub>. (2)Plaquette operator <italic>P</italic>
<sub>
<italic>G</italic>
</sub>, the plaquette operator not only includes the blue hexagon, but also the outputting legs connecting the hexagon. (3)The path <italic>G</italic> of the positive or negative chirality string operator <inline-formula id="inf4">
<mml:math id="m5">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> is represented by the blue path, the connecting line represents the <inline-formula id="inf5">
<mml:math id="m6">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> support <italic>Conn</italic>(<italic>G</italic>), and the yellow dots represent a pair of vertex excitations generated at the endpoints of the path <italic>G</italic>. (4)Phase factor diagram expanded from (2).</p>
</caption>
<graphic xlink:href="fphy-10-981225-g001.tif"/>
</fig>
<p>Plaquette operator is represented by <italic>P</italic>
<sub>
<italic>G</italic>
</sub>, and apply the Pauli X operator on the sides of the hexagon:<disp-formula id="e2">
<mml:math id="m7">
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x220f;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>&#x2202;</mml:mi>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mfenced>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">&#x232a;</mml:mo>
<mml:mo stretchy="false">&#x2329;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:math>
<label>(2)</label>
</disp-formula>
<inline-formula id="inf6">
<mml:math id="m8">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> in the above formula represents the bit string of a state on the basis of calculation, <italic>&#x2202;G</italic> belongs to the edge of the plaquette boundary, the value of <inline-formula id="inf7">
<mml:math id="m9">
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is {&#xb1;1, &#xb1;<italic>i</italic>}. The diagonal operator <inline-formula id="inf8">
<mml:math id="m10">
<mml:msub>
<mml:mrow>
<mml:mo movablelimits="false" form="prefix">&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">&#x232a;</mml:mo>
<mml:mo stretchy="false">&#x2329;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:math>
</inline-formula> acts on the twelve qubits in <xref ref-type="fig" rid="F1">Figure 1</xref>(2).</p>
</sec>
<sec id="s2-2">
<title>2.2 Reinforcement learning</title>
<p>RL problems consider an agent that interacts with the environment [<xref ref-type="bibr" rid="B27">27</xref>]. The agent can manipulate and observe parts and perform a sequence of actions to accomplish a particular problem. Through RL, we can find the optimal policy of the action subject in the system. The optimal policy is the policy that proxies the best return in the process of interacting with the system. Discrete problems are usually considered. At each time step <italic>t</italic>, the environment can be represented by a state <italic>s</italic>
<sub>
<italic>t</italic>
</sub> &#x2208; <italic>S</italic>, where <italic>S</italic> is the state space. Given a state, the agent can choose to perform an action <italic>a</italic>
<sub>
<italic>t</italic>
</sub> &#x2208; <italic>A</italic>, where <italic>A</italic> is the action space. According to the result after the agent selects the action, the state is updated accordingly, entering a new state <italic>s</italic>
<sub>
<italic>t</italic>&#x2b;1</sub>, and providing the agent with feedback on the action selection in the form of reward <italic>r</italic>
<sub>
<italic>t</italic>&#x2b;1</sub>, starting from time <italic>t</italic>, the return <italic>R</italic>
<sub>
<italic>t</italic>
</sub> &#x3d; <italic>r</italic>
<sub>
<italic>t</italic>&#x2b;1</sub> &#x2b; <italic>&#x3bb;r</italic>
<sub>
<italic>t</italic>&#x2b;1</sub> &#x2b; <italic>&#x3bb;</italic>
<sup>2</sup>
<italic>r</italic>
<sub>
<italic>t</italic>&#x2b;1</sub> &#x2b; &#x22ef;, where <italic>&#x3bb;</italic> &#x2264; 1 is the discount factor that quantifies how one wants to value immediate and subsequent returns [<xref ref-type="bibr" rid="B28">28</xref>]. There will be a constant return <italic>r</italic> &#x3d; 1 for each step. To formalize the agent&#x2019;s decision-making process, we define the agent&#x2019;s policy as <italic>&#x3c0;</italic>, and <italic>&#x3c0;</italic>(<italic>a</italic>, <italic>s</italic>) is the probability that the agent chooses <italic>a</italic>
<sub>
<italic>t</italic>
</sub> &#x3d; <italic>a</italic> when the state is in <italic>s</italic>
<sub>
<italic>t</italic>
</sub> &#x3d; <italic>s</italic>. By using a measure of discounted cumulative reward, the value of any given state depends not only on immediate rewards from that state following a particular policy but also on expected rewards in the future.</p>
</sec>
</sec>
<sec id="s3">
<title>3 Algorithmic process</title>
<sec id="s3-1">
<title>3.1 Explore semion code</title>
<p>As shown in <xref ref-type="fig" rid="F1">Figure 1</xref>(4), the subscript <italic>q</italic> runs over the vertices belonging to the plaquette <italic>G</italic>. <italic>&#x3b2;</italic>
<sub>
<italic>q</italic>
</sub> can be represented by twelve qubits as<disp-formula id="e3">
<mml:math id="m11">
<mml:mtable class="align" columnalign="left">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="normal">&#x3a3;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>q</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b2;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>7</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>6</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>6</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
<mml:msup>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>8</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right"/>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>9</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
<mml:msup>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>10</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>4</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>4</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right"/>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>11</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>4</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>5</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>4</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>5</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
<mml:msup>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>12</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>5</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>6</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>5</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>6</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
<label>(3)</label>
</disp-formula>and<disp-formula id="e4">
<mml:math id="m12">
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>Z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(4)</label>
</disp-formula>
</p>
<p>According to the above analysis, <inline-formula id="inf9">
<mml:math id="m13">
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> can be clearly defined as<disp-formula id="e5">
<mml:math id="m14">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mfenced>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">&#x232a;</mml:mo>
<mml:mo stretchy="false">&#x2329;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mo>&#x3d;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x220f;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>&#x2202;</mml:mi>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:msup>
<mml:munder>
<mml:mrow>
<mml:mo>&#x220f;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>q</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b2;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>q</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
<label>(5)</label>
</disp-formula>Therefore, according to the above reasoning, we add <italic>&#x3b2;</italic>
<sub>
<italic>q</italic>
</sub> to <inline-formula id="inf10">
<mml:math id="m15">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> on each vertex, and we can obtain a <inline-formula id="inf11">
<mml:math id="m16">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> expression that conforms to the entire Hilbert space.<disp-formula id="e6">
<mml:math id="m17">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x220f;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>&#x2202;</mml:mi>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:munder>
<mml:mrow>
<mml:mo>&#x220f;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>&#x2202;</mml:mi>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:msubsup>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:msup>
</mml:math>
<label>(6)</label>
</disp-formula>
<inline-formula id="inf12">
<mml:math id="m18">
<mml:msubsup>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> satisfies the commutate [<xref ref-type="bibr" rid="B29">29</xref>] principle of the operator, and the plaquette operator allows the definition based on stability topological error-correcting code in agent form.</p>
<p>The same as the string operator in Kitaev toric code, <italic>T</italic>
<sup>
<italic>Z</italic>
</sup> in Semion code is expressed as a string operator that generates grid excitation [<xref ref-type="bibr" rid="B30">30</xref>], that is, <italic>T</italic>
<sup>
<italic>Z</italic>
</sup> is a string of Z operators. Each stabilizer commutes with these operators except the grid operator at the end of the string, and the string X produces the string operator of the vertex excitation, as shown in <xref ref-type="fig" rid="F1">Figure 1</xref>(3). We commute the characters on the path G. The string is marked as <inline-formula id="inf13">
<mml:math id="m19">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> and is supported by coon. <inline-formula id="inf14">
<mml:math id="m20">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> can only act on the coon set of qubits non-trivially. According to the constraints: (1)The square of the string operator is 1. (2)It must be determined by exchanging with the stabilizer. The system of linear equations can be withdrawn from <inline-formula id="inf15">
<mml:math id="m21">
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>,<disp-formula id="e7">
<mml:math id="m22">
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x2295;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(7)</label>
</disp-formula>the qubit of <inline-formula id="inf16">
<mml:math id="m23">
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> in <italic>Coon</italic>(<italic>G</italic>) [<xref ref-type="bibr" rid="B11">11</xref>] is 0, and the &#x2295; sign represents the sum of the remainder of the bit string to Z. The value of <inline-formula id="inf17">
<mml:math id="m24">
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is {&#xb1;1, &#xb1;<italic>i</italic>}. So the string <inline-formula id="inf18">
<mml:math id="m25">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> is:<disp-formula id="e8">
<mml:math id="m26">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x220f;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>G</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mfenced>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">&#x232a;</mml:mo>
<mml:mo stretchy="false">&#x2329;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x20d7;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:math>
<label>(8)</label>
</disp-formula>The quasiparticle vertex excitation behavior generated by <inline-formula id="inf19">
<mml:math id="m27">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>G</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> is the same as that of anyons.</p>
<p>The positive chirality string is defined as <italic>T</italic>
<sup>&#x2b;</sup>, the negative chirality string is <italic>T</italic>
<sup>&#x2212;</sup>, and the negative chirality string can be got by calculating the <italic>T</italic>
<sup>
<italic>Z</italic>
</sup> string operator, that is, <italic>T</italic>
<sup>&#x2212;</sup> &#x3d; <italic>T</italic>
<sup>
<italic>Z</italic>
</sup>
<italic>T</italic>
<sup>&#x2b;</sup>. The operator commutes with the <italic>Z</italic> operator, and the <italic>Z</italic> operator and <italic>T</italic>
<sup>&#xb1;</sup> do not commute. In conclusion, the commutation principle to be followed is:<disp-formula id="e9">
<mml:math id="m28">
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2213;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Z</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:math>
<label>(9)</label>
</disp-formula>
</p>
<p>The Hamiltonian is used as the coding space, Semion codes are alike to Kitaev toric codes, with vertex and plaquette operators. Embedding the Semion code in Kitaev toric code results in two quantum memories with logical qubits. The logical operator consists of <inline-formula id="inf20">
<mml:math id="m29">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> and <inline-formula id="inf21">
<mml:math id="m30">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, <italic>H</italic>(<italic>L</italic>) is any homogeneous non-trivial path in the horizontal (vertical) direction, and the other pair logical operator is <inline-formula id="inf22">
<mml:math id="m31">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> and <inline-formula id="inf23">
<mml:math id="m32">
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, which are non-self-intersecting or overlapping the composition of each path is shown in <xref ref-type="fig" rid="F2">Figure 2</xref>(1). Two logical qubits of the code require two pairs of logical operators, which are defined as <italic>X</italic>
<sub>1</sub> and <italic>X</italic>
<sub>2</sub>:<disp-formula id="e10">
<mml:math id="m33">
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>Z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Z</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>Z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>H</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>Z</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
<label>(10)</label>
</disp-formula>
</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>(1)Uncomplicated example of two sets of logical operators on a torus, with arrows denoting the identified boundaries. (2)The three possible edge orientations on the X operator can be applied. The qubit marked 3 is influenced in any case, in addition to this, it may leave flux excitations on the four surrounding plaquettes labeled by <italic>G</italic>1, <italic>G</italic>2, <italic>G</italic>3, <italic>G</italic>4.</p>
</caption>
<graphic xlink:href="fphy-10-981225-g002.tif"/>
</fig>
<p>The set of these operators satisfies the inverse relationship. The hexagonal lattice makes the distance of the X operator twice that of the Z operator, which can better avoid errors. To perform error correction, the stabilizers have to be measured periodically, and the excitations have to be annihilated by bringing them together using the string operators.</p>
</sec>
<sec id="s3-2">
<title>3.2 Build noise models</title>
<p>The error-correcting ability [<xref ref-type="bibr" rid="B31">31</xref>] of QEC codes depends on the type and strength of qubit manager errors [<xref ref-type="bibr" rid="B32">32</xref>&#x2013;<xref ref-type="bibr" rid="B34">34</xref>]. In the context of topological codes, two error models have been extensively studied, namely depolarizing noise and independent bit-flip and phase errors. In the depolarizing noise model, each qubit has an error according to the following probability (1&#x2212;<italic>p</italic>
<sub>
<italic>error</italic>
</sub>) for no error, and <inline-formula id="inf24">
<mml:math id="m34">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">error</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula> for <italic>X</italic>, <italic>Y</italic>, and <italic>Z</italic> errors. <italic>p</italic>
<sub>
<italic>error</italic>
</sub> is a parameter between 0 and 1. The model is symmetric between <italic>X</italic>, <italic>Y</italic>, <italic>Z</italic>.</p>
<p>In the independent bit-flip and phase errors, each qubit will be affected by the error, we record the probability of X error, Y error, and Z error as <italic>p</italic>
<sub>
<italic>XYZ</italic>
</sub>, so the probability of error is <inline-formula id="inf25">
<mml:math id="m35">
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">error</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">XY Z</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">XY Z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>. As shown in <xref ref-type="table" rid="T1">Table 1</xref>.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Error model.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Noise model</th>
<th align="left">X error</th>
<th align="left">Y error</th>
<th align="left">Z error</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Depolarizing noise</td>
<td align="left">
<inline-formula id="inf26">
<mml:math id="m36">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">error</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf27">
<mml:math id="m37">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">error</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf28">
<mml:math id="m38">
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">error</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">Independent bit-flip and phase errors</td>
<td align="left">
<inline-formula id="inf29">
<mml:math id="m39">
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">XY Z</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">XY Z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf30">
<mml:math id="m40">
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">XY Z</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">XY Z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf31">
<mml:math id="m41">
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">XY Z</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">XY Z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>
</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Assuming that the X operator is applied to a qubit, for three possible edge orientations, the probability of a syndrome error can be obtained, with the &#x201c;&#x2b;&#x201d; sign indicating the excitation on a given plaquette. <xref ref-type="table" rid="T2">Table 2</xref> shows the probabilities of calculating a given flux pattern, corresponding to <xref ref-type="fig" rid="F2">Figure 2</xref>(2).</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Different probabilities of plaquette excitation.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">
<italic>T</italic> (<italic>G</italic>1, <italic>G</italic>2, <italic>G</italic>3, <italic>G</italic>4)</th>
<th align="center">Orientation (a)</th>
<th align="center">Orientation (b)</th>
<th align="center">Orientation (c)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">(&#x2b; &#x2b; &#x2b;&#x2b;)</td>
<td align="left">
<inline-formula id="inf32">
<mml:math id="m42">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf33">
<mml:math id="m43">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf34">
<mml:math id="m44">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">(&#x2212; &#x2212; &#x2b;&#x2b;)</td>
<td align="left">
<inline-formula id="inf35">
<mml:math id="m45">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf36">
<mml:math id="m46">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf37">
<mml:math id="m47">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">(&#x2212; &#x2b; &#x2212;&#x2b;)</td>
<td align="left">
<inline-formula id="inf38">
<mml:math id="m48">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf39">
<mml:math id="m49">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf40">
<mml:math id="m50">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">(&#x2b; &#x2212;&#x2212;&#x2b;)</td>
<td align="left">
<inline-formula id="inf41">
<mml:math id="m51">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf42">
<mml:math id="m52">
<mml:mfrac>
<mml:mrow>
<mml:mn>9</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf43">
<mml:math id="m53">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">(&#x2212; &#x2b; &#x2b;&#x2212;)</td>
<td align="left">
<inline-formula id="inf44">
<mml:math id="m54">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf45">
<mml:math id="m55">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf46">
<mml:math id="m56">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">(&#x2b; &#x2212; &#x2b;&#x2212;)</td>
<td align="left">
<inline-formula id="inf47">
<mml:math id="m57">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf48">
<mml:math id="m58">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf49">
<mml:math id="m59">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">(&#x2b; &#x2b; &#x2212;&#x2212;)</td>
<td align="left">
<inline-formula id="inf50">
<mml:math id="m60">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf51">
<mml:math id="m61">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf52">
<mml:math id="m62">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">(&#x2212; &#x2212;&#x2212;&#x2212;)</td>
<td align="left">
<inline-formula id="inf53">
<mml:math id="m63">
<mml:mfrac>
<mml:mrow>
<mml:mn>9</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf54">
<mml:math id="m64">
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
<td align="left">
<inline-formula id="inf55">
<mml:math id="m65">
<mml:mfrac>
<mml:mrow>
<mml:mn>9</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>16</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Consider that the error operator of the n-qubit Pauli operator is <italic>E</italic>. In the stabilizer, errors are detected by measuring the stabilizer generator. If no errors occur, these measurements will output &#x2b;1 eigenvalues. If an error <italic>E</italic> occurs, the same as The stabilizer generator against <italic>E</italic> commutation will output &#x2212;1, and the output of the stabilizer measurement is the error syndrome. To correct the error, the inverse operator of the error is applied, and in the case of the self-inverse Pauli error, the same operator can be applied [<xref ref-type="bibr" rid="B35">35</xref>,<xref ref-type="bibr" rid="B36">36</xref>]. The main task of error correction is to determine the correction operator to apply to a given syndrome. The decoder is designed to give an error model and output a correction operator after analyzing the probabilities of all possible errors consistent with the observed syndrome. The optimal decoder is to choose the most suitable correction chain, and this choice will depend heavily on the specific error model.</p>
</sec>
<sec id="s3-3">
<title>3.3 Convert to square form</title>
<p>Embed the Semion code into the torus. We improved it and used the Ref. [<xref ref-type="bibr" rid="B37">37</xref>] programming framework to map the hexagonal lattice of Semion code to square, Ref. [<xref ref-type="bibr" rid="B11">11</xref>] provided an idea for our conversion process. As shown in <xref ref-type="fig" rid="F3">Figure 3</xref>, the left picture is a schematic diagram of a hexagonal lattice, the numbers with blue circles represent half calculations, there are sixteen symbols in total, the red numbers are vertex operators, and there are thirty-two in total. The data outside of the square is the period filling used, which shows the periodic boundary condition of the Semion code. The figure on the right is a converted square lattice, and the numbers with blue circles represent plaquette operators. The <italic>&#x201c;</italic>&#x2223;<italic>&#x201d;</italic> in the figure is to ensure hexagonal space structure. Its value is always recorded as zero and does not correspond to any element measured by the stabilizer. The numbers in the blue circles represent companion calculations. Letters were used to represent vertices and plaquette operators, when the code distance is <italic>d</italic>, there are 2<italic>d</italic>
<sup>2</sup> vertices and <italic>d</italic>
<sup>2</sup> plaquettes, so there are 3<italic>d</italic>
<sup>2</sup> stabilizers in total. Map the Semion code into a square and choose <italic>d</italic> &#x3d; 4, so a square image of 8 &#xd7; 8 is obtained. We assume that vertex and plaquette operators are marked from right to left and top to bottom. The syndrome of vertex <italic>s</italic> corresponds to the <italic>W</italic>
<sub>
<italic>k</italic>,<italic>m</italic>
</sub> of an image element, where <italic>k</italic> and <italic>m</italic> are expressed as follows:<disp-formula id="e11">
<mml:math id="m66">
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mo>&#x230a;</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>q</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo>&#x230b;</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
<label>(11)</label>
</disp-formula>
<disp-formula id="e12">
<mml:math id="m67">
<mml:mi>m</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="italic">mod</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>q</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mrow>
<mml:mo>&#x230a;</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>q</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo>&#x230b;</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
<label>(12)</label>
</disp-formula>The syndrome of plaquette <italic>G</italic> corresponds to the <italic>W</italic>
<sub>
<italic>k</italic>,<italic>m</italic>
</sub> of the image element, where <italic>k</italic> and <italic>m</italic> are expressed as follows:<disp-formula id="e13">
<mml:math id="m68">
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mo>&#x230a;</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo>&#x230b;</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>2</mml:mn>
</mml:math>
<label>(13)</label>
</disp-formula>
<disp-formula id="e14">
<mml:math id="m69">
<mml:mi>m</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="italic">mod</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>G</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>4</mml:mn>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mrow>
<mml:mo>&#x230a;</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo>&#x230b;</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi>d</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
<label>(14)</label>
</disp-formula>
</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Lattice transformation square diagram. The left picture is a schematic diagram of a hexagonal lattice. The numbers with blue circles represent half calculations. There are 16 symbols in total, the red numbers are vertex operators, and there are 32 in total. The figure on the right is a converted square lattice. The numbers with blue circles represent plaquette operators, and red <italic>&#x201c;</italic>&#x2223;<italic>&#x201d;</italic> represents the spatial structure. Extra values do not have any meaning, other numbers are vertices. In the previous figure, letters were used to represent vertices and plaquette operators. Due to the large number here, we use numbers to represent.</p>
</caption>
<graphic xlink:href="fphy-10-981225-g003.tif"/>
</fig>
</sec>
<sec id="s3-4">
<title>3.4 Emulate semion codes decoder</title>
<p>Quantum computers are affected by the noise of the external environment, which makes the operations perform defects. Therefore, an error correction mechanism is needed to improve the defects. The decoding algorithm needs to count the homology of each particle to restore topological information [<xref ref-type="bibr" rid="B6">6</xref>,<xref ref-type="bibr" rid="B38">38</xref>]. Stabilizer code allows errors to be detected by measuring stable code operators without changing the encoding information and correcting errors by performing recovery operations [<xref ref-type="bibr" rid="B39">39</xref>]. If the encoding task has a specific structure, the decoding task can be easier to handle, and an efficient decoder with better performance can be obtained. The topological code stabilizer is geometrically local, and the abnormal return value indicates that some qubits have errors [<xref ref-type="bibr" rid="B40">40</xref>]. Local errors can be detected and corrected by encoding quantum information in a non-local manner. Error syndromes consist of measurements of non-trivial stabilizer operators, and syndrome analysis can infer what errors have occurred and how to correct them.</p>
<p>Using the <inline-formula id="inf56">
<mml:math id="m70">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula> function to represent the action-value function of a set of actions and the cumulative reward of the corresponding transition, update the estimate of <inline-formula id="inf57">
<mml:math id="m71">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula> using the formula:<disp-formula id="e15">
<mml:math id="m72">
<mml:mi mathvariant="double-struck">Q</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b4;</mml:mi>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>r</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3bb;</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:msub>
<mml:mi mathvariant="double-struck">Q</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="double-struck">Q</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2192;</mml:mo>
<mml:mi mathvariant="double-struck">Q</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:math>
<label>(15)</label>
</disp-formula>where <italic>&#x3b4;</italic> &#x3c; 1 is the learning rate. The action-value function <inline-formula id="inf58">
<mml:math id="m73">
<mml:mi mathvariant="double-struck">Q</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> represents the payoff of taking action <italic>a</italic> in state <italic>s</italic> and following a certain strategy at <italic>&#x3c0;</italic>. In the next step of <inline-formula id="inf59">
<mml:math id="m74">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-learning, <inline-formula id="inf60">
<mml:math id="m75">
<mml:mi mathvariant="double-struck">Q</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>r</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3bb;</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:msub>
<mml:mi mathvariant="double-struck">Q</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is used to quantify <inline-formula id="inf61">
<mml:math id="m76">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>, <italic>s</italic> &#x2192; <italic>s</italic>&#x2032; is the optimal policy to follow for the current estimate of <inline-formula id="inf62">
<mml:math id="m77">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>. The policy is given by <inline-formula id="inf63">
<mml:math id="m78">
<mml:msub>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi mathvariant="double-struck">Q</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> taking action <italic>a</italic> will eventually converge to the optimal policy, and it is quite useful to follow the <italic>&#x25b;</italic>-greedy policy, which takes the optimal action for the estimate of <inline-formula id="inf64">
<mml:math id="m79">
<mml:mi mathvariant="double-struck">Q</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> with probability (1 &#x2212; <italic>&#x25b;</italic>), but take a random action with probability <italic>&#x25b;</italic>. For a large state-action space, it is impossible to store a complete action-value function. In deep <inline-formula id="inf65">
<mml:math id="m80">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-learning, a deep neural network is used to represent the action-value function. The input layer is the representation of a certain state, and the output layer is possible the value of the action, using <inline-formula id="inf66">
<mml:math id="m81">
<mml:mi mathvariant="double-struck">Q</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>a</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3b8;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> to denote the parameterization of the <inline-formula id="inf67">
<mml:math id="m82">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-function by the neural network, and <italic>&#x3b8;</italic> to denote the network&#x2019;s complete set of weights and biases.</p>
<p>The RL decoder used is the evaluation of the capability of generated action by an agent through reinforcement information provided by the environment, without telling the agent how to generate corrective action. Since the outer environment offers a little piece of information, an agent must learn through experience. It learns a mapping from the environment state to the behavior so that the selected behavior can get the maximum reward of the environment, and the system dynamically adjusts the parameters. To achieve the maximum enhancement signal. In a larger state-action space, it is impossible to save a complete action-value function, using depth <inline-formula id="inf68">
<mml:math id="m83">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-learning, a deep neural network represents the action-value function, and the input layer represents a specific state. The output layer is the value of some earthly actions. This simulation part uses a neural network-based decoder [<xref ref-type="bibr" rid="B41">41</xref>,<xref ref-type="bibr" rid="B42">42</xref>], uses RL methods to optimize the observation of Semion code syndrome, and gradually proposes the recovery chain of a syndrome.</p>
<p>Training of decoder adopts deep <inline-formula id="inf69">
<mml:math id="m84">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-network algorithm, which uses experience playback technology to store experience gained by an agent in the form of a conversion tuple in-memory buffer. A specific process is to first send syndrome to an agent in the action part, according to the defect of <inline-formula id="inf70">
<mml:math id="m85">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-network, select action store results in a buffer in the form of a tuple, and then enter the learning process, and use stochastic gradient descent algorithm to reduce <inline-formula id="inf71">
<mml:math id="m86">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-network prediction for a gap between target and sample target, according to the requirements of the target network, network parameters are optimized, and then a new training sequence is started, the weight of <inline-formula id="inf72">
<mml:math id="m87">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-network is synchronized with the weight of target network. In terms of sample selection, the samples are divided into three independent parts, namely the training set, validation set, and test set. The training set is used to estimate the model, the validation set is used to determine the network structure or parameters that control the complexity of the model, and the test set tests the performance of the final selected optimal model. 50% of the sample is the training set, 25% of the sample is the validation and test sets, and all three parts are randomly selected from the sample.</p>
</sec>
</sec>
<sec id="s4">
<title>4 Error correction performance analysis</title>
<sec id="s4-1">
<title>4.1 Error correction performance</title>
<p>Taking depolarization noise as an example, through the training of the decoder, the data map shown in <xref ref-type="fig" rid="F4">Figure 4</xref> is obtained. It is found that the performance of the decoder is better, and the accuracy of error correction can reach 77.5%. The decoder in this paper is to calculate the threshold of the Semion code. The logical error rate is drawn in the range of the physical error rate for different code distances, and the threshold is generally determined as the physical error rate value at the intersection of the two. For physical error rates below the intersection of the two, the logical error rate will decrease as the code distance increases. For each physical error rate, the logical error rate is calculated as the average of multiple independent instances, and for experimental certainty, it must be determined that a certain number of logical errors are observed each time in an actual experiment. For the code distance <italic>d</italic>, the logical error rate <italic>p</italic>
<sub>
<italic>logical</italic>
</sub> should have the following correspondence:<disp-formula id="e16">
<mml:math id="m88">
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">logical</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">error</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">threshold</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#xd7;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:msup>
</mml:math>
<label>(16)</label>
</disp-formula>where <italic>p</italic>
<sub>
<italic>error</italic>
</sub> is the physical error rate, <italic>p</italic>
<sub>
<italic>threshold</italic>
</sub> is the threshold, <italic>v</italic>
<sub>
<italic>o</italic>
</sub> is the scaling exponent. Based on the above formula, this paper obtains the data graph as shown in <xref ref-type="fig" rid="F5">Figure 5</xref>. It can be observed in <xref ref-type="fig" rid="F5">Figure 5</xref>(1) that when the logical error rate <italic>p</italic>
<sub>
<italic>logical</italic>
</sub> &#x3d; 0.31257, the threshold <italic>p</italic>
<sub>
<italic>threshold</italic>
</sub> &#x3d; 0.081574. <xref ref-type="fig" rid="F5">Figure 5</xref>(2) can be observed, but when the logical error rate <italic>p</italic>
<sub>
<italic>logical</italic>
</sub> &#x3d; 0.2642, the threshold <italic>p</italic>
<sub>
<italic>threshold</italic>
</sub> &#x3d; 0.09542. Thresholds vary due to code distances and qubits. It is considered to compare the outcome of this paper with a series of previous estimates of thresholds, some small difference between estimates is reasonable due to not the same execution of decoding algorithms and numerical simulations. As can be seen from the two graphs in <xref ref-type="fig" rid="F5">Figure 5</xref>, when the physical error rate is below the threshold, the greater the code distance the more errors can be corrected, so the logical error rate will be lower. When the physical error rate is above the threshold, although a larger code distance can correct more errors, the logical error rate will be greater as the code itself has more quantum bits and more errors will occur.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>The number of training times corresponds to the function of training error rate and training accuracy. The horizontal axis represents the number of training times, and the vertical axis represents the training error rate and accuracy rate. Training error and accuracy are marked in blue and orange, respectively. For accurate viewing, zoom plots are set to make it easier to observe the data.</p>
</caption>
<graphic xlink:href="fphy-10-981225-g004.tif"/>
</fig>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>(1)Function correspondence of physical error rate <italic>p</italic>
<sub>
<italic>error</italic>
</sub>, logical error rate <italic>p</italic>
<sub>
<italic>logical</italic>
</sub>, and code distance <italic>d</italic> &#x3d; 3, 5, 7. Threshold <italic>p</italic>
<sub>
<italic>threshold</italic>
</sub> &#x3d; 0.081574. (2)Function correspondence of physical error rate <italic>p</italic>
<sub>
<italic>error</italic>
</sub>, logical error rate <italic>p</italic>
<sub>
<italic>logical</italic>
</sub>, and code distance <italic>d</italic> &#x3d; 5, 7, 9. Threshold <italic>p</italic>
<sub>
<italic>threshold</italic>
</sub> &#x3d; 0.09542. The abscissa represents the physical error rate, the ordinate represents the logical error rate. For better numerical analysis, the different code distances <italic>d</italic> are marked in different colours, <italic>d</italic> &#x3d; 3 in green, <italic>d</italic> &#x3d; 5 in blue, <italic>d</italic> &#x3d; 7 in purple and <italic>d</italic> &#x3d; 9 in brown.</p>
</caption>
<graphic xlink:href="fphy-10-981225-g005.tif"/>
</fig>
<p>Our threshold is significantly lower than that of other papers, this difference seems to be related to the definition of logical error rate, some papers define logical error rate <italic>p</italic>
<sub>
<italic>logical</italic>
</sub> as the error rate measured per round [<xref ref-type="bibr" rid="B43">43</xref>&#x2013;<xref ref-type="bibr" rid="B45">45</xref>], according to the analysis of Ref. [<xref ref-type="bibr" rid="B46">46</xref>], with the <italic>d</italic> increase, the <italic>p</italic>
<sub>
<italic>error</italic>
</sub> of continuous curve intersection will decrease, and this definition will lead to an overestimation of the threshold. This is roughly the same as the data of some articles. Therefore, it is difficult for this paper to make a conclusive statement on the difference in the results. Nonetheless, this paper achieves the feasibility of implementing <inline-formula id="inf73">
<mml:math id="m89">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-networks for Semion code decoders.</p>
</sec>
<sec id="s4-2">
<title>4.2 Quantum circuit performance</title>
<p>RL has a good effect on optimization problems. It can extract non-local laws from noise and perform transfer learning in various tasks. Applying this advantage to the cost of qubits passing through the quantum gate can reduce the cost of qubits. The qubits contain auxiliary qubits in the process of comprehensive measurement, and the logic overhead is the cost of auxiliary qubits in the process of comprehensive measurement. In this paper, the <inline-formula id="inf74">
<mml:math id="m90">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-network of RL is used to experiment, and the number of simulated qubits ranges from 3 &#xd7; 10<sup>7</sup> to 2.1 &#xd7; 10<sup>8</sup>, and compare the original overhead under different thresholds and the optimized overhead of the <inline-formula id="inf75">
<mml:math id="m91">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-network, <xref ref-type="fig" rid="F6">Figure 6</xref>(1) shows that when the threshold is <italic>p</italic>
<sub>
<italic>threshold</italic>
</sub> &#x3d; 0.081574, as the number of qubits increases, both the original overhead and the <inline-formula id="inf76">
<mml:math id="m92">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-network overhead increase, but the <inline-formula id="inf77">
<mml:math id="m93">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-network optimized overhead is significantly lower than the original overhead. <xref ref-type="fig" rid="F6">Figure 6</xref>2) shows that when the threshold is <italic>p</italic>
<sub>
<italic>threshold</italic>
</sub> &#x3d; 0.09542, as the number of qubits increases, the optimized overhead of the <inline-formula id="inf78">
<mml:math id="m94">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-network is also much lower than the original overhead, although when the number of qubits is 2.1 &#xd7; 10<sup>8</sup>, the optimized <inline-formula id="inf79">
<mml:math id="m95">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-network has the overhead is slightly higher than the original, but this does not affect our overall results in the slightest. At the same time, comparing the results under different thresholds in <xref ref-type="fig" rid="F6">Figure 6</xref>, we can find that the larger the threshold, the greater the overhead of the quantum circuit gate.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Quantum circuit gate overhead data graph. (1)When the threshold <italic>p</italic>
<sub>
<italic>threshold</italic>
</sub> &#x3d; 0.081574, the original cost is compared with the optimized cost of the <inline-formula id="inf80">
<mml:math id="m96">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-network. (2)When the threshold <italic>p</italic>
<sub>
<italic>threshold</italic>
</sub> &#x3d; 0.09542, the original cost is compared with the optimized cost of the <inline-formula id="inf81">
<mml:math id="m97">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-network. Among them, the abscissa represents the number of qubits, which is displayed in scientific notation, and the ordinate is the logical cost. The original cost is marked in orange, and the <inline-formula id="inf82">
<mml:math id="m98">
<mml:mi mathvariant="double-struck">Q</mml:mi>
</mml:math>
</inline-formula>-network optimized cost is marked in blue.</p>
</caption>
<graphic xlink:href="fphy-10-981225-g006.tif"/>
</fig>
</sec>
</sec>
<sec id="s5">
<title>5 Conclusion</title>
<p>In this paper, topological QEC codes based on Semion codes in the case of noise are studied. It is a novel error correction method. Make sure that the perturbations of local errors do not destroy the global degrees of freedom through periodic measurement and inspection. Error-correcting codes protect the security and correctness of quantum information. Semion code is more innovative and flexible. The hexagonal lattice is transformed into a quadrilateral lattice through mathematical thinking, and the deep RL algorithm is input to get the error-corrected experimental results. In addition, the optimization problem of quantum circuits is also involved. Of course, this work leaves a lot to be desired. For example, the current Semion code decoder can only be input into the decoder in the form of squares and has not been completely input in the form of hexagonal grids. And we only realized that the RL decoder embedded in Semion code is feasible, but the threshold is not optimal. The follow-up work still needs to be further explored.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s6">
<title>Data availability statement</title>
<p>The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s7">
<title>Author contributions</title>
<p>H-WW (First Author): Conceptualization, Methodology, Software, Investigation, Formal Analysis, Writing&#x2013;Original Draft; QC: Data Curation, Writing&#x2013;Original Draft; Y-JX: Visualization, Investigation; LD: Resources, Supervision; H-YL: Software, Validation Y-MD: Visualization, Writing&#x2013;Review and Editing H-YM (Corresponding Author): Conceptualization, Funding Acquisition, Resources, Supervision, Writing&#x2013;Review and Editing.</p>
</sec>
<sec id="s8">
<title>Funding</title>
<p>Project supported by the National Natural Science Foundation of China (Grant Nos.61772295), Natural Science Foundation of Shandong Province, China (Grant Nos.ZR2021MF049, ZR2019YQ01), Project of Shandong Provincial Natural Science Foundation Joint Fund Application (ZR202108020011).</p>
</sec>
<sec sec-type="COI-statement" id="s9">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s10">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xin</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>B-X</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>K-R</given-names>
</name>
<name>
<surname>Kong</surname>
<given-names>X-Y</given-names>
</name>
<name>
<surname>Wei</surname>
<given-names>S-J</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>T</given-names>
</name>
<etal/>
</person-group> <article-title>Nuclear magnetic resonance for quantum computing: techniques and recent achievements</article-title>. <source>Chin Phys B</source> (<year>2018</year>) <volume>27</volume>:<fpage>020308</fpage>. <pub-id pub-id-type="doi">10.1088/1674-1056/27/2/020308</pub-id> </citation>
</ref>
<ref id="B2">
<label>2.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhou</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>K</given-names>
</name>
<name>
<surname>Zou</surname>
<given-names>X</given-names>
</name>
</person-group>. <article-title>Multi-Party semi-quantum key distribution protocol with four-particle cluster states</article-title>. <source>Annalen der Physik</source> (<year>2019</year>) <volume>531</volume>:<fpage>1800520</fpage>. <pub-id pub-id-type="doi">10.1002/andp.201800520</pub-id> </citation>
</ref>
<ref id="B3">
<label>3.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ma</surname>
<given-names>H-Y</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>H-F</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>S</given-names>
</name>
</person-group>. <article-title>Implementation of the Grover quantum search algorithm in thermal cavity</article-title>. <source>J Yanbian University(Natural Science)</source> (<year>2008</year>) <volume>34</volume>:<fpage>27</fpage>&#x2013;<lpage>30</lpage>. <pub-id pub-id-type="doi">10.16379/j.cnki.issn.1004-4353.2008.01.010</pub-id> </citation>
</ref>
<ref id="B4">
<label>4.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>He</surname>
<given-names>Z-X</given-names>
</name>
<name>
<surname>Fan</surname>
<given-names>X-K</given-names>
</name>
<name>
<surname>Chu</surname>
<given-names>P-C</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>H-Y</given-names>
</name>
</person-group>. <article-title>Anonymous communication scheme based on quantum walk on Cayley graph</article-title>. <source>Acta Phys Sin</source> (<year>2020</year>) <volume>69</volume>:<fpage>160301</fpage>. <pub-id pub-id-type="doi">10.7498/aps.69.20200333</pub-id> </citation>
</ref>
<ref id="B5">
<label>5.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Terhal</surname>
<given-names>BM</given-names>
</name>
</person-group>. <article-title>Quantum error correction for quantum memories</article-title>. <source>Rev Mod Phys</source> (<year>2015</year>) <volume>87</volume>:<fpage>307</fpage>&#x2013;<lpage>46</lpage>. <pub-id pub-id-type="doi">10.1103/RevModPhys.87.307</pub-id> </citation>
</ref>
<ref id="B6">
<label>6.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Beale</surname>
<given-names>SJ</given-names>
</name>
<name>
<surname>Wallman</surname>
<given-names>JJ</given-names>
</name>
<name>
<surname>Guti&#xe9;rrez</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Brown</surname>
<given-names>KR</given-names>
</name>
<name>
<surname>Laflamme</surname>
<given-names>R</given-names>
</name>
</person-group>. <article-title>Quantum error correction decoheres noise</article-title>. <source>Phys Rev Lett</source> (<year>2018</year>) <volume>121</volume>:<fpage>190501</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevLett.121.190501</pub-id> </citation>
</ref>
<ref id="B7">
<label>7.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Huang</surname>
<given-names>E</given-names>
</name>
<name>
<surname>Doherty</surname>
<given-names>AC</given-names>
</name>
<name>
<surname>Flammia</surname>
<given-names>S</given-names>
</name>
</person-group>. <article-title>Performance of quantum error correction with coherent errors</article-title>. <source>Phys Rev A (Coll Park)</source> (<year>2018</year>) <volume>99</volume>:<fpage>022313</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevA.99.022313</pub-id> </citation>
</ref>
<ref id="B8">
<label>8.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Clemens</surname>
<given-names>JP</given-names>
</name>
<name>
<surname>Siddiqui</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Gea-Banacloche</surname>
<given-names>J</given-names>
</name>
</person-group>. <article-title>Quantum error correction against correlated noise</article-title>. <source>Phys Rev A (Coll Park)</source> (<year>2004</year>) <volume>69</volume>:<fpage>062313</fpage>. <pub-id pub-id-type="doi">10.1103/physreva.69.062313</pub-id> </citation>
</ref>
<ref id="B9">
<label>9.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Poulin</surname>
<given-names>D</given-names>
</name>
</person-group>. <article-title>Stabilizer formalism for operator quantum error correction</article-title>. <source>Phys Rev Lett</source> (<year>2005</year>) <volume>95</volume>:<fpage>230504</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevLett.95.230504</pub-id> </citation>
</ref>
<ref id="B10">
<label>10.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kitaev</surname>
<given-names>AY</given-names>
</name>
</person-group>. <article-title>Fault-tolerant quantum computation by anyons</article-title>. <source>Ann Phys</source> (<year>2003</year>) <volume>303</volume>:<fpage>2</fpage>&#x2013;<lpage>30</lpage>. <pub-id pub-id-type="doi">10.1016/s0003-4916(02)00018-0</pub-id> </citation>
</ref>
<ref id="B11">
<label>11.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dauphinais</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Ortiz</surname>
<given-names>L</given-names>
</name>
<name>
<surname>Varona</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Martin-Delgado</surname>
<given-names>MA</given-names>
</name>
</person-group>. <article-title>Quantum error correction with the semion code</article-title>. <source>New J Phys</source> (<year>2019</year>) <volume>21</volume>:<fpage>053035</fpage>. <pub-id pub-id-type="doi">10.1088/1367-2630/ab1ed8</pub-id> </citation>
</ref>
<ref id="B12">
<label>12.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bullivant</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Hu</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Wan</surname>
<given-names>Y</given-names>
</name>
</person-group>. <article-title>Twisted quantum double model of topological order with boundaries</article-title>. <source>Phys Rev B</source> (<year>2017</year>) <volume>96</volume>:<fpage>165138</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevB.96.165138</pub-id> </citation>
</ref>
<ref id="B13">
<label>13.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fuentes</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Etxezarreta</surname>
<given-names>MJ</given-names>
</name>
<name>
<surname>Crespo</surname>
<given-names>PM</given-names>
</name>
<name>
<surname>Garcia-Frias</surname>
<given-names>J</given-names>
</name>
</person-group>. <article-title>Approach for the construction of non-Calderbank-Steane-Shor low-density-generator-matrix&#x2013;based quantum codes</article-title>. <source>Phys Rev A (Coll Park)</source> (<year>2020</year>) <volume>102</volume>:<fpage>012423</fpage>. <pub-id pub-id-type="doi">10.1103/physreva.102.012423</pub-id> </citation>
</ref>
<ref id="B14">
<label>14.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Castelnovo</surname>
<given-names>C</given-names>
</name>
</person-group>. <article-title>Negativity and topological order in the toric code</article-title>. <source>Phys Rev A (Coll Park)</source> (<year>2013</year>) <volume>88</volume>:<fpage>042319</fpage>. <pub-id pub-id-type="doi">10.1103/physreva.88.042319</pub-id> </citation>
</ref>
<ref id="B15">
<label>15.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gu</surname>
<given-names>Z-C</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Z</given-names>
</name>
<name>
<surname>Wen</surname>
<given-names>X-G</given-names>
</name>
</person-group>. <article-title>Lattice model for fermionic toric code</article-title>. <source>Phys Rev B</source> (<year>2014</year>) <volume>90</volume>:<fpage>085140</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevB.90.085140</pub-id> </citation>
</ref>
<ref id="B16">
<label>16.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sarvepalli</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Robert</surname>
<given-names>R</given-names>
</name>
</person-group>. <article-title>Efficient decoding of topological color codes</article-title>. <source>Phys Rev A (Coll Park)</source> (<year>2012</year>) <volume>85</volume>:<fpage>022317</fpage>. <pub-id pub-id-type="doi">10.1103/physreva.85.022317</pub-id> </citation>
</ref>
<ref id="B17">
<label>17.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Aloshious</surname>
<given-names>AB</given-names>
</name>
<name>
<surname>Sarvepalli</surname>
<given-names>PK</given-names>
</name>
</person-group>. <article-title>Erasure decoding of two-dimensional color codes</article-title>. <source>Phys Rev A (Coll Park)</source> (<year>2019</year>) <volume>100</volume>:<fpage>042312</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevA.100.042312</pub-id> </citation>
</ref>
<ref id="B18">
<label>18.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bolens</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Markus</surname>
<given-names>H</given-names>
</name>
</person-group>. <article-title>Reinforcement learning for digital quantum simulation</article-title>. <source>Phys Rev Lett</source> (<year>2021</year>) <volume>127</volume>:<fpage>110502</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevLett.127.110502</pub-id> </citation>
</ref>
<ref id="B19">
<label>19.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mills</surname>
<given-names>K</given-names>
</name>
<name>
<surname>Michael</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Isaac</surname>
<given-names>T</given-names>
</name>
</person-group>. <article-title>Deep learning and the Schr&#xf6;dinger equation</article-title>. <source>Phys Rev A (Coll Park)</source> (<year>2017</year>) <volume>96</volume>:<fpage>042113</fpage>. <pub-id pub-id-type="doi">10.1103/physreva.96.042113</pub-id> </citation>
</ref>
<ref id="B20">
<label>20.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>Y-H</given-names>
</name>
<name>
<surname>Zheng</surname>
<given-names>P-L</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Deng</surname>
<given-names>D-L</given-names>
</name>
</person-group>. <article-title>Topological quantum compiling with reinforcement learning</article-title>. <source>Phys Rev Lett</source> (<year>2020</year>) <volume>125</volume>:<fpage>170501</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevLett.125.170501</pub-id> </citation>
</ref>
<ref id="B21">
<label>21.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wu</surname>
<given-names>SL</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Guan</surname>
<given-names>W</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Chan</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Cheng</surname>
<given-names>CL</given-names>
</name>
<etal/>
</person-group> <article-title>Application of quantum machine learning using the quantum kernel algorithm on high energy physics analysis at the LHC</article-title>. <source>Phys Rev Res</source> (<year>2021</year>) <volume>3</volume>:<fpage>033221</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevResearch.3.033221</pub-id> </citation>
</ref>
<ref id="B22">
<label>22.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Juan</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Torlai</surname>
<given-names>G</given-names>
</name>
</person-group>. <article-title>How to use neural networks to investigate quantum many-body physics</article-title>. <source>PRX Quan</source> (<year>2021</year>) <volume>2</volume>:<fpage>040201</fpage>. <pub-id pub-id-type="doi">10.1103/PRXQuantum.2.040201</pub-id> </citation>
</ref>
<ref id="B23">
<label>23.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Baireuther</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Criger</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Beenakker</surname>
<given-names>CWJ</given-names>
</name>
</person-group>. <article-title>Machine-learning-assisted correction of correlated qubit errors in a topological code</article-title>. <source>Quantum</source> (<year>2017</year>) <volume>2</volume>:<fpage>48</fpage>. <pub-id pub-id-type="doi">10.22331/q-2018-01-29-48</pub-id> </citation>
</ref>
<ref id="B24">
<label>24.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Baireuther</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Caio</surname>
<given-names>MD</given-names>
</name>
<name>
<surname>Criger</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Beenakker</surname>
<given-names>CWJ</given-names>
</name>
<name>
<surname>O&#x2019;Brien</surname>
<given-names>TE</given-names>
</name>
</person-group>. <article-title>Neural network decoder for topological color codes with circuit level noise</article-title>. <source>New J Phys</source> (<year>2019</year>) <volume>21</volume>:<fpage>013003</fpage>. <pub-id pub-id-type="doi">10.1088/1367-2630/aaf29e</pub-id> </citation>
</ref>
<ref id="B25">
<label>25.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>H-W</given-names>
</name>
<name>
<surname>Xue</surname>
<given-names>Y-J</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>Y-L</given-names>
</name>
<name>
<surname>Hua</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>H-Y</given-names>
</name>
</person-group>. <article-title>Determination of quantum toric error correction code threshold using convolutional neural network decoders</article-title>. <source>Chin Phys B</source> (<year>2022</year>) <volume>31</volume>:<fpage>10303</fpage>&#x2013;<lpage>010303</lpage>. <pub-id pub-id-type="doi">10.1088/1674-1056/ac11e3</pub-id> </citation>
</ref>
<ref id="B26">
<label>26.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Levin</surname>
<given-names>MA</given-names>
</name>
<name>
<surname>Wen</surname>
<given-names>X-G</given-names>
</name>
</person-group>. <article-title>String-net condensation: a physical mechanism for topological phases</article-title>. <source>Phys Rev B</source> (<year>2005</year>) <volume>71</volume>:<fpage>045110</fpage>. <pub-id pub-id-type="doi">10.1103/physrevb.71.045110</pub-id> </citation>
</ref>
<ref id="B27">
<label>27.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lin</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Su</surname>
<given-names>Z</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>Q</given-names>
</name>
<name>
<surname>Xing</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Fang</surname>
<given-names>D</given-names>
</name>
</person-group>. <article-title>Deep Q-network based energy scheduling in retail energy market</article-title>. <source>IEEE Access</source> (<year>2020</year>) <volume>8</volume>:<fpage>69284</fpage>&#x2013;<lpage>95</lpage>. <pub-id pub-id-type="doi">10.1109/ACCESS.2020.2983606</pub-id> </citation>
</ref>
<ref id="B28">
<label>28.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Nautrup</surname>
<given-names>HP</given-names>
</name>
<name>
<surname>Delfosse</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Dunjko</surname>
<given-names>V</given-names>
</name>
<name>
<surname>Briegel</surname>
<given-names>HJ</given-names>
</name>
<name>
<surname>Friis</surname>
<given-names>N</given-names>
</name>
</person-group>. <article-title>Optimizing quantum error correction codes with reinforcement learning</article-title>. <source>Quantum</source> (<year>2019</year>) <volume>3</volume>:<fpage>215</fpage>. <pub-id pub-id-type="doi">10.22331/q-2019-12-16-215</pub-id> </citation>
</ref>
<ref id="B29">
<label>29.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lo</surname>
<given-names>H-K</given-names>
</name>
<name>
<surname>Preskill</surname>
<given-names>J</given-names>
</name>
</person-group>. <article-title>Non-Abelian vortices and non-Abelian statistics</article-title>. <source>Phys Rev D</source> (<year>1993</year>) <volume>48</volume>:<fpage>4821</fpage>&#x2013;<lpage>34</lpage>. <pub-id pub-id-type="doi">10.1103/PhysRevD.48.4821</pub-id> </citation>
</ref>
<ref id="B30">
<label>30.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Forslund</surname>
<given-names>DW</given-names>
</name>
<name>
<surname>Kindel</surname>
<given-names>JM</given-names>
</name>
<name>
<surname>Lindman</surname>
<given-names>EL</given-names>
</name>
</person-group>. <article-title>Parametric excitation of electromagnetic waves</article-title>. <source>Phys Rev Lett</source> (<year>1972</year>) <volume>29</volume>:<fpage>249</fpage>&#x2013;<lpage>52</lpage>. <pub-id pub-id-type="doi">10.1103/physrevlett.29.249</pub-id> </citation>
</ref>
<ref id="B31">
<label>31.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Harada</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Nakanishi</surname>
<given-names>K</given-names>
</name>
</person-group>. <article-title>Exciton chirality method and its application to configurational and conformational studies of natural products</article-title>. <source>Acc Chem Res</source> (<year>1972</year>) <volume>5</volume>:<fpage>257</fpage>&#x2013;<lpage>63</lpage>. <pub-id pub-id-type="doi">10.1021/ar50056a001</pub-id> </citation>
</ref>
<ref id="B32">
<label>32.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Guerreiro</surname>
<given-names>T</given-names>
</name>
</person-group>. <article-title>Molecular machines for quantum error correction</article-title>. <source>PRX Quan</source> (<year>2021</year>) <volume>2</volume>:<fpage>030336</fpage>. <pub-id pub-id-type="doi">10.1103/prxquantum.2.030336</pub-id> </citation>
</ref>
<ref id="B33">
<label>33.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ahn</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Wiseman</surname>
<given-names>HM</given-names>
</name>
<name>
<surname>Milburn</surname>
<given-names>GJ</given-names>
</name>
</person-group>. <article-title>Quantum error correction for continuously detected errors</article-title>. <source>Phys Rev A (Coll Park)</source> (<year>2003</year>) <volume>67</volume>:<fpage>052310</fpage>. <pub-id pub-id-type="doi">10.1103/physreva.67.052310</pub-id> </citation>
</ref>
<ref id="B34">
<label>34.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Valenti</surname>
<given-names>A</given-names>
</name>
<name>
<surname>van Nieuwenburg</surname>
<given-names>E</given-names>
</name>
<name>
<surname>Huberand</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Greplova</surname>
<given-names>E</given-names>
</name>
</person-group>. <article-title>Hamiltonian learning for quantum error correction</article-title>. <source>Phys Rev Res</source> (<year>2019</year>) <volume>1</volume>:<fpage>033092</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevResearch.1.033092</pub-id> </citation>
</ref>
<ref id="B35">
<label>35.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xu</surname>
<given-names>X</given-names>
</name>
<name>
<surname>Benjamin</surname>
<given-names>SC</given-names>
</name>
<name>
<surname>Yuan</surname>
<given-names>X</given-names>
</name>
</person-group>. <article-title>Variational circuit compiler for quantum error correction</article-title>. <source>Phys Rev Appl</source> (<year>2021</year>) <volume>15</volume>:<fpage>034068</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevApplied.15.034068</pub-id> </citation>
</ref>
<ref id="B36">
<label>36.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Nadkarni</surname>
<given-names>PJ</given-names>
</name>
<name>
<surname>Garani</surname>
<given-names>SS</given-names>
</name>
</person-group>. <article-title>Quantum error correction architecture for qudit stabilizer codes</article-title>. <source>Phys Rev A (Coll Park)</source> (<year>2021</year>) <volume>103</volume>:<fpage>042420</fpage>. <pub-id pub-id-type="doi">10.1103/physreva.103.042420</pub-id> </citation>
</ref>
<ref id="B37">
<label>37.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Andreasson</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Johansson</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Liljestrand</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Granath</surname>
<given-names>M</given-names>
</name>
</person-group>. <article-title>Quantum error correction for the toric code using deep reinforcement learning</article-title>. <source>Quantum</source> (<year>2019</year>) <volume>3</volume>:<fpage>183</fpage>. <pub-id pub-id-type="doi">10.22331/q-2019-09-02-183</pub-id> </citation>
</ref>
<ref id="B38">
<label>38.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dauphinais</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Poulin</surname>
<given-names>D</given-names>
</name>
</person-group>. <article-title>Fault-tolerant quantum error correction for non-Abelian anyons</article-title>. <source>Commun Math Phys</source> (<year>2017</year>) <volume>355</volume>:<fpage>519</fpage>&#x2013;<lpage>60</lpage>. <pub-id pub-id-type="doi">10.1007/s00220-017-2923-9</pub-id> </citation>
</ref>
<ref id="B39">
<label>39.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Faist</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Nezami</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Albert</surname>
<given-names>VV</given-names>
</name>
<name>
<surname>Salton</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Pastawski</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Hayden</surname>
<given-names>P</given-names>
</name>
<etal/>
</person-group> <article-title>Continuous symmetries and approximate quantum error correction</article-title>. <source>Phys Rev X</source> (<year>2020</year>) <volume>10</volume>:<fpage>041018</fpage>. <pub-id pub-id-type="doi">10.1103/physrevx.10.041018</pub-id> </citation>
</ref>
<ref id="B40">
<label>40.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ilya</surname>
<given-names>D</given-names>
</name>
<name>
<surname>Kovalev</surname>
<given-names>AA</given-names>
</name>
<name>
<surname>Pryadko</surname>
<given-names>LP</given-names>
</name>
</person-group>. <article-title>Thresholds for correcting errors, erasures, and faulty syndrome measurements in degenerate quantum codes</article-title>. <source>Phys Rev Lett</source> (<year>2015</year>) <volume>115</volume>:<fpage>050502</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevLett.115.050502</pub-id> </citation>
</ref>
<ref id="B41">
<label>41.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sasaki</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Horiuchi</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Kato</surname>
<given-names>S</given-names>
</name>
</person-group>. <article-title>Experimental study on behavior acquisition of mobile robot by deep Q-network</article-title>. <source>J Adv Comput Intelligence Intell Inform</source> (<year>2017</year>) <volume>21</volume>:<fpage>840</fpage>&#x2013;<lpage>8</lpage>. <pub-id pub-id-type="doi">10.20965/jaciii.2017.p0840</pub-id> </citation>
</ref>
<ref id="B42">
<label>42.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wyner</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Ziv</surname>
<given-names>J</given-names>
</name>
</person-group>. <article-title>The rate-distortion function for source coding with side information at the decoder</article-title>. <source>IEEE Trans Inf Theor</source> (<year>1976</year>) <volume>21</volume>:<fpage>1</fpage>&#x2013;<lpage>10</lpage>. <pub-id pub-id-type="doi">10.1109/tit.1976.1055508</pub-id> </citation>
</ref>
<ref id="B43">
<label>43.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Raussendorf</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Harrington</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Goyal</surname>
<given-names>K</given-names>
</name>
</person-group>. <article-title>A fault-tolerant one-way quantum computer</article-title>. <source>Ann Phys</source> (<year>2006</year>) <volume>321</volume>:<fpage>2242</fpage>&#x2013;<lpage>70</lpage>. <pub-id pub-id-type="doi">10.1016/j.aop.2006.01.012</pub-id> </citation>
</ref>
<ref id="B44">
<label>44.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Raussendorf</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Harrington</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Goyal</surname>
<given-names>K</given-names>
</name>
</person-group>. <article-title>Topological fault-tolerance in cluster state quantum computation</article-title>. <source>New J Phys</source> (<year>2007</year>) <volume>9</volume>:<fpage>199</fpage>. <pub-id pub-id-type="doi">10.1088/1367-2630/9/6/199</pub-id> </citation>
</ref>
<ref id="B45">
<label>45.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bravyi</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Vargo</surname>
<given-names>A</given-names>
</name>
</person-group>. <article-title>Simulation of rare events in quantum error correction</article-title>. <source>Phys Rev A (Coll Park)</source> (<year>2013</year>) <volume>88</volume>:<fpage>062308</fpage>. <pub-id pub-id-type="doi">10.1103/physreva.88.062308</pub-id> </citation>
</ref>
<ref id="B46">
<label>46.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Stephens</surname>
<given-names>AM</given-names>
</name>
</person-group>. <article-title>Fault-tolerant thresholds for quantum error correction with the surface code</article-title>. <source>Phys Rev A (Coll Park)</source> (<year>2014</year>) <volume>89</volume>:<fpage>022321</fpage>. <pub-id pub-id-type="doi">10.1103/physreva.89.022321</pub-id> </citation>
</ref>
</ref-list>
</back>
</article>