<?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 Abdullah K (A No BS Physics advocate) on Medium]]></title>
        <description><![CDATA[Stories by Abdullah K (A No BS Physics advocate) on Medium]]></description>
        <link>https://medium.com/@kazi.abdullah?source=rss-c17cf77fbc5d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Aka46f4sdbIq6RjZvE6jtA.jpeg</url>
            <title>Stories by Abdullah K (A No BS Physics advocate) on Medium</title>
            <link>https://medium.com/@kazi.abdullah?source=rss-c17cf77fbc5d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 23:14:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kazi.abdullah/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[Nonlinear Problems with Qubits: Reflections on the WOMANIUM + WISER 2025 Quantum Program]]></title>
            <link>https://medium.com/@kazi.abdullah/nonlinear-problems-with-qubits-reflections-on-the-womanium-wiser-2025-quantum-program-5d0c30a50003?source=rss-c17cf77fbc5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d0c30a50003</guid>
            <dc:creator><![CDATA[Abdullah K (A No BS Physics advocate)]]></dc:creator>
            <pubDate>Sun, 03 Aug 2025 23:43:24 GMT</pubDate>
            <atom:updated>2025-08-03T23:43:24.724Z</atom:updated>
            <content:encoded><![CDATA[<p>The hype around quantum computing is loud and often unfocused. But every so often, you find a program that actually zooms in on <em>real</em> scientific problems where quantum algorithms might move the needle. That’s exactly what I found in the <strong>WISER 2025 Quantum Program</strong>, specifically the module on <strong>quantum algorithms for differential equations</strong>.</p><p>If you’ve ever tried to simulate physical systems — turbulent flow, chemical reactions, heat propagation you know the roadblock isn’t data. It’s the math. <strong>Differential equations</strong>, especially the nonlinear kind, are the backbone of modeling in physics and engineering. They’re also incredibly difficult to solve efficiently with classical methods, especially at high resolutions or in high dimensions. So, when I saw a multi-week quantum training focused entirely on these equations, I was in.</p><p>The highlight of the differential equations track was a talk by <strong>Dr. Pedro C. S Costa</strong>, a name you should definitely keep on your radar if you’re interested in quantum applications to scientific computing. His session, titled <em>“Quantum Algorithms for Nonlinear Differential Equations,”</em> introduced a roadmap for how we might <em>linearize the nonlinear</em> — and thereby make the problems more compatible with existing quantum hardware.</p><p>The key idea? Use <strong>Carleman linearization</strong> and <strong>Koopman operator theory</strong> to embed nonlinear dynamics into higher-dimensional linear systems. In classical terms, that’s already a clever trick. In the quantum world, it opens doors to actually implementing those dynamics via Hamiltonian simulation.</p><p>What impressed me wasn’t just the theory. It was the effort to make these methods <strong>practical</strong>. Dr. Costa discussed how higher-order Carleman expansions can improve accuracy without exploding circuit depth. He touched on <strong>rescaling techniques</strong> to keep coefficients within a numerically tractable range. And perhaps most importantly, he addressed <strong>error bounds</strong> — the Achilles’ heel of quantum algorithms when applied to real-world simulations.</p><p>Then came <strong>Dr. Nana Liu’s session</strong> on solving <strong>Partial Differential Equations (PDEs)</strong> using quantum methods — with applications directly relevant to <strong>computational fluid dynamics (CFD)</strong>. This is where things got tangible.</p><p>CFD is a famously resource-intensive domain. Even with modern supercomputers, simulating turbulent flows or shockwaves requires brutal amounts of memory and time. Dr. Liu outlined how <strong>quantum algorithms</strong> could compress state spaces and tackle these PDEs using frameworks like:</p><ul><li><strong>QTN (Quantum Tensor Networks)</strong> — leveraging entanglement structure for efficient state representation.</li><li><strong>HSE (Hamiltonian Space Embedding)</strong> — embedding complex dynamics into quantum Hamiltonians that can be simulated on NISQ devices.</li></ul><p>What stood out here was how quantum techniques aren’t just theoretical exercises; they’re being shaped into real tools for tackling classical pain points in science and engineering</p><p>One of the underappreciated features of the WISER 2025 program is its structure. It’s not some passive YouTube playlist. The sessions were interactive, sequenced intelligently, and paired with access to <strong>real-world project challenges</strong> — including:</p><ul><li><strong>Quantum Walks and Monte Carlo</strong> methods</li><li><strong>Quantum Optimization for Finance</strong> with industry partner Vanguard</li><li><strong>Quantum PDE Solvers for CFD</strong>, co-developed with BQP</li></ul><p>These projects aren’t toys. They ask serious questions: Can you use QFT to accelerate Monte Carlo convergence? Can you encode trading strategies as binary QUBO problems? Can you reduce circuit depth while solving the Burgers’ equation on a NISQ device?</p><p>Whether or not you come up with a production-ready algorithm, the program pushes you to build, test, and present. And that’s where the value really crystallizes: it’s not about becoming a quantum expert overnight — it’s about learning enough to <strong>ask the right questions</strong> in this emerging field.</p><h3>Quantum Skills with an Application Backbone</h3><p>One thing I found refreshing is that the program wasn’t shy about technical depth. The <strong>Foundations of Quantum Computing</strong> sessions by <strong>Dr. Jibran Rashid</strong> went beyond gate definitions and actually covered <strong>tensors</strong>, <strong>Hilbert spaces</strong>, and <strong>computational complexity</strong>. These are the concepts you <em>must</em> understand if you want to use quantum computing for modeling physical systems. No shortcuts, no pop-science fluff.</p><p>On the other side of the spectrum, <strong>Dr. Travis Scholten (IBM)</strong> gave a timely reminder of <em>why</em> we’re doing all this — how IBM’s roadmap envisions practical quantum advantage and where quantum algorithms fit into industries like chemistry and optimization.</p><h3>Final Thoughts</h3><p>If you’re a scientist, engineer, or applied mathematician who’s quantum-curious but skeptical of the buzz, the WISER 2025 program is worth your time. It respects the math. It respects the hardware limitations. And it provides a structured, technically grounded environment to explore where quantum computing might make a real difference — especially in areas like nonlinear dynamics and PDEs that are foundational across the sciences.</p><p>The tools are still rough, the qubits still noisy, and the problems still big. But programs like this make it clear: we’re not just experimenting anymore. We’re <em>engineering solutions</em> — one quantum gate at a time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d0c30a50003" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Tragic Love Story of Redemption and Sacrifice- Severus Snape Movie character review]]></title>
            <link>https://medium.com/@kazi.abdullah/a-tragic-love-story-of-redemption-and-sacrifice-severus-snape-movie-character-review-e9a4bae7dd29?source=rss-c17cf77fbc5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9a4bae7dd29</guid>
            <dc:creator><![CDATA[Abdullah K (A No BS Physics advocate)]]></dc:creator>
            <pubDate>Sun, 10 Mar 2024 08:04:12 GMT</pubDate>
            <atom:updated>2024-03-10T08:04:12.242Z</atom:updated>
            <content:encoded><![CDATA[<p>Severus Snape, one of the most enigmatic characters in the Harry Potter series, is more than just a formidable potions master or a complex double agent. His story is one of profound tragedy, shaped by unrequited love, redemption, and ultimate sacrifice. In this article, we delve into the intricate layers of Severus Snape’s character and the heart-wrenching love story that defines him.</p><p>Snape and Lily forged a deep bond as childhood friends. Snape’s unrequited love for Lily is evident throughout the series, creating a poignant narrative thread.</p><p>The transformation of Snape and Lily’s friendship into animosity due to Snape’s association with future Death Eaters adds layers to the narrative. This rift becomes a crucial element in Snape’s life, influencing his choices and actions.</p><p>Snape’s love for Lily takes on a redemptive quality when he agrees to protect Harry Potter, Lily’s son, at great personal risk. His role as a double agent, serving both Lord Voldemort and Dumbledore, showcases the sacrifices he makes for a love that can never be.</p><p>Snape’s acts of bravery, often shrouded in secrecy, highlight the lengths to which one might go for love. From infiltrating the Death Eaters’ ranks to ultimately sacrificing his life, Snape’s journey is one of immense courage.</p><p>Snape’s character challenges traditional notions of morality. Despite aligning with dark forces, his ultimate loyalty to Lily and his remorse for contributing to her demise paint a picture of moral ambiguity.</p><p>Snape’s journey teaches us that redemption is a nuanced and ongoing process. His commitment to protecting Harry, even while despising him, illustrates the transformative power of love and redemption.</p><p>Throughout the series, Snape remains a mysterious and misunderstood character. As readers uncover the layers of his past and motivations, the narrative challenges us to question assumptions and preconceived notions about individuals.</p><p>Snape’s story encourages readers to cultivate empathy and understanding for individuals who may seem antagonistic. It reminds us that people are shaped by their experiences, and true understanding requires delving beneath the surface.</p><p>Severus Snape’s tragic love story serves as a rich tapestry of human emotions and moral complexities. From unrequited love to acts of sacrifice and redemption, Snape’s character imparts profound lessons. As readers, we are prompted to reflect on the transformative power of love, the nature of redemption, and the importance of empathy in our own lives. In the magical realm of Harry Potter, Snape’s legacy endures as a testament to the enduring, intricate nature of human relationships.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9a4bae7dd29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Ehrenfest Theorem Unveiling Quantum Mechanics’ Dynamic Evolution]]></title>
            <link>https://medium.com/@kazi.abdullah/the-ehrenfest-theorem-unveiling-quantum-mechanics-dynamic-evolution-92b00b440814?source=rss-c17cf77fbc5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/92b00b440814</guid>
            <dc:creator><![CDATA[Abdullah K (A No BS Physics advocate)]]></dc:creator>
            <pubDate>Thu, 21 Sep 2023 22:33:24 GMT</pubDate>
            <atom:updated>2023-09-21T22:33:24.682Z</atom:updated>
            <content:encoded><![CDATA[<p>Quantum mechanics, the revolutionary theory that governs the behavior of particles at the smallest scales, is a rich and intricate field. Within its framework lies the Ehrenfest theorem, a fundamental concept that sheds light on the dynamic evolution of quantum systems. In this post, we will delve into the Ehrenfest theorem, demystifying its essence and exploring its implications in the quantum world.</p><p>Understanding the Ehrenfest Theorem</p><p>Named after the Austrian physicist Paul Ehrenfest, the Ehrenfest theorem provides a bridge between quantum mechanics and classical physics. It offers insight into the behavior of quantum systems by relating the expectation values of observables (quantities that can be measured) to the classical equations of motion.</p><p>The theorem essentially states that, on average, the expectation values of quantum observables evolve in accordance with classical mechanics. In other words, for an observable A, the time derivative of its expectation value ⟨<em>A</em>⟩ is related to the expectation value of the commutator of A with the Hamiltonian operator H, which represents the total energy of the system.</p><p>The Ehrenfest theorem provides a crucial connection between classical and quantum physics. It shows that, on average, quantum systems follow classical laws of motion, making quantum mechanics an extension of classical mechanics.</p><p>While the theorem reveals the classical-like behavior of quantum systems on average, it doesn’t imply that individual quantum states evolve classically. Quantum systems can exhibit wave-like interference and probabilistic behaviors that are fundamentally different from classical physics.</p><p>The theorem helps physicists analyze the time evolution of quantum observables. It is particularly valuable when studying complex quantum systems, such as atoms and molecules, where classical approximations may not be accurate.</p><p>In the field of quantum chemistry, the Ehrenfest theorem is used to understand the dynamic behavior of molecules during chemical reactions. It provides insights into bond-breaking, bond-forming processes, and reaction mechanisms.</p><p>The Ehrenfest theorem serves as a vital bridge between the quantum and classical worlds, allowing physicists and chemists to explore the dynamic evolution of quantum systems with a touch of classical intuition. While it underscores the classical-like behavior of quantum averages, it also reminds us of the inherently probabilistic and wave-like nature of quantum mechanics.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92b00b440814" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Demystifying Born’s Equation Understanding its Significance in Quantum Mechanics]]></title>
            <link>https://medium.com/@kazi.abdullah/demystifying-borns-equation-understanding-its-significance-in-quantum-mechanics-e928ad80cdcd?source=rss-c17cf77fbc5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e928ad80cdcd</guid>
            <dc:creator><![CDATA[Abdullah K (A No BS Physics advocate)]]></dc:creator>
            <pubDate>Thu, 21 Sep 2023 22:27:18 GMT</pubDate>
            <atom:updated>2023-09-21T22:27:18.233Z</atom:updated>
            <content:encoded><![CDATA[<p>Born’s equation, named after the German physicist Max Born, is a key component of quantum mechanics. It addresses one of the most intriguing aspects of quantum theory: the wave function. The wave function, typically denoted as Ψ (Psi), describes the quantum state of a particle, providing information about its position, momentum, and other properties.</p><p>Born’s equation specifically deals with the probability density of finding a particle in a particular region of space. It links the wave function (Ψ) to the probability density (|Ψ|²) of finding a particle in a particular position.</p><blockquote>Born’s equation provides a profound interpretation of the wave function in quantum mechanics. It states that the square of the absolute value of the wave function at a given point gives the probability density of finding the particle at that point. This probabilistic nature lies at the core of quantum mechanics, distinguishing it from classical physics.</blockquote><blockquote>Born’s equation is intimately connected to the wave-particle duality of quantum mechanics. It shows that particles, such as electrons, exhibit both wave-like and particle-like behaviors. The wave function represents the particle’s wave-like nature, while the probability density represents its localized, particle-like nature.</blockquote><blockquote>Born’s equation underscores the inherent uncertainty in quantum mechanics. It implies that the exact position and momentum of a particle cannot be simultaneously known with arbitrary precision. This concept is encapsulated in Heisenberg’s Uncertainty Principle, another fundamental tenet of quantum mechanics.</blockquote><blockquote>Born’s equation finds practical applications in various areas of quantum physics, including quantum chemistry and solid-state physics. It is used to predict and understand the behavior of particles in quantum systems and materials.</blockquote><blockquote>Born’s equation is not just a mathematical construct; it is a profound insight into the probabilistic nature of quantum mechanics. It bridges the gap between the abstract wave function and the observable world, offering a fundamental interpretation of quantum states. With its significance in understanding wave-particle duality and uncertainty, Born’s equation continues to play a pivotal role in the exploration of quantum phenomena and their applications in modern science.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e928ad80cdcd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring the Elegant Language of Lagrange Brackets through my Perspective]]></title>
            <link>https://medium.com/@kazi.abdullah/exploring-the-elegant-language-of-lagrange-brackets-through-my-perspective-97e25028b0ed?source=rss-c17cf77fbc5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/97e25028b0ed</guid>
            <category><![CDATA[classical-mechanics]]></category>
            <dc:creator><![CDATA[Abdullah K (A No BS Physics advocate)]]></dc:creator>
            <pubDate>Thu, 07 Sep 2023 14:04:24 GMT</pubDate>
            <atom:updated>2023-09-07T14:04:24.358Z</atom:updated>
            <content:encoded><![CDATA[<p>In the realm of classical mechanics there exists a mathematical tool that plays a crucial role in describing the evolution of physical systems. This tool is known as the Lagrange bracket, and its elegance lies in its ability to capture the dynamics of a system in a concise and insightful manner. In this post, we will delve into the world of Lagrange brackets, exploring their origins, significance, and applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/1*eg4unazPE3MSpgYRXC9idQ.png" /><figcaption>Fig 1.1 Home Introduction to Orbital Perturbations Chapter<br>Evaluation of the Lagrange Brackets<br>James M. Longuski, Felix R. Hoots &amp; George E. Pollock IV Part of the Space Technology Library book series (SPTL,volume 40)</figcaption></figure><p>The Birth of the Lagrange Bracket</p><p>The Lagrange bracket, also known as the Poisson bracket, owes its name to the French-Italian mathematician Joseph-Louis Lagrange. However, it was the pioneering work of another brilliant mind, Siméon Denis Poisson, that gave rise to the modern formulation of the bracket. Poisson’s contributions to mathematical physics led to the development of the Poisson bracket as a fundamental concept in the study of mechanical systems.</p><p>Understanding the Basics</p><p>At its core, the Lagrange bracket is a mathematical operator used to describe the time evolution of physical quantities in a mechanical system. It is a concise and elegant way to express the dynamical equations governing a system’s behavior.</p><p>The Poisson bracket quantifies the rate of change of one quantity concerning another, providing essential information about the system’s dynamics.</p><p>The Lagrange bracket finds extensive use in various branches of physics, most notably in Hamiltonian mechanics and classical electromagnetism. Its applications are diverse and far-reaching:</p><p>The Poisson bracket is intimately connected to Hamilton’s equations of motion, which describe how a system’s generalized coordinates and momenta evolve with time. It simplifies the task of deriving these equations for complex systems.</p><p>In the study of mechanical systems, canonical transformations play a vital role. The Poisson bracket preserves the canonical structure of Hamiltonian equations under such transformations, making it a crucial tool in this context.</p><p>While the Lagrange bracket itself is a classical concept, its quantum analog, the commutator, is essential in quantum mechanics. The commutation relations between position and momentum operators mirror the Poisson bracket’s role in classical mechanics.</p><p>Lagrange brackets find applications in celestial mechanics, where they help describe the motion of planets, moons, and other celestial bodies within gravitational systems.</p><p>The Lagrange bracket, with its mathematical elegance and profound implications, remains a cornerstone of classical mechanics and mathematical physics. Its ability to succinctly express the dynamics of mechanical systems has made it an indispensable tool for physicists and mathematicians alike. As we continue to explore the depths of the physical world, the Lagrange bracket will undoubtedly remain a guiding light, helping us unravel the mysteries of the universe.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97e25028b0ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Unsung Hero “Kyle Reese” Movie Characters Review through my Perspective]]></title>
            <link>https://medium.com/@kazi.abdullah/the-unsung-hero-kyle-reese-movie-characters-review-through-my-perspective-a9d128566390?source=rss-c17cf77fbc5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9d128566390</guid>
            <category><![CDATA[terminator]]></category>
            <dc:creator><![CDATA[Abdullah K (A No BS Physics advocate)]]></dc:creator>
            <pubDate>Thu, 07 Sep 2023 13:23:27 GMT</pubDate>
            <atom:updated>2023-09-07T13:28:57.539Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>As a movie buff I enjoy watching thriller and action Flicks I have been lately watching the Terminator Franchise again and decided to write a medium post about the central and the most important character in this franchise “Kyle Reese” the future Resistant Leader.</blockquote><blockquote>In the world of science fiction and action cinema, few characters have left as lasting an impact as Kyle Reese from the Terminator franchise. While the series is often associated with its iconic antagonist, the Terminator itself, it’s important not to overlook the character who played a pivotal role in shaping the franchise’s narrative and mythology.</blockquote><blockquote>Kyle Reese, portrayed by Michael Biehn, is not your typical action hero. He doesn’t have the brawn or superhuman abilities of a Terminator, but he possesses something equally valuable — unwavering determination, resourcefulness, and an unbreakable spirit. In this Medium post, we’ll take a closer look at the character of Kyle Reese and why he deserves recognition as one of the franchise’s unsung heroes.</blockquote><blockquote>One of the most compelling aspects of Kyle Reese is his status as a reluctant hero. When we first encounter him in James Cameron’s original Terminator film, he’s a battle-hardened soldier from a post-apocalyptic future. Reese is tasked with a mission: travel back in time to protect Sarah Connor, the mother of future resistance leader John Connor, from a Terminator sent to assassinate her. It’s a mission he accepts without hesitation, despite the inherent dangers.</blockquote><blockquote>Reese’s reluctance doesn’t stem from fear but rather from the emotional toll of his world’s grim reality. He’s haunted by the memories of war, the loss of loved ones, and the desolation of a world ruled by machines. This emotional depth sets him apart from typical action heroes, making him a character audiences can genuinely empathize with.</blockquote><p>Unlike the Terminator, who possesses superhuman strength and an array of advanced weaponry, Reese is a human warrior armed with nothing but his wits, determination, and a few makeshift explosives. His resourcefulness in the face of overwhelming odds is a testament to the indomitable human spirit.</p><p>Throughout the film, Reese’s ability to adapt to the challenges of the past, including his encounters with the seemingly unstoppable Terminator, showcases his resilience and intelligence. His survival skills and knowledge of future technology are essential in the battle to protect Sarah Connor and ensure the future of humanity.</p><p>The Terminator franchise is known for its complex and often paradoxical take on time travel. Kyle Reese’s role in the time-travel narrative is pivotal. He is not just a soldier sent back in time; he’s a key figure in the creation of a temporal loop. Reese is not only John Connor’s protector but also becomes his father, a fact that adds layers of complexity to the storyline.</p><p>This twist exemplifies the franchise’s exploration of fate and destiny and raises questions about the nature of time itself. Reese’s actions in the past are not just about survival; they shape the very events that lead to the future war against the machines.</p><p>Kyle Reese stands out as a human hero who embodies the best qualities of resilience, bravery, and selflessness. He is a testament to the power of the human spirit in the face of seemingly insurmountable challenges.</p><p>Reese’s mission is clear to protect Sarah Connor, the mother of future resistance leader John Connor, from the relentless Terminator.</p><p>Reese’s introduction is marked by vulnerability. He arrives as, an outsider in a world he’s never known. His disorientation and struggle to adapt are palpable, setting the tone for his character’s authenticity, Reese is a man driven by purpose, loyalty, and love.</p><p>Kyle Reese’s connection with Sarah Connor is at the heart of the Terminator narrative. At first, Sarah views Reese as a stranger and a potential threat, but as she comes to understand his mission and the impending threat of Skynet, her feelings for him begin to change.</p><p>Reese’s unwavering dedication to Sarah is a testament to his character. His love for her transcends time and circumstance, and it becomes evident that he would sacrifice anything, including his life, to ensure her survival.</p><p>As the Terminator closes in on Sarah Connor, Kyle Reese stands as the last line of defense. In a climactic battle, Reese ultimately fulfills his mission by destroying the Terminator, but at a great cost. He sacrifices his own life to protect Sarah, ensuring her safety and the future of humanity. Reese’s heroic act cements his legacy as an unsung hero and a pivotal figure in the Movie.</p><p>While the Terminator franchise has continued to evolve and expand, Kyle Reese’s legacy endures as a symbol of what it means to be a hero. He reminds us that heroes come in all forms, armed with the strength of their convictions and the determination to change the course of history.</p><p>As we revisit the Terminator films, let’s not forget the unsung hero who started it all — Kyle Reese. His story serves as a timeless reminder that, even in the darkest of futures, one person can make a difference.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9d128566390" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“A Concise analysis of Harmonic Oscillators and it's theory.”]]></title>
            <link>https://medium.com/@kazi.abdullah/a-concise-analysis-of-harmonic-oscillators-and-its-theory-1ae95d631c6?source=rss-c17cf77fbc5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ae95d631c6</guid>
            <category><![CDATA[quantum-mechanics]]></category>
            <dc:creator><![CDATA[Abdullah K (A No BS Physics advocate)]]></dc:creator>
            <pubDate>Thu, 07 Sep 2023 12:20:08 GMT</pubDate>
            <atom:updated>2023-09-07T12:20:08.833Z</atom:updated>
            <content:encoded><![CDATA[<p>The concept of harmonic oscillators is a fundamental one in physics and mathematics. It’s a subject that has applications in a wide range of fields, from classical mechanics to quantum physics, and even in music and engineering. While the mathematics behind harmonic oscillators can be complex, we’ll take a simplified geometric approach to demystify this fascinating topic.</p><p>Understanding Harmonic Oscillators</p><p>A harmonic oscillator is a system that, when displaced from its equilibrium position, experiences a restoring force proportional to the displacement. This force acts in the opposite direction to the displacement, effectively pulling the system back towards equilibrium. The classic example is a mass attached to a spring. When the mass is pulled or pushed away from its rest position and released, it oscillates back and forth.</p><p>To gain a geometric perspective on harmonic oscillators, let’s consider the simple harmonic motion of a mass-spring system. Imagine a point mass suspended from a fixed point by a spring. When the mass is displaced from its equilibrium position, it experiences a force proportional to its displacement. This force follows Hooke’s law, which states that the force is directly proportional to the displacement but in the opposite direction.</p><p>Now, let’s translate this into a geometric representation. Picture a coordinate system where the horizontal axis represents time, and the vertical axis represents displacement. When the mass is at its equilibrium position, the displacement is zero, and our point lies at the origin (0,0) of this geometric plane.</p><p>As we displace the mass from this position and let it go, it begins to oscillate back and forth. The resulting motion traces a curve on our geometric plane, known as a sine wave or sinusoidal curve. The amplitude of the wave represents the maximum displacement from equilibrium, while the wavelength corresponds to the period of oscillation.</p><p>Connecting with Physics</p><p>In this geometric representation, we can see how harmonic oscillators are intrinsically connected to trigonometric functions like sine and cosine. These functions are essential in describing oscillatory behavior in physics, and they play a vital role in various scientific and engineering applications.</p><p>A geometric analysis of harmonic oscillators offers a simplified yet insightful perspective on this fundamental concept. By visualizing the motion of a mass-spring system in a geometric plane, we can grasp the connection between displacement, time, and trigonometric functions. This geometric intuition can be a valuable tool for understanding harmonic oscillators’ behavior and their widespread applications in the world of science and engineering.</p><blockquote>Hamilton’s equations are a set of first-order differential equations used to describe the dynamics of a classical mechanical system. They were formulated by Sir William Rowan Hamilton in the 19th century and are a fundamental concept in classical mechanics, particularly in the Hamiltonian formulation.</blockquote><blockquote>The Hamiltonian, often denoted as H, is a function that summarizes the total energy of a mechanical system. It is defined in terms of the system’s generalized coordinates (q) and momenta (p). The Hamiltonian function can be written as:</blockquote><blockquote>H(q, p) = T(p) + U(q)</blockquote><blockquote>Where: T(p) represents the kinetic energy, which depends on the momenta.</blockquote><blockquote>U(q) represents the potential energy, which depends on the coordinates.</blockquote><blockquote>Hamilton’s equations describe how the generalized coordinates and momenta change over time. They are written as follows:</blockquote><blockquote>∂H/∂p = dq/dt -∂H/∂q = dp/dt</blockquote><blockquote>These equations connect the time derivatives of the coordinates and momenta to the partial derivatives of the Hamiltonian with respect to those variables. Essentially, they tell us how the positions and momenta of particles evolve as a function of time, given the system’s energy.</blockquote><blockquote>In quantum mechanics, the time translation operator is a mathematical tool that represents the evolution of a quantum system with respect to time. It is denoted by U(t), where “t” is the amount of time by which the system is to be evolved.</blockquote><blockquote>The time translation operator is crucial for understanding the time evolution of quantum states. Mathematically, it is defined as:</blockquote><blockquote>U(t) = e^(-iHt/ħ)</blockquote><blockquote>Where: U(t) is the time translation operator.</blockquote><blockquote>H is the Hamiltonian operator, representing the total energy operator of the quantum system.</blockquote><blockquote>t is the time by which the system evolves.</blockquote><blockquote>ħ (h-bar) is the reduced Planck’s constant, a fundamental constant in quantum mechanics.</blockquote><blockquote>The action of the time translation operator on a quantum state |ψ⟩ is as follows:</blockquote><blockquote>|ψ(t)⟩ = U(t)|ψ(0)⟩</blockquote><blockquote>This equation tells us how a quantum state evolves over time under the influence of the Hamiltonian operator. It’s a fundamental concept in quantum mechanics and is used to calculate how quantum states change as time progresses.</blockquote><blockquote>Hamilton’s equations describe the classical dynamics of a mechanical system in terms of generalized coordinates and momenta. On the other hand, the time translation operator in quantum mechanics describes how quantum states evolve in time under the influence of the Hamiltonian operator. Both concepts are essential for understanding the behavior of physical systems in classical and quantum mechanics, respectively.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ae95d631c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ludwig Boltzmann The Pioneer of Quantum Theory through my Perspective]]></title>
            <link>https://medium.com/@kazi.abdullah/ludwig-boltzmann-the-pioneer-of-quantum-theory-through-my-perspective-6551198c7b49?source=rss-c17cf77fbc5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/6551198c7b49</guid>
            <category><![CDATA[womanium]]></category>
            <category><![CDATA[quantum-mechanics]]></category>
            <category><![CDATA[quantum-physics]]></category>
            <dc:creator><![CDATA[Abdullah K (A No BS Physics advocate)]]></dc:creator>
            <pubDate>Thu, 07 Sep 2023 08:28:20 GMT</pubDate>
            <atom:updated>2023-09-07T08:28:20.776Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Ludwig Boltzmann, a name not as widely recognized as some of the giants in the world of physics, deserves a place of honor in the annals of scientific history. He was the unsung hero who laid the foundation for our understanding of the quantum world. In this article, I will take you on a journey through my perspective, shedding light on how Boltzmann’s groundbreaking work played a pivotal role in the development of quantum theory.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*fZSfROnQuTLICvrPXG0Pyg.jpeg" /><figcaption>Fig 1.1 Ludwig Boltzmann Wikipedia Article</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/438/1*bbQqxWs7-lx6EBNS_RhboQ.png" /><figcaption>Fig 1.1 Boltzmann Equation Source- Wikipedia Article on Boltzmann Equation</figcaption></figure><p>Born in 1844 in Vienna, Austria, Boltzmann exhibited an early passion for mathematics and physics. His academic journey led him to the University of Vienna, where he began to unravel the mysteries of thermodynamics. It was during this time that he made significant contributions to the field, especially in the study of statistical mechanics.</p><p>Boltzmann’s most celebrated achievement was the formulation of statistical mechanics, a branch of physics that explores the behavior of particles in a system by considering the statistical properties of their motion. He introduced the famous Boltzmann constant (k), a fundamental constant of nature that relates the average kinetic energy of particles in a gas to its temperature.</p><p>One of Boltzmann’s profound insights was his explanation of entropy, a measure of the disorder or randomness in a system. He famously derived the Boltzmann equation, which links entropy to the number of microscopic configurations available to a system. This laid the groundwork for the second law of thermodynamics, which states that the entropy of a closed system tends to increase over time.</p><p>Boltzmann faced considerable opposition and skepticism from his contemporaries, who often dismissed his ideas as controversial. He battled with depression and faced personal hardships throughout his life. Despite these challenges, his dedication to the pursuit of scientific truth remained unwavering.</p><p>Boltzmann’s work on statistical mechanics paved the way for the development of quantum theory. The concept of quantization, which underpins quantum physics, found its roots in Boltzmann’s ideas. Max Planck, another luminary of quantum theory, acknowledged Boltzmann’s influence on his own work. Planck’s quantization of energy and the birth of quantum mechanics owe a debt to Boltzmann’s earlier ideas.</p><p>Boltzmann introduced the concept of the Boltzmann constant (k), which relates the average kinetic energy of particles in a gas to its temperature. This constant is fundamental in statistical mechanics and thermodynamics. It plays a crucial role in the quantum theory of black-body radiation developed by Max Planck and later became a fundamental constant in quantum mechanics.</p><p>Boltzmann’s insights into entropy, a measure of the disorder or randomness in a system, were instrumental. He introduced the Boltzmann equation, which relates entropy to the number of microscopic configurations (microstates) available to a system. This concept laid the foundation for the probabilistic and statistical nature of quantum mechanics, where particles are described by wave functions and probabilities.</p><p>Although Boltzmann did not directly propose the quantum hypothesis, his statistical approach and understanding of the probabilistic nature of physical systems influenced other physicists. The concept of quantization, where energy levels are discrete rather than continuous, emerged from the probabilistic ideas present in statistical mechanics. Max Planck credited Boltzmann’s work on entropy as an inspiration for his own quantum theories.</p><p>Boltzmann’s statistical mechanics provided a bridge between the microscopic world of particles (atoms and molecules) and the macroscopic properties of matter, such as temperature and entropy. He introduced statistical laws that described the behavior of particles in a gas, particularly their distribution of energy and velocities. This statistical approach was critical for understanding the relationship between microscopic behavior and macroscopic thermodynamic properties.</p><p>Boltzmann emphasized the probabilistic nature of physical systems. His entropy formula, known as the Boltzmann equation, related entropy to the number of microstates available to a system. It expressed entropy in terms of probabilities associated with various configurations of particles. This probabilistic perspective was foundational in recognizing that physical quantities could have a statistical interpretation.</p><p>Max Planck’s quantum theory, developed in the early 20th century, revolutionized physics by introducing the idea that energy levels are quantized or discrete rather than continuous. Planck proposed that energy is exchanged in discrete units called “quanta.” This concept resolved the ultraviolet catastrophe problem in the theory of black-body radiation. Planck’s theory showed that the energy of electromagnetic radiation, like light, is quantized, and it is proportional to the frequency of the radiation.</p><p>Planck’s quantum hypothesis introduced the concept of quantization and probability into physics. Quantum mechanics, developed further by physicists like Werner Heisenberg and Erwin Schrödinger, described the behavior of particles and waves at the quantum level. In quantum mechanics, wave functions represent the probabilities of finding particles in different states. The probabilistic interpretation of quantum mechanics has its roots in the statistical perspective introduced by Boltzmann.</p><p>Both Planck and Boltzmann addressed the probabilistic nature of physical phenomena. While Boltzmann focused on statistical behavior and entropy in macroscopic systems, Planck extended this probabilistic perspective to the quantum realm. Both physicists recognized the importance of counting states and probabilities in their respective theories.</p><p>Max Planck’s quantum theory built upon Ludwig Boltzmann’s statistical mechanics by introducing the concept of quantization and the probabilistic nature of energy levels. Boltzmann’s statistical perspective and Boltzmann’s entropy equation provided a conceptual foundation for understanding the relationship between microscopic particles and macroscopic thermodynamic properties, which influenced the development of quantum mechanics. The common theme of probability and counting states connects these two fundamental areas of physics.</p><p>In my perspective, Boltzmann was not just a scientist but a visionary who peered into the quantum realm long before it was fully understood. His work continues to inspire generations of physicists, and his legacy lives on in the quantum theories that have reshaped our understanding of the universe. Ludwig Boltzmann may have been underappreciated in his time, but today, we recognize him as a true pioneer of quantum theory.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6551198c7b49" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Womanium Global Quantum Project- Unlocking the Power of Quantum Optimization: A Journey through the…]]></title>
            <link>https://medium.com/@kazi.abdullah/unlocking-the-power-of-quantum-optimization-a-journey-through-the-qaoa-algorithm-by-abdullah-5366fd6a4f16?source=rss-c17cf77fbc5d------2</link>
            <guid isPermaLink="false">https://medium.com/p/5366fd6a4f16</guid>
            <category><![CDATA[physics]]></category>
            <category><![CDATA[qaoa]]></category>
            <category><![CDATA[womanium]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <dc:creator><![CDATA[Abdullah K (A No BS Physics advocate)]]></dc:creator>
            <pubDate>Sun, 03 Sep 2023 09:39:49 GMT</pubDate>
            <atom:updated>2023-09-04T09:36:06.255Z</atom:updated>
            <content:encoded><![CDATA[<h3>Womanium Global Quantum Project- Unlocking the Power of Quantum Optimization: A Journey through the QAOA Algorithm- By Abdullah Kazi(QCohort)</h3><p>In the world of quantum computing, the Quantum Approximate Optimization Algorithm (QAOA) stands as a promising approach to solve complex optimization problems efficiently. It was a privilege to conduct a session on this transformative algorithm, and I would like to take this opportunity to acknowledge and express my gratitude to Womanium Quantum for their invaluable contributions and support. I am immensely grateful to Womanium for providing a platform for knowledge sharing and exploration. Womanium has consistently been at the forefront of promoting diversity and inclusivity in quantum computing and related fields. It was an honor to collaborate with an organization that values knowledge dissemination and empowerment.</p><p>In the ever-evolving landscape of quantum computing, there are few experiences more enriching than delving into the world of quantum algorithms. Recently, I had the privilege of conducting an insightful session on the Quantum Approximate Optimization Algorithm (QAOA), thanks to the incredible support of Womanium. What made this session even more fascinating was the invaluable contribution of QMWare and their powerful Hybrid HPC cloud platform Qognito, along with the BasiQ SDK.</p><p>In this medium post, I want to extend my heartfelt thanks to QMWare AG for providing the tools and resources that made this learning experience not only possible but also incredibly insightful.</p><p>I am also thankful to my Team Members Samia Amir and Ishan Bangroo for constantly motivating and encouraging me.</p><p>The session was conducted on 1 September 2023 12;00 PM Indian Standard timings and the Following topics were covered in the meeting.</p><p>Pioneers in Quantum Computing Solutions QMWare has been at the forefront of quantum computing, developing cutting-edge solutions that bridge the gap between quantum Physics and practical applications.The QMware Cloud merges HPC, simulated and native quantum hardware to provide next-level computing performance.</p><p>Qognito — A Quantum Cloud Platform : Qognito, as the name suggests, is a quantum Cloud Platform where Quantum computing enthusiasts and researchers can experiment with quantum algorithms, such as QAOA, and gain hands-on experience. It provides a user-friendly interface that simplifies the complexities of quantum computing, making it accessible to a broader audience.</p><blockquote><strong>Key Features of Qognito: </strong>User-Friendly Interface: Qognito’s intuitive interface allows users to design and simulate quantum circuits effortlessly. It’s the ideal platform for beginners and experts alike.</blockquote><blockquote>Users can work on Jupyter notebooks within the cloud.</blockquote><blockquote>Qognito provides a seamless experience for executing Quantum algorithms.</blockquote><blockquote>Offering a quantum-classical cloud infrastructure, QMware enables User&#39;s to build early industry applications leveraging the best of both worlds.</blockquote><blockquote><strong>BasiQ SDK</strong>: Empowering Quantum Development Alongside Qognito, the BasiQ SDK from QMWare plays a pivotal role in empowering quantum development. This software development kit provides a strong foundation for quantum programming, allowing developers to create, compile, and execute quantum code efficiently.</blockquote><h4>What is QAOA?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*U6wkKixBvsyLS2wQmaJ2Wg.png" /><figcaption>Figure 1.1 Quantum Approximate Optimization Algorithm: Performance, Mechanism, and Implementation on Near-Term Devices Leo Zhou, Sheng-Tao Wang, Soonwon Choi, Hannes Pichler, and Mikhail D. Lukin Phys. Rev. X <strong>10</strong>, 021067 — Published 24 June 2020</figcaption></figure><p>The Quantum Approximate Optimization Algorithm (QAOA) is a quantum algorithm designed to solve combinatorial optimization problems. Combinatorial optimization problems involve finding the best solution from a finite set of possible solutions, where each solution is a combination or arrangement of discrete elements. These problems are prevalent in various fields, including operations research, logistics, machine learning, and chemistry.</p><p>QAOA is particularly well-suited for solving problems such as the Max-Cut problem, the Traveling Salesman Problem (TSP), and many other optimization problems. Its primary advantage over classical optimization algorithms is its potential to provide solutions faster, especially for large and complex problem instances.</p><h4><em>Actual implementation of QAOA for TSP on the Qiskit Framework</em></h4><pre>def qaoa_circuit(params):<br>    circuit = QuantumCircuit(num_cities)<br><br>    # Apply Hadamard gates<br>    for i in range(num_cities):<br>        circuit.h(i)<br><br>    # QAOA ansatz<br>    for layer in range(p):<br>        for i in range(num_cities):<br>            for j in range(i + 1, num_cities):<br>                circuit.cx(i, j)<br>                circuit.rz(params[layer] * distance_matrix[i][j], j)<br>                circuit.cx(i, j)<br><br>        circuit.barrier()<br><br>        for i in range(num_cities):<br>            circuit.rx(2 * params[layer], i)<br><br>    return circuit</pre><h4>QAOA for a 3 cities example</h4><pre>#Visualizing the graph of the movement, with the distances embedded as weights in the edges<br><br>graph = nx.Graph()<br>#p = positions[s]<br>for n in range(3):<br>    for b in range(3):<br>        graph.add_edges_from([[n, b]])<br>        graph.add_edge(n,b,weight =distance_data.iat[n, b])<br><br>#data_cell_1 = distance_data.iat[5, 2]<br>#data_cell_1<br>        <br>nx.draw(graph, with_labels = True)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*d2ZdR7cQFQJwCca5LfP-eQ.png" /></figure><h4>Some methods on Solving optimization problem.</h4><blockquote><strong>Gradient Descent</strong>: This is a popular method for minimizing differentiable functions. It iteratively updates the parameters in the direction of the negative gradient until convergence.</blockquote><blockquote><strong>Genetic Algorithms</strong>: These are search heuristics that mimic the process of natural selection. They are often used for optimization and search problems.</blockquote><p>The choice of optimization method depends on the specific problem, its characteristics, and computational resources available.</p><h4>A Walkthrough the QMWare Cloud Platform</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*30ME08m8BxBnlmHlqbeb_Q.png" /></figure><blockquote><em>QMWare’s HPC Cloud platform, Qognito, represents a remarkable leap forward in high-performance computing (HPC) solutions. Qognito is not just a cloud platform; it’s a powerful ecosystem that empowers researchers, scientists, and engineers with unprecedented computational capabilities. With its seamless integration of quantum and classical computing resources, Qognito is at the forefront of quantum-inspired computing, offering users the ability to harness the potential of quantum computing to solve complex problems. Its versatility extends beyond quantum, providing access to a wide range of classical computing resources, making it a one-stop-shop for a variety of computational needs. QMWare’s commitment to user-friendly interfaces and robust support ensures that researchers can focus on their work rather than the intricacies of managing an HPC environment. In an era where computational power drives innovation across multiple domains, Qognito emerges as a beacon of efficiency, accessibility, and transformative potential for the scientific community.</em></blockquote><p>To access the Notebooks, you have to click on the Open Notebook option to Launch your Jupyter Notebook in the QMWare Cloud</p><h4>How to solve the Maxcut on a simple graph?</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FDlTn7w52KGQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DDlTn7w52KGQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FDlTn7w52KGQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/bddbd6549cf3c4feab8952f61be7f370/href">https://medium.com/media/bddbd6549cf3c4feab8952f61be7f370/href</a></iframe><ol><li>Start by defining the undirected graph on which you want to perform the Max-Cut. Specify the vertices (nodes) and edges of the graph.</li><li>In Max-Cut, the goal is to partition the nodes of the graph into two sets such that the number of edges crossing between the sets is maximized. Mathematically, you want to maximize the number of cut edges.</li><li>Begin with an initial random or predefined partition of the nodes into two sets.</li><li>Compute the number of edges that cross between the two sets. This is your current “cut size.”</li><li>Select a node from one set and move it to the other set (or vice versa). This swap operation changes the partition.</li><li>After each node swap, recalculate the cut size to determine if it has increased or decreased.</li><li>Continue swapping nodes and recalculating the cut size for a predefined number of iterations or until you observe no improvement in the cut size.</li><li>Implement an optimization algorithm (e.g., simulated annealing, genetic algorithms, or local search) to guide the node swapping process. This algorithm helps explore the solution space efficiently.</li><li>Define a termination condition, such as a maximum number of iterations or a threshold for improvement. If the condition is met, stop the algorithm.</li><li>Once the algorithm terminates, output the final partition of nodes that maximizes the cut size. This partition represents the solution to the Max-Cut problem on the given graph.</li></ol><p>What is a Mixer Operator?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*FyE9li1lR_9jhgEfSg62aA.png" /><figcaption>Fig 1.2 Mixer Operator- <a href="https://medium.com/@_monitsharma/grover-mixers-for-qaoa-shifting-complexity-from-mixer-design-to-state-preparation-6b06ab61723a">Grover Mixers for QAOA: Shifting Complexity from Mixer Design to State Preparation | by Monit Sharma | Medium</a></figcaption></figure><p>a mixer operator is an essential component of the quantum circuit that serves a specific purpose in the optimization process. The mixer operator is responsible for creating superpositions in the quantum state, which allows the quantum computer to explore different configurations or solutions efficiently.</p><p>In QAOA, the objective is to find the optimal solution to a combinatorial optimization problem. This problem is typically represented as a cost function that you want to minimize. The goal of the algorithm is to prepare a quantum state that encodes candidate solutions, and then use quantum operations to evolve this state toward the optimal solution.</p><p>The QAOA circuit consists of two types of quantum operators:</p><ol><li>Cost Operator (Problem Hamiltonian) This operator encodes the problem’s cost function as a quantum operator. It is designed to diagonalize in the computational basis, where the eigenvalues correspond to the cost of different solutions. The cost operator is typically implemented as a diagonal operator on qubits, where each diagonal entry corresponds to a specific solution’s cost.</li><li>Mixer Operator (Driver Hamiltonian) The mixer operator is responsible for creating superpositions of the computational basis states. It helps in exploring the solution space efficiently. Unlike the cost operator, which diagonalizes in the computational basis, the mixer operator is designed to create off-diagonal elements. These off-diagonal elements allow for transitions between different candidate solutions. Common mixer operators include Pauli-X operators or Pauli-Y operators applied to each qubit.</li><li>The QAOA algorithm alternates between applying the cost operator and the mixer operator multiple times in a layered fashion. The number of layers is a parameter of the algorithm, and finding the optimal number of layers is part of the optimization process.</li></ol><blockquote>The combination of the cost operator and mixer operator operations, repeated in layers, allows the quantum state to evolve and explore different solutions efficiently. The optimization process aims to find the parameters (angles) of these operators that minimize the expected cost, which corresponds to finding the optimal solution to the optimization problem.</blockquote><blockquote>the mixer operator in QAOA is a quantum operation that creates superpositions of computational basis states, facilitating the exploration of candidate solutions as part of the optimization process.</blockquote><h4>How can we choose the value of β and γ in QAOA ?</h4><p>Choosing the values of β and γ in the Quantum Approximate Optimization Algorithm (QAOA) is a critical step in achieving good performance. These parameters determine the angles of rotation in the quantum circuit and affect the quality of the approximate solution obtained. Here are some strategies for selecting suitable values of β and γ in QAOA:</p><ol><li>Perform a grid search over a predefined range of values for both β and γ. Discretize the parameter space and evaluate the QAOA circuit’s performance (i.e., the expected cost function) for each combination of β and γ. This brute-force approach can be computationally intensive but ensures comprehensive exploration of the parameter space.</li><li>Utilize classical optimization algorithms, such as gradient descent, Nelder-Mead, or Constrained Optimization BY Linear Approximations (COBYLA), to iteratively optimize β and γ. Start with initial guesses and update them to minimize the expected cost. This method is more efficient than grid search and often converges to good solutions.</li><li>Randomly sample values of β and γ from predefined ranges and evaluate the performance of the QAOA circuit for each set of parameters. Over multiple iterations, keep track of the best-performing values.</li></ol><h4>how do β and γ relates to optimization problem and example of Maxcut ?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ep_K1u4gVhDJOOQPGBw0hA.png" /><figcaption>Figure 1.3 Classical variational simulation of the Quantum Approximate Optimization Algorithm <a href="https://www.nature.com/articles/s41534-021-00440-z#auth-Matija-Medvidovi_-Aff1-Aff2">Matija Medvidović</a> &amp; <a href="https://www.nature.com/articles/s41534-021-00440-z#auth-Giuseppe-Carleo-Aff3">Giuseppe Carleo</a> <a href="https://www.nature.com/npjqi"><em>npj Quantum Information</em></a> <strong>volume 7</strong>, Article number: 101 (2021)</figcaption></figure><p>In the Quantum Approximate Optimization Algorithm (QAOA), β and γ are parameters that define the angles of rotation in a quantum circuit. They play a crucial role in solving optimization problems, and their values are chosen to minimize the objective function associated with the problem at hand. Let’s explore how β and γ relate to an optimization problem, specifically the Maxcut problem, as an example:</p><p>Maxcut Problem: The Maxcut problem is a well-known combinatorial optimization problem. Given an undirected graph with weighted edges, the goal is to partition the graph’s vertices into two disjoint sets such that the sum of weights of the edges crossing the partition (cut) is maximized.</p><ol><li>In the context of the Maxcut problem, the objective function to be maximized is often denoted as Q.</li><li>QAOA uses a parameterized quantum circuit to approximate the solution to the Maxcut problem. This circuit contains alternating layers of two types of gates:</li></ol><ul><li>These gates prepare a superposition of all possible solutions. In the Maxcut example, mixing gates act as Hadamard gates on each qubit, creating an equal superposition of all possible partition states.</li><li>These gates introduce quantum entanglement and are responsible for encoding the objective function. In the Maxcut example, cost gates apply a unitary operator corresponding to the weighted sum of Pauli-Z operators acting on pairs of qubits connected by edges. The weight of each Pauli-Z term is determined by the edge weights and γ.</li></ul><ol><li>To solve the Maxcut problem using QAOA, you would perform the following steps</li></ol><ul><li>Choose initial values for β and γ.</li><li>Construct the QAOA circuit with these parameter values.</li><li>Evaluate the expectation value of the objective function <em>Q</em> using quantum measurements.</li><li>Use classical optimization techniques (e.g., gradient descent or classical solvers) to adjust the values of β and γ in a way that maximizes the expectation value of <em>Q</em>.</li></ul><ol><li>The optimization process is iterative. You repeatedly update β and γ to improve the approximation of the Maxcut solution. The goal is to find the values of β and γ that yield the highest possible expectation value of <em>Q</em>, corresponding to the best partition of the graph vertices.</li></ol><blockquote>β and γ in QAOA are parameters that define the rotations in the quantum circuit. They are chosen to maximize the expectation value of an objective function (e.g., Q for Maxcut) that represents the problem being solved. Adjusting β and γ through an optimization process allows QAOA to find approximate solutions to combinatorial optimization problems like Maxcut.</blockquote><h4>How does Cobyla carries out optimization ?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*Dd1avpJ__rFyV7WjzG3T7g.png" /><figcaption>Fig 1.3 Flowchart of Optimization <a href="https://www.researchgate.net/figure/The-optimization-flowchart-The-optimization-flowchart_fig1_366856475">The optimization flowchart</a></figcaption></figure><pre>import numpy as np<br>from scipy.optimize import minimize<br><br># Define the objective function to minimize<br>def objective(x):<br>    return x[0]**2 + x[1]**2<br><br># Define the inequality constraint function<br>def constraint(x):<br>    return np.array([1 - x[0] - x[1]])<br><br># Initial guess for the solution<br>x0 = [0.0, 0.0]<br><br># Define the bounds for variables (optional but recommended)<br>bounds = [(None, None), (None, None)]<br><br># Define the constraints<br>constraints = ({&#39;type&#39;: &#39;ineq&#39;, &#39;fun&#39;: constraint})<br><br># Perform the optimization using COBYLA<br>result = minimize(objective, x0, method=&#39;COBYLA&#39;, constraints=constraints, bounds=bounds)<br><br># Print the optimization result<br>print(&quot;Optimal solution:&quot;, result.x)<br>print(&quot;Optimal objective value:&quot;, result.fun)</pre><p>COBYLA (Constrained Optimization BY Linear Approximations) is a numerical optimization algorithm used for solving constrained nonlinear optimization problems. It was developed to handle problems where both the objective function and the constraints are nonlinear. COBYLA is particularly useful when derivative information (gradients or Hessians) of the objective function is unavailable or computationally expensive to calculate. Here’s how COBYLA carries out optimization.</p><ol><li>COBYLA starts by initializing an initial guess or estimate for the solution vector. This initial point is provided as input to the algorithm.</li><li>COBYLA begins the optimization process by creating a linear approximation of the objective function and the constraints around the current estimate of the solution. It linearly approximates the objective and constraints within a trust region around the current point.</li><li>The algorithm proceeds iteratively, refining the solution estimate at each step. During each iteration, it performs the following steps:</li><li>COBYLA updates the linear approximation of the objective function and constraints based on the current estimate of the solution.</li><li>The trust region, which defines the region within which the linear approximation is considered accurate, is adjusted based on the optimization progress. If the linear approximation is performing well, the trust region can be expanded, allowing for larger steps. If not, it may be contracted to focus on local regions.</li><li>COBYLA calculates a search direction that indicates the direction in which it should update the solution estimate to improve the objective function.</li><li>The algorithm determines the step size, which represents how far to move in the search direction. COBYLA typically uses a line search or trust region approach to determine an appropriate step size.</li><li>The current solution estimate is updated based on the calculated step size and search direction.</li><li>COBYLA checks if the optimization has converged. Convergence is typically determined by comparing the changes in the objective function and constraint violations with predefined tolerance values. If the changes are sufficiently small, the algorithm terminates.</li><li>COBYLA handles constraints by ensuring that the updated solution estimates satisfy the constraints within the defined trust region. If the constraints are violated, the algorithm adjusts the solution estimate while respecting the constraints.</li><li>COBYLA terminates when one of the following conditions is met:</li></ol><ul><li>The optimization process converges (i.e., the changes in the objective function and constraints are below specified tolerances).</li><li>A maximum number of iterations is reached.</li><li>A user-defined stopping criterion is met.</li></ul><ol><li>Upon termination, COBYLA returns the estimated solution vector, which is expected to be a local minimum of the objective function within the specified constraints.</li></ol><blockquote>COBYLA is an efficient algorithm for solving nonlinear optimization problems with constraints, particularly in cases where derivative information is not readily available or expensive to compute. It relies on linear approximations and trust regions to guide the optimization process iteratively.</blockquote><h4>The Trust Region of COBYLA</h4><p>The Trust Region Constrained Optimization BY Linear Approximations (COBYLA) algorithm does not use a traditional trust region concept like some other optimization algorithms, such as Trust Region Reflective (TRF) or Trust Region Dogleg (TRD). Instead, COBYLA uses linear approximations of the objective and constraint functions to iteratively improve the solution while satisfying constraints.</p><p>In COBYLA, trust regions are implicitly defined by the linear approximations to ensure that the iterates stay within bounds and satisfy the constraints. The algorithm adjusts the trust region sizes dynamically during the optimization process based on the progress made in each iteration.</p><p>Here are the main components of how COBYLA handles trust regions implicitly.</p><ol><li>COBYLA uses a linear approximation of the objective function to determine the direction to move in the search space. It updates the solution within a region where this linear approximation is expected to be valid.</li><li>Similarly, COBYLA approximates the constraint functions linearly to ensure that constraint violations are minimized within the current trust region.</li><li>The algorithm adjusts the trust region size dynamically based on the success of previous iterations. If an iteration is successful (i.e., it reduces the objective function and constraint violations), the trust region size might be increased to explore a larger region. Conversely, if an iteration fails to make progress, the trust region size might be reduced to focus on a smaller region.</li><li>COBYLA also implicitly defines trust regions at the boundaries and constraints of the optimization problem. It ensures that the iterates stay within the specified bounds and satisfy the constraints during optimization.</li></ol><blockquote>While COBYLA does not have an explicit trust region parameter that you can adjust, it effectively manages trust regions internally to optimize within the bounds and constraints of the problem. This dynamic management of trust regions is a key feature of COBYLA’s approach to constrained optimization.</blockquote><h4>Whether Symmetry is an essential factor for solving such optimization problems?</h4><p>Symmetry can play a significant role in solving optimization problems, depending on the specific problem and the optimization algorithm being used.</p><ol><li>In some optimization problems, the objective function or the constraints may exhibit symmetry. Exploiting this symmetry can lead to more efficient optimization algorithms. For example, if the objective function is symmetric with respect to certain variables, you can reduce the search space by only considering unique combinations of those variables, thus speeding up the optimization process.</li><li>Symmetry in constraint equations can also be leveraged to simplify the problem. If constraints exhibit symmetry, you may be able to reduce the number of constraints that need to be evaluated or solved, making the problem more tractable.</li><li>In combinatorial optimization problems, group symmetries can be particularly relevant. For example, in the Traveling Salesman Problem (TSP), if the cost function satisfies group symmetry (e.g., rotational symmetry), you can exploit this symmetry to reduce the search space and improve the efficiency of algorithms like branch-and-bound.</li><li>On the other hand, in some cases, symmetry can be a hindrance to optimization. Symmetry-breaking techniques are used to break down symmetry in the problem formulation to avoid redundant solutions. For example, when solving graph-based problems, you might want to break graph isomorphisms to prevent exploring the same solution multiple times.</li><li>The choice of optimization algorithm may also depend on the presence of symmetry. Some algorithms, like genetic algorithms, can naturally handle symmetry, while others, like gradient-based methods, may require additional techniques to exploit or break symmetry effectively.</li><li>Whether symmetry is essential often depends on the specific problem and its characteristics. In some cases, symmetry may not be a dominant factor, while in others, it can significantly impact the problem’s complexity and solvability.</li></ol><blockquote>symmetry can be both an asset and a challenge in optimization problems. It’s essential to analyze the problem’s structure and characteristics to determine whether exploiting or breaking symmetry is beneficial for achieving efficient and effective solutions. The role of symmetry varies from problem to problem and should be considered on a case-by-case basis.</blockquote><h4>What is the Future of QAOA Algorithm?</h4><p>The Quantum Approximate Optimization Algorithm (QAOA) is a promising quantum computing algorithm with the potential to impact various fields, including optimization, machine learning, and quantum chemistry.</p><ol><li>As quantum hardware continues to improve, the future of QAOA will be closely linked to the development of more powerful and fault-tolerant quantum computers. Quantum hardware advancements will allow QAOA to tackle larger and more complex optimization problems, making it a practical choice for real-world applications.</li><li>QAOA has already demonstrated its applicability in various domains, such as logistics, finance, and machine learning. Its future will involve exploring new applications and problem domains where quantum computing can offer a competitive advantage over classical methods.</li><li>Researchers are actively working on improving the QAOA algorithm itself. This includes finding better variational forms, optimizing the choice of parameters (γ and β).</li><li>The growth of a quantum software ecosystem, including quantum programming languages, development platforms, and libraries, will make it easier for researchers and practitioners to work with QAOA and other quantum algorithms.</li><li>The future of QAOA will likely involve increased collaboration between quantum physicists, computer scientists, domain experts, and industry professionals. This multidisciplinary approach will help tailor QAOA solutions to specific real-world challenges.</li></ol><blockquote><em>The future of the QAOA algorithm is bright, with ongoing research, hardware advancements, and applications across various fields. As quantum technology matures and quantum computers become more accessible, QAOA is poised to play a significant role in solving complex optimization problems and addressing real-world challenges</em>.</blockquote><h4>Feedback</h4><p>I want to express my heartfelt gratitude to all the participants of the recent session on the Quantum Approximate Optimization Algorithm (QAOA). It was an incredibly engaging and enlightening experience, and I would like to extend my thanks to each and every one of you.</p><p>I want to especially thank Mohammadreza, Abdullah Galib, Gavin, and Revanth for their active participation and valuable feedback during the session. Your questions, insights, and contributions added immense value to the discussion, making it an enriching learning experience for all.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/335/1*PxGIoTcIwKh5HBhkdeQSxA.png" /></figure><h4>Ending Remarks</h4><p>Our journey through the Quantum Approximate Optimization Algorithm (QAOA) has been nothing short of fascinating. We’ve delved into the world of quantum computing, explored the principles of QAOA, and witnessed the potential of QAOA to revolutionize optimization tasks across various domains.</p><p>I want to express my sincere gratitude to Womanium, Marlou Slot, Raj and Prachi V for their invaluable contributions and support for this session.</p><p>I would also like to Thank my Fellow Team Members and Friends Samia Amir and Ishan Bangroo for their unwavering support and encouragement all throughout the Session.</p><p>As we wrap up this session, I encourage you to continue your exploration of quantum computing and QAOA. The quantum landscape is evolving rapidly, and the potential applications are boundless. Whether you’re a researcher, a developer, or simply someone curious about the future of computing, there’s a place for you in the quantum community.</p><p>Until next time, keep quantum questing! 🌌🔍🚀 #QAOA #QuantumComputing #WomaniumQuantum</p><h4>References</h4><p>[1] Leo Zhou, Sheng-Tao Wang, Soonwon Choi, Hannes Pichler, and Mikhail D. Lukin, “Quantum Approximate Optimization Algorithm: Performance, Mechanism, and Implementation on Near-Term Devices” Phys. Rev. X <strong>10</strong>, 021067 — 24 June 2020.</p><p>[2] Qiskit contributors, “Qiskit: An Open-source Framework for Quantum Computing”,2023, doi = {10.5281/zenodo.2573505}.</p><p>[3] <a href="https://medium.com/@_monitsharma/grover-mixers-for-qaoa-shifting-complexity-from-mixer-design-to-state-preparation-6b06ab61723a">Grover Mixers for QAOA: Shifting Complexity from Mixer Design to State Preparation | by Monit Sharma | Medium</a></p><p>[4] <a href="https://www.nature.com/articles/s41534-021-00440-z#auth-Matija-Medvidovi_-Aff1-Aff2">Matija Medvidović</a> &amp; <a href="https://www.nature.com/articles/s41534-021-00440-z#auth-Giuseppe-Carleo-Aff3">Giuseppe Carleo</a>, “Classical variational simulation of the Quantum Approximate Optimization Algorithm” <a href="https://www.nature.com/npjqi"><em>npj Quantum Information</em></a> <strong>volume 7</strong>, Article number: 101 (2021)</p><p>[5] Flowchart of Optimization <a href="https://www.researchgate.net/figure/The-optimization-flowchart-The-optimization-flowchart_fig1_366856475">The optimization flowchart</a> <a href="https://www.researchgate.net/figure/The-optimization-flowchart-The-optimization-flowchart_fig1_366856475">https://www.researchgate.net/figure/The-optimization-flowchart-The-optimization-flowchart_fig1_366856475</a></p><p>[6] OpenQAOA <a href="https://openqaoa.entropicalabs.com/">OpenQAOA (entropicalabs.com)</a></p><p>[7] <a href="https://www.qm-ware.com/">QMware Cloud | quantum computing | hybrid quantum computing (qm-ware.com)</a></p><p>[8] <a href="https://www.womanium.org/">[ WOMANIUM ]</a> Womanium.Org</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5366fd6a4f16" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>