Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

arXiv:2312.06624

How To Program Your Own Quantum Computer or QUBE: QUantum computing for BEginners

Martin Nilsson

Published Dec 1, 2023• 0 citations
arXivHTMLPDF

Abstract

Do you think you need to know quantum physics to understand how a quantum computer works? Nope, no worries there. You don't need a deep dive into physics or mathematics, just a bit of familiarity with vectors and matrix multiplication. That's really it. A good handle on Python programming and a few numpy functions will do the trick, specifically reshape(), kron(), matmul(), swapaxes(), linalg.norm(), and random.choice(). In fact, an appendix shows that twelve lines of Python code suffice to define a complete simulator. The whole point of this article is to give you an informal, brief, hopefully digestible and educational description of how you can easily implement your own quantum computer simulator. It's not about `Yet Another Quantum Computer Simulator' (YAQCS?), which are a dime a dozen, but about how to build your own. And, honestly, there's probably no better way to learn how a quantum computer works!

DOI
10.48550/arxiv.2312.06624

Related papers

Visualizing Quantum Mechanics with Python

Steve Spicklemire

Quantum Mechanics can be an abstract and complex subject. Students often complain of confusion, struggle, and frustration as they try to master the topic. The goal of this book is to reduce the complexity and clarify the abstractions with concrete visual examples driven by simple python programs. It is assumed that the reader is concurrently taking a course in quantum mechanics, or self-studying quantum mechanics, but is looking for supplementary material to help with understanding and visualizing how quantum mechanics works. The focus of this book is writing python programs to visualize the underlying behavior of the mathematical theory. The background needed to understand quantum mechanics is differential equations, linear algebra and modern physics. We need a strong foundation in differential equations and linear algebra because the behavior of quantum systems is governed by equations that are written in terms of these concepts. Modern physics includes concepts such as special relativity and quantum phenomena like the photoelectric effect and energy quantization that the theory of quantum mechanics seeks to explain. This book is also not an introduction to the python programming language, or to numpy, or even to VPython. However its programming examples start simply and grow more complex as the chapters progress, so deep expertise in any of these is not a pre-requisite. Key features: · Provides an accessible and practical guide to the abstractions in quantum mechanics with concrete visual examples driven by simple python programs. · Contains few derivations, equations, and proofs. · For complete beginners of python programming, appendix B serves as a very brief introduction to the main concepts needed to understand the code in this book.

CRC Press eBooks•Apr 10, 2024•0 citations

Quantum Computation and Quantum Information Simulation using Python

Shinil Cho

This book provides an easy-to-read but practical introduction to quantum gate simulation to serious learners of the subject. Fundamental physical concepts and selected programming examples of quantum simulations are described for readers who want to use the simulation with a physical understanding background without the use of rigorous mathematics. This book is intended to offer a self-study book for senior and graduate students of physics, computer science, and mathematics who want to learn and write quantum codes. It may also serve as a textbook or a reference in academia and industry. Readers are expected to have introductory knowledge of linear algebra although it is briefly reviewed in this book. Some experience of computer programming is helpful, but no prior knowledge of Python is required for writing the quantum codes shown in this book. Part of IOP Series in Quantum Technology. Key features • Easy-to-read content for self-paced readers. • Many examples with background physics. • Detailed description of entanglement and teleportation. • Guide to industrial resources. • DIY quantum gate simulations.

Institute of Physics eBooks•Jul 1, 2022•2 citations

A REVIEW: A BEGINNER'S JOURNEY TO THE FASCINATING WORLD OF QUANTUM COMPUTING

Subhasish Sarkar

The world of "Quantum Computing" is a fascinating, exciting and challenging one.A Quantum Computer operates based on the science of Quantum Physics.Therefore, it is inevitable that people willing to dive into the world of Quantum Computing need to have at least a very basic understanding of the concepts of Quantum Physics.The objective of this technical article is to enable people, having no knowledge of Quantum Physics, grasp the very basic concepts that enable the functioning of a Quantum Computer and thus, generating an interest in further pursuing this new field of computing technology.

International Journal of Engineering Applied Sciences and Technology•May 31, 2020•0 citations

Quantum Computation

Jaden Pieper, Manuel E. Lladser

A quantum computer is a machine that exploits quantum phenomena to store information and perform computations.\nThe chief goal of this article is to provide a brief but comprehensive introduction to quantum computing. It overviews some mathematical underpinnings of quantum computation for readers with only a basic knowledge of linear algebra and probability. However, it does not attempt to be exhaustive nor make an exposition of quantum physics. It further does not attempt to stay current with physical implementations of quantum computers.\nAfter providing a brief historical background, the article introduces the notion of a quantum bit (qubit) and the linear operators (gates) that act on these. It then addresses systems of multiple qubits and their corresponding gates. Along the way, the article covers the essential concepts of separable systems, as well quantum interference and decoherence. It also describes how to represent gates as quantum circuits. To conclude, it explains the underpinnings of two simple but insightful quantum algorithms. A final section suggests further readings for those who wish to delve deeper into quantum computing.

