<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Md. Irfan Hossain</title>
    <description>The latest articles on DEV Community by Md. Irfan Hossain (@irfanhossain5).</description>
    <link>https://dev.to/irfanhossain5</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1184751%2Fbd5d3fd3-612f-4c22-95b9-d158b7467c6f.jpg</url>
      <title>DEV Community: Md. Irfan Hossain</title>
      <link>https://dev.to/irfanhossain5</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/irfanhossain5"/>
    <language>en</language>
    <item>
      <title>Unveiling the Stack: Classical Stack Vs. Quantum Stack</title>
      <dc:creator>Md. Irfan Hossain</dc:creator>
      <pubDate>Tue, 21 Nov 2023 06:31:40 +0000</pubDate>
      <link>https://dev.to/irfanhossain5/unveiling-the-stack-classical-stack-vs-quantum-stack-i25</link>
      <guid>https://dev.to/irfanhossain5/unveiling-the-stack-classical-stack-vs-quantum-stack-i25</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is Stack&lt;/strong&gt;?&lt;br&gt;
In the realm of computers, they are like a city itself going through various constructions. That’s why a structured organisation is imperative to understand the operations going through it. This layered structure in classical computers is known as stack that is built up like stacks ranging from the primary classical bits to the user-facing applications. The stack organises all layers of computer’s operations, starting with the most fundamental and hidden from the side on the bottom. We will work our way from classical bits to the applications today.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Classical Bits&lt;/strong&gt;: Bits are the fundamental unit of information in a computer. Each bit of information can be either a 0 or 1. Every app, website, image, text, program, and more is built from bits. It serves a building block for every facet of digital existence. There are various complex systems like Trits or digits but the binary system prevails  because of the simplicity. The simplicity is important when packing billions of bits into devices like laptops.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Classical Gates&lt;/strong&gt;: Gates can manipulate bits. They allow us to turn inputs into outputs. Whether a light is turned on or off, classical gates work as an architect of binary manipulation. These gates work like real magic performing logical operations like AND, OR and NOT operation and transform inputs into desirable outputs which further pave the way for more advanced operations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Classical Circuits&lt;/strong&gt;: A circuit is a sequence of gates. By combining many different gates in certain orders, we can start to process inputs into outputs in more complex and interesting ways. We can establish circuits by combining different gates in specific arrangements which can perform complex computations from simple to advanced arithmetic algorithms. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Algorithms and protocols&lt;/strong&gt;: Algorithms &amp;amp; Protocols are the agreed-upon steps computers use to solve problems. This layer guides processes like search algorithms and streaming protocols. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Applications&lt;/strong&gt;: We interact everyday with applications and it appears top of the stack. Applications are how we use algorithms and protocols to solve problems which offer real life challenges and the perfect solution. Applications are user-friendly interfaces that transform complex computational processes into accessible functionalities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Limitations of Classical Stack&lt;/strong&gt;&lt;br&gt;
When it was first proposed in the 1960s, Moore's Law predicted that computer power would double every two years. Decades of invention were sparked by this prediction, which pushed humanity into an era where computational capabilities were limitless. But when we go closer to the scale of atoms, Moore himself pointed out that there are some fundamental obstacles to overcome. After a certain size quantum effects begin to cause a problem.The main problem is quantum effects, like tunnelling which means An object that can teleport to the other side of a closed barrier without ever touching it, causes classical computers to work incorrectly, meaning we cannot continue making classical computers more powerful for much longer. This is the end of Moore's Law.&lt;/p&gt;

&lt;p&gt;For example, Transistors are designed to stop thе flow of electricity when thеy arе in thе "OFF" statе. But even whеn thе transistor is turnеd "OFF," thеrе's a chancе that еlеctrons could tunnеl past obstacles and appеar on thе othеr sidе of thеm duе to thе quantum naturе of еlеctrons. This quantum mischievous behaviour obscurеs thе diffеrеncе bеtwееn 0s and 1s, causing еrrors in our computations and upеnding thе fundamеntal principlеs of convеntional computing. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Quantum Stack&lt;/strong&gt;?&lt;/p&gt;

