Industries

Industries

# Artificial Intelligence

### Artificial Intelligence

#### Artificial Intelligence

Quantum computing is on the verge of revolutionizing the field of Artificial Intelligence (AI), heralding a new era where AI systems can process information and learn at speeds and depths previously unimaginable. By leveraging the principles of quantum mechanics, quantum computing can perform complex calculations at exponentially faster rates than traditional computers, enabling AI to analyze vast datasets more efficiently. This quantum acceleration will significantly enhance machine learning models, making them more accurate and capable of solving highly complex problems, from understanding natural languages with greater nuance to predicting trends and behaviors in data that were once considered too intricate to decode.

In particular, quantum computing can transform deep learning, a subset of AI that involves training large neural networks. These networks, which mimic the human brain's ability to learn and make decisions, could be trained much faster and on a scale that is currently unattainable. This means that AI systems could evolve to understand and interact with the world in more sophisticated and human-like ways, potentially unlocking breakthroughs in AI's ability to automate complex tasks, enhance decision-making, and innovate across sectors like healthcare, finance, environmental science, and beyond.

Furthermore, the fusion of quantum computing and AI holds the promise of solving some of the most pressing challenges faced by humanity, including climate change, by optimizing energy consumption and discovering new materials for carbon capture. It could revolutionize drug discovery by simulating the quantum properties of molecules, a task that is incredibly time-consuming and resource-intensive with current technology. The synergy between quantum computing and AI not only paves the way for advancements in existing applications but also opens up new frontiers for exploration and innovation, making what was once science fiction a tangible reality.

##### Quantum Natural Language Processing (QNLP)

Harnessing the power of quantum computing, quantum natural language processing algorithms offers unparalleled advantages in language processing tasks. Quantum algorithms excel in processing vast amounts of data simultaneously, enabling faster and more efficient language analysis. By leveraging quantum superposition and entanglement, our algorithm can explore multiple linguistic features in parallel, leading to more accurate and nuanced language understanding. Additionally, quantum computing's ability to handle complex linguistic structures with higher dimensionality allows for the extraction of deeper semantic meanings from text data. With these advancements, our quantum NLP algorithm promises to revolutionize language processing, paving the way for more sophisticated text analysis and comprehension.

> Youtube "Dynex Quantum-NLP (Q-NLP) Use Case Example"

Showcasing our Q-NLP trained special purpose chatbot for Canadian building codes 2019 vs. 2023! This advanced model assists with queries about specific codes and changes, delivering fast and precise responses. Training time? Just 292.19 seconds.

> Youtube "Introducing Quantum Natural Language Processing on Dynex"

Video showcasing an end-end process of collecting data from websites, training the QNLP model on Dynex and communicating with the resulting ChatGPT style bot (in realtime)

##### Quantum Transformer Algorithm on Dynex (QTransform)

Transformers are a type of deep learning model that have revolutionized the field of artificial intelligence, particularly in natural language processing tasks. They excel at handling sequential data and understanding context over long sequences, enabling advancements in machine translation, text generation, and more. The discovery of a quantum transformer algorithm by Dynex represents a significant leap forward, combining the power of transformers with the unparalleled computational capabilities of quantum computing. This hybrid approach promises even faster processing speeds and enhanced performance, making it possible to tackle complex AI problems more efficiently than ever before. By leveraging quantum principles, such as superposition and entanglement, our quantum transformer algorithm can process vast amounts of data simultaneously, leading to more accurate and nuanced AI models, thereby pushing the boundaries of what AI can achieve.

> Youtube: "How-to: Quantum Transformer Algorithm on Dynex"

##### Using Dynex for particle tracking at the Large Hadron Collider (LHC)

The Large Hadron Collider (LHC) is the world’s largest and most powerful particle accelerator. It aims at discovering what our universe is made of by colliding particle beams at high speed, thus creating ‘mini big bangs’. The result of those collisions is a firework of new particles, whose study can help understand what our universe is made of. This repository uses Dynex for superlinear speedup for particle tracking.

> Github: HEPQPR.Qallse on Dynex

**Mode-Assisted Quantum Restricted Boltzmann Machines**

