<?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 Quandela Team on Medium]]></title>
        <description><![CDATA[Stories by Quandela Team on Medium]]></description>
        <link>https://medium.com/@quandelateam?source=rss-62c8f6215ecc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2KIR42IJvLb-N-ln0l9Liw.jpeg</url>
            <title>Stories by Quandela Team on Medium</title>
            <link>https://medium.com/@quandelateam?source=rss-62c8f6215ecc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 06:20:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@quandelateam/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[Perceval Tech note: Introducing “shots” in a linear optic quantum computing framework]]></title>
            <link>https://medium.com/quandela/perceval-tech-note-introducing-shots-in-a-linear-optic-quantum-computing-framework-95a3995b8660?source=rss-62c8f6215ecc------2</link>
            <guid isPermaLink="false">https://medium.com/p/95a3995b8660</guid>
            <category><![CDATA[quantum]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[quantum-computer]]></category>
            <category><![CDATA[quantum-software]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <dc:creator><![CDATA[Quandela Team]]></dc:creator>
            <pubDate>Tue, 05 Dec 2023 09:41:12 GMT</pubDate>
            <atom:updated>2024-01-05T14:11:11.600Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1lEw_Rh5f0eCoTFLEn_iHw.png" /><figcaption>Article by Raksha Singla</figcaption></figure><p>Quantum mechanics is intrinsically random. When a quantum state undergoes an evolution through a quantum process, the output state is a well-defined mathematical object, but we can only access it through measurements. Each measurement produces an output that belongs to a probability distribution that follows the Born rule. This could be seen as a bottleneck for a quantum developer compared to classical computation. But when quantum information is used cleverly, we can encode the results of our problem in a few measurement outcomes enabling solving challenging problems for classical computing (see Shor algorithm example for instance <a href="https://perceval.quandela.net/docs/notebooks/Shor_Implementation.html">here</a>) .</p><p>What do people call a shot in the context of quantum computing?</p><p>One “shot” represents one execution of a quantum circuit. <br>Given the probabilistic nature of the system, conducting multiple iterations of the system (obtaining many shots) is necessary to gather data for statistical analysis of the algorithm’s operation. The concept of “shots” is universally embraced by most quantum providers. But the precise implementation of “shots” and their management will vary among different frameworks as it depends on the specific characteristics of the hardware system.</p><h4><strong>How do we define shots at Quandela?</strong></h4><p>Our computing architecture works with linear optics. We send single photons in a quantum circuit composed of tunable linear optical elements which results in an operation optical elements forming the quantum circuit performing the processing action on states of photons (input source) acting as a qubit in the Fock space (for an explanation of the Fock space see <a href="https://medium.com/quandela/photonics-the-fast-lane-towards-useful-quantum-machine-learning-f3112f7221fc">here</a>). A photon-coincidence event — detection of at least 1 photon at the output — Detection of 1 or multiple photons by the detectors at the output defines a single execution of a quantum experiment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yE041LQ0n1SmbMR_CKUduQ.png" /><figcaption>Each time a photon in any output mode reaches a detector = SHOT</figcaption></figure><p>Our QPU sends single photons at a periodic rate into the chip implementing the circuit designed by the user. While these photons may undergo absorption at various points within the hardware. Nevertheless, whenever at least one photon is detected at the optical chip’s output (termed as a photon-coincidence event), it marks the end of a single execution and the measured output constitutes a data samplewe consider that the quantum circuit has been executed. Our shot count is thus defined as the number of photon-coincidence event during the computation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*amtrMbe51Kf85O71Tq7lcw.png" /></figure><p>A user may not necessarily want to sample single photon detections; they may specifically desire samples with a certain number “N” (&gt;1) of photon coincidences and request these as the output. In such cases, the system may need to be run with a number of shots exceeding the requested number of samples, as multiple photon coincidences are anticipated. Recognizing this user preference, we have incorporated a tool in Perceval to calculate estimate the necessary number of shots based on the user’s desired sample count. This tool conducts the estimation by considering the unitary of the implemented circuit, the input state, and the performance characteristics of the device.</p><h4><strong>How Shots will Revolutionise our User’s Experience?</strong></h4><p><strong><em>Access to Quantum State Distribution:</em></strong><br> In the light of the definition that characterises “Shots” as the output detected during each circuit execution, they offer direct access to the probability distribution of a quantum state.</p><p><strong><em>Predictable output rate:</em></strong><br>In a photonic system characterised by instantaneous gate applications and a complex input state preparation timing (see detail on demultiplexing <a href="https://medium.com/quandela/exploring-ascella-the-single-photon-quantum-computing-prototype-af92f9133428">here</a>), the time capture of shots clearly indicating the end of a single execution is exhibiting variability attributed to this input state time sequence, the actual configured circuit, and system transmittance factor. Working with shots guarantee a predictable output rate independent of these fluctuations.</p><p><strong><em>Simplified User Interactions:</em></strong><br>The incorporation of shots not only seeks to standardize user interactions with running algorithms on our Quantum Processing Unit (QPU) through our cloud services but also provides them with a more standardized parameter for understanding their resource needs. This enhancement contributes to a clearer and more consistent measure.</p><p><strong><em>Predictability for Time and Cost:</em></strong><br>-Shots, being highly predictable, offer the most reliable means to estimate the time and cost of running an algorithm.<br>-This stability in parameter counting results in fixed pricing, ensuring fairness to users and independence from the variability of the performance of the physical QPU device.</p><p>If you are interested to find out more about our technology, our solutions or job opportunities visit <a href="https://www.quandela.com/">quandela.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95a3995b8660" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quandela/perceval-tech-note-introducing-shots-in-a-linear-optic-quantum-computing-framework-95a3995b8660">Perceval Tech note: Introducing “shots” in a linear optic quantum computing framework</a> was originally published in <a href="https://medium.com/quandela">Quandela</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Budgeting with Qubits / Make the most of your photons]]></title>
            <link>https://medium.com/quandela/budgeting-with-qubits-make-the-most-of-your-photons-2519f06b5810?source=rss-62c8f6215ecc------2</link>
            <guid isPermaLink="false">https://medium.com/p/2519f06b5810</guid>
            <category><![CDATA[quantum-computer]]></category>
            <category><![CDATA[qubit]]></category>
            <category><![CDATA[quantum]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <category><![CDATA[photonics]]></category>
            <dc:creator><![CDATA[Quandela Team]]></dc:creator>
            <pubDate>Mon, 18 Sep 2023 14:39:38 GMT</pubDate>
            <atom:updated>2023-09-27T12:16:00.072Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y2gPXF8hrRCIvARBGk0MYA.png" /><figcaption>Article by Lucija Grba</figcaption></figure><p>Linear optical quantum computation uses photons as carriers of information (i.e. qubits) in an optical circuit with beam splitters and phase shifters that process this information. You can read more about how optical quantum computing works <a href="https://medium.com/quandela/how-to-do-computations-on-an-optical-quantum-computer-a0c579bebeb0">here</a>.</p><p>Let different outputs of an optical quantum circuit correspond to different spending models one can obtain with a specific number of photons corresponding to their limited budget. Naturally, the more spending models we have access to, the more options we have to choose from and therefore have a higher likelihood of making an optimal choice. If before we had the categories ‘food’ and ‘travelling’, we will surely benefit from branching out these categories into ‘groceries’, ‘fast food’, ‘restaurants’ and ‘flights’, ‘public transportation’ etc. While we may have given a high importance to the category ‘food’ before as it is essential to our survival, we can now identify that some categories like ‘fast food’ and ‘restaurants’ aren’t as essential as ‘groceries’ so we have a higher chance of making better choices with a limited budget.</p><p>For the creation of a good photon spending model, it’s important not only to know how many photons there are in a budget (entered the circuit) and where they were found in the end (on which output modes). It’s important to also quantify the photon expenses on each mode (how many photons are found in which output mode), so you have a better chance of reaching that photon distribution you’re looking for.</p><p>Are you looking for a way to do more complex computations with a limited photon budget but you find yourself not knowing your photon distribution at the end of your computation? Fear not, we have you covered! Keep reading to discover how to make the most of your photons with our new feature — pseudo photon number resolution (PPNR or pseudo PNR).</p><h4><strong>1. Why is PNR important?</strong></h4><p>The use of photons as quantum processing units has an advantage of satisfying 5 DiVincenzo conditions for building a quantum computer (remind yourself of these by reading this short <a href="https://medium.com/quandela/cooking-with-qubits-how-to-bake-a-quantum-computer-6e4034c6b141">article</a>). It also gives access to a truncated Fock space, that is larger than the qubit space. We measure this difference by the size of the Hilbert spaces that describe them mathematically. You can read more about the difference between these in one of our previous articles <a href="https://medium.com/quandela/photonics-the-fast-lane-towards-useful-quantum-machine-learning-f3112f7221fc">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/1*8QPQIYWN6S7iOvOM2vc8GQ.png" /><figcaption>Without PNR, we can only work within a Fock space truncated down to the same size as the qubit space size. The plot above demonstrates the power of PNR in enlarging the computational space size, even with maximum resolution of 2 photons.</figcaption></figure><p>In short, using the photonic Fock space gives us a scaling advantage. With the same number of photons, the Fock space is much larger than the qubit space, and therefore allows us to construct and work within a greater computational space. Essentially, we can do more with less, helping you make the most of your photons! This can be viewed as the expansion of the number of categories we consider for our photon spending model we talked about earlier.</p><p>We previously stated that we couldn’t count the number of photons in a single output mode with perfect accuracy, limiting our access to some states in the Fock space, i.e. a truncated Fock space. While perfect accuracy is still difficult to achieve, we are happy to share that we have made a great stride towards it!</p><p>Perceval users can now configure their modes, declaring them photon number resolving or not. This is an optional feature already introduced in our software and ready for use!</p><h4>2. PNR integration</h4><p>You’ve probably heard about microprocessors or classical processing units (CPUs). Think of them as the brains of a computer, processing and analysing information using classical operations. They are connected to other parts of the computer through pins, some of which have a predefined function (meaning that they can only perform one function, such as RESET pins) while others are configurable. These are called general purpose input/output (GPIO) and are much more useful.</p><p>An analogy of the same idea of configurable ports can be applied on optical devices in a quantum processing unit (QPU). A QPU differs from a CPU in the way its computations are performed, harnessing the power of physical behaviours occurring with quantum particles.</p><p>Photon detection works based on a grid — changing the position and number of photons found in each mode of the grid changes the state of the system (spending model considered). This is why having access to a PNR detector is imperative to achieving high fidelity. A single photon detector (SPD) would only be able to tell us whether it detected any photons at all (giving us the output 1) or none at all (outputting 0). You can visualise the difference between the capabilities of PNR and SPD below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ofRUy--lKtcBZ3r_V0TovQ.png" /><figcaption>PNR vs SPD</figcaption></figure><p>In simple terms, PNR detectors allow you to analyse your photon distribution better (as they have access to more spending models) so you naturally have a better chance of finding that distribution you’ve been dreaming of obtaining. Now you might be wondering: how is PNR achieved in a photonic quantum computer?</p><p>Our newest feature uses balanced beam splitters attached to the modes the user has declared PNR. Recall that a beam splitter is an optical device containing 2 input modes and 2 output modes. It controls the direction of the photons that pass through it. A balanced beam splitter gives a photon entered through either of the inputs a 50% chance of ending up in either of the outputs (the choice is random), as it can either reflect off the beam splitter or be transmitted through it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wXwWxOs-XTF5Hwffb3NCAw.png" /><figcaption>transmittance / reflection</figcaption></figure><p>Imagine a mode containing 2 photons connected to our PPNR detector. Reaching a balanced beam splitter, these photons will end up either taking the same route and will therefore be found in the same mode with a 50% probability, or they will each go their way and be found in separate modes with a 50% probability.</p><p><em>There are 4 different ways 2 photons might travel through a beam splitter, each equally likely to occur (each with 25% probability)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H54CtSD1nPilQd1mU1-rMA.png" /></figure><p><em>Case 1: Input 1 and input 2 were both reflected and came out the outputs 1 and 2 respectively.</em></p><p><em>Case 2: Input 1 was reflected and input 2 was transmitted so they both ended up in output 1.</em></p><p><em>Case 3: Input 1 was transmitted and input 2 was reflected so they both ended up in output 2.</em></p><p><em>Case 4: Input 1 and input 2 were both transmitted and came out the outputs 2 and 1 respectively.</em></p><p><em>Since photons are indistinguishable, we recognise that there’s a 50% probability of the photons splitting up and 50% probability of them ending up in the same mode.</em></p><p>We call this pseudo PNR because we obtain the photon distribution probabilistically and not deterministically. In simple terms, we do not have full control over whether a photon gets reflected or transmitted as this happens randomly, with a certain probability (50%).</p><p>We constructed a set-up that manipulates how our photons travel and gives us a good chance of counting 2 photons if they are travelling together in a single mode. An example of a non-pseudo PNR would be PNR that deterministically determines the number of photons in a mode by measuring the intensity of light. The more photons are found in a mode, the stronger their light will be. If we can deterministically measure the brightness, we are 100% confident in the photon count and this would be true PNR.</p><p>For now, PPNR can only be used on the first 3 modes of our QPU and its simulator, but this can also help us infer knowledge about other modes. You can test its performance for an up to 2-photon number resolution with 50% accuracy. The feature can easily be implemented in a single line of code, as shown in the picture below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*Znf2xbJxk6sToY84sDGLYw.png" /></figure><p>Stay tuned for future releases on more modes!</p><p>This is a great step forward, broadening the limits of what is possible to do in our framework and paving the way for some very exciting applications. In quantum machine learning, it allows us to work with more complex learning models as we are able to work in a larger computational space (Fock space). You can find a simple visual explanation for why that is the case <a href="https://medium.com/quandela/photonics-the-fast-lane-towards-useful-quantum-machine-learning-f3112f7221fc">here</a>. Furthermore, in quantum algorithms for classification (VQC), access to PNR allows the creation of a highly expressive ansatz, automatically increasing the complexity of the circuit without increasing the number of photons used. You can explore how and why we use VQC on our very own QPU Ascella <a href="https://medium.com/quandela/exploring-ascella-the-single-photon-quantum-computing-prototype-af92f9133428">here</a>.</p><p>So, what are you waiting for? Uncover the full potential of our new feature and make the most of your photons!</p><p>If you are interested to find out more about our technology, our solutions or job opportunities visit <a href="https://www.quandela.com/">quandela.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2519f06b5810" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quandela/budgeting-with-qubits-make-the-most-of-your-photons-2519f06b5810">Budgeting with Qubits / Make the most of your photons</a> was originally published in <a href="https://medium.com/quandela">Quandela</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Ascella, the Single-Photon Quantum Computing Prototype]]></title>
            <link>https://medium.com/quandela/exploring-ascella-the-single-photon-quantum-computing-prototype-af92f9133428?source=rss-62c8f6215ecc------2</link>
            <guid isPermaLink="false">https://medium.com/p/af92f9133428</guid>
            <category><![CDATA[photonics]]></category>
            <category><![CDATA[quantum]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <category><![CDATA[quantum-computer]]></category>
            <category><![CDATA[quantum-technologies]]></category>
            <dc:creator><![CDATA[Quandela Team]]></dc:creator>
            <pubDate>Tue, 04 Jul 2023 12:02:04 GMT</pubDate>
            <atom:updated>2023-07-04T12:02:04.487Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PFjBsVar3aZmwr9gsq789w.png" /><figcaption>Article by Ben Stott</figcaption></figure><p>Quantum computing is at the forefront of technology, with the potential to transform how we process information. This emerging field leverages quantum phenomena such as quantum superposition and entanglement to accomplish computational tasks at unprecedented speeds. Among the different strategies for achieving quantum computing, photonic quantum computing is a particularly bright star.</p><p>Photonic quantum computing uses light particles — photons — as the carrier quantum information. This approach has many benefits ; photons are stable, they have modest cooling requirements and they are scalable.</p><p>One method for encoding information in photonic quantum computing is ‘dual-rail encoding’. In dual rail encoding a pair of tracks form a qubit where the logical (1) is encoded in the photon traveling in the lower rail and the logical(0) is encoded in the photon traveling in the upper rail. This reliable encoding method is widely used in the photonic world. More details can be found <a href="https://medium.com/quandela/how-to-do-computations-on-an-optical-quantum-computer-a0c579bebeb0">here</a>.</p><p>In a significant leap forward in this field, we at Quandela have developed Ascella[1], <a href="https://arxiv.org/pdf/2306.00874v1.pdf">a general-purpose single-photon-based quantum computing platform</a>. Ascella is a quantum computer that uses a highly efficient quantum dot single photon source, which functions much like a miniature box that produces single photons on-demand which then go into its universal interferometer to perform the computation and subsequently are detected at the output for processing. More details about single photon sources <a href="https://medium.com/quandela/single-photon-sources-part-1-517d9c1a22bc">here</a>.</p><p>To compensate for hardware errors, Ascella uses a machine-learned transpilation process. Transpilation is the process of rewriting a given input circuit to match the topology of a specific quantum device. Additionally, it features a full software stack that enables remote control of the device, opening up opportunities for a range of computational tasks through logic gates or direct photonic operations.</p><p>At Quandela we have successfully demonstrated high-fidelity one-, two-, and three-qubit gates, implemented a complex quantum algorithm to calculate the ground-state energy of the hydrogen molecule and even developed a photon-based quantum neural network. Notably, Ascella achieved the generation of a unique type of quantum entanglement involving three photons — heralded 3-photon entanglement. This achievement is a critical milestone toward ‘measurement-based quantum computing’ a promising pathway to scale up quantum computers (<em>*)</em>.</p><p><em>(*) Measurement-Based Quantum Computing (MBQC) is a form of quantum computing where computation is performed through a sequence of single-qubit measurements on a pre-established, highly entangled state known as a cluster state. In this model, the process and outcome of computation are determined by the choice and order of measurements</em></p><p><strong>Diving Into Ascella’s Architecture SECTION 1</strong></p><p>At its core, <em>Ascella</em> is a unique piece of technology that uses light to perform complex calculations. Its hardware is made up of several key components. Firstly, there is the single-photon source which produces the photons on demand. This source emits photons into a fiber which then sends the photons on their journey through the system. The system contains a device called a demultiplexer, which is responsible for splitting the stream of photons into separate streams. So it feeds the chip 6 photons that arrive at the same time. Secondly there is the unitary matrix in the universal interferometer which determines the evolution of the photons and finally detectors (SNSPD) at the outputs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*PO_irSV06Ye0VoRuiuejag.png" /><figcaption><strong>FIG. 1: Architecture, performance and stability of Ascella.</strong></figcaption></figure><p>1.1 Peering into <em>Ascella</em>’s Operational Mechanism</p><p>Quantum interference is what enables <em>Ascella</em>’s operations. At the heart of the system is an integrated circuit, containing a multitude of voltage-controlled phase shifters and beamsplitters. This circuit can be programmed to perform a variety of tasks, transforming the photons’ states as they move through the circuit. These photons are then detected and recorded, creating the output data from <em>Ascella</em>.</p><p>1.2 Stability and Performance</p><p>Just like a well-oiled machine, <em>Ascella </em>needs to perform consistently over time. To ensure this, key performance metrics are monitored and the system undergoes automatic hourly optimizations. This commitment to performance maintenance allows <em>Ascella</em> to remain stable and high performing for weeks on end, an essential quality for any computing platform and especially for the demanding realm of quantum computing.</p><p>1.3 <em>Ascella</em>’s User Interface</p><p>Ease of use is another important aspect of <em>Ascella</em>’s design. Users can interact with <em>Ascella</em> remotely using the open-source Perceval framework. This allows users to send tasks, such as specifying a certain pattern for the photonic circuit or requesting a specific transformation on an input state, which could contain anywhere from one to six photons. The results are then sent back to the user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*mpvAitulKx7qmRwsCF0V-g.png" /><figcaption><strong>FIG. 2</strong>: From Perceval User to Ascella QPU. PC = Photonic circuit, GB = Gate based, U= Unitary, ɸ= Phase shifts, V= Voltages</figcaption></figure><p><em>Ascella</em> represents an exciting stride towards scalable quantum computing. It operates a record-breaking number of single photons on a chip and its robust capabilities combined with a user-friendly interface making it a promising player in the noisy intermediate-scale quantum (NISQ) computing era.</p><p><strong>Quantum Chemistry: <em>Ascella</em>’s Variational Quantum Eigensolver <br>SECTION 2</strong></p><p>Understanding the behavior of molecules is critical in fields like chemistry and medicine. However, simulating molecular behavior can be incredibly complex for classical computers, especially when it comes to quantum phenomena. <em>Ascella</em>, Quandela’s photonic quantum computer takes advantage of the Variational Quantum Eigensolver (VQE), a tool for quantum chemistry.</p><p>The VQE is a hybrid quantum-classical algorithm that can estimate the ground state energy of a molecule, providing insight into its lowest energy configuration. This ground state knowledge is crucial as it can help predict how a molecule will react in a chemical reaction, which in turn, can lead to new drug developments or more efficient materials for energy production. In our case the VQE algorithm was used on a H2 molecule with the following ansatz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EmA58C4OIkDssRq9-tCVoQ.png" /><figcaption><strong>FIG. 3:</strong> Ansatz circuit with 7 parameters controlling 7 parameterized rotations.</figcaption></figure><p>This is where the “variational” part of VQE comes in: it iteratively varies the parameters of the wavefunction to find the one that gives the lowest energy. This is done in a feedback loop, where the quantum computer calculates the expectation value, then a classical computer updates the parameters and directs the quantum system to recalculate based on these new parameters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*yOBaKZytZgpW3fqITljwYg.png" /><figcaption><strong>FIG. 4:</strong> Energy (Hartrees) vs iterations for VQE run on Ascella. We observe a convergence to the true theoretical value.</figcaption></figure><p>In practice, <em>Ascella</em>’s VQE consistently converges to the theoretical energy eigenvalue within 50 to 100 iterations, regardless of the initial random parameters or bond length. In tests, the algorithm achieved chemical accuracy — an error of only ±0.0016 Hartree, a unit of energy in the atomic scale — with a success probability of 93%. These significant improvements can be attributed to the high-quality single-photon sources and advanced control of the photonic chip.</p><p><strong><em>Ascella</em>’s Quantum Neural network/Variational quantum algorithm for classification: SECTION 3</strong></p><p>Quandela has successfully constructed and trained a quantum neural network (QNN) for a supervised learning classification task using our advanced quantum computing platform, <em>Ascella</em>. In designing our approach, we utilized a variational quantum algorithm (VQA) for constructing the QNN. Similar to classical neural networks, where interconnected neurons are represented by numerical weights and biases, a QNN consists of qubits manipulated by quantum gates. The parameters of these quantum gates, analogous to the weights and biases in classical networks, are adjusted during the learning process to minimise some cost function.</p><p>The VQA represents a hybrid quantum-classical strategy, where the quantum device prepares a quantum state dependent on a set of parameters, and the classical device estimates a value for that state.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*b7H0w8jz8lNluJ4MVCXr6w.png" /><figcaption><strong>FIG. 5: </strong>The trainable blocks parameterised by θ are depicted in blue. The data encoding block is in green. The model is computed by assigning λ parameters to the outputs at the detectors.</figcaption></figure><p>We developed our quantum algorithm with a photonic ansatz. This ansatz was designed directly on <em>Ascella</em> by using beam splitters and phase shifters. We then applied this methodology to the Iris dataset, which contains measurements such as petal and sepal sizes from different species of Iris flowers. The task was to predict the Iris species based on these measurements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*jpkhDkaBjFzDRV2WzA4LoQ.png" /><figcaption><strong>FIG. 6</strong>: Iris dataset samples</figcaption></figure><p>This experiment constitutes an application of a variational quantum classifier with single photons, a notable achievement. This process yielded an accuracy of 92% on the training set and an even higher 95% on the test set after about 15 iterations.</p><p>In summary, our represents an important step in quantum machine learning. By successfully training a QNN on a classic machine learning problem, we have demonstrated the potential for quantum computers to process complex data efficiently. This successful application of a variational quantum classifier with single photons heralds exciting possibilities for the future of quantum computing and machine learning.</p><p><strong>A quantum over classical computational task: Boson sampling SECTION 4</strong></p><p>In a step forward for our quantum computing approach, we have conducted an experiment in Boson Sampling with six single photons.</p><p>Let’s explain what this means, starting with Boson Sampling. Think of this as trying to predict how a bunch of photons (particles of light) will distribute themselves after passing through a complex network of mirrors and splitters. The classical version, a Galton board might help visualise this with a ball moving between pegs and creating like such.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/216/1*-tLHEw2cw2ljMsvmsUldzA.png" /><figcaption><strong>FIG. 7 :</strong> Galton board</figcaption></figure><p>However, the real quantum task is much more complex. Unlike balls on a Galton board, photons interfere with each other in a quantum mechanical way, leading to a highly complex probability distribution of the output states. Simulating this process with classical computers is incredibly difficult, but a quantum computer, mimicking the physical processes involved, can solve this problem naturally.</p><p>Our experiment involves performing Boson Sampling for a record number of six photons with a fully reconfigurable interferometer. An interferometer is a device used to split and recombine beams of light, creating an interference pattern that can be measured.</p><p>In the experiment, we measured the occurrences of photon coincidences (when multiple photons are detected at the same time) for up to six photons. We then compared the observed distribution of photon outputs to the ideal distribution predicted by our model.</p><p>This accomplishment is a significant stride and step forward for quantum computing, we have conducted an experiment in Boson Sampling with six single photons with high fidelity, demonstrating this quantum-over-classical computational task.</p><p><strong>Expanding <em>Ascella</em>’s Quantum Computing Capabilities SECTION 5</strong></p><p>We are pushing the boundaries of our quantum computing capabilities. As of now, we’ve achieved an operation speed that is quite impressive. And we believe this speed can be further improved by optimizing each component of our system.</p><p>One such component is the single-photon source, which essentially generates the tiny particles of light, or photons, that carry information in this system. Currently, it’s operating at about 55% efficiency<a href="#_edn1">[i]</a>. With advancements in technology, we believe that we can increase this efficiency by up to 96%. This means the platform will generate almost twice as many usable photons as it currently does, a significant increase in data processing potential.</p><p>Additionally, we have plans to increase the size of the interferometer on the chip we’re using. This mean the chip can process more information simultaneously, which means that we can run tests on larger molecules than H2 and more sophisticated algorithms in general.</p><p>An essential part of this exploration involves GHZ states. These are specific entangled configurations in a quantum system involving three or more particles. Creating and controlling these GHZ states is a significant milestone in quantum computing. It represents our growing ability to manipulate complex quantum entanglements involving multiple particles, a crucial aspect of measurement-based quantum computing (MBQC). Even more impressively, on the <em>Ascella</em> project we managed to generate these GHZ states predictably or in a “heralded” way. That means we could not only anticipate the creation of these states but also confirm when they occurred.</p><p>The successful implementation of these heralded entanglement schemes opens the door to fault-tolerant quantum computing. It’s an exciting time for quantum computing, and we’re thrilled to be at the forefront with <em>Ascella</em>!</p><p><em>References:</em></p><p><em>1. Nicolas Maring, Andreas Fyrillas, Mathias Pont, Edouard Ivanov, Petr Stepanov et al</em></p><p><em>A general-purpose single-photon-based quantum computing platform </em><a href="https://arxiv.org/abs/2306.00874"><em>https://arxiv.org/abs/2306.00874</em></a></p><p><a href="#_ednref1"><em>[i]</em></a><em> A single photon source that operates at 100% efficiency would emit a single photon each time it is triggered. At 55% efficiency it would emit a single photon each time it is triggered 55% of the time.</em></p><p>If you are interested to find out more about our technology, our solutions or job opportunities visit <a href="https://www.quandela.com/">quandela.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af92f9133428" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quandela/exploring-ascella-the-single-photon-quantum-computing-prototype-af92f9133428">Exploring Ascella, the Single-Photon Quantum Computing Prototype</a> was originally published in <a href="https://medium.com/quandela">Quandela</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quandela Tech Report: Certified Quantum Random Numbers on a Small Optical Chip]]></title>
            <link>https://medium.com/quandela/quandela-tech-report-certified-quantum-random-numbers-on-a-small-optical-chip-45a5d9c6b8e6?source=rss-62c8f6215ecc------2</link>
            <guid isPermaLink="false">https://medium.com/p/45a5d9c6b8e6</guid>
            <category><![CDATA[optics]]></category>
            <category><![CDATA[photonics]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <category><![CDATA[quantum-technologies]]></category>
            <category><![CDATA[quantum-computer]]></category>
            <dc:creator><![CDATA[Quandela Team]]></dc:creator>
            <pubDate>Fri, 09 Jun 2023 13:30:21 GMT</pubDate>
            <atom:updated>2023-06-09T13:56:56.054Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-rXxpxyguXXGuBAcyLgnCA.png" /><figcaption>Article by Jason Mueller, PhD</figcaption></figure><p><strong>Part 1: What is randomness?</strong></p><p>What is randomness? And how can we generate it? Both questions — the first mathematical, the second technological — have profound implications in many of today’s industries and our everyday lives.</p><p>Imagine that we wanted to make a random list of 0s and 1s. This list could be used to protect your medical records as a keyword, could ensure that a lottery is trustworthy, or could encrypt a digital letter to your long-lost half-step-brother-in-law. To make this list, maybe you use the classic coin-flip method: write down a 1 every time the coin lands heads-up and a 0 otherwise. Or maybe instead, you time the decay of the radioactive cesium that you stole from the lab. Is one of these methods better than the other; does it even matter? Yes, on both counts.</p><p>Let’s explore the principles of randomness together, and some new results from Quandela that generate certifiable randomness according to the laws of quantum mechanics.</p><p><strong>Part 2: Generating randomness</strong></p><p>We’ve already talked about two Random-Number Generators (RNGs), the coin flip and the radioactive cesium, both of which are examples of <em>true</em> RNGs. That is, they rely on unpredictable physical processes (or, rather, not-easily-predictable) to make their lists of 0s and 1s. But there are many kinds of RNGs, which you can see in Fig. 1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Se2XOUweFd5nSNRjaNXKxg.png" /><figcaption>Fig. 1: Various classes of random number generators discussed in this article.</figcaption></figure><p>The one programmers are probably most familiar with is pseudo-RNGs. Here, you give a random seed number to a mathematical algorithm, which uses that number to deterministically generate a longer list of numbers that look random. While this is a convenient way to generate random numbers, there is a big caveat: if someone ever gained access to your seed numbers, past or present, they could replicate all of your numbers for themselves!</p><p>Then you have true RNGs, of which there are two main kinds: classical and quantum. These are based on unpredictable physical processes. A simple example of a classical true RNG is the coin flip, but there are many more complex methods that are used in modern electronics, for example measuring thermal noise from a resistor. The Achille’s heel of classical true RNGs is that while the details of the generating process may be unknown, they are still in principle knowable. What are the implications of this? Well, if a bad guy wants to know your random numbers, they can always build a better model of your classical system for better predictions. Your classical RNG must therefore necessarily be complex.</p><p>Quantum true RNGs can do better. Rather than watching our stolen cesium beta-decay, we’ll take an example from quantum optics (see Fig. 2). Here, a train of single photons is shone onto a semi-transparent mirror, which has two outputs. Because quantum mechanics is inherently unpredictable, the single photon will randomly take one of these two paths, after which it can be measured by one of two detectors, which correspond to 0 or 1. This is good at first sight, but be careful: in an ideal world, where all of the photons really are single, the beam splitter doesn’t absorb any photons, and the detectors don’t have any noise or loss, then we really do get independent and identically distributed random numbers. But this is not an ideal world, and so we call this kind of quantum RNG <em>device-dependent</em> because we must trust the physical engineering of the RNG. However, quantum RNGs are still a step in the right direction because we do not have to complexify them like in the classical case.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YgC3PIHlJ2bokytx4uukzw.png" /><figcaption>Fig. 2: An example from quantum optics of true random number generation. Single photons are shone onto a semi-transparent mirror, and they will randomly go to detector 0 or 1.</figcaption></figure><p>Now, we wouldn’t have given the previous example a fancy name like <em>device-dependent quantum true random number generator</em> if there wasn’t also such a thing as device-<em>in</em>dependent quantum RNGs — the holy grail of RNGs. The latter devices can generate and validate their own random numbers: they are certifiably random, independent of the underlying hardware. But how can we make such a thing? We use <a href="https://medium.com/quandela/what-is-a-quantum-computer-c492ced25e81">entanglement</a>.</p><p>Essentially, if Alice and Bob share two entangled particles, and Alice measures her particle, then the state of Bob’s particle is instantly changed according to Alice’s measurement, no matter how far apart they are. This is a fundamentally quantum effect which cannot be described classically. But we have to be careful that Alice and Bob aren’t cheating. If Alice and Bob are physically too close, then we don’t know if they’re secretly sharing information to coordinate their measurements. When they’re sufficiently separated, we call this <em>nonlocality</em>.</p><p>So, if Alice and Bob create a pair of entangled particles, then randomly choose how to measure them, the outcomes of their measurements are quantum-certified random so long as satisfy the nonlocality condition (and a couple of other secondary conditions which are beyond the scope of this article; see Quandela’s <a href="https://arxiv.org/abs/2301.03536">recent publication</a> on quantum RNGs).</p><p>Because of nonlocality, these kinds of random-number experiments tend to be big so that the measurements are far, far apart. In a world which is both obsessed with small, scalable devices and also maximum security, how can one reconcile this paradox? This is exactly the problem that researchers at Quandela have solved.</p><p><strong>Part 3: Quandela’s contributions</strong></p><p>They ask:</p><p><em>‘How can we certify randomness generation in a device-independent way with a practical small-scale device, where [Alice and Bob could cheat thanks to communication] between the physical components of the device?’</em></p><p>Put another way, when you have a small device that might normally allow Alice and Bob to cheat by communicating information before the other one measures their particle, can you account for this local communication somehow to still generate certified random numbers? Quandela’s protocol measures the amount of information that an eavesdropper could potentially use to fake violation of locality, and then sets a bound on how well the device should perform if it is to still produce certified random numbers. The device also periodically tests itself to validate these numbers.</p><p>And not only has Quandela derived the theory, but they’ve also demonstrated it experimentally on a two-qubit photonic chip using Quandela’s patented single-photon quantum dot source, show in Fig. 3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y6rtOBxKI3bM4sFs3tU07A.png" /><figcaption>Fig. 3: Quandela’s two-qubit random number generator.</figcaption></figure><p>If this all sounds like a big deal, that’s because it is — the technical details are all found in the <a href="https://arxiv.org/abs/2301.03536">recent publication</a>, with a patent on its way!</p><p>This achievement represents a major step towards building real-world, useable quantum-certified <a href="https://www.youtube.com/watch?v=TpGkBk9sowM">random number generators</a>, one more tool in Quandela’s arsenal of quantum technologies.</p><p>If you are interested to find out more about our technology, our solutions, or job opportunities, visit <a href="https://www.quandela.com/">quandela.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45a5d9c6b8e6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quandela/quandela-tech-report-certified-quantum-random-numbers-on-a-small-optical-chip-45a5d9c6b8e6">Quandela Tech Report: Certified Quantum Random Numbers on a Small Optical Chip</a> was originally published in <a href="https://medium.com/quandela">Quandela</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Entangled-photon generators for fault tolerant photonic quantum computers]]></title>
            <link>https://medium.com/quandela/entangled-photon-generators-for-fault-tolerant-photonic-quantum-computers-57c109d364a5?source=rss-62c8f6215ecc------2</link>
            <guid isPermaLink="false">https://medium.com/p/57c109d364a5</guid>
            <category><![CDATA[entanglement]]></category>
            <category><![CDATA[photonics]]></category>
            <category><![CDATA[quantum-physics]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <category><![CDATA[quantum-computer]]></category>
            <dc:creator><![CDATA[Quandela Team]]></dc:creator>
            <pubDate>Fri, 14 Apr 2023 09:07:39 GMT</pubDate>
            <atom:updated>2023-04-14T11:04:29.007Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jayu-g0-hUzajxg5XLoRUA.png" /><figcaption>Article by Niccolo Somaschi &amp; Pascale Senellart</figcaption></figure><p>The scientific results just published in the new issue of the journal <a href="https://www.nature.com/articles/s41566-023-01186-0"><strong>Nature Photonics </strong></a>represents another “first” in the technological achievements of the quantum computing company <a href="http://www.quandela.com/">Quandela</a>, towards the development of photonic quantum computers.</p><p>Within a collaborative effort, several academic research groups (Pascale Senellart at C2N-CNRS, Sophia Economou at Virginia Tech (USA), Alexia Auffeves at CNRS Grenoble) and the teams in Quandela demonstrate the deterministic generation of a linear cluster state of entangled photons, with a semiconductor quantum dot photonic device.</p><p>This work reinforces the already strong bounds within the group of Pascale Senellart at C2N-CNRS and Quandela’s theory and experimental teams.</p><p><strong>A semiconductor approach for entangled qubits generation, building on a semiconductor artificial atom and a single spin control</strong>.</p><p>By entangling a spin embedded in a semiconductor quantum dot, and the photons emitted in a time sequence, the authors demonstrate two and three-partite entanglement with record efficiency with generation rate 100 times and 10 times higher than the previous state of the art across different technologies. This is also the first time (all platforms considered) that such high efficiency is combined with photon indistinguishability — a crucial feature for scaling toward 3D cluster states for fault tolerant quantum computing.</p><p>The protocol permits to convert one of the <a href="https://www.nature.com/articles/nphoton.2016.23">most efficient single-photon generators</a> into an entangled-photons weaving machine at the microscopic scale.</p><p><strong>From single photon quantum computing to cluster state-based quantum computing.</strong><br> The use of cluster states, graphs states and large ensembles of entangled qubits as resource for quantum computing does not represent a new idea.</p><p>Several theoretical approaches and protocols have been proposed since early 2000s (<a href="https://www.nature.com/articles/nphys1157">MBQC</a>, <a href="https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.115.020502">Ballistic QC</a>, <a href="https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.103.113602">Cluster state string</a>) making the approach, generalised as “Measurement based quantum computing”, as one of the most studied and most explored in terms of scalability for universal quantum computing.<br> It is in fact well assumed in the scientific community, as well as in the quantum computing corporate world, that the architecture based on the manipulation of large cluster state of entangled particle is among the most viable approaches for error corrected, large scale quantum computers — across all platforms.</p><p>In the past years, variations of such MBQC approach appeared in the roadmaps of large photonic based quantum computing companies (<a href="https://www.nature.com/articles/s41467-023-36493-1">Fusion BQC</a>, <a href="https://quantum-journal.org/papers/q-2021-02-04-392/">CV QC</a>), placing photonics among the most promising technologies for the quest of fault-tolerant quantum computers.</p><p>Nevertheless, generating photonic qubits, and especially, generating entanglement among them, represents an extremely challenging quest in the community.</p><p>Most of the research community as well as the above mentioned companies, implements traditional techniques, as spontaneous parametric down conversion and linear optical circuits, which are probabilistic processes in nature. This automatically leads to extremely costly technological resources and footprint, due to the need of heavy multiplexing of very large number of components on multiple large photonics chips.</p><p>Today Quandela reaches a major technical milestone in this framework, presenting the most efficient devices capable of generating cluster states of entangled photons on-demand with a single micrometer size, semiconductor device. This achievement builds on Quandela’s unique approach leveraging a single matter-based qubit, to overcome the scalability barrier of the photonic quantum computing platform.</p><p><strong>Semiconductor manufacturability for scalability</strong>.</p><p>The expertise in mastering the semiconductor technology at the core of the publication lies in more than 20 years’ experience within the research group of Pascale Senellart, C2N, and Quandela’s co-founders team.</p><p>Combined with the advances in the device manufacturability developed in Quandela, in terms of throughput, quality and reproducibility, we expect to improve the performance already in the coming months.</p><p>All these ingredients will permit to increase the coherence time of the single spin allowing for the generation of larger cluster states with dozen of photons with high multi-partite fidelity.</p><p>Within the quantum computing development, this class of qubit generators permits to initiate a new phase where manipulation of single photons, is replaced by the manipulation of entangled photons linear cluster states.<br> From it, protocols for manipulation and error correction will be implemented to combine the required ingredients for a resource efficient quantum computing architecture.</p><p>If you are interested to find out more about our technology, our solutions or job opportunities visit <a href="https://www.quandela.com/">quandela.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57c109d364a5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quandela/entangled-photon-generators-for-fault-tolerant-photonic-quantum-computers-57c109d364a5">Entangled-photon generators for fault tolerant photonic quantum computers</a> was originally published in <a href="https://medium.com/quandela">Quandela</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thanks for your feedback!]]></title>
            <link>https://medium.com/@quandelateam/thanks-for-your-feedback-60735c7c34b3?source=rss-62c8f6215ecc------2</link>
            <guid isPermaLink="false">https://medium.com/p/60735c7c34b3</guid>
            <dc:creator><![CDATA[Quandela Team]]></dc:creator>
            <pubDate>Mon, 30 Jan 2023 10:16:56 GMT</pubDate>
            <atom:updated>2023-01-30T10:16:56.066Z</atom:updated>
            <content:encoded><![CDATA[<p>Thanks for your feedback! We&#39;re so glad you enjoyed it. We worked really hard on making the experience as smooth and intuitive as possible, and we&#39;re excited to hear that you thought it was a good first step. We&#39;re always looking for ways to improve our solutions, so if there&#39;s anything else we can do to make your experience even better, please let us know!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60735c7c34b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Graph Problems with Single Photons and Linear Optics]]></title>
            <link>https://medium.com/quandela/exploring-graph-problems-with-single-photons-and-linear-optics-4f3d5848add8?source=rss-62c8f6215ecc------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f3d5848add8</guid>
            <category><![CDATA[quantum-computer]]></category>
            <category><![CDATA[single-photon]]></category>
            <category><![CDATA[linear-optics]]></category>
            <category><![CDATA[quantum-technologies]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <dc:creator><![CDATA[Quandela Team]]></dc:creator>
            <pubDate>Wed, 25 Jan 2023 15:07:33 GMT</pubDate>
            <atom:updated>2023-09-20T14:42:26.880Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lVB5XiMqqtLxjqgf3N6MLw.png" /><figcaption>Article by Filipa Carvalho, Rawad Mezher &amp; Shane Mansfield</figcaption></figure><p><strong>1 — Introduction (non-technical summary)</strong></p><p>The huge promise offered by quantum computers has led to a surge in theoretical and experimental research in quantum computing, with the goal of developing and optimising quantum hardware and software. Already, many small-scale quantum devices (known commonly as quantum processing units or QPUs) are now publicly available via cloud access worldwide. A few weeks ago, we were delighted to announce Quandela’s first QPU with cloud access — <a href="https://cloud.quandela.com/"><strong><em>Ascella</em></strong> </a>— a milestone achievement and the first of its kind in Europe.</p><p>We are working on developing both quantum hardware and software tailored to our technology. Our QPUs, including Ascella, consist of our extremely high-quality single-photon sources, coupled to linear optical components (or chips), and single photon detectors. We can in principle implement many algorithms on these QPUs, including variational algorithms, quantum machine learning and the usual qubit protocols. Check our Medium profile for more.</p><p>This post highlights our <a href="https://journals.aps.org/pra/abstract/10.1103/PhysRevA.108.032405"><strong>latest research</strong></a>: a new important use for our QPUs, namely solving graph problems. Graphs are extremely useful mathematical objects, with applications in fields such as Chemistry, Biochemistry, Computer Science, Finance and Engineering, among many others. Our research shows how to efficiently <em>encode</em> graphs (and more!) into linear optical circuits, in practice by choosing the appropriate QPU parameters, and how to then use the output statistics of our QPUs to solve various graph problems, which we detail below in the technical section. Furthermore, we also show how to <em>accelerate</em> solving these problems using some pre-processing, thereby bringing closer the prospect of achieving a <em>practical quantum advantage</em> for solving graph problems by using our QPUs.</p><p><strong>2 — Methods and results</strong></p><p>We now take a deeper/more technical look into the workings of our technique. The probability of observing any particular outcome in a linear optical interferometer (say =|<em>n</em>⟩=|<em>n</em>₁,…,<em>n</em>ₘ⟩) will depend on the configuration of the interferometer (which can be described by a unitary matrix <em>U</em>) and the input state ( |<em>nᵢₙ</em>⟩=|<em>n₁,ᵢₙ , … , nₘ,ᵢₙ</em>⟩ where <em>nᵢₙ</em> is the number of photons in the <em>iᵗʰ</em> mode in the following way [1]:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*0l8wlGqeC9b0r_W4JcoSfg.png" /></figure><p>(<em>Unᵢₙ,n </em>is a unitary matrix obtained by modifying <em>U</em> based on the input and output configurations and <em>nᵢₙ.) </em>Hence, the applications for such a device relate closely to a matrix characteristic known as the permanent (<em>Per</em>) — a mathematical function that is classically hard to compute. One of the key techniques we use to make matrix problems solvable using our quantum devices is mapping the solution of a given matrix problem onto a problem involving permanents.</p><p><strong>2.1 — Encoding, computing permanental polynomials and number of perfect matchings</strong></p><p>We begin by encoding matrices into our device. Graphs (and many other important structures) can be represented by a matrix. To encode a bounded matrix <em>A</em>, if we consider the singular value decomposition obtaining <em>A = </em>UDV* where <em>D</em> is a diagonal matrix of singular values and take s the largest singular value of <em>A </em>(maximum value of <em>D</em>), we can scale down this matrix into <em>Aₛ = A/s </em>so that we obtain a matrix that has a spectral norm ||<em>Aₛ</em>||≤1. From here, we can make use of the unitary dilation theorem [2] which shows that we can encode <em>Aₛ</em> onto a matrix which is unitary and has the following block form</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*1VWwmFt1o17xYm7RADDlXw.png" /></figure><p>With the appropriate input and output state post-selection, we can estimate the permanent of <em>A</em> by using a setup similar to that of the figure below (see our paper [6] for details). You can test this estimation for yourself using <strong><em>Perceval</em></strong>, an open software tool developed by Quandela to simulate and run code on a photonic QPU [3].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h2wseHytjhDsGmtigQALmw.png" /><figcaption>Figure 1 — Setup to estimate a matrix permanent composed of single photon sources (SPS), a linear optical circuit U encoding A, and single photon detectors.</figcaption></figure><p><strong>2.2 — The <em>k</em>-densest subgraph problem</strong></p><p>The densest subgraph problem is the following: given a graph of <em>n</em> nodes, find the subgraph of <em>k</em> nodes which has the highest density. Considering an adjacency matrix<em> A </em>and the cardinality of nodes |<em>V</em>| and edges |<em>E</em>|, we proved in [6] that (when |<em>V</em>| and |<em>E</em>| are even) the permanent is upper bounded by a function<em> Per(A)≤f(|V|,|E|) </em>where <em>f(|V|,|E|) </em>is a monotonically increasing function with the number of edges.</p><p>The connection to the densest subgraph problem is natural since the density of a graph defined by the nodes <em>v</em> is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*hMOU38nDVMaGDIAm4MtCHg.png" /></figure><p>where <em>Eᵥ </em>is the number of edges in that subgraph connecting the nodes <em>v</em> meaning that the density is proportional to the number of edges.</p><p>Let <em>n</em> be the number of vertices of a graph G. We are interested in identifying the densest subgraph of G of size<em> k≤n. </em>The main steps of our algorithm [6] to compute this are the following:</p><ul><li>Use a classical algorithm [5] which finds a subset <em>L </em>of size &lt;<em>k </em>of the densest subgraph of G. Then use<em> L</em> as a <em>seed</em> for our algorithm, by constructing a matrix B of all possible subgraphs of size<em> k </em>containing <em>L</em>. In general, this number of possible subgraphs is exponential however, given the classical seed, this number can be reduced to polynomial in some cases [6]<strong>.</strong></li><li>After constructing the matrix with these possibilities, we choose the appropriate input state and the following post-selection rules:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lYTh2C9eiFrEx0pN2aNcKA.png" /></figure><p>For clarification, check the figure below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*frMbdldplW2xCH8wJhckvg.png" /></figure><p>Each post-selected output computes the permanent of a subgraph, and by the connection established above it follows that the densest one will be outputted the most often, since it has highest permanent value.</p><p>We tested our theory and obtained some results (you can find and reproduce them on <a href="https://github.com/Quandela/matrix-encoding-problems">this</a> link). Here we present an example. Given a graph <em>G </em>represented in the next figure with node labels, we searched for denser subgraphs of size 3 with minimum number of samples from the linear optical device set to 200.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/1*qonvaJ6g886oZrDVg4jSuw.png" /></figure><p>We tested for different seeds that the classical algorithm might have provided.</p><ol><li>For [2], 23420000 samples were generated; 200 remained from post selection, all attributed to node group [2,4,5].</li><li>For [4], 21120000 samples were generated; 200 remained from post selection which were distributed over node groups [4,3,5] and [4,2,5] with 115 and 85 samples respectively.</li></ol><p>Our algorithm outputted the expected subgraphs from the figure and when it had two equally suited options it correctly outputted both.</p><p><strong>2.3 — Graph isomorphism</strong></p><p>In our paper [6]<strong>, </strong>we prove that computing the permanent of all possible submatrices of the adjacency matrices of two graphs <em>G₁</em> and <em>G₂ </em>is <em>necessary and sufficient</em> to show that they are isomorphic; however, this is not practical as the number of these computations skyrockets with the number of vertices. One alternative is to import powerful permanent-related tools from the field of graph theory to distinguish non-isomorphic graphs. A powerful distinguisher of non-isomorphic graphs is the Laplacian [4]. Starting with an estimation using the permanental polynomials <em>P(x)</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*rBv0T8Ms-h636Mf741QPfg.png" /></figure><p>the Laplacian of a graph is given by <em>L(G):= D(G) — A(G) </em>where <em>A(G) </em>is the graph’s adjacency matrix and <em>D(G) </em>is a diagonal matrix where each entry stands for the degree of the corresponding node. Here, in this Laplacian method <em>L(G) </em>replaces<em> A </em>in<em> P(x).</em></p><p>Given two graphs<em> G₁</em> and <em>G₂</em>, the steps for graph isomorphism are the following:</p><ol><li>Encode <em>xIₙₓₙ — L(G) </em>for both <em>G₁</em> and <em>G₂ </em>into unitaries <em>U₁</em> and <em>U₂ </em>of <em>2n</em> modes.</li><li>Compute an estimate of <em>Per (xIₙₓₙ — L(G)) </em>for each graph by using the configuration before: passing photons on the first modes of <em>U₁</em> and <em>U₂ </em>and post-selecting on |n⟩= |<em>nᵢₙ</em>⟩.</li><li>Repeat steps 1 and 2 for different values of <em>x</em>. Declare that they are isomorphic (True) if the estimations are close (up to an error).</li></ol><p>We tested our algorithm comparing random graphs with similar characteristics (same number of nodes and same edge connectivity) and obtained results as summarised in the pie chart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*mUxrMhCOUrLSF6QfpU7Pxw.png" /></figure><p>This means 75% of the time, all three outputted the same, 93% of the time we got the right result using the Laplacian method, 77% of the time we had a correct answer with just the Permanental, and 5% of the time we did not obtain a correct answer by either of the methods.</p><p><strong>2.3 — Boosting probabilities</strong></p><p>Last but not least, boosting our results. Not only might post-selection reject a considerable portion of our samples, but the advantage to estimate permanents over classical approaches can be hard to verify. To soften this, to have a better run time and increase the prospects of seeing a practical quantum advantage, we studied how to better approximate the permanent with less samples. Put simply, we hack the adjacency matrix by multiplying the row corresponding to the least connected node by a number and encode the new matrix into the device; this might allow us to increase the probability, depending on the connectivity.</p><p>In the following table, we give some of the results over different w for the graph on the left.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N6KGoj6XswByXJKCx_RCCQ.png" /></figure><p><strong>3 — Conclusion and final remarks</strong></p><p>The applications and algorithms we developed were focused on graph problems, but the interesting fact is that our encoding method allows the encoding of any bounded matrix.</p><p>An important factor is the complexity of these algorithms. To estimate permanents by sampling, one obtains a polynomially close estimate of the permanent using a polynomial (efficient) number of samples [6]. This rules out the prospect that our algorithms present an exponential quantum-over-classical advantage, as polynomial-time classical algorithms like the Gurvits algorithm [7] can also approximate permanents to polynomial precision. However, it leaves open the possibility that our techniques might present a <em>practical</em> advantage over their classical counterparts.</p><p>A final note is that when comparing quantum algorithms to classical ones, a factor which is becoming increasingly relevant is their energy cost. In terms of resources, Quandela’s <em>Ascella</em> QPU (12 modes and 6 photons) has the potential to be more energy efficient when compared to its classical counterparts.</p><p><em>References</em></p><p><em>1. S. Aaronson and A. Arkhipov, The computational complexity of linear optics (2011) pp. 333–342</em></p><p><em>2. P. R. Halmos, Normal dilations and extensions of operators, Summa Brasil. Math 2, 134 (1950)</em></p><p><em>3. N. Heurtel, A. Fyrillas, et al., Perceval: A software platform for discrete variable photonic quantum computing, arXiv preprint arXiv:2204.00602 (2022)</em></p><p><em>4. R. Merris, K. R. Rebman, and W. Watkins, Permanental polynomials of graphs, Linear Algebra and Its Applications 38, 273 (1981)</em></p><p><em>5. Nicolas Bourgeois, Aristotelis Giannakos, Giorgio Lucarelli, Ioannis Milis, Vangelis Paschos. Exact and approximation algorithms for densest k-subgraph. 2012. ⟨hal-00874586⟩</em></p><p><em>6. R. Mezher, A. Carvalho, S. Mansfield, arXiv:2301.09594v1</em></p><p><em>7. L. Gurvits, in International Symposium on Mathematical Foundations of Computer Science (Springer, 2005) pp. 447–458.</em></p><p>If you are interested to find out more about our technology, our solutions or job opportunities visit <a href="https://www.quandela.com/">quandela.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f3d5848add8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quandela/exploring-graph-problems-with-single-photons-and-linear-optics-4f3d5848add8">Exploring Graph Problems with Single Photons and Linear Optics</a> was originally published in <a href="https://medium.com/quandela">Quandela</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Perceval Tech Note: Strong Linear Optical Simulation (SLOS)]]></title>
            <link>https://medium.com/quandela/perceval-tech-note-strong-linear-optical-simulation-slos-3033cd927b88?source=rss-62c8f6215ecc------2</link>
            <guid isPermaLink="false">https://medium.com/p/3033cd927b88</guid>
            <dc:creator><![CDATA[Quandela Team]]></dc:creator>
            <pubDate>Tue, 29 Nov 2022 12:19:36 GMT</pubDate>
            <atom:updated>2023-03-21T12:47:50.748Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*yYWL_jtr7aGokkuUa8jsJw.png" /><figcaption>Article by Jason Mueller</figcaption></figure><h4>Part 1: Quantum simulations</h4><p>Quantum computing is a computational paradigm which encodes information into quantum systems called qubits. These qubits are manipulated using superposition and entanglement to achieve a computational advantage over classical computers. In particular, photonic qubits are one of the most promising quantum-computer technologies [1], with billions invested across the world. As the field continues to evolve quickly, the need to efficiently simulate the calculations performed by quantum circuits becomes evermore pressing.</p><p>Perceval, the software layer of Quandela’s full-stack quantum computer, allows you to simulate quantum circuits, their outputs, and to write and run quantum algorithms. The simulator includes several backends, each tailored to the different kinds of algorithms you may be interested in running [2]. Here, we’ll be learning about Perceval’s Strong Linear Optical Simulation (SLOS) backend, which allows us to time-efficiently simulate the output distribution of linear optical quantum circuits, with applications ranging from quantum machine learning to graph optimization [3].</p><h4>Part 2: Why SLOS?</h4><p>First, what is the difference between a <em>strong</em> and a <em>weak</em> simulation? Consider the simple example of rolling a die, where we want to know the probability of its landing on each face. There are two options: roll the die many times and write down the number of times each face turns up, or write down the precise probability that each face appears based on physical knowledge we have about the die (e.g. number of faces, shape of die). The first case of rolling the die many times is called a <em>weak</em> simulation, because we’re learning about a probability distribution by sampling from it, one trial at a time. The second case of writing down the precise probabilities is called <em>strong</em> simulation, because we have fully characterized the behavior of the die without sampling.</p><p>Now imagine that instead of a die, you had a photonic circuit like the one shown in Fig. 1, which includes indistinguishable photons through modes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CEjMLUxG86oLKIujoOblDw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SnWLiJusRFy-GEJeEMp--Q.png" /><figcaption>Figure 1</figcaption></figure><p>The output distribution is proportional to the permanent:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*A8s2vAGQtzRIZjyocml5qg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Is1HORmj6WnxL_45hkzCPg.png" /></figure><p>Using SLOS, we can improve on the complexity of brute-force algorithms, which calculate each output state individually, by an exponential factor of <em>2ⁿ. </em>SLOS computes several inputs and outputs directly, with the time-scaling 𝒪(<em>nMₙ</em>), where <em>Mₙ = C</em>(<em>n+m-1, m-1</em>) is the binomial coefficient.</p><h4>Part 3: SLOS_full and SLOS_gen</h4><p>Perceval includes two versions of SLOS: SLOS_full, which iteratively calculates the full output distribution, and SLOS_gen, which recursively calculates the output distribution given some constraints. The mathematical key to both of these algorithms is understanding how we can efficiently decompose</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DBIQV6krXFHvoy6OYnDGoA.png" /></figure><p>where <em>pₙ </em>is the position of each photon that is created. For <em>k &lt; n-1</em> photons, we can add one more photon to our state as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*AaxGVdOUQijQhKmdEWijNQ.png" /></figure><p>Finally, we concatenate this product:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*90XxZC0IFF7Zm0hzIJZ8TQ.png" /></figure><p>More simply, SLOS_full calculates and stores the coefficients of a state with photons, then extrapolates to the next state of photons — the specific algorithm is given in [3]. The complexity of SLOS_full is that given a state with photons, you have ways to put in the photon:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/351/1*-p_6BfWoNB2Mj394YbTwbA.png" /></figure><p>which is linear in the number of states!</p><p>But suppose you’re interested in only a few of the output modes, common for algorithms which rely on heralding or post-selection. SLOS_gen is the solution. This version of SLOS introduces a <em>mask</em> to filter the states at each step of the computation: we compute the coefficients of a full <em>k</em>-photon state, then we apply the mask so that we obtain only the <em>k-1</em> -photon states that we’re interested in, then we compute the now-reduced <em>k</em>-photon coefficients and continue. While this algorithm does introduce a memory overhead because it is recursive, the average complexity still scales as 𝒪(<em>n2ⁿ</em>).</p><h4>Part 4: Complexity vs. Memory</h4><p>SLOS exponentially outperforms other state-of-the-art approaches, with the tradeoff being that it requires a large memory. The memory requirement of SLOS_full is 𝒪(<em>Mₙ</em>); for <em>n = m = 12</em>, <em>M₁₂ = 1.35 × 10⁶.</em></p><p>The memory complexity of SLOS_gen is difficult to calculate due to state redundancy, but for a single input and output, there are <em>C</em>(<em>n, n/2) </em>coefficients to be stored. To visualize these memory constraints for typical computers, we show the maximum state size allowed for a given memory in Fig. 2 — the maximum number of photons and modes that a laptop can practically calculate is ~12.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*hdANuyQBv0RX1y2HZS6GMg.png" /><figcaption>Fig. 2. The maximum-achievable performance of SLOS running on a personal laptop (blue; 8Gb memory), and 256Gb (orange), 4Tb (red), and 1Pb (black). Image reproduced from [3].</figcaption></figure><h4>Part 5: SLOS in action!</h4><p>Let’s see how SLOS performs on a typical quantum machine learning application, where we want to train a quantum circuit to approximate the solution of a differential equation [7]. This requires repeatedly calculating the full output distribution, optimizing the circuit configuration each time. The algorithm converges in 200 to 400 iterations, each with thousands of full-distribution calculations! When we compare the performance of the traditional approach used in the original research versus SLOS, we see that the number of calculable photons is improved from 6 to 10 (see Fig. 3). Put another way, if you are interested in using 6 photons for the simulation, the SLOS optimization takes only 2 minutes, a factor-330 time improvement over the original method.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AoHGGQQ1LrPF9RLu1cFlEQ.png" /><figcaption>Fig. 3. The SLOS advantage on a typical quantum machine learning application. SLOS performs exponentially better than the naïve approach when calculating the full output distribution, by a factor of 2n.</figcaption></figure><h3>Part 6: Where and how to use SLOS</h3><p>Although SLOS is memory-intensive, it is a complexity-efficient backend, unique to Perceval, for simulating output distributions of linear optical circuits. The <em>2ⁿ</em> time advantage offered by SLOS is useful for researchers to simulate their theories and verify their experiments, and it is useful for industry to quickly design and validate algorithms.</p><p>You can access SLOS through the open-source code on GitHub [8]. Quandela’s tutorial center also includes several applications using SLOS [9–12], which you can run both locally and on Quandela’s quantum cloud service [13].</p><p><strong>References:</strong></p><p>[1] <a href="https://medium.com/quandela/what-is-a-quantum-computer-c492ced25e81">What is a Quantum Computer?. Quantum computing has the potential to… | by Quandela Team | Quandela | Medium</a></p><p>[2] <a href="https://perceval.quandela.net/docs/backends.html">Computing Backends — perceval 0.3.0a2 documentation (quandela.net)</a></p><p>[3] <a href="https://arxiv.org/abs/2206.10549">[2206.10549] Strong Simulation of Linear Optical Processes (arxiv.org)</a></p><p>[4] <a href="https://royalsocietypublishing.org/doi/10.1098/rspa.2011.0232">A linear-optical proof that the permanent is #P-hard | Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences (royalsocietypublishing.org)</a></p><p>[5] <a href="https://www.osti.gov/biblio/4420279">ON QUANTUM FIELD THEORY. I. EXPLICIT SOLUTION OF DYSON’S EQUATION IN ELECTRODYNAMICS WITHOUT USE OF FEYNMAN GRAPHS (Journal Article) | OSTI.GOV</a></p><p>[6] <a href="https://dl.acm.org/doi/10.1145/1993636.1993682">The computational complexity of linear optics | Proceedings of the forty-third annual ACM symposium on Theory of computing</a></p><p>[7] <a href="https://arxiv.org/abs/2107.05224">[2107.05224] Fock State-enhanced Expressivity of Quantum Machine Learning Models (arxiv.org)</a></p><p>[8] <a href="https://github.com/Quandela/Perceval">GitHub — Quandela/Perceval: An open source framework for programming photonic quantum computers</a></p><p>[9] <a href="https://perceval.quandela.net/docs/notebooks/Differential%20equation%20solving.html">Differential equation resolution — perceval 0.3.0a2 documentation (quandela.net)</a></p><p>[10] <a href="https://perceval.quandela.net/docs/notebooks/Boson%20Sampling%20with%20MPS.html">Boson Sampling with MPS — perceval 0.3.0a2 documentation (quandela.net)</a></p><p>[11] <a href="https://perceval.quandela.net/docs/notebooks/Non-unitary%20components.html">Using non-unitary components in Perceval — perceval 0.3.0a2 documentation (quandela.net)</a></p><p>[12] <a href="https://perceval.quandela.net/docs/notebooks/Remote%20computing.html">Remote computing with Perceval — perceval 0.3.0a2 documentation (quandela.net)</a></p><p>[13] <a href="https://cloud.quandela.com/">Welcome to Quandela Cloud</a></p><p>If you are interested to find out more about our technology, our solutions or job opportunities visit <a href="https://www.quandela.com/">quandela.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3033cd927b88" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quandela/perceval-tech-note-strong-linear-optical-simulation-slos-3033cd927b88">Perceval Tech Note: Strong Linear Optical Simulation (SLOS)</a> was originally published in <a href="https://medium.com/quandela">Quandela</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Photonics: The fast lane towards useful Quantum Machine Learning?]]></title>
            <link>https://medium.com/quandela/photonics-the-fast-lane-towards-useful-quantum-machine-learning-f3112f7221fc?source=rss-62c8f6215ecc------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3112f7221fc</guid>
            <category><![CDATA[photonics]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[quantum-machine-learning]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Quandela Team]]></dc:creator>
            <pubDate>Tue, 22 Nov 2022 15:51:52 GMT</pubDate>
            <atom:updated>2022-11-23T15:42:03.667Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eq0aImU9AVhTpIeG_pi_0Q.png" /><figcaption>Article by Patrick Sinnott</figcaption></figure><p><strong>Machine Learning</strong></p><p>Over the last decade, <strong>machine learning (ML)</strong> and <strong>Artificial Intelligence</strong> (<strong>AI) </strong>have dominated the information-technology landscape, to the degree where most enterprises use ML-powered solutions. Here are a few examples you may be familiar with:</p><ul><li>Virtual assistants like Siri or Alexa use ML to analyse speech patterns.</li><li>The proposed self-driving cars of Google and Tesla are the essence of ML, studying and reproducing the behaviour of a human driver.</li><li>Translation apps are built from a marriage of machine learning and linguistic rule creation.</li><li>Online recommendations from companies like Amazon and Netflix are based on a (worryingly accurate) online profile of your behaviour, built by ML-algorithms</li></ul><p>Machine Learning focuses on the use of data and <strong>algorithms </strong>to imitate the way that humans learn, gradually improving its accuracy. These algorithms <strong>build a model</strong> based on sample data (known as training sets), in order to make predictions or decisions without being explicitly programmed to do so. We can imagine a ML algorithm like a human baby, who using the sample data of the words they hear makes a model of language which can be used to make new sentences.</p><p>With the emergence and growing power of quantum computers, technology is bracing for its next big upheaval. But the question remains: How can we best use our new quantum computers to improve current machine learning algorithms, or even develop <strong>entirely new</strong> ones.</p><p>If you need a rundown on how Quantum Computers work and their advantages, you can check out this <a href="https://medium.com/quandela/what-is-a-quantum-computer-c492ced25e81">article</a> where we give you the basics.</p><p><strong>Quantum</strong> <strong>Machine Learning</strong></p><p>There has been a huge influx of research into this question. In October 2022 alone, there were over <strong>50 articles</strong> on the physics archive which mention ‘quantum machine learning’ in the abstract.</p><p>This enthusiasm is well-placed. Improved ML through faster structured prediction is listed as (one of) the first quantum computing enabled breakthroughs by major management consulting firms such as <a href="https://www.mckinsey.com/capabilities/mckinsey-digital/our-insights/quantum-computing-use-cases-are-getting-real-what-you-need-to-know">McKinsey &amp; Company</a>.</p><p>There are two primary reasons why ML and Quantum Computers are a good fit:</p><ol><li><strong>Lower requirements on fidelities and error rates </strong>compared to other quantum computer applications. Quantum computing devices are inherently <strong>vulnerable to noise </strong>and information loss, particularly in the NISQ* era. When it comes to ML algorithms, we run small circuits many times, reducing the effects of errors on our results. Like classical ML, we have variable elements that can alter our circuit many times <strong>throughout </strong>the runtime of the algorithm. This allows the circuit to adapt and overcome errors as they emerge.</li><li>Machine learning represents data in high-dimensional parameter spaces. Quantum circuits have an exponential advantage for dimensionality.** One of the major advantages of quantum computers is their ability to efficiently <strong>encode information</strong>. This can greatly decrease the dimension of the required data for an ML algorithm.</li></ol><p>When we use ML-techniques with Quantum Processing Units (QPUs), we enter a new field of study called Quantum Machine Learning (QML).</p><p><strong>Why Photonics?</strong></p><p>Photonic quantum computers are quickly establishing themselves as the dominant architectures not just for near-term quantum applications, but also full-scale <strong>fault-tolerant</strong> quantum computers. Aside from their advantages for quantum communication, scalability and security, photonic QPUs also offer some unique benefits for <strong>data-embedding</strong> which have tangible benefits for QML applications.</p><p>You can find a description of how computations work on an optical quantum computer <a href="https://medium.com/quandela/how-to-do-computations-on-an-optical-quantum-computer-a0c579bebeb0">here</a>!</p><p>The data-embedding process is one of the bottlenecks of quantum ML. Indeed, classical data cannot be loaded as it is into a quantum chip — it should be encoded somehow into a quantum state. If the encoding process is too costly, it could potentially slow down the overall computation enough to negate any quantum speedups. Considering this, more effective data-encoding strategies are necessary.</p><p>Photonic quantum computers have the unique advantage of being able to store information in a more efficient <strong>space</strong> than that of other hardwares. A space is a very general mathematical concept, which in this case simply refers to the structure of our data. You can imagine our quantum states as living in a certain space.</p><p>With photonic devices we can store our information in the <strong>Fock space</strong> instead of the <strong>Hilbert space</strong> used for other quantum processing units.</p><p>The diagram below outlines the difference between storing information in the Hilbert space compared to the Fock space. In the Hilbert space, each qubit is represented as its own <strong>mode</strong>, you can imagine the modes as the houses the data lives in. This means that every qubit lives in its own matrix in Hilbert space. Whereas in the Fock space, it’s a much more communal setup, where the photons can live together, and we can count the number of indistinguishable particles in each mode.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6ExMk0sqn8ElwXQ8eUCrAw.png" /></figure><p>In this diagram, we can see the Hilbert and Fock space representation of the same state. The Hilbert space has a <strong>mode for each particle</strong>, but the Fock space<strong> counts the particles in each mode</strong>, it is in the state |2,2&gt; which means we have two photons in the first mode and two in the second.</p><p>In the Hilbert space, each additional photon doubles our possible combinations, leading to a scaling of 2𝑛 where n is the number of photons. This follows from the fact that in our Hilbert space description of qubits, we take each qubit as a 2-level system, meaning each qubit adds 2 new degrees of freedom.</p><p>The limiting aspect of the Hilbert space qubit representation of quantum data is that it is only ever useful to model our qubits as a 2-level system, despite the number of available modes.</p><p>In the Fock space, our available combinations scale by a <strong>binomial factor</strong> of:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G9os-SAIC8ePza26puTByA.png" /></figure><p>n is the number of photons and m is the number of modes.</p><p>It may not be immediately obvious why this is the case, so let’s examine the situation when we have 4 photons and 3 modes to distribute them between in Fock Space:</p><p>So in this case (n=4, m=3), We have 4 photons to be distributed among 3 modes. This problem now has the form of the famous <a href="#https://brilliant.org/wiki/integer-equations-star-and-bars/#"><strong>stars and bars</strong> theorem</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DfSybIaKM789nfBQAAao5Q.png" /><figcaption>Note : these are 3 of the 15 possible combinations</figcaption></figure><p>We can imagine that we have 4 indistinguishable balls that must be placed in 3 bins, and we must count all <strong>possible combinations</strong>. If we count the possibilities, we end up with</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*_QRZTmB2glnwEmvq38tByg.png" /></figure><p>The stars and bars theorem states that this relationship always scales as a binomial coefficient. However, in <strong>experimental reality</strong>, it is not always possible to access every state in the Fock space. This is because we cannot always measure multiple photons in a single mode with perfect accuracy. This is an active area of research.</p><p>This scaling advantage for encoding our data into the photonic Fock space is shown for when the number of modes is twice the number of photons (m = 2n), in the following graph:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s3l9_OydC-q7og1fW1NCEw.png" /></figure><p>In summary, photonic devices allow us to access the Fock space which has a very useful scaling of the computational space. We should take advantage of this when designing algorithms to run on photonic quantum computers.</p><p><strong>A Universal Function Approximator (Fourier Series)</strong></p><p>A tremendously useful application of a photonic quantum circuit arranged in this way is that it can be used to simulate <strong>Fourier Series.</strong></p><p>A Fourier series is an expansion of a mathematical function in terms of an <strong>infinite sum</strong> of sine and cosine functions.</p><p>To the non-mathematicians in the audience, this may not sound like a particularly exciting application, but those who have sweated through a multivariable analysis module know that these Fourier Series<strong> </strong>can be used to approximate <strong>ANY function</strong> defined over a given interval to an arbitrary degree of accuracy.</p><p>This means; if we can show that any Fourier Series can be generated by a quantum circuit then we have made a <strong>universal function generator</strong>.</p><p>A Fourier Series takes the form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6EGnKJg_ITCKLUMPJiyjKQ.png" /></figure><p>where x are our data points, <em>cω </em>are variable coefficients and <em>ω</em> are integer-valued multiples of a base frequency <em>ω0</em>. <em>Ω</em> is our range of frequencies.</p><p>In this <a href="https://arxiv.org/pdf/2107.05224.pdf">paper</a>, they discuss in detail the conditions necessary for a quantum circuit to universally express a Fourier series.</p><p>To briefly summarise: the more photons we send in, the more expressive the data encoding operation becomes, and the larger the available<strong> spectrum </strong>of the output function becomes.</p><p><strong>Circuit description</strong><br>Our quantum circuits look a bit like a classical Neural Network. In a traditional neural network, you have nodes or neurons connected by weights where you try to optimise these weights in order to minimise a <strong>cost function.</strong></p><p>In ML, cost functions are used to estimate how badly models are performing. Put simply, a cost function is a measure of how wrong the model is in terms of its ability to estimate the relationship between the input of a function and its output. So the lower the value of the cost function the better our model is.</p><p>In traditional Machine learning, we would input data points into <strong>trainable circuit blocks</strong> which have a <strong>tunable parameter</strong> which we can adjust through multiple runs of our circuit to minimise our defined cost function.</p><p>So far, so classical.</p><p>What’s unique about our QML circuits is that our data is fed into a quantum circuit which encodes our data in to a quantum state (such as our Fock state) which is then manipulated by <strong>adjustable quantum gates</strong>. The parameters <em>θ </em>for these quantum gates are optimised using a classical algorithm and fed back into the quantum circuit to give us our ideal quantum output. This is illustrated in the diagram below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*STEzB3EUn2pOS18L8Wn8tQ.png" /></figure><p>We can see that the parameters of our quantum gates are altered to give us our desired output. We refer to this as a <strong>hybrid</strong> algorithm as it makes use of both classical and quantum methods.</p><p><strong>Classifier Algorithm</strong></p><p>Everything we have discussed so far can be neatly implemented in to a QML — <strong>classifier algorithm</strong>.</p><p>A classifier algorithm is used to train a circuit to <strong>recognize and distinguish</strong> different categories of data. We will take a look at a two-dimensional binary classifier algorithm, which is the simplest example as it only distinguishes between two categories of data.</p><p>For the binary classifier algorithm, the objective is simple. We have a set of data, with elements belonging to one of two classes<strong>, Class A</strong> or <strong>Class B</strong>. We must train an algorithm to distinguish the difference.</p><p>Our algorithm is based on the following circuit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/1*0bbz5jkdDRYvlvS32WnleA.png" /></figure><p><strong>Data input and output</strong></p><p>Like a typical ML algorithm, we first input <strong>training data.</strong> This is encoded by the S(x) blocks in to our <strong>Fock states</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*IeGb1X0O-dbtC2gNJt575g.png" /></figure><p>where <em>n</em> is the number of photons sent into mode i. This data is manipulated by our training blocks <em>W(θ) </em>and outputs in the form of a <strong>Fourier Series <em>f(xi)</em></strong>, as discussed earlier.</p><p><strong>Cost function</strong></p><p>We then need to define and minimize a <strong>cost function</strong> to train our circuit with this training data. Our aim is that when we give the trained circuit some new <strong>test data</strong>, it will be able to categorize and divide it.</p><p>The test data has a predefined classification <em>Yxi</em> which defines the class it belongs to. So, our cost function then takes the form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/228/1*bZ-64yynQkNtO5NGO7c9Ug.png" /></figure><p>This is the difference between the values f (the classification to be predicted by our circuit) and y (the actual classification of the data). By tuning the parameters <em>θ </em>of the <em>W(θ) </em>blocks, our circuit can be trained to perfectly identify the training data by minimising this cost function as much as possible</p><p>By adapting the circuit to bring this cost function to a minimum, we have prepared a circuit that can output the correct classification of a given input.</p><p>Our circuit is then ready to classify some new <strong>test data</strong>. In the picture below, we can see an illustration of how the data may be classified and separated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KDOF7XgcW-szw8v7_aiVPQ.png" /></figure><p>This is the simplest version of this type of algorithm, but it gives you an idea of what is possible. These algorithms are already being applied to applications such as the classification of different molecules. <a href="https://arxiv.org/abs/2211.12207">This could be very powerful for the discovery of new chemical products such as medicines.</a></p><p><strong>QML Skepticism</strong></p><p>For the sake of balance, it is worth noting that alongside the great enthusiasm for QML- techniques, there is some (valid) <strong>scepticism</strong> about the current hype surrounding the topic.</p><p>Maria Schuld and Nathan Killoran <a href="https://arxiv.org/abs/2203.01340">outline a number of criticisms </a>of our current attitudes towards this field. They remind researchers to avoid the ‘<strong>tunnel vision of quantum advantage</strong>’.</p><p>It’s an astute point that many people are rushing to implement quantum versions of classical algorithms even if the quantum version might not be particularly useful. They can then try to get a better performance with the quantum algorithm and claim quantum advantage. Sometimes this increase in performance is obtained only on a <strong>specific dataset</strong> that is carefully chosen, or the classical counterpart could perform better if it was <strong>optimised </strong>more.</p><p>In the same way that quantum computers are not expected to be better than classical computers for all problems, but only for some specific ones (such as factoring with Shor’s algorithm), we expect that QML is going to beat ML only in <strong>specific scenarios</strong>. It is now up to the researchers to find the scenarios where QML will <strong>truly excel</strong>.</p><p><em>*NISQ (Noisy Intermediate Scale Quantum) refers to the current era of quantum technologies, where we are working with a limited number of qubits that are influenced by noise/interference.</em></p><p><em>**This quantum advantage for dimensionality is not guaranteed, but can be advantageous if the data-embedding is chosen carefully. It depends on addressing the ‘input and output problem.’ This is discussed in the next section and in more detail </em><a href="https://iopscience.iop.org/article/10.1088/1367-2630/abac39/pdf"><em>here</em></a><em>.</em></p><p>If you are interested to find out more about our technology, our solutions or job opportunities visit <a href="https://www.quandela.com/">quandela.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3112f7221fc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quandela/photonics-the-fast-lane-towards-useful-quantum-machine-learning-f3112f7221fc">Photonics: The fast lane towards useful Quantum Machine Learning?</a> was originally published in <a href="https://medium.com/quandela">Quandela</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cooking with Qubits / How to bake a Quantum Computer]]></title>
            <link>https://medium.com/quandela/cooking-with-qubits-how-to-bake-a-quantum-computer-6e4034c6b141?source=rss-62c8f6215ecc------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e4034c6b141</guid>
            <category><![CDATA[quantum-technologies]]></category>
            <category><![CDATA[quantum-computer]]></category>
            <category><![CDATA[qubit]]></category>
            <category><![CDATA[photonics]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <dc:creator><![CDATA[Quandela Team]]></dc:creator>
            <pubDate>Thu, 22 Sep 2022 08:02:28 GMT</pubDate>
            <atom:updated>2022-09-22T08:20:17.389Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5NOBLo6NsoQLgsHDQdvPfw.png" /><figcaption>Article by Liam Lysaght</figcaption></figure><p>One of my fondest childhood memories is enjoying the sweet, delicious taste of a large-scale fault tolerant quantum computer. In this article, we’re going to explain how you can bake your own scrumptious quantum processor from scratch. Whether you’re trying to impress a first date, cater for friends, or entrench a technological advantage against your geopolitical rivals, quantum computers are the perfect treat for any occasion.</p><p>Difficulty: Extreme</p><p>Cooking time: 5–7 years of R&amp;D</p><p>In our last article, we answered the question <a href="https://medium.com/quandela/what-is-a-quantum-computer-c492ced25e81">“What is a Quantum Computer?”</a>. As a quick reminder: a quantum computer is a device that uses the principles of quantum mechanics to perform certain calculations much faster than a regular computer.</p><p>One of the most common recipes for baking a quantum computer was created by quantum chef/scientist David DiVincenzo. His family recipe lists 5 main ingredients (we’re dropping the cake analogy from here on for clarity):</p><ol><li><strong>A scalable physical system of qubits</strong></li></ol><p>A classical computer uses binary bits with a value of either 0 or 1 to represent information. This is represented physically as tiny switches called transistors inside the computer that are either on or off. Quantum computers often represent information as qubits, which can be in the state |0&gt;, |1&gt;, or a superposition of both states. For a proper explanation of how this works, check out our <a href="https://medium.com/quandela/what-is-a-quantum-computer-c492ced25e81">previous article</a>.</p><p>Many different physical systems have been used to generate qubits, including superconductors, ion traps, and photons. It’s important to highlight that the system of qubits must be <em>scalable</em> i.e. we can create larger and larger systems of connected qubits to run larger calculations. The quantum computers available in labs today don’t have enough processing power to tackle real world problems. If a system of qubits can’t be scaled up, we won’t be able to use it to create useful quantum computers.</p><p>2. <strong>The ability to initialise the qubits to a simple reference state</strong></p><p>Imagine trying to do maths on a calculator without being able to erase the answer to the previous calculation, or even check what it was; the errors would be enormous. Initialising states is necessary for both classical and quantum computers, but for quantum computers it’s much more difficult.</p><p>The initialisation process varies depending on the qubit’s physical system. Let’s examine the case of photonic qubits discussed in our previous article. In this system, a photon can be in one of two optical fibres. The system is in the state |0&gt; or |1&gt; depending on which fibre the photon is in. A simple reference state for this system would be |0000&gt;, which means that 4 qubits have a photon in the fibre corresponding to their |0&gt; state. To initialise this kind of photonic qubit you need to be able to emit single photons, on demand, into specific optical fibres.</p><p>This sounds easy, until you consider how small photons are. A normal LED lightbulb releases quintillions of photons every second. Releasing just one of them (and controlling it) is extremely difficult. Quandela was founded on technology which tackles this very problem, by fabricating semi-conductor quantum dots that act as controllable single-photon sources. You can learn more about our technology in this <a href="https://medium.com/quandela/single-photon-sources-part-1-517d9c1a22bc">article</a>.</p><p>3. <strong>Decoherence times that are much longer than the gate operation times</strong></p><p>Most types of qubits are extremely delicate, and they tend to lose their quantum properties (such as superposition, entanglement, and interference) soon after they are initialised through a process called decoherence. Decohering qubits ruin quantum computations, which rely on such quantum properties to deliver all the nice speedups and advantages that they have when compared to ordinary classical computers. So the operations we use to manipulate quantum states (performed by quantum gates) must be fast relative to the lifespan of the qubit, or some of them may decohere before the calculation is finished. In our food analogy, you can’t make a meal using ingredients that will expire before you’re finished cooking them.</p><p>4. <strong>A universal set of quantum gates</strong></p><p>Quantum gates are the quantum versions of the logic gates used in classical computers. They affect the probability of getting a particular answer when the qubits they act on are measured (see previous <a href="https://medium.com/quandela/what-is-a-quantum-computer-c492ced25e81">article</a> for details). Some gates act on one qubit at a time, while others act on two or more. A universal set of gates is a group of gates that you can combine to form any other gate. If you have a universal set of gates, you can perform any quantum operation on your qubits (ignoring gate errors, decoherence, and noise, which we will discuss further in a future article).</p><p>5.<strong> A qubit-specific measurement capability</strong></p><p>There wouldn’t be much point in performing calculations on a quantum computer if you couldn’t record the results. A measurement is said to be qubit-specific if you can pick out a particular qubit and detect what state it is in: usually |0&gt; or |1&gt;. This gives you the result of your quantum calculation as a string of 0s and 1s, which could eventually be fed into a classical computer to design life-saving medicine or decrypt your internet search history.</p><p><strong>Quantum Communication</strong></p><p>DiVincenzo outlined two additional criteria to allow a device to engage in quantum communication, which is the transfer of quantum information between processors separated by a large distance. These criteria are:</p><ol><li>The ability to convert between stationary qubits (used for calculations) and flying qubits (that can move long distances).</li><li>The ability to faithfully transmit flying qubits between specified locations.</li></ol><p>Quantum communication allows us to connect quantum computers together and combine their processing power to solve problems. Photons are the best option, and in fact probably the only sensible option, for implementing flying qubits, given that they travel at the speed of light, don’t suffer from decoherence over time (although optical components still add noise), and can be directed through optical fibres.</p><p><strong>What now?</strong></p><p>The DiVincenzo criteria have had an enormous impact on the field of quantum computing research over the past two decades. Unfortunately, they may also restrict our understanding what a quantum computer can be. We will explore this further in the next article of this series, which explains why the number of qubits in a quantum computer doesn’t necessarily measure how advanced it is.</p><p>Having read this and the previous article, you should now have a basic understanding of what quantum computers are, how they work, and what it takes to cook one up from scratch. Follow Quandela on Medium to learn more about quantum computing from one of the most advanced companies in the field.</p><p><em>Disclaimer: Cooking time may vary. Quantum computers are hardware devices which may be composed of high energy lasers, powerful magnets, and silicon chips at temperatures close to absolute zero. They are not food. Please do not attempt to eat a quantum computer. Quandela does not accept any liability from readers attempting to consume the components of a quantum computer.</em></p><p>If you are interested to find out more about our technology, our solutions or job opportunities visit <a href="https://www.quandela.com/">quandela.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e4034c6b141" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quandela/cooking-with-qubits-how-to-bake-a-quantum-computer-6e4034c6b141">Cooking with Qubits / How to bake a Quantum Computer</a> was originally published in <a href="https://medium.com/quandela">Quandela</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>