<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>The Anti-Infinity Parade</title><link>https://abdullahkhalid.com/</link><description></description><lastBuildDate>Wed, 28 Jun 2023 00:00:00 +0500</lastBuildDate><item><title>A QLDPC decoder</title><link>https://abdullahkhalid.com/blog/2023/Jun/28/a-qldpc-decoder/</link><description>&lt;p&gt;In an error-correction code, once the syndromes have been measured, the next step is to infer the error that has occurred on the physical qubits. This is a decoding algorithm to be run on a classical computer. Today, I want to explore a particular decoding algorithm (&lt;a href="https://arxiv.org/abs/2103.08049"&gt;Delfosse et al. 2021 …&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Wed, 28 Jun 2023 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2023-06-28:/blog/2023/Jun/28/a-qldpc-decoder/</guid><category>misc</category></item><item><title>Logical Operations for the Steane Code</title><link>https://abdullahkhalid.com/blog/2022/Nov/01/logical-operations-for-the-steane-code/</link><description>&lt;p&gt;Today, I want to discuss how to obtain a universal set of gates for the Steane code.&lt;/p&gt;
&lt;p&gt;Previously, we discussed Gottesman's method for constructing the encoded &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mover accent="true"&gt;&lt;mi&gt;X&lt;/mi&gt;&lt;mo&gt;ˉ&lt;/mo&gt;&lt;/mover&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\bar{X}&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span aria-hidden="true" class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.8201em;"&gt;&lt;/span&gt;&lt;span class="mord accent"&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.8201em;"&gt;&lt;span style="top:-3em;"&gt;&lt;span class="pstrut" style="height:3em;"&gt;&lt;/span&gt;&lt;span class="mord mathnormal" style="margin-right:0.07847em;"&gt;X&lt;/span&gt;&lt;/span&gt;&lt;span style="top:-3.2523em;"&gt;&lt;span class="pstrut" style="height:3em;"&gt;&lt;/span&gt;&lt;span class="accent-body" style="left:-0.1667em;"&gt;&lt;span class="mord"&gt;ˉ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; and &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mover accent="true"&gt;&lt;mi&gt;Z&lt;/mi&gt;&lt;mo&gt;ˉ&lt;/mo&gt;&lt;/mover&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\bar{Z}&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span aria-hidden="true" class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.8201em;"&gt;&lt;/span&gt;&lt;span class="mord accent"&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.8201em;"&gt;&lt;span style="top:-3em;"&gt;&lt;span class="pstrut" style="height:3em;"&gt;&lt;/span&gt;&lt;span class="mord mathnormal" style="margin-right:0.07153em;"&gt;Z&lt;/span&gt;&lt;/span&gt;&lt;span style="top:-3.2523em;"&gt;&lt;span class="pstrut" style="height:3em;"&gt;&lt;/span&gt;&lt;span class="accent-body" style="left:-0.1667em;"&gt;&lt;span class="mord"&gt;ˉ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; logical operations for stabilizer codes. &lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;stac&lt;/span&gt;&lt;br&gt;&lt;span class="n"&gt;cd&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;stac&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;CommonCodes&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;generate_code …&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Tue, 01 Nov 2022 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2022-11-01:/blog/2022/Nov/01/logical-operations-for-the-steane-code/</guid><category>misc</category></item><item><title>Algorithms for code concatenation</title><link>https://abdullahkhalid.com/blog/2022/Oct/30/algorithms-for-code-concatenation/</link><description>&lt;p&gt;My goal is to compute fault-tolerance thresholds for stabililzer codes. To this end, we need to understand how to concatenate quantum codes. Briefly, code concatenation is when a state is encoded first by one code, then the encoded qubits again by same or another code. The resultant qubits may be …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Sun, 30 Oct 2022 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2022-10-30:/blog/2022/Oct/30/algorithms-for-code-concatenation/</guid><category>misc</category></item><item><title>Fault-tolerant syndrome measurements</title><link>https://abdullahkhalid.com/blog/2022/Oct/26/fault-tolerant-syndrome-measurements/</link><description>&lt;p&gt;Last time we studied a non-fault-tolerant version of syndrome measurements. Today, let's study a method that is fault-tolerant (FT), i.e. a single error in a block does not create more than one errors in the same or any other block.&lt;/p&gt;
&lt;h4&gt;Problem with the non-FT measurement circuit and a basic …&lt;/h4&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Wed, 26 Oct 2022 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2022-10-26:/blog/2022/Oct/26/fault-tolerant-syndrome-measurements/</guid><category>misc</category></item><item><title>Syndrome Measurements</title><link>https://abdullahkhalid.com/blog/2022/Oct/21/syndrome-measurements/</link><description>&lt;p&gt;The critical part of any error correcting code is error-detection. For the stabilizer codes in general, error-detection is done by measuring each of the &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;−&lt;/mo&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;m=n-k&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span aria-hidden="true" class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.4306em;"&gt;&lt;/span&gt;&lt;span class="mord mathnormal"&gt;m&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;=&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.6667em;vertical-align:-0.0833em;"&gt;&lt;/span&gt;&lt;span class="mord mathnormal"&gt;n&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2222em;"&gt;&lt;/span&gt;&lt;span class="mbin"&gt;−&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2222em;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.6944em;"&gt;&lt;/span&gt;&lt;span class="mord mathnormal" style="margin-right:0.03148em;"&gt;k&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; stabilizer generators on the state. An error-free state is a &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;+1&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span aria-hidden="true" class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.7278em;vertical-align:-0.0833em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;+&lt;/span&gt;&lt;span class="mord"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; eigenstate of all stabilizer generators …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Fri, 21 Oct 2022 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2022-10-21:/blog/2022/Oct/21/syndrome-measurements/</guid><category>misc</category></item><item><title>Decoding Circuits</title><link>https://abdullahkhalid.com/blog/2022/Oct/13/decoding-circuits/</link><description>&lt;p&gt;Decoding is not an important part of error correction when quantum error correction is employed to protect against noise during the execution of quantum algorithms. We do all operations - logical operations, error correction and measurement of the output of the computation - on the encoded states themselves. Therefore, decoding is not …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Thu, 13 Oct 2022 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2022-10-13:/blog/2022/Oct/13/decoding-circuits/</guid><category>misc</category></item><item><title>Encoding circuits for stabilizer codes and the Steane code</title><link>https://abdullahkhalid.com/blog/2022/Oct/08/encoding-circuits-for-stabilizer-codes-and-the-steane-code/</link><description>&lt;p&gt;Yesterday we introduced the Steane code. One thing we did was mathematically construct the logical basis states for Steane code. A natural question to ask is, how does one create that state using a quantum circuit?&lt;/p&gt;
&lt;h3&gt;Gottesman's method to construct logical zero state of stabilizer codes&lt;/h3&gt;
&lt;p&gt;There is a very …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Sat, 08 Oct 2022 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2022-10-08:/blog/2022/Oct/08/encoding-circuits-for-stabilizer-codes-and-the-steane-code/</guid><category>misc</category></item><item><title>An introduction to the Steane code</title><link>https://abdullahkhalid.com/blog/2022/Oct/06/an-introduction-to-the-steane-code/</link><description>&lt;p&gt;The Steane code is a simple quantum error correction code, that nevertheless has a number of interesting properties. &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The Steane code encodes the state of one logical qubit into the state of 7 physical qubits, in a way that any one qubit error can be corrected. &lt;/li&gt;
&lt;li&gt;By concatenating the code …&lt;/li&gt;&lt;/ul&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Thu, 06 Oct 2022 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2022-10-06:/blog/2022/Oct/06/an-introduction-to-the-steane-code/</guid><category>misc</category></item><item><title>Designing a chip with TinyTapeout</title><link>https://abdullahkhalid.com/blog/2022/Aug/31/designing-a-chip-with-tinytapeout/</link><description>&lt;p&gt;I have always wanted to fully understand the process of designing and manufacturing computer chips. This weekend I dipped my feet in the water with the &lt;a href="https://mailchi.mp/574276e3c9d7/tinytapeout"&gt;TinyTapeout project&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;First some context. &lt;a href="https://efabless.com/"&gt;Efabless&lt;/a&gt; as part of their Open Shuttle Program, sponsored by Google and Skywater, is trying to encourage innovation in …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Wed, 31 Aug 2022 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2022-08-31:/blog/2022/Aug/31/designing-a-chip-with-tinytapeout/</guid><category>misc</category></item><item><title>Reality and maps of reality</title><link>https://abdullahkhalid.com/blog/2021/Oct/29/reality-and-maps-of-reality/</link><description>&lt;p&gt;I am teaching a course on Modern Physics this semester. When I was a student, this course and Chemistry 101 really bothered me. My perception of science was that it consisted of theories with broad domains of applicability, and there was little or no overlap or conflicts between different theories …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Fri, 29 Oct 2021 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2021-10-29:/blog/2021/Oct/29/reality-and-maps-of-reality/</guid><category>misc</category></item><item><title>The XOR Fourier and quantum algorithms</title><link>https://abdullahkhalid.com/blog/2021/Mar/17/the-xor-fourier-and-quantum-algorithms/</link><description>&lt;p&gt;I am teaching a course in quantum computing this semester, and the hardest part is building some intuition on why quantum algorithms work. Right now, we are discussing the most basic of quantum algorithms, the Deutsch-Jozsa and the Bernstein-Vazirani algorithms. The popular textbooks on quantum computing don't do justice to …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Wed, 17 Mar 2021 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2021-03-17:/blog/2021/Mar/17/the-xor-fourier-and-quantum-algorithms/</guid><category>misc</category></item><item><title>Impossibility proofs</title><link>https://abdullahkhalid.com/blog/2020/Dec/04/impossibility-proofs/</link><description>&lt;p&gt;Patrick Honner over at Quanta Magazine has an essay on what &lt;a href="https://www.quantamagazine.org/some-math-problems-seem-impossible-that-can-be-a-good-thing-20201118/"&gt;impossibility proofs in mathematics can teach us&lt;/a&gt;. He brings up a number of beneficial effects of exploring such proofs, described here with my interpretation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;At some point in our mathematical training, we start encountering problems that simply don't have …&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Fri, 04 Dec 2020 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2020-12-04:/blog/2020/Dec/04/impossibility-proofs/</guid><category>misc</category></item><item><title>Quantum Mechanics in Your Face</title><link>https://abdullahkhalid.com/blog/2020/Nov/29/quantum-mechanics-in-your-face/</link><description>&lt;p&gt;Recently, a 1994 lecture by Sidney Coleman was transcribed and &lt;a href="https://arxiv.org/abs/2011.12671"&gt;put on arXiv&lt;/a&gt;. The whole lecture is filled with wisdom, and clarity of thought regarding the conceptual framework of quantum mechanics. One particular point really struck me as something to permanently keep in my mind, and here described from my …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Sun, 29 Nov 2020 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2020-11-29:/blog/2020/Nov/29/quantum-mechanics-in-your-face/</guid><category>misc</category></item><item><title>Qworld, QPakistan and the QBronze workshops</title><link>https://abdullahkhalid.com/blog/2020/Nov/22/qworld-qpakistan-and-the-qbronze-workshops/</link><description>&lt;p&gt;I recently have had the pleasure of joining &lt;a href="https://qworld.lu.lv/"&gt;QWorld&lt;/a&gt;, an initiative to spread knowledge and skills related to quantum technologies across the world. &lt;/p&gt;
&lt;p&gt;This started with the hardworking &lt;a href="https://www.iba.edu.pk/profile.php?id=jrashid"&gt;Jibran Rashid&lt;/a&gt; putting in the effort to get a group of Pakistani academics to start QPakistan, as one of the QCousins within …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Sun, 22 Nov 2020 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2020-11-22:/blog/2020/Nov/22/qworld-qpakistan-and-the-qbronze-workshops/</guid><category>misc</category></item><item><title>The difference between classical and quantum</title><link>https://abdullahkhalid.com/blog/2020/Nov/14/the-difference-between-classical-and-quantum/</link><description>&lt;p&gt;Once you imagine physics through the lens of information theory, you can answer some fundamental questions in completely different ways. One of the oft asked questions by physicists, where you can get an interesting answer, is as follows: is a given system classical or quantum mechanical in nature?&lt;/p&gt;
&lt;p&gt;The information-theoretic …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Sat, 14 Nov 2020 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2020-11-14:/blog/2020/Nov/14/the-difference-between-classical-and-quantum/</guid><category>misc</category></item><item><title>The difference between Physics and Chemistry</title><link>https://abdullahkhalid.com/blog/2020/Nov/10/the-difference-between-physics-and-chemistry/</link><description>&lt;p&gt;In a hallway discussion at the University, somebody claimed that atomic and molecular Chemistry is just Physics because the laws that govern the former are those well-studied by the latter. I have often held similar views, but when somebody else poses the same same, it is easier to be assess …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Tue, 10 Nov 2020 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2020-11-10:/blog/2020/Nov/10/the-difference-between-physics-and-chemistry/</guid><category>misc</category></item><item><title>Scientific experts and authority</title><link>https://abdullahkhalid.com/blog/2020/May/08/scientific-experts-and-authority/</link><description>&lt;p&gt;Somebody posted on Hacker News the &lt;a href="https://www.brainpickings.org/2014/01/03/baloney-detection-kit-carl-sagan/"&gt;Baloney Detection Kit&lt;/a&gt; by Carl Sagan. Wonderful reading, as is the full book, Demon Haunted World: Science as the Candle in the Dark.&lt;/p&gt;
&lt;p&gt;One person, perhaps trolling, &lt;a href="https://news.ycombinator.com/item?id=23104273"&gt;asked&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;'Arguments from authority carry little weight — "authorities" have made mistakes in the past. They will do …&lt;/p&gt;&lt;/blockquote&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Fri, 08 May 2020 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2020-05-08:/blog/2020/May/08/scientific-experts-and-authority/</guid><category>misc</category></item><item><title>Bell's theorem for temporal order</title><link>https://abdullahkhalid.com/blog/2020/Feb/02/bells-theorem-for-temporal-order/</link><description>&lt;p&gt;To figure a unification of quantum theory and gravity, the physics community has recently started pursuing a new direction. The core idea of this direction is rather simple. Suppose, an object with mass is placed in a quantum superposition of two location, then presumably the gravitational interaction of this object …&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdullah Khalid</dc:creator><pubDate>Sun, 02 Feb 2020 00:00:00 +0500</pubDate><guid isPermaLink="false">tag:abdullahkhalid.com,2020-02-02:/blog/2020/Feb/02/bells-theorem-for-temporal-order/</guid><category>misc</category></item></channel></rss>