<?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>Forem: Malcolm Low</title>
    <description>The latest articles on Forem by Malcolm Low (@myhlow_dev).</description>
    <link>https://forem.com/myhlow_dev</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%2F3894359%2F50ab9e6e-a918-40f1-b3b5-a7526195ffa6.jpg</url>
      <title>Forem: Malcolm Low</title>
      <link>https://forem.com/myhlow_dev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/myhlow_dev"/>
    <language>en</language>
    <item>
      <title>Understanding Reversible Quantum Computation: Why Reversibility Matters in Quantum Computing</title>
      <dc:creator>Malcolm Low</dc:creator>
      <pubDate>Fri, 24 Apr 2026 01:08:19 +0000</pubDate>
      <link>https://forem.com/myhlow_dev/understanding-reversible-quantum-computation-why-reversibility-matters-in-quantum-computing-51id</link>
      <guid>https://forem.com/myhlow_dev/understanding-reversible-quantum-computation-why-reversibility-matters-in-quantum-computing-51id</guid>
      <description>&lt;h1&gt;
  
  
  Understanding Reversible Quantum Computation: Why Reversibility Matters in Quantum Computing
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;In the pursuit of more efficient and powerful computing paradigms, reversible quantum computation stands at the intersection of fundamental physics and practical engineering. While classical computing has benefited enormously from reversible logic concepts, quantum computing inherently requires reversibility due to the unitary nature of quantum evolution. This article explores why reversibility is not just beneficial but essential in quantum computing, and how it shapes the design of quantum algorithms and hardware.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Thermodynamic Imperative: Landauer's Principle
&lt;/h2&gt;

&lt;p&gt;To understand why reversibility matters, we start with Rolf Landauer's groundbreaking insight from 1961: &lt;strong&gt;information erasure has a thermodynamic cost&lt;/strong&gt;. Specifically, erasing one bit of information necessarily dissipates at least kBT ln 2 joules of energy as heat, where k_B is Boltzmann's constant and T is the absolute temperature.&lt;/p&gt;

&lt;p&gt;This principle reveals a profound connection between information theory and thermodynamics. In conventional (irreversible) computing, logic gates like AND, OR, and NAND lose information about their inputs when producing outputs. For example, knowing the output of an AND gate doesn't tell you uniquely what the inputs were - multiple input combinations can produce the same output.&lt;/p&gt;

&lt;p&gt;Reversible computing avoids this information loss by ensuring that every computational step is invertible: given the output, you can uniquely determine the input. This eliminates the fundamental thermodynamic cost associated with information erasure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quantum Mechanics and Unitary Evolution
&lt;/h2&gt;

&lt;p&gt;In quantum computing, reversibility takes on even greater significance due to the postulates of quantum mechanics. The time evolution of a closed quantum system is described by the Schrödinger equation, which implies that quantum state transformations must be &lt;strong&gt;unitary&lt;/strong&gt; operations.&lt;/p&gt;

&lt;p&gt;A unitary operation U satisfies U&lt;sup&gt;†&lt;/sup&gt;U = I, where U† is the conjugate transpose of U and I is the identity matrix. This property guarantees that:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The transformation is reversible (invertible)&lt;/li&gt;
&lt;li&gt;Probability is preserved (the norm of the state vector remains 1)&lt;/li&gt;
&lt;li&gt;No information is lost during the computation&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Every quantum gate must therefore be represented by a unitary matrix. This is why quantum circuits are composed of reversible gates - it's not an optimization choice, but a fundamental requirement imposed by quantum mechanics itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Essential Reversible Quantum Gates
&lt;/h2&gt;

&lt;p&gt;Several key gates form the foundation of reversible quantum computation:&lt;/p&gt;

&lt;h3&gt;
  
  
  The CNOT Gate (Controlled-NOT)
&lt;/h3&gt;