Scholarpedia•Jan 1, 2018•1 citation

Introduction to Quantum Information Processing

Eduardo R. Mucciolo

This book introduces quantum computing and quantum communications at the undergraduate level for students in the physical sciences, engineering, and mathematics, assuming no prior knowledge of quantum mechanics. It is a self-contained guide assuming only that the reader is familiar with physics at the college level, calculus (up to and including ordinary differential equations), and some matrix algebra and complex numbers. The book brings the reader up to speed with fundamental concepts in quantum information processing and builds a working knowledge of basic quantum algorithms, quantum error correction, and quantum communication protocols. It covers various models of quantum computation and some of the most common physical realizations of qubits. There is a good number of practice problems and exercises that rely on computer programming with the Qiskit language. The book can be used to prepare students of physics, mathematics, electrical and computer engineering, computer science, optics and photonics, and mathematics for internships and research experiences in quantum information processing, both during and after their undergraduate studies. It also helps those who plan to apply to graduate school and do research in this area. Key Features: Self-contained coverage of quantum computing and quantum communications, from the motivations to the fundamentals and applications, including key concepts and contemporary topics. Contains practice problems and exercises, including some that require programming in Qiskit (the python-based, high-level language for programming quantum computers, adopted by nearly all quantum hardware providers and completely open source). Very light background knowledge assumed, making this book accessible to a variety of majors in the natural sciences, engineering, and mathematics.

CRC Press eBooks•Aug 6, 2025•0 citations

Quantum Computing Concepts and Algorithms: Implementation in Python

Issac Diana Jeba Jingle, P. Mano Paul

Quantum computing is no longer a far-off science fiction fantasy; it is an aggressively developing area that has the potential to change all areas of life, including medicine and cryptography. With the increasing availability of quantum computers, the shortage of resources to connect theoretical ideas and practice has taken a central position. This book is an attempt to bridge this gap. The journey of the fundamentals and real-world applications of quantum computing this book offers is an obligatory process on the way to exploring this fast-growing sector. We started by establishing the mathematical basis that we needed to know about quantum mechanics, including complex numbers and matrices and the density matrix. This understanding would be the foundational basis upon which the qubit, the basic unit of quantum information and the potent concepts of superposition and entanglement that provides quantum systems with their inherent advantage, can be studied. We have now equipped the reader with the essentials to build and control the quantum states by an exhaustive description of the quantum gates, and circuits. The book finishes off with a real-world discussion on groundbreaking quantum algorithms such as those of Shor and Grover, and how quantum computation provides fundamentally more efficient solutions to complex problems. Lastly, looking into the future, we pointed out the radical possibilities of this technology in various industries, including smart healthcare and cryptography, machine learning and financial analysis. Looking ahead, this book is more practice than theory, and it is meant to help fill the gap between theory and practice. Through these ideas in Python, readers can not only now see the quantum revolution but also have a role to play in its future. The understanding of these concepts and algorithms can provide a critical footing for contribution to the next big advance in the field of computational science.