The integration of neuromorphic computing into the Dynex platform signifies a transformative step in computational technology, particularly in the realms of machine learning and optimization. This advanced platform leverages the unique attributes of neuromorphic dynamics, utilising neuromorphic annealing - a technique divergent from conventional computing methods - to adeptly address intricate problems in discrete optimization, sampling, and machine learning.

> Github: Dynex MA-QRBM Package

**Scientific background**: Advancements in Unsupervised Learning: Mode-Assisted Quantum Restricted Boltzmann Machines Leveraging Neuromorphic Computing on the Dynex Platform; Adam Neumann, Dynex Developers; International Journal of Bioinformatics & Intelligent Computing. 2024; Volume 3(1):91- 103, ISSN 2816-8089

##### Efficient Quantum State Tomography on Dynex

Quantum state tomography is a process used in quantum physics to characterize and reconstruct the quantum state of a system. In simple terms, it's like taking a snapshot of a quantum system to understand its properties fully. In quantum mechanics, a quantum state represents the complete description of a quantum system, including its position, momentum, energy, and other physical quantities. However, unlike classical systems where properties are well-defined, quantum systems often exist in superposition states, meaning they can simultaneously be in multiple states until measured. While traditional training methods perform rather poorly, Dynex computed training achieves near perfect fidelity.

> Github: Quantum Mode-assisted unsupervised learning of Restricted Boltzmann Machines

**Scientific background**: Quantum Frontiers on Dynex: Elevating Deep Restricted Boltzmann Machines with Quantum Mode-Assisted Training; Adam Neumann, Dynex Developers; 116660843, Academia.edu; 2024

##### Quantum Single Image Super-Resolution on the Dynex Platform

Implementation of a Quantum Single Image Super-Resolution algorithm to use on the Dynex platform. One of the well-known classical approaches for SISR relies on the well-established patch-wise sparse modeling of the problem. Yet, this field’s current state of affairs is that deep neural networks (DNNs) have demonstrated far superior results than traditional approaches. Nevertheless, quantum computing is expected to become increasingly prominent for machine learning problems soon. Among the two paradigms of quantum computing, namely universal gate quantum computing and adiabatic quantum computing (AQC), the latter has been successfully applied to practical computer vision problems, in which quantum parallelism has been exploited to solve combinatorial optimization efficiently. This algorithm demonstrates formulating quantum SISR as a sparse coding optimization problem, which is solved using the Dynex Neuromorphic Computing Platform via the Dynex SDK. This AQC-based algorithm is demonstrated to achieve improved SISR accuracy.

**Scientific background**: Choong HY, Kumar S, Van Gool L. Quantum Annealing for Single Image Super-Resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition 2023 (pp. 1150-1159)

##### Quantum-Boltzmann-Machine (QBM)

This example demonstrates a Quantum-Boltzmann-Machine (QBM) implementation using the Dynex platform to perform the computations and compare it with a traditional Restricted-Boltzmann-Machine (RBM). RBM is a well-known probabilistic unsupervised learning model which is learned by an algorithm called Contrastive Divergence. An important step of this algorithm is called Gibbs sampling – a method that returns random samples from a given probability distribution. We decided to conduct our experiments on the popular MNIST dataset considered a standard benchmark in many of the machine learning and image recognition subfields. The implementation follows a highly optimised QUBO formulation.

Figure: The QBM evolves much faster to an attractive Mean Squared Error (MSE) than the traditional RBM, which means a significant lower amount of training iterations is required. In addition is the achieved MSE much lower, meaning the QBM created models have higher accuracy. This finding is in line with the results from the papers referenced. However, [1] demonstrated that the process of embedding Boltzmann machines in larger quantum annealer architectures is problematic when huge weights and biases are needed to emulate the Boltzmann machine’s logical nodes using chains and clusters of physical qubits because of the limited number of qubits available. The Dynex Neuromorphic platform provides a more scalable alternative and can used to train models with millions of variables. Especially when real-world models are to be trained, the number of training iterations and accuracy are important.

> Github: : Computing on the Dynex Neuromorphic Platform: Image Classification

