Jump to content
  • Quantum memristor: A memory-dependent computational unit


    Karlston

    • 486 views
    • 6 minutes
     Share


    • 486 views
    • 6 minutes

    Quantum memristor bridges conflicting quantum requirements in single device.

    Quantum computing has come on in leaps and bounds in the last few years. Indeed, once the big technology companies like IBM, Microsoft, and Google started showing an interest, I kind of stopped keeping track. Nevertheless, research on the basic elements of quantum computing continues and is, for me, more interesting than the engineering achievements of commercial labs (which are still absolutely necessary).

     

    In line with my interests, a group of researchers demonstrated the first quantum memristor recently. This may be a critical step in bringing a type of highly efficient neural network to the world of quantum computing without an eye-watering large number of quantum connections.

    Memristors and adding the quantum

    The concept of the memristor dates back to the 1970s, but, for a long time, it sat like a sock under your washing machine: forgotten and un-missed. The essential idea is that the current that flows through a memristor doesn’t just depend on the voltage that is applied across the terminals but also on the history of applied voltage. Physical implementations of memristors offer great promise for low-energy computing because they can be used to make energy-efficient memory.

     

    A quantum memristor, when considered in light of quantum information, is slightly more complicated. A qubit, which stores a single bit of quantum information in its quantum state, doesn’t necessarily have a well-defined bit value. Instead of being a logical one or logical zero, it may be in a quantum superposition state. The value of the qubit is only known when we measure it—a measurement always reveals either a one or a zero. The probability of obtaining a logical one (or zero) is governed by the properties of the quantum superposition. 

     

    The job of a quantum computer is to gently modify these probabilities through interactions with other quantum superposition states until the results are read out.

     

    Now, consider a memristor in this scheme. A memristor should modify the quantum state of a qubit based on the value of previous qubits. That means two things. First, the memristor has to preserve the quantum properties of a qubit (otherwise no further operations can be performed). Second, to set its own internal state, the memristor has to measure a qubit, which wipes out its properties. In some sense this means that the perfect quantum memristor cannot exist (for reference, there are theorists who are offended by the idea of the classical memristor, so this is not new territory).

    Splitting the difference

    Undeterred by this contradiction, researchers have managed to create a quantum memristor anyway. Let’s start with the core of the idea. Imagine you have an imperfect mirror. If you target the mirror with a single photon of light, the photon will either reflect off the mirror or be transmitted, with a probability that depends on how reflective the mirror is. Let's say you count the transmitted photons and use that number to change the reflectivity of the mirror. This effectively creates a memristor—but not a quantum memristor.

     

    To add quantum happiness, we have to modify the experiment slightly. We replace the light source with one that sends packets that either contain a single photon or no photon (a superposition state of one or zero photons). The packets that are reflected from the mirror preserve their superposition state and can be used for future computation, while those that are transmitted are measured to modify the reflectivity of the mirror. Now we have a full quantum memristor: The probability of a future qubit being reflected by the mirror is modified by the current qubit state.

     

    Implementing this in practice is a bit more complex, and the researchers used different photon properties than just the number of photons. However, the behavior (and the mathematical model) are the same, and the quantum memristor functioned as expected.

    Reservoir computing

    The researchers' experimental implementation was only for a single qubit. And, frankly, there isn’t a lot you can do with a single qubit. To demonstrate the possibilities of quantum memristors, the researchers turned to modeling, focusing their models on something called reservoir computing.

     

    Imagine that you want to recognize cats in pictures. An image might consist of a few million pixels, each 24 bits, while the information we want to extract can be represented by a single bit (1 = cat, 0 = no cat). To solve this problem with a neural network, you have to do a lot of training to establish the right connections within and between multiple layers of the network.

     

    In reservoir computing, the incoming data is placed in a high-dimensional space (the reservoir). The output is then a slice of this high-dimensional space (a slice is like taking a cross-section of a house: a 2D representation of a 3D object), which is passed on to the output layer, which recognizes it as indicating cat or no cat. The connections between the reservoir and the output layer need to be trained to produce an accurate answer, but this is considerably less intensive than training a traditional machine-learning or deep-learning model.

     

    The key is in the high-dimensional space, which is a random network of nonlinear computational elements that have a memory… which is pretty much what a memristor is. The calculation performed by the random network is also random (there is no training or specific design involved), but the calculation is identical for every input. As far as I can tell, reservoir computing is resource-intensive for classical computers but less so for quantum processing units (especially ones that have an intrinsic memory), which can provide a distinct advantage compared to traditional machine-learning models.

     

    The researchers modeled reservoir computing based on their quantum memristor. The model was, of course, limited in scale but still showed good performance on some traditional machine-learning tasks, like handwritten letter recognition.

    Specialization is the future?

    Back in the day, we had math coprocessors. But the drive was to integrate as many functions as possible into the CPU, which produced a generalized processing unit that was bad at nearly everything (but also good enough if you didn’t mind waiting). Graphics processing highlighted the limitations of that approach, as things flew once they were off-loaded from the CPU. Now, with the rise of machine learning, tensor processing units are being added to computers as separate units.

     

    Based on this trend, it may turn out that there is never a general-purpose quantum computer but that there are many different architectures, each great for solving specific types of problems. And, who knows, maybe quantum memristors will be a part of that. 

     

    Nature Communications, 2022, DOI: 10.1038/s41566-022-00973-5 (About DOIs)

     

     

    Quantum memristor: A memory-dependent computational unit


    User Feedback

    Recommended Comments

    There are no comments to display.



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...