&lt;p&gt;As we approach the end of Moore’s Law, the quantum stack comes as a ray of hope. In contrast to classical stack, the quantum stack uses the principles of quantum mechanics to overcome the limitations.  The replacement of classical bits with quantum bits, or qubits, causes a paradigm change in information processing. The quantum stack looks similar to the classical stack, but uses quantum mechanics&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quantum Bits&lt;/strong&gt;: A qubit is a quantum bit. It is the fundamental unit of quantum information and can be in the 0 or 1 state or a superposition which means in a combination of these two states. For example, A qubit in superposition is like a coin flipping in the air. We seemingly can't know what state it will be in until we force it to be in one or the other (measurement). But unlike the coin, there is nothing we could do to know what state it will be in beforehand Quantum mechanics is truly random.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quantum Gates&lt;/strong&gt;: Quantum gates perform some quantum operation on qubits to change their state in order to perform quantum computations. For example, in X gate, it gives the opposite input. If the initial qubit state is 0, then the resulting qubit state is 1 and if the initial state is 1 then the resulting qubit state is 0. On the other hand, H gates create equal superpositions. If the initial qubit state is 0, the resulting qubit state will be an equal superposition meaning it can be 0 and 1 at the same time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quantum Circuits&lt;/strong&gt;: Quantum circuits are a sequence of quantum gates acting on qubit or group of qubits. We can extract information about an unknown quantum state through quantum measurement.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quantum Algorithms and protocols&lt;/strong&gt;: Algorithms and protocols are agreed upon steps computers used to solve problems. They are implemented with special purpose quantum circuits. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Applications&lt;/strong&gt;: Applications of quantum computers range from cybersecurity to stimulating other quantum mechanical systems. Discovery of new applications is an active area of research, particularly those that apply to climate change solutions, supply chains, finance prediction and medicine discovery.&lt;/p&gt;

&lt;p&gt;Therefore, combined with all layers become an unifying architecture named Stack. It provides a comprehensive framework for the understanding of modern computers. From the classical bits to user-friendly applications, every layer plays an important role in the digital operations. Undеrstanding thе stack may hеlp anyonе, whether thеy are a tech passionate or just a kееn lеarnеr, undеrstand thе innеr workings of thе digital world and rеducе thе complеxity of computing. &lt;/p&gt;

</description>
      <category>quantum</category>
      <category>quantumcomputing</category>
      <category>computerscience</category>
    </item>
    <item>
      <title>Unraveling the Basics of the Quantum Computing</title>
      <dc:creator>Md. Irfan Hossain</dc:creator>
      <pubDate>Mon, 20 Nov 2023 11:10:33 +0000</pubDate>
      <link>https://dev.to/irfanhossain5/a-journey-into-the-world-of-quantum-computing-2g9m</link>
      <guid>https://dev.to/irfanhossain5/a-journey-into-the-world-of-quantum-computing-2g9m</guid>
      <description>&lt;p&gt;Classical computers have been instrumental for achieving technological advancement for the past few years. From computing simple calculations to using computers for daily aspects of life, we have come a long way. But classical computers still face limitations while handling large datasets and complex problems. Here comes Quantum computers to save the day!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Quantum Computers?&lt;/strong&gt;&lt;br&gt;
Suppose you're a delivery man tasked with visiting 64 divisions across Bangladesh. With 64 divisions to visit, what is the shortest possible path you can take to visit all of these divisions? It would take  almost 20 million years for a classical computer to solve the problem. Such problems need deep searching or testing of possibilities that refer to the limitations of classical computing especially when faced with massive datasets.This is where quantum computing comes in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quantum Mechanics, The Foundation of Quantum Computing&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To understand quantum computing, we must understand the concept of quantum mechanics. Quantum mechanics basically refers to how really small objects like atoms, electron behave.&lt;/p&gt;

&lt;p&gt;There are Four key properties of quantum mechanics.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Superposition&lt;/strong&gt;: The ability of a quantum particle to exist in multiple states at the same time. For example, in the classical world if you spin a coin, you get either head or tail. But in the quantum world, it can be head and tail at the same time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interference&lt;/strong&gt;: When quantum particles interact, their wave-like particles can interfere with each other, either adding up or cancelling out, leading to unexpected outcomes. Suppose Samir and Sabrina shoot a ball at the hoop. In the quantum world, it can add up or cancel out.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Entanglement&lt;/strong&gt;: The ability for states of multiple objects to be influenced by each other in seemingly impossible ways. For example, Suppose you are spinning a quantum ball that causes another ball to spin the opposite direction no matter how far they are.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measurement&lt;/strong&gt;: Unlike classical objects, observing the particle forces it to collapse into a finite state, destroying the superposition principle. A quantum particle however when measured can give random results and change the state of the object.  Measurement converts quantum states into classical states. For example, observing your quantum basketball in the air will make it follow one specific path, even if it's in superposition.&lt;/p&gt;

&lt;p&gt;Quantum computers use the properties of quantum mechanics to perform computations in a fundamentally different way than classical computers. While classical computers use 0 and 1 as bits to store information, quantum computers use qubits which exist in a superposition of 0 and 1 at the same time. The ability that allows quantum computers to explore various possibilities at the same time, increases the computational power of quantum computing significantly. This makes quantum computers better problem solvers for large datasets.&lt;/p&gt;

&lt;p&gt;Though Quantum computing is still in early stages, it has the power to revolutionise various fields. Conducting more research and as the technology matures, we can undoubtedly expect quantum computing to play an important role shaping our future.&lt;/p&gt;

</description>
      <category>computerscience</category>
      <category>quantumcomputing</category>
      <category>quantum</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