**Scientific background:** Dixit V, Selvarajan R, Alam MA, Humble TS and Kais S (2021) Training Restricted Boltzmann Machines With a D-Wave Quantum Annealer. *Front. Phys.* 9:589626. doi: 10.3389/fphy.2021.589626; Sleeman, Jennifer, John E. Dorband and Milton Halem. “A Hybrid Quantum enabled RBM Advantage: Convolutional Autoencoders For Quantum Image Compression and Generative Learning.” *Defense + Commercial Sensing* (2020).

##### Quantum-Support-Vector-Machine (QSVM)

In another example, we ran simulations for the Standard Banknote Authentication dataset and measured the following Key Performing Indicators (KPIs) using a Quantum Support Vector Machine (QSVM):

**Accuracy:**the fraction of samples that have been classified correctly**Precision:**proportion of correct positive identifications over all positive identifications**Recall:**proportion of correct positive identifications over all actual positives**F1 score:**harmonic mean of the model’s precision and recall

Here are the results:

Figure: Quantum (D-Wave) and Neuromorphic (Dynex) based SVM model training is superior to traditional support vector machines. We used Scikit-learn’s LIBSVM using Sequential Minimal Optimisation as benchmark

> Github: Quantum Support Vector Machine with the Dynex PyTorch Plugin

**Scientific background**: Rounds, Max and Phil Goddard. “Optimal feature selection in credit scoring and classification using a quantum annealer.” (2017).

##### Reinforcement Learning Using QBM on the Dynex Platform

We associate a transverse field Ising spin Hamiltonian with a layout of qubits similar to that of a deep Boltzmann machine (DBM) and use the Dynex Platform for sampling. We design a reinforcement learning algorithm in which the set of visible nodes representing the states and actions of an optimal policy are the first and last layers of the deep network. In absence of a transverse field, our simulations show that DBMs are trained more effectively than restricted Boltzmann machines (RBM) with the same number of nodes.

**Scientific background**: Crawford, Daniel & Levit, Anna & Ghadermarzy, Navid & Oberoi, Jaspreet Singh & Ronagh, Pooya. (2018). Reinforcement learning using quantum Boltzmann machines. Quantum Information and Computation. 18. 51-74. 10.26421/QIC18.1-2-3.

##### Recommender System on the Dynex Platform

This example shows a recommender system exploiting community detection. Community detection, by partitioning users and items into densely connected clusters, can boost the accuracy of non-personalised recommendation by assuming that users within each community share similar tastes.

**Scientific background**: Nembrini, Riccardo & Carugno, Costantino & Ferrari Dacrema, Maurizio & Cremonesi, Paolo. (2022). Towards Recommender Systems with Community Detection and Quantum Computing. 579-585. 10.1145/3523227.3551478

###### Industries

> Artificial Intelligence

> Pharmaceutical

> Automotive, Aerospace, Super-Sports and Space

> Financial Services

> Telecommunication

> Research & Science

Quantum computing is on the verge of revolutionizing the field of Artificial Intelligence (AI), heralding a new era where AI systems can process information and learn at speeds and depths previously unimaginable. By leveraging the principles of quantum mechanics, quantum computing can perform complex calculations at exponentially faster rates than traditional computers, enabling AI to analyze vast datasets more efficiently. This quantum acceleration will significantly enhance machine learning models, making them more accurate and capable of solving highly complex problems, from understanding natural languages with greater nuance to predicting trends and behaviors in data that were once considered too intricate to decode.

In particular, quantum computing can transform deep learning, a subset of AI that involves training large neural networks. These networks, which mimic the human brain's ability to learn and make decisions, could be trained much faster and on a scale that is currently unattainable. This means that AI systems could evolve to understand and interact with the world in more sophisticated and human-like ways, potentially unlocking breakthroughs in AI's ability to automate complex tasks, enhance decision-making, and innovate across sectors like healthcare, finance, environmental science, and beyond.

Furthermore, the fusion of quantum computing and AI holds the promise of solving some of the most pressing challenges faced by humanity, including climate change, by optimizing energy consumption and discovering new materials for carbon capture. It could revolutionize drug discovery by simulating the quantum properties of molecules, a task that is incredibly time-consuming and resource-intensive with current technology. The synergy between quantum computing and AI not only paves the way for advancements in existing applications but also opens up new frontiers for exploration and innovation, making what was once science fiction a tangible reality.