Nova Science Publishers eBooks•Jan 1, 2026•0 citations
Do you think you need to know quantum physics to understand how a quantum computer works? Nope, no worries there. You don't need a deep dive into physics or mathematics, just a bit of familiarity with vectors and matrix multiplication. That's really it. A good handle on Python programming and a few numpy functions will do the trick, specifically reshape(), kron(), matmul(), swapaxes(), linalg.norm(), and random.choice(). In fact, an appendix shows that twelve lines of Python code suffice to define a complete simulator. The whole point of this article is to give you an informal, brief, hopefully digestible and educational description of how you can easily implement your own quantum computer simulator. It's not about `Yet Another Quantum Computer Simulator' (YAQCS?), which are a dime a dozen, but about how to build your own. And, honestly, there's probably no better way to learn how a quantum computer works!
Quantum Mechanics can be an abstract and complex subject. Students often complain of confusion, struggle, and frustration as they try to master the topic. The goal of this book is to reduce the complexity and clarify the abstractions with concrete visual examples driven by simple python programs. It is assumed that the reader is concurrently taking a course in quantum mechanics, or self-studying quantum mechanics, but is looking for supplementary material to help with understanding and visualizing how quantum mechanics works. The focus of this book is writing python programs to visualize the underlying behavior of the mathematical theory. The background needed to understand quantum mechanics is differential equations, linear algebra and modern physics. We need a strong foundation in differential equations and linear algebra because the behavior of quantum systems is governed by equations that are written in terms of these concepts. Modern physics includes concepts such as special relativity and quantum phenomena like the photoelectric effect and energy quantization that the theory of quantum mechanics seeks to explain. This book is also not an introduction to the python programming language, or to numpy, or even to VPython. However its programming examples start simply and grow more complex as the chapters progress, so deep expertise in any of these is not a pre-requisite. Key features: · Provides an accessible and practical guide to the abstractions in quantum mechanics with concrete visual examples driven by simple python programs. · Contains few derivations, equations, and proofs. · For complete beginners of python programming, appendix B serves as a very brief introduction to the main concepts needed to understand the code in this book.
This book provides an easy-to-read but practical introduction to quantum gate simulation to serious learners of the subject. Fundamental physical concepts and selected programming examples of quantum simulations are described for readers who want to use the simulation with a physical understanding background without the use of rigorous mathematics. This book is intended to offer a self-study book for senior and graduate students of physics, computer science, and mathematics who want to learn and write quantum codes. It may also serve as a textbook or a reference in academia and industry. Readers are expected to have introductory knowledge of linear algebra although it is briefly reviewed in this book. Some experience of computer programming is helpful, but no prior knowledge of Python is required for writing the quantum codes shown in this book. Part of IOP Series in Quantum Technology. Key features • Easy-to-read content for self-paced readers. • Many examples with background physics. • Detailed description of entanglement and teleportation. • Guide to industrial resources. • DIY quantum gate simulations.
The world of "Quantum Computing" is a fascinating, exciting and challenging one.A Quantum Computer operates based on the science of Quantum Physics.Therefore, it is inevitable that people willing to dive into the world of Quantum Computing need to have at least a very basic understanding of the concepts of Quantum Physics.The objective of this technical article is to enable people, having no knowledge of Quantum Physics, grasp the very basic concepts that enable the functioning of a Quantum Computer and thus, generating an interest in further pursuing this new field of computing technology.
A quantum computer is a machine that exploits quantum phenomena to store information and perform computations.\nThe chief goal of this article is to provide a brief but comprehensive introduction to quantum computing. It overviews some mathematical underpinnings of quantum computation for readers with only a basic knowledge of linear algebra and probability. However, it does not attempt to be exhaustive nor make an exposition of quantum physics. It further does not attempt to stay current with physical implementations of quantum computers.\nAfter providing a brief historical background, the article introduces the notion of a quantum bit (qubit) and the linear operators (gates) that act on these. It then addresses systems of multiple qubits and their corresponding gates. Along the way, the article covers the essential concepts of separable systems, as well quantum interference and decoherence. It also describes how to represent gates as quantum circuits. To conclude, it explains the underpinnings of two simple but insightful quantum algorithms. A final section suggests further readings for those who wish to delve deeper into quantum computing.
This book introduces quantum computing and quantum communications at the undergraduate level for students in the physical sciences, engineering, and mathematics, assuming no prior knowledge of quantum mechanics. It is a self-contained guide assuming only that the reader is familiar with physics at the college level, calculus (up to and including ordinary differential equations), and some matrix algebra and complex numbers. The book brings the reader up to speed with fundamental concepts in quantum information processing and builds a working knowledge of basic quantum algorithms, quantum error correction, and quantum communication protocols. It covers various models of quantum computation and some of the most common physical realizations of qubits. There is a good number of practice problems and exercises that rely on computer programming with the Qiskit language. The book can be used to prepare students of physics, mathematics, electrical and computer engineering, computer science, optics and photonics, and mathematics for internships and research experiences in quantum information processing, both during and after their undergraduate studies. It also helps those who plan to apply to graduate school and do research in this area. Key Features: Self-contained coverage of quantum computing and quantum communications, from the motivations to the fundamentals and applications, including key concepts and contemporary topics. Contains practice problems and exercises, including some that require programming in Qiskit (the python-based, high-level language for programming quantum computers, adopted by nearly all quantum hardware providers and completely open source). Very light background knowledge assumed, making this book accessible to a variety of majors in the natural sciences, engineering, and mathematics.
Quantum computing is no longer a far-off science fiction fantasy; it is an aggressively developing area that has the potential to change all areas of life, including medicine and cryptography. With the increasing availability of quantum computers, the shortage of resources to connect theoretical ideas and practice has taken a central position. This book is an attempt to bridge this gap. The journey of the fundamentals and real-world applications of quantum computing this book offers is an obligatory process on the way to exploring this fast-growing sector. We started by establishing the mathematical basis that we needed to know about quantum mechanics, including complex numbers and matrices and the density matrix. This understanding would be the foundational basis upon which the qubit, the basic unit of quantum information and the potent concepts of superposition and entanglement that provides quantum systems with their inherent advantage, can be studied. We have now equipped the reader with the essentials to build and control the quantum states by an exhaustive description of the quantum gates, and circuits. The book finishes off with a real-world discussion on groundbreaking quantum algorithms such as those of Shor and Grover, and how quantum computation provides fundamentally more efficient solutions to complex problems. Lastly, looking into the future, we pointed out the radical possibilities of this technology in various industries, including smart healthcare and cryptography, machine learning and financial analysis. Looking ahead, this book is more practice than theory, and it is meant to help fill the gap between theory and practice. Through these ideas in Python, readers can not only now see the quantum revolution but also have a role to play in its future. The understanding of these concepts and algorithms can provide a critical footing for contribution to the next big advance in the field of computational science.