<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dulana Avishka on Medium]]></title>
        <description><![CDATA[Stories by Dulana Avishka on Medium]]></description>
        <link>https://medium.com/@Dulana_Avishka?source=rss-baa3cdb803b1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*uvWZBvRCC-4riTrjUln-sw.jpeg</url>
            <title>Stories by Dulana Avishka on Medium</title>
            <link>https://medium.com/@Dulana_Avishka?source=rss-baa3cdb803b1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 04:53:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Dulana_Avishka/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[All You Need to Start Learning Quantum Computing]]></title>
            <link>https://medium.com/@Dulana_Avishka/all-you-need-to-start-learning-quantum-computing-f6b5c28f7b2b?source=rss-baa3cdb803b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6b5c28f7b2b</guid>
            <category><![CDATA[quantum-computing]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[physics]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[math]]></category>
            <dc:creator><![CDATA[Dulana Avishka]]></dc:creator>
            <pubDate>Fri, 12 Jun 2026 22:20:18 GMT</pubDate>
            <atom:updated>2026-06-12T22:53:42.385Z</atom:updated>
            <content:encoded><![CDATA[<p>Learn Quantum Computing just by knowing high school maths!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UvrjPBTW1xkO9z3YkrPylQ.png" /></figure><p>Quantum computing sounds like science fiction, often hidden behind walls of complex physics and intimidating jargon. But what if you could understand the core mechanics using nothing more than a spinning coin and high school math? In this article, you will be able to dispel major myths about quantum computing and find a clear path to start learning it. Further, the history, 4 main concepts needed in quantum computing, and the mathematical interpretation of qubits will be discussed in a very easy manner, going beyond the usual “spinning-coin” analogy. Anyone with high school mathematics knowledge will understand it effortlessly.</p><h3>The Quantum Leap: A Brief History</h3><p>In 1900, Max Planck proposed that energy is quantised, which laid the foundations of quantum mechanics. Later, Albert Einstein, Erwin Schrödinger, Niels Bohr and Werner Heisenberg developed the theories and established principles such as superposition, wave-particle duality, entanglement and the uncertainty principle on which quantum computing is based. The idea of computing using the principles of quantum mechanics did not arise until the 1980s, when Richard Feynman argued that as system size grows, classical machines become exponentially inefficient at simulating quantum systems and hence proposed a machine governed by quantum mechanics would be efficient at such tasks. In 1985, David Deutsch introduced quantum parallelism, the ability to perform operations on multiple inputs at the same time. The visibility and highest concern on quantum computing arrived in 1994 when Peter Shor developed an algorithm to find prime factors of any large number, <strong>putting all the encrypted data, including RSA-encrypted data, at risk.</strong></p><blockquote>“Peter Shor developed an algorithm to find prime factors of any large number, <strong>putting all the encrypted data, including RSA-encrypted data, at risk.”</strong></blockquote><h3>Some common misconceptions about Quantum Computing</h3><ol><li><strong>Quantum computers can replace classical computers<br></strong>This idea is completely wrong. Currently, quantum computing is capable of only specific tasks. For example, Grover’s algorithm reduces the time complexity of classical search from O(N) to O(√N),<strong> </strong>Shor’s algorithm finds prime numbers, and the Quantum Fourier Transform (QFT) is used for certain computations. It cannot replace your word-processing or CAD software.</li><li><strong>Quantum computers are non-binary<br></strong>There is a misconception that quantum computers use a large number of bits between 0 and 1. While a qubit can exist in an infinite number of states during computation (thanks to superposition), its final measured result is strictly binary; it will always collapse to exactly a 0 or a 1. You will understand this clearly when the mathematical representation is shown later in this article.</li></ol><blockquote>“A qubit has a probability of being 1 or 0, and once measured, it is exactly 1 or 0.”</blockquote><h3><strong>The Four Pillars of Quantum Mechanics</strong></h3><p>In this part of the article, the four main quantum mechanics concepts taken for quantum computing are briefly explained. Later, they will be discussed in depth.</p><ul><li><strong>Superposition<em>:</em></strong> In classical physics, superposition can mean that waves interfere following the principle of superposition, or it can be the total magnitude and direction of quantities. As a more technical definition, in classical physics, <a href="https://en.wikipedia.org/wiki/Superposition_principle">the superposition principle,<strong> </strong>also known as the superposition property, states that, for all linear systems, the net response caused by two or more stimuli is the sum of the responses that would have been caused by each stimulus individually</a>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*J6wG2eVh7lQrThUD7D-JqQ.png" /><figcaption>Fig. 1: constructive and destructive interference of two wave pulses due to the classical principle of superposition. <a href="https://link.springer.com/book/10.1007/978-3-030-61601-4"><em>Image from “Quantum Computing for the Quantum Curious” by Hughes et al. (2021), Springer Nature. Used under CC BY 4.0.</em></a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/483/1*vcRmcCUP5AWMHBfw07EyAA.png" /><figcaption>Fig. 2: The resultant force experienced by particle two due to charges q_1 and q_3 following the principle of superposition. <a href="https://link.springer.com/book/10.1007/978-3-030-61601-4">Image from “Quantum Computing for the Quantum Curious” by Hughes et al. (2021), Springer Nature. Used under CC BY 4.0.</a></figcaption></figure><p>However, in quantum mechanics, superposition is a different idea. An appropriate analogy for superposition is a spinning coin that has a probability of getting a Head or a Tail until observed. In quantum computing, qubits are in a state that has a probability of being 1 or 0 until measured, as a coin spinning in the air with a chance of it falling as a Head or a Tail. You will understand it more when we discuss qubits later in this article.</p><ul><li><strong>Measurement: </strong>In quantum computing, measurement means we measure a quantum state so that the qubits yield definite values rather than remaining in superposition. Analogously, it is like getting the result of a spinning coin as a Head or a Tail. Once the coin is flat on the ground, it is no longer a probability. A qubit has a probability of being 1 or 0, and once measured, it is exactly 1 or 0.</li><li><strong>Unitary evolution: </strong>This states that a closed quantum system changes over time through unitary transformations, which are reversible and ensure the total probability of the system remains 1. Quantum gates in quantum computing are unitary operators with this property.</li><li><strong>Entanglement: </strong>Entanglement is a fascinating concept in quantum mechanics. If we relate that to our analogy, it states that if two coins are entangled and spun in two locations, when one coin is measured, we can definitely know the result of the other coin without measuring it. For example, imagine two people on Earth, and one person flips two entangled coins. The person on Earth measures the result as a Head. Then we know the person on Mars got a Head too (or a Tail, according to the entanglement).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*kg37gvKLU390DkUs7BkYrA.png" /><figcaption>Fig 3. Two coins which are entangled which will either result in HH or TT. <a href="https://link.springer.com/book/10.1007/978-3-030-61601-4">Image from “Quantum Computing for the Quantum Curious” by Hughes et al. (2021), Springer Nature. Used under CC BY 4.0.</a></figcaption></figure><blockquote>“When two coins are entangled, measuring one instantly determines the state of the other, no matter how vast the distance between them.”</blockquote><p>In this part of the article, we will look into quantum computing beyond the coin analogy. This section mainly focuses on introducing the concept of a “qubit” and will provide insight for further reading. Anyone with knowledge of high school vectors and matrices will be able to tackle this easily.</p><h3>Beyond the Coin: The Math Behind the Qubit</h3><p>Remember the coin analogy? A spinning coin is in a superposition of Head and Tail. We can represent it as,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/207/1*Aegbzs7TWB1-5btYmtq5oQ.png" /></figure><p>Here, α and β are known as probability amplitudes. |ψ⟩ represents a quantum state and |H⟩ and |T⟩ are also quantum states. The square of the absolute value of α and β represents the probability of measuring the specific state (here |H⟩ or|T⟩), respectively. Since the probability of measuring Head or Tail is half, the probability amplitudes are,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/172/1*sw0tlVHfGVG-cYKYW-R-qg.png" /></figure><p>Note*: α and β can be complex numbers</p><p>Similarly, a <strong>qubit </strong>is a quantum state which is in a superposition of |0⟩ and |1⟩, which can be expressed as |ψ⟩=α|0⟩+β|1⟩.</p><p>As the amplitude is a measure of probability, the sum of the squares of absolute amplitudes must be equal to 1 in a valid quantum state.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/171/1*BTfegESX1H8UyxklrSiy_A.png" /></figure><p>If you remember Schrödinger’s cat, we can express it, which is in a superposition of being dead and alive, in this notation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*nEY819ChKVQULiiuJlyF3Q.png" /><figcaption>Fig 4. The state of Schrödinger’s cat in Dirac notation. <a href="https://link.springer.com/book/10.1007/978-3-030-61601-4">Image from “Quantum Computing for the Quantum Curious” by Hughes et al. (2021), Springer Nature. Used under CC BY 4.0.</a></figcaption></figure><p>This special notation, which we use to express quantum states, is called Dirac notation.</p><h4>Bloch Sphere</h4><p>The Bloch Sphere is used to visually represent a single qubit. It is similar to a unit circle in trigonometry. The sphere has two poles that represent the two measurable states |0⟩ and |1⟩. The arrow with a unit length can point to any position of the surface of the sphere, representing distinct states. The image below shows how the Bloch Sphere can represent four different states of a qubit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*_OJ1fWwseC-nFN8clwh8xg.png" /><figcaption>Fig 5: 4 different states of a qubit in the Bloch Sphere. <a href="https://link.springer.com/book/10.1007/978-3-030-61601-4">Image from “Quantum Computing for the Quantum Curious” by Hughes et al. (2021), Springer Nature. Used under CC BY 4.0.</a></figcaption></figure><h4>Dirac Notation and Matrix Form</h4><p>|ψ⟩ (psi state) is a special notation used in quantum computing for the convenience of doing mathematical operations. Otherwise, it&#39;s just a multidimensional vector. For example, the |0⟩ and |1⟩ can be expressed in vector form as below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/163/1*JGo9EgDOowOfqWB07CZbVw.png" /></figure><p>There are two forms of vectors in Dirac notation. One is Bra, and the other is Ket.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/181/1*XmEAxoLChaHfFLG43Gts-g.png" /><figcaption>Ket vector</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/222/1*o0N-hIE3UORvUCiPf5BFRA.png" /><figcaption>Bra vector</figcaption></figure><p>Bra is the transpose of the complex conjugate of the Ket vector.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*EGQMwlXxo1YRhqsSO15wSg.png" /><figcaption>Inner product</figcaption></figure><p>When we write Bra-Ket form, we get the inner product of two vectors. Here, we have the inner product of |ψ⟩ and ⟨ψ|, which is 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/183/1*8fSKKglhghosq3zayeEMVw.png" /></figure><p>We can get the norm of |ψ⟩ using the inner product.</p><p>The outer product can be obtained by writing in Ket Bra form. The outer product is an operator (a matrix).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/443/1*MNrDEM28lXzNqIBHwulmHQ.png" /><figcaption>Outer product</figcaption></figure><h4>Unitary operator</h4><p>Any unitary matrix can be called a unitary operator. A unitary matrix is a complex square matrix whose conjugate transpose is also its inverse.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/168/1*d2fE-HKY4XbHbUVfbqmz8g.png" /></figure><p>Quantum gates are unitary matrices that act on quantum states. They must be unitary because each operation must preserve the total probability.</p><h4>Multi-qubit states</h4><p>Imagine a 2-qubit quantum system. The resultant system must include the tensor product of the two qubits.</p><p><strong>Dirac Notation</strong></p><p>First, define two individual qubits. Let’s call them |q1⟩ and |q2⟩:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/231/1*s6pPb8ih6THCLh-tAbWy6Q.png" /></figure><p>To find the combined state |ψ⟩, we take the tensor product of the two states:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*gvcMInvulEXkOkk11DjMNg.png" /></figure><p>Expanding this algebraically (just like multiplying standard brackets) gives the four possible basis states of a 2-qubit system:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/1*TYdQk0xodKgoy0AcnxweLw.png" /></figure><p>(Note: |00⟩ is shorthand for |0⟩⊗|0⟩</p><p><strong>Matrix Notation</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*4yJpE-02VhstKFXnBVXQ6Q.png" /></figure><p>Hence,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*iYV54g0YHkvwIMwJn_lE-w.png" /></figure><h4><strong>Entanglement</strong></h4><p>Some quantum states can be obtained by the tensor product of two other quantum states. However, if we cannot express a quantum state as a tensor product of two quantum states, such states are called entangled quantum states. A famous entangled state is a Bell State.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/274/1*ow4rwbd00SeSnRXZ7xfmsA.png" /><figcaption>Bell State</figcaption></figure><p>Here, if we measure one qubit as 0, we know the other one is also 0, and if we measure one as 1, then we know the other qubit must be 1.</p><h3>Insight for further reading</h3><p>We have now journeyed through the foundational principles of quantum computing , dispelling common myths and using the spinning coin analogy to demystify complex quantum mechanics concepts. By transitioning into the mathematical representation of a qubit, we bridged the gap between intuitive physical analogies and the rigorous mathematics that make quantum computation possible. For those eager to dive deeper, the next logical steps involve exploring quantum gates, assembling them into quantum circuits, and ultimately understanding the specific quantum algorithms designed to outpace classical computers. I look forward to exploring these practical applications with you in a future article!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6b5c28f7b2b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>