##### Quantum Natural Language Processing (QNLP)

Harnessing the power of quantum computing, quantum natural language processing algorithms offers unparalleled advantages in language processing tasks. Quantum algorithms excel in processing vast amounts of data simultaneously, enabling faster and more efficient language analysis. By leveraging quantum superposition and entanglement, our algorithm can explore multiple linguistic features in parallel, leading to more accurate and nuanced language understanding. Additionally, quantum computing's ability to handle complex linguistic structures with higher dimensionality allows for the extraction of deeper semantic meanings from text data. With these advancements, our quantum NLP algorithm promises to revolutionize language processing, paving the way for more sophisticated text analysis and comprehension.

> Youtube "Dynex Quantum-NLP (Q-NLP) Use Case Example"

Showcasing our Q-NLP trained special purpose chatbot for Canadian building codes 2019 vs. 2023! This advanced model assists with queries about specific codes and changes, delivering fast and precise responses. Training time? Just 292.19 seconds.

> Youtube "Introducing Quantum Natural Language Processing on Dynex"

Video showcasing an end-end process of collecting data from websites, training the QNLP model on Dynex and communicating with the resulting ChatGPT style bot (in realtime)

##### Quantum Transformer Algorithm on Dynex (QTransform)

Transformers are a type of deep learning model that have revolutionized the field of artificial intelligence, particularly in natural language processing tasks. They excel at handling sequential data and understanding context over long sequences, enabling advancements in machine translation, text generation, and more. The discovery of a quantum transformer algorithm by Dynex represents a significant leap forward, combining the power of transformers with the unparalleled computational capabilities of quantum computing. This hybrid approach promises even faster processing speeds and enhanced performance, making it possible to tackle complex AI problems more efficiently than ever before. By leveraging quantum principles, such as superposition and entanglement, our quantum transformer algorithm can process vast amounts of data simultaneously, leading to more accurate and nuanced AI models, thereby pushing the boundaries of what AI can achieve.

> Youtube: "How-to: Quantum Transformer Algorithm on Dynex"

##### Using Dynex for particle tracking at the Large Hadron Collider (LHC)

The Large Hadron Collider (LHC) is the world’s largest and most powerful particle accelerator. It aims at discovering what our universe is made of by colliding particle beams at high speed, thus creating ‘mini big bangs’. The result of those collisions is a firework of new particles, whose study can help understand what our universe is made of. This repository uses Dynex for superlinear speedup for particle tracking.

> Github: HEPQPR.Qallse on Dynex

**Mode-Assisted Quantum Restricted Boltzmann Machines**

The integration of neuromorphic computing into the Dynex platform signifies a transformative step in computational technology, particularly in the realms of machine learning and optimization. This advanced platform leverages the unique attributes of neuromorphic dynamics, utilising neuromorphic annealing - a technique divergent from conventional computing methods - to adeptly address intricate problems in discrete optimization, sampling, and machine learning.

> Github: Dynex MA-QRBM Package

**Scientific background**: Advancements in Unsupervised Learning: Mode-Assisted Quantum Restricted Boltzmann Machines Leveraging Neuromorphic Computing on the Dynex Platform; Adam Neumann, Dynex Developers; International Journal of Bioinformatics & Intelligent Computing. 2024; Volume 3(1):91- 103, ISSN 2816-8089

##### Efficient Quantum State Tomography on Dynex

Quantum state tomography is a process used in quantum physics to characterize and reconstruct the quantum state of a system. In simple terms, it's like taking a snapshot of a quantum system to understand its properties fully. In quantum mechanics, a quantum state represents the complete description of a quantum system, including its position, momentum, energy, and other physical quantities. However, unlike classical systems where properties are well-defined, quantum systems often exist in superposition states, meaning they can simultaneously be in multiple states until measured. While traditional training methods perform rather poorly, Dynex computed training achieves near perfect fidelity.

> Github: Quantum Mode-assisted unsupervised learning of Restricted Boltzmann Machines