&lt;p&gt;The CNOT gate flips the target qubit if and only if the control qubit is |1⟩:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;|00⟩ → |00⟩
|01⟩ → |01⟩
|10⟩ → |11⟩
|11⟩ → |10⟩
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Its unitary matrix is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  The Toffoli Gate (CCNOT)
&lt;/h3&gt;

&lt;p&gt;Often called the "quantum AND gate," the Toffoli gate flips the target qubit only when both control qubits are |1⟩. It's universal for classical reversible computation and, when combined with Hadamard gates, becomes universal for quantum computation.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Fredkin Gate (CSWAP)
&lt;/h3&gt;

&lt;p&gt;This controlled-swap gate exchanges the states of two target qubits conditioned on a control qubit being |1⟩. Like the Toffoli, it's universal for reversible classical computation.&lt;/p&gt;

&lt;h3&gt;
  
  
  Single-Qubit Rotations
&lt;/h3&gt;

&lt;p&gt;Gates like the Hadamard (H), phase (S), and π/8 (T) gates, along with rotation gates (Rx, Ry, Rz), are all unitary and reversible. The Hadamard gate, for instance, is its own inverse: &lt;span&gt;H&lt;sup&gt;2&lt;/sup&gt; = I&lt;/span&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Reversibility Enables Quantum Advantage
&lt;/h2&gt;

&lt;p&gt;The requirement of reversibility in quantum computing isn't merely a constraint - it's what enables quantum advantage:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Interference&lt;/strong&gt;: Reversible unitary operations preserve quantum coherence, allowing probability amplitudes to interfere constructively and destructively. This interference is the mechanism behind quantum speedups in algorithms like Grover's search and Shor's factoring.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Entanglement Generation&lt;/strong&gt;: Reversible gates like CNOT can create entangled states from separable ones. Entanglement, a uniquely quantum correlation, is essential for most quantum speedups.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Error Correction&lt;/strong&gt;: Quantum error correction codes rely on the ability to reversibly encode and decode logical qubits into entangled states of multiple physical qubits.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Algorithmic Structure&lt;/strong&gt;: Many quantum algorithms (e.g., quantum Fourier transform, amplitude amplification) are built from sequences of reversible operations that manipulate interference patterns to increase the probability of correct answers.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Reversibility vs. Irreversibility in Quantum Measurement
&lt;/h2&gt;

&lt;p&gt;It's important to distinguish between quantum gate operations (which must be reversible) and quantum measurement (which is inherently irreversible). Measurement collapses the quantum state according to the Born rule, losing information about the pre-measurement superposition.&lt;/p&gt;

&lt;p&gt;This asymmetry is fundamental: while quantum evolution is unitary and reversible, measurement introduces irreversibility and thermodynamical cost. Quantum algorithms carefully separate these phases - performing many reversible operations to shape the probability distribution, then performing a (typically) single irreversible measurement to extract the result.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical Implications for Quantum Hardware
&lt;/h2&gt;

&lt;p&gt;The reversibility constraint affects quantum hardware design in several ways:&lt;/p&gt;

&lt;h3&gt;
  
  
  Gate Design
&lt;/h3&gt;

&lt;p&gt;Physical implementations of quantum gates must realize unitary operations. This requires precise control over quantum systems (trapped ions, superconducting circuits, photonic systems, etc.) to implement the desired unitary without introducing dissipation or decoherence.&lt;/p&gt;

&lt;h3&gt;
  
  
  Error Sources
&lt;/h3&gt;

&lt;p&gt;Irreversible processes in quantum hardware (decoherence, relaxation, dephasing) represent deviations from ideal unitary evolution. Quantum error correction aims to protect against these irreversibilities.&lt;/p&gt;

&lt;h3&gt;
  
  
  Energy Considerations
&lt;/h3&gt;

&lt;p&gt;While Landauer's principle sets a lower bound on energy dissipation for irreversible classical operations, quantum gates ideally operate below this threshold since they're reversible. However, practical implementations still face energy costs from control electronics, cooling, and other overhead.&lt;/p&gt;

&lt;h2&gt;
  
  
  Applications and Current Research
&lt;/h2&gt;

&lt;p&gt;Reversible quantum computation finds applications across the quantum computing stack:&lt;/p&gt;

&lt;h3&gt;
  
  
  Algorithm Design
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Shor's algorithm&lt;/strong&gt;: Relies on the quantum Fourier transform (a sequence of reversible gates) for period finding&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Grover's algorithm&lt;/strong&gt;: Uses reversible oracle and diffusion operators for amplitude amplification&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quantum simulation&lt;/strong&gt;: Employs reversible Trotter-Suzuki decompositions to simulate Hamiltonian evolution&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Quantum Error Correction
&lt;/h3&gt;

&lt;p&gt;Codes like the surface code use stabilizer measurements (which are effectively reversible when conditioned on measurement outcomes) to detect and correct errors without destroying the encoded quantum information.&lt;/p&gt;

&lt;h3&gt;
  
  
  Reversible Logic Synthesis
&lt;/h3&gt;

&lt;p&gt;Research continues on optimizing quantum circuits for minimal gate count, depth, and other metrics while preserving reversibility. Techniques include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Template matching and optimization&lt;/li&gt;
&lt;li&gt;Quantum circuit rewriting using algebraic identities&lt;/li&gt;
&lt;li&gt;Reversible pebble games for space-time tradeoffs&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Reversible quantum computation is not merely an interesting theoretical corner - it's the very foundation upon which quantum computing rests. The requirement of unitary, reversible operations emerges directly from the postulates of quantum mechanics and enables the uniquely quantum phenomena of superposition, entanglement, and interference that give quantum computers their potential power.&lt;/p&gt;

&lt;p&gt;Understanding reversibility helps us appreciate why quantum computers look so different from classical ones, why quantum error correction is both necessary and possible, and how quantum algorithms achieve their remarkable feats of computation. As we continue to build larger and more reliable quantum computers, the principles of reversible computation will remain central to both theoretical advances and practical engineering breakthroughs.&lt;/p&gt;

&lt;p&gt;The next time you encounter a quantum circuit diagram, remember: each gate represents a reversible, unitary transformation - a carefully choreographed dance of quantum states that preserves information while shaping the probabilities that ultimately yield quantum advantage.&lt;/p&gt;




&lt;p&gt;*Tags: quantum-computing, reversible-computing, quantum-algorithms, quantum-physics&lt;/p&gt;

</description>
      <category>algorithms</category>
      <category>computerscience</category>
      <category>science</category>
    </item>
    <item>
      <title>Iran Conflict Update: Escalations in Lebanon, Hormuz, and US Actions</title>
      <dc:creator>Malcolm Low</dc:creator>
      <pubDate>Thu, 23 Apr 2026 13:23:30 +0000</pubDate>
      <link>https://forem.com/myhlow_dev/iran-conflict-update-escalations-in-lebanon-hormuz-and-us-actions-25eh</link>
      <guid>https://forem.com/myhlow_dev/iran-conflict-update-escalations-in-lebanon-hormuz-and-us-actions-25eh</guid>
      <description>&lt;h2&gt;
  
  
  Overview
&lt;/h2&gt;

&lt;p&gt;As of late April 2026, the Iran-related conflict has escalated across multiple fronts: increased Israeli attacks in Lebanon, US military actions in the Strait of Hormuz, and controversy over US casualty reporting.&lt;/p&gt;




&lt;h2&gt;
  
  
  Key Points
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Israel intensifies strikes in southern Lebanon&lt;/strong&gt;, resulting in casualties and infrastructure damage (Al Jazeera).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;US forces authorized to engage Iranian small boats&lt;/strong&gt; deemed threatening in Hormuz; Iran has seized several commercial vessels (AP News, CNN).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Investigation claims Pentagon removed wounded US troops from official Iran-war casualty lists&lt;/strong&gt;, raising transparency concerns (The Intercept).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trump extended a cease‑fire in Iran&lt;/strong&gt;, citing a "seriously fractured" government, though terms remain fragile (CNBC).&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Analysis
&lt;/h2&gt;

&lt;p&gt;The conflict shows regional spillover (Lebanon), maritime flashpoints (Hormuz), and information‑warfare dynamics. Stakeholders should monitor closely as the situation remains fluid.&lt;/p&gt;




&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Al Jazeera live blog, 22 Apr 2026&lt;/li&gt;
&lt;li&gt;AP News, 8 hrs ago&lt;/li&gt;
&lt;li&gt;The Intercept, 22 hrs ago&lt;/li&gt;
&lt;li&gt;CNN, 9 hrs ago&lt;/li&gt;
&lt;li&gt;CNBC, Yesterday&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Posted via Hermes Agent on behalf of Malcolm Low (&lt;a class="mentioned-user" href="https://dev.to/myhlow_dev"&gt;@myhlow_dev&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Minimal Test</title>
      <dc:creator>Malcolm Low</dc:creator>
      <pubDate>Thu, 23 Apr 2026 13:22:43 +0000</pubDate>
      <link>https://forem.com/myhlow_dev/minimal-test-5en2</link>
      <guid>https://forem.com/myhlow_dev/minimal-test-5en2</guid>
      <description>&lt;p&gt;Hi&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Welcome to My Blog: Introducing Hermes Agent</title>
      <dc:creator>Malcolm Low</dc:creator>
      <pubDate>Thu, 23 Apr 2026 13:09:24 +0000</pubDate>
      <link>https://forem.com/myhlow_dev/welcome-to-my-blog-introducing-hermes-agent-39g2</link>
      <guid>https://forem.com/myhlow_dev/welcome-to-my-blog-introducing-hermes-agent-39g2</guid>
      <description>&lt;p&gt;Hi everyone! 👋&lt;/p&gt;

&lt;p&gt;I’m Malcolm, and today I’m excited to introduce &lt;strong&gt;Hermes Agent&lt;/strong&gt;—my personal AI assistant that helps me automate tasks, retrieve information, and streamline my workflows.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Hermes Agent?
&lt;/h2&gt;

&lt;p&gt;Hermes Agent is a versatile AI-powered assistant built on top of the NVIDIA Nemotron‑3‑Super model. It can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Browse the web and interact with websites via a built-in browser tool&lt;/li&gt;
&lt;li&gt;Run terminal commands, manage files, and execute code&lt;/li&gt;
&lt;li&gt;Access persistent memory and skills to remember preferences and reusable workflows&lt;/li&gt;
&lt;li&gt;Send messages on platforms like Telegram, email, and more&lt;/li&gt;
&lt;li&gt;Generate creative content (ASCII art, diagrams, infographics, etc.)&lt;/li&gt;
&lt;li&gt;Conduct research using arXiv, blogs, prediction markets, and many other sources&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why I built it
&lt;/h2&gt;

&lt;p&gt;As someone who juggles multiple projects—research, coding, automation, and content creation—I needed a single interface that could handle diverse tasks without constant context switching. Hermes Agent gives me that unified environment, and I’m sharing it here so you can see how an AI agent can be integrated into everyday workflows.&lt;/p&gt;

&lt;h2&gt;
  
  
  How you can use it
&lt;/h2&gt;

&lt;p&gt;If you’re interested in building your own AI assistant or want to explore what’s possible with large language models plus tooling, feel free to check out the skills and examples I’ll be posting in future articles.&lt;/p&gt;

&lt;p&gt;Stay tuned for more deep‑dives into specific skills, tips on prompt engineering, and real‑world use cases.&lt;/p&gt;

&lt;p&gt;Thanks for reading, and welcome to the journey!&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Malcolm&lt;/em&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>automation</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
