The main goal of this work was designing a single qubit neural quantum circuit for performing Exclusive-OR, a concrete example of an operation requiring multiple layers in classical neural networks. The corresponding Qiskit code was tested on both simulators and IBM's "ibmqx2" five-qubit quantum processor. Further analyses along training the proposed neural quantum circuit are currently in progress. • A single qubit neural quantum circuit for performing XOR was tested on IBM Q Experience • XOR is a concrete example of an operation requiring multiple layers in classical neural networks.
The main goal of this work was designing a single qubit neural quantum circuit for performing Exclusive-OR, a concrete example of an operation requiring multiple layers in classical neural networks. The corresponding Qiskit code was tested on both simulators and IBM's "ibmqx2" five-qubit quantum processor. Further analyses along training the proposed neural quantum circuit are currently in progress. • A single qubit neural quantum circuit for performing XOR was tested on IBM Q Experience • XOR is a concrete example of an operation requiring multiple layers in classical neural networks.
Quantum neural networks leverage quantum computing to address machine learning problems beyond the capabilities of classical computing. In this study, we demonstrate a quantum neural network that learns the nonlinear exclusive OR function on a desktop quantum computer. The exclusive OR task is a nonlinear benchmark that cannot be solved by a single-layer perceptron, making it an excellent test for quantum machine learning. We trained a variational quantum circuit model in a simulation using the PennyLane framework to learn the two-bit exclusive OR mapping. After obtaining the circuit parameters in the simulation, the trained quantum neural network was deployed on a two-qubit Nuclear Magnetic Resonance-based desktop quantum computer operating at room temperature to evaluate the actual hardware performance. The experimental quantum state fidelity reached approximately 98.85%(Ry) and 99.35%(Rx), and the overall average purity was 95.16%(Ry) and 97.43%(Rx), indicating excellent agreement between the expected and measured results. These positive outcomes underscore the feasibility of quantum machine learning on small-scale quantum hardware, marking a minimal yet physically meaningful benchmark.
Quantum computing offers transformative potential for information processing, promising solutions to complex problems beyond the reach of classical computers. Central to this field is the development of quantum logic gates, the foundational elements of quantum circuits. This work investigates a systematic method for implementing a quantum XOR gate, a critical logic operation, using quantum neural network architectures. Quantum phenomena like superposition and entanglement offer possibilities for substantial progress in areas such as cryptography, simulations, and optimization. Initial findings using QNNs for a classical XOR classification problem show promising accuracy above 90%. Realizing the full potential of quantum computing requires continued advancements in areas like fault-tolerant qubit engineering, high-fidelity gate operations, and scalable circuit design..
Along with the development of AI democratization, the machine learning approach, in particular neural networks, has been applied to wide-range applications. In different application scenarios, the neural network will be accelerated on the tailored computing platform. The acceleration of neural networks on classical computing platforms, such as CPU, GPU, FPGA, ASIC, has been widely studied; however, when the scale of the application consistently grows up, the memory bottleneck becomes obvious, widely known as memory-wall. In response to such a challenge, advanced quantum computing, which can represent 2N states with N quantum bits (qubits), is regarded as a promising solution. It is imminent to know how to design the quantum circuit for accelerating neural networks. Most recently, there are initial works studying how to map neural networks to actual quantum processors. To better understand the state-of-the-art design and inspire new design methodology, this paper carries out a case study to demonstrate an end-to-end implementation. On the neural network side, we employ the multilayer perceptron to complete image classification tasks using the standard and widely used MNIST dataset. On the quantum computing side, we target IBM Quantum processors, which can be programmed and simulated by using IBM Qiskit. This work targets the acceleration of the inference phase of a trained neural network on the quantum processor. Along with the case study, we will demonstrate the typical procedure for mapping neural networks to quantum circuits.
According to recent research on the brain and cognition, the microtubule level activities in the brain are in accordance with the quantum mechanical concepts. Consciousness is the emergent phenomenon of the brain’s subsystems and the quantum neural correlates. Based on the global work-space theory and traditional neural networks, investigations in machine consciousness and machine intelligence are reporting new techniques. In this study, a novel approach using circuit-based quantum neural network is proposed and simulated. This approach satisfies all the criteria of quantum computing and is tested for the exclusive OR (XOR) gate’s nonlinear learning. As a result of the use of quantum gates, various quantum circuits, such as quantum adders and subtractors, are also created and included in the designing and simulation of circuit of the quantum neural networks. Moreover, it is also argued that the proposed circuit of quantum neural network may also be tested and implemented on real quantum computer hardware. The present study also stresses the applicability of techniques of machine learning algorithms such as quantum and classical neural networks to various challenges of High Energy Physics.
This paper showcases a method of parametric synthesis of quantum circuits for training perceptron neural networks. Synapse weights are found using Grover's algorithm with a modified oracle function. The results of running these parametrically synthesized circuits for training perceptrons of three different topologies are described. The circuits were run on a 100-qubit IBM quantum simulator. The synthesis of quantum circuits is carried out using quantum synthesizer "Naginata", which was developed in the scope of this work, the source code of which is published and further documented on GitHub. The article describes the quantum circuit synthesis algorithm for training single-layer perceptrons. At the moment, quantum circuits are created mainly by manually placing logic elements on lines that symbolize quantum bits. The purpose of creating Quantum Circuit Synthesizer "Naginata" was due to the fact that even with a slight increase in the number of operations in a quantum algorithm, leads to the significant increase in size of the corresponding quantum circuit. This causes serious difficulties both in creating and debugging these quantum circuits. The purpose of our quantum synthesizer is enabling users an opportunity to implement quantum algorithms using higher-level commands. This is achieved by creating generic blocks for frequently used operations such as: the adder, multiplier, digital comparator (comparison operator), etc. Thus, the user could implement a quantum algorithm by using these generic blocks, and the quantum synthesizer would create a suitable circuit for this algorithm, in a format that is supported by the chosen quantum computation environment. This approach greatly simplifies the processes of development and debugging a quantum algorithm.
Cloud-based access to quantum computers opens up the way for the empirical implementation of quantum artificial neural networks and for the future integration of quantum computation in different devices, using the cloud to access a quantum computer. The current work experimentally implements quantum artificial neural networks on IBM’s quantum computers, accessed via cloud. Examples are provided for the XOR Boolean function representation problem and decision under risk; in the last case, quantum object-oriented programming using IBM’s Qiskit Python library is employed to implement a form of quantum neural reinforcement learning applied to a classical decision under risk problem, showing how decision can be integrated into a quantum artificial intelligence system, where an artificial agent learns how to select an optimal action when facing a classical gamble. A final reflection is provided on quantum robotics and a future where robotic systems are connected to quantum computers via cloud, using quantum neural computation to learn to optimize tasks and act accordingly.