**Scientific background**: Quantum Frontiers on Dynex: Elevating Deep Restricted Boltzmann Machines with Quantum Mode-Assisted Training; Adam Neumann, Dynex Developers; 116660843, Academia.edu; 2024

##### Quantum Single Image Super-Resolution on the Dynex Platform

Implementation of a Quantum Single Image Super-Resolution algorithm to use on the Dynex platform. One of the well-known classical approaches for SISR relies on the well-established patch-wise sparse modeling of the problem. Yet, this field’s current state of affairs is that deep neural networks (DNNs) have demonstrated far superior results than traditional approaches. Nevertheless, quantum computing is expected to become increasingly prominent for machine learning problems soon. Among the two paradigms of quantum computing, namely universal gate quantum computing and adiabatic quantum computing (AQC), the latter has been successfully applied to practical computer vision problems, in which quantum parallelism has been exploited to solve combinatorial optimization efficiently. This algorithm demonstrates formulating quantum SISR as a sparse coding optimization problem, which is solved using the Dynex Neuromorphic Computing Platform via the Dynex SDK. This AQC-based algorithm is demonstrated to achieve improved SISR accuracy.

**Scientific background**: Choong HY, Kumar S, Van Gool L. Quantum Annealing for Single Image Super-Resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition 2023 (pp. 1150-1159)

##### Quantum-Boltzmann-Machine (QBM)

This example demonstrates a Quantum-Boltzmann-Machine (QBM) implementation using the Dynex platform to perform the computations and compare it with a traditional Restricted-Boltzmann-Machine (RBM). RBM is a well-known probabilistic unsupervised learning model which is learned by an algorithm called Contrastive Divergence. An important step of this algorithm is called Gibbs sampling – a method that returns random samples from a given probability distribution. We decided to conduct our experiments on the popular MNIST dataset considered a standard benchmark in many of the machine learning and image recognition subfields. The implementation follows a highly optimised QUBO formulation.

Figure: The QBM evolves much faster to an attractive Mean Squared Error (MSE) than the traditional RBM, which means a significant lower amount of training iterations is required. In addition is the achieved MSE much lower, meaning the QBM created models have higher accuracy. This finding is in line with the results from the papers referenced. However, [1] demonstrated that the process of embedding Boltzmann machines in larger quantum annealer architectures is problematic when huge weights and biases are needed to emulate the Boltzmann machine’s logical nodes using chains and clusters of physical qubits because of the limited number of qubits available. The Dynex Neuromorphic platform provides a more scalable alternative and can used to train models with millions of variables. Especially when real-world models are to be trained, the number of training iterations and accuracy are important.

> Github: : Computing on the Dynex Neuromorphic Platform: Image Classification

**Scientific background:** Dixit V, Selvarajan R, Alam MA, Humble TS and Kais S (2021) Training Restricted Boltzmann Machines With a D-Wave Quantum Annealer. *Front. Phys.* 9:589626. doi: 10.3389/fphy.2021.589626; Sleeman, Jennifer, John E. Dorband and Milton Halem. “A Hybrid Quantum enabled RBM Advantage: Convolutional Autoencoders For Quantum Image Compression and Generative Learning.” *Defense + Commercial Sensing* (2020).

##### Quantum-Support-Vector-Machine (QSVM)

In another example, we ran simulations for the Standard Banknote Authentication dataset and measured the following Key Performing Indicators (KPIs) using a Quantum Support Vector Machine (QSVM):

**Accuracy:**the fraction of samples that have been classified correctly**Precision:**proportion of correct positive identifications over all positive identifications**Recall:**proportion of correct positive identifications over all actual positives**F1 score:**harmonic mean of the model’s precision and recall

Here are the results:

Figure: Quantum (D-Wave) and Neuromorphic (Dynex) based SVM model training is superior to traditional support vector machines. We used Scikit-learn’s LIBSVM using Sequential Minimal Optimisation as benchmark

> Github: Quantum Support Vector Machine with the Dynex PyTorch Plugin

**Scientific background**: Rounds, Max and Phil Goddard. “Optimal feature selection in credit scoring and classification using a quantum annealer.” (2017).

##### Reinforcement Learning Using QBM on the Dynex Platform

We associate a transverse field Ising spin Hamiltonian with a layout of qubits similar to that of a deep Boltzmann machine (DBM) and use the Dynex Platform for sampling. We design a reinforcement learning algorithm in which the set of visible nodes representing the states and actions of an optimal policy are the first and last layers of the deep network. In absence of a transverse field, our simulations show that DBMs are trained more effectively than restricted Boltzmann machines (RBM) with the same number of nodes.

**Scientific background**: Crawford, Daniel & Levit, Anna & Ghadermarzy, Navid & Oberoi, Jaspreet Singh & Ronagh, Pooya. (2018). Reinforcement learning using quantum Boltzmann machines. Quantum Information and Computation. 18. 51-74. 10.26421/QIC18.1-2-3.

##### Recommender System on the Dynex Platform

This example shows a recommender system exploiting community detection. Community detection, by partitioning users and items into densely connected clusters, can boost the accuracy of non-personalised recommendation by assuming that users within each community share similar tastes.

**Scientific background**: Nembrini, Riccardo & Carugno, Costantino & Ferrari Dacrema, Maurizio & Cremonesi, Paolo. (2022). Towards Recommender Systems with Community Detection and Quantum Computing. 579-585. 10.1145/3523227.3551478

###### Industries

> Artificial Intelligence

> Pharmaceutical

> Automotive, Aerospace, Super-Sports and Space

> Financial Services

> Telecommunication

> Research & Science

Quantum computing is on the verge of revolutionizing the field of Artificial Intelligence (AI), heralding a new era where AI systems can process information and learn at speeds and depths previously unimaginable. By leveraging the principles of quantum mechanics, quantum computing can perform complex calculations at exponentially faster rates than traditional computers, enabling AI to analyze vast datasets more efficiently. This quantum acceleration will significantly enhance machine learning models, making them more accurate and capable of solving highly complex problems, from understanding natural languages with greater nuance to predicting trends and behaviors in data that were once considered too intricate to decode.

In particular, quantum computing can transform deep learning, a subset of AI that involves training large neural networks. These networks, which mimic the human brain's ability to learn and make decisions, could be trained much faster and on a scale that is currently unattainable. This means that AI systems could evolve to understand and interact with the world in more sophisticated and human-like ways, potentially unlocking breakthroughs in AI's ability to automate complex tasks, enhance decision-making, and innovate across sectors like healthcare, finance, environmental science, and beyond.

Furthermore, the fusion of quantum computing and AI holds the promise of solving some of the most pressing challenges faced by humanity, including climate change, by optimizing energy consumption and discovering new materials for carbon capture. It could revolutionize drug discovery by simulating the quantum properties of molecules, a task that is incredibly time-consuming and resource-intensive with current technology. The synergy between quantum computing and AI not only paves the way for advancements in existing applications but also opens up new frontiers for exploration and innovation, making what was once science fiction a tangible reality.

##### Quantum Natural Language Processing (QNLP)

Harnessing the power of quantum computing, quantum natural language processing algorithms offers unparalleled advantages in language processing tasks. Quantum algorithms excel in processing vast amounts of data simultaneously, enabling faster and more efficient language analysis. By leveraging quantum superposition and entanglement, our algorithm can explore multiple linguistic features in parallel, leading to more accurate and nuanced language understanding. Additionally, quantum computing's ability to handle complex linguistic structures with higher dimensionality allows for the extraction of deeper semantic meanings from text data. With these advancements, our quantum NLP algorithm promises to revolutionize language processing, paving the way for more sophisticated text analysis and comprehension.

> Youtube "Dynex Quantum-NLP (Q-NLP) Use Case Example"

Showcasing our Q-NLP trained special purpose chatbot for Canadian building codes 2019 vs. 2023! This advanced model assists with queries about specific codes and changes, delivering fast and precise responses. Training time? Just 292.19 seconds.

> Youtube "Introducing Quantum Natural Language Processing on Dynex"

Video showcasing an end-end process of collecting data from websites, training the QNLP model on Dynex and communicating with the resulting ChatGPT style bot (in realtime)

##### Quantum Transformer Algorithm on Dynex (QTransform)

Transformers are a type of deep learning model that have revolutionized the field of artificial intelligence, particularly in natural language processing tasks. They excel at handling sequential data and understanding context over long sequences, enabling advancements in machine translation, text generation, and more. The discovery of a quantum transformer algorithm by Dynex represents a significant leap forward, combining the power of transformers with the unparalleled computational capabilities of quantum computing. This hybrid approach promises even faster processing speeds and enhanced performance, making it possible to tackle complex AI problems more efficiently than ever before. By leveraging quantum principles, such as superposition and entanglement, our quantum transformer algorithm can process vast amounts of data simultaneously, leading to more accurate and nuanced AI models, thereby pushing the boundaries of what AI can achieve.

> Youtube: "How-to: Quantum Transformer Algorithm on Dynex"

##### Using Dynex for particle tracking at the Large Hadron Collider (LHC)

The Large Hadron Collider (LHC) is the world’s largest and most powerful particle accelerator. It aims at discovering what our universe is made of by colliding particle beams at high speed, thus creating ‘mini big bangs’. The result of those collisions is a firework of new particles, whose study can help understand what our universe is made of. This repository uses Dynex for superlinear speedup for particle tracking.

> Github: HEPQPR.Qallse on Dynex

**Mode-Assisted Quantum Restricted Boltzmann Machines**

The integration of neuromorphic computing into the Dynex platform signifies a transformative step in computational technology, particularly in the realms of machine learning and optimization. This advanced platform leverages the unique attributes of neuromorphic dynamics, utilising neuromorphic annealing - a technique divergent from conventional computing methods - to adeptly address intricate problems in discrete optimization, sampling, and machine learning.

> Github: Dynex MA-QRBM Package

**Scientific background**: Advancements in Unsupervised Learning: Mode-Assisted Quantum Restricted Boltzmann Machines Leveraging Neuromorphic Computing on the Dynex Platform; Adam Neumann, Dynex Developers; International Journal of Bioinformatics & Intelligent Computing. 2024; Volume 3(1):91- 103, ISSN 2816-8089

##### Efficient Quantum State Tomography on Dynex

Quantum state tomography is a process used in quantum physics to characterize and reconstruct the quantum state of a system. In simple terms, it's like taking a snapshot of a quantum system to understand its properties fully. In quantum mechanics, a quantum state represents the complete description of a quantum system, including its position, momentum, energy, and other physical quantities. However, unlike classical systems where properties are well-defined, quantum systems often exist in superposition states, meaning they can simultaneously be in multiple states until measured. While traditional training methods perform rather poorly, Dynex computed training achieves near perfect fidelity.

> Github: Quantum Mode-assisted unsupervised learning of Restricted Boltzmann Machines

**Scientific background**: Quantum Frontiers on Dynex: Elevating Deep Restricted Boltzmann Machines with Quantum Mode-Assisted Training; Adam Neumann, Dynex Developers; 116660843, Academia.edu; 2024

##### Quantum Single Image Super-Resolution on the Dynex Platform

Implementation of a Quantum Single Image Super-Resolution algorithm to use on the Dynex platform. One of the well-known classical approaches for SISR relies on the well-established patch-wise sparse modeling of the problem. Yet, this field’s current state of affairs is that deep neural networks (DNNs) have demonstrated far superior results than traditional approaches. Nevertheless, quantum computing is expected to become increasingly prominent for machine learning problems soon. Among the two paradigms of quantum computing, namely universal gate quantum computing and adiabatic quantum computing (AQC), the latter has been successfully applied to practical computer vision problems, in which quantum parallelism has been exploited to solve combinatorial optimization efficiently. This algorithm demonstrates formulating quantum SISR as a sparse coding optimization problem, which is solved using the Dynex Neuromorphic Computing Platform via the Dynex SDK. This AQC-based algorithm is demonstrated to achieve improved SISR accuracy.

**Scientific background**: Choong HY, Kumar S, Van Gool L. Quantum Annealing for Single Image Super-Resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition 2023 (pp. 1150-1159)

##### Quantum-Boltzmann-Machine (QBM)

This example demonstrates a Quantum-Boltzmann-Machine (QBM) implementation using the Dynex platform to perform the computations and compare it with a traditional Restricted-Boltzmann-Machine (RBM). RBM is a well-known probabilistic unsupervised learning model which is learned by an algorithm called Contrastive Divergence. An important step of this algorithm is called Gibbs sampling – a method that returns random samples from a given probability distribution. We decided to conduct our experiments on the popular MNIST dataset considered a standard benchmark in many of the machine learning and image recognition subfields. The implementation follows a highly optimised QUBO formulation.

Figure: The QBM evolves much faster to an attractive Mean Squared Error (MSE) than the traditional RBM, which means a significant lower amount of training iterations is required. In addition is the achieved MSE much lower, meaning the QBM created models have higher accuracy. This finding is in line with the results from the papers referenced. However, [1] demonstrated that the process of embedding Boltzmann machines in larger quantum annealer architectures is problematic when huge weights and biases are needed to emulate the Boltzmann machine’s logical nodes using chains and clusters of physical qubits because of the limited number of qubits available. The Dynex Neuromorphic platform provides a more scalable alternative and can used to train models with millions of variables. Especially when real-world models are to be trained, the number of training iterations and accuracy are important.

> Github: : Computing on the Dynex Neuromorphic Platform: Image Classification

**Scientific background:** Dixit V, Selvarajan R, Alam MA, Humble TS and Kais S (2021) Training Restricted Boltzmann Machines With a D-Wave Quantum Annealer. *Front. Phys.* 9:589626. doi: 10.3389/fphy.2021.589626; Sleeman, Jennifer, John E. Dorband and Milton Halem. “A Hybrid Quantum enabled RBM Advantage: Convolutional Autoencoders For Quantum Image Compression and Generative Learning.” *Defense + Commercial Sensing* (2020).

##### Quantum-Support-Vector-Machine (QSVM)

In another example, we ran simulations for the Standard Banknote Authentication dataset and measured the following Key Performing Indicators (KPIs) using a Quantum Support Vector Machine (QSVM):

**Accuracy:**the fraction of samples that have been classified correctly**Precision:**proportion of correct positive identifications over all positive identifications**Recall:**proportion of correct positive identifications over all actual positives**F1 score:**harmonic mean of the model’s precision and recall

Here are the results:

Figure: Quantum (D-Wave) and Neuromorphic (Dynex) based SVM model training is superior to traditional support vector machines. We used Scikit-learn’s LIBSVM using Sequential Minimal Optimisation as benchmark

> Github: Quantum Support Vector Machine with the Dynex PyTorch Plugin

**Scientific background**: Rounds, Max and Phil Goddard. “Optimal feature selection in credit scoring and classification using a quantum annealer.” (2017).

##### Reinforcement Learning Using QBM on the Dynex Platform

We associate a transverse field Ising spin Hamiltonian with a layout of qubits similar to that of a deep Boltzmann machine (DBM) and use the Dynex Platform for sampling. We design a reinforcement learning algorithm in which the set of visible nodes representing the states and actions of an optimal policy are the first and last layers of the deep network. In absence of a transverse field, our simulations show that DBMs are trained more effectively than restricted Boltzmann machines (RBM) with the same number of nodes.

**Scientific background**: Crawford, Daniel & Levit, Anna & Ghadermarzy, Navid & Oberoi, Jaspreet Singh & Ronagh, Pooya. (2018). Reinforcement learning using quantum Boltzmann machines. Quantum Information and Computation. 18. 51-74. 10.26421/QIC18.1-2-3.

##### Recommender System on the Dynex Platform

This example shows a recommender system exploiting community detection. Community detection, by partitioning users and items into densely connected clusters, can boost the accuracy of non-personalised recommendation by assuming that users within each community share similar tastes.

**Scientific background**: Nembrini, Riccardo & Carugno, Costantino & Ferrari Dacrema, Maurizio & Cremonesi, Paolo. (2022). Towards Recommender Systems with Community Detection and Quantum Computing. 579-585. 10.1145/3523227.3551478

###### Industries

> Artificial Intelligence

> Pharmaceutical

> Automotive, Aerospace, Super-Sports and Space

> Financial Services

> Telecommunication

> Research & Science