This chapter introduces the basic building blocks of quantum computing and a variety of specific algorithms. It begins with a brief review of classical computing and discusses how its key elements – bits, gates, circuits – carry over to the quantum realm. It highlights crucial differences to the classical case, such as the impossibility of copying a qubit. The quantum circuit model is shown to be universal, and a peculiar variant of quantum computing, based on measurements only, is illustrated. That a quantum computer can perform some calculations more efficiently than a classical computer, at least in principle, is exemplified with the Deutsch-Jozsa algorithm. Other examples covered in this chapter are the variational quantum eigensolver, which can be applied to the study of molecules and classical optimization problems; quantum simulation; and entanglement-assisted metrology.
This chapter introduces the basic building blocks of quantum computing and a variety of specific algorithms. It begins with a brief review of classical computing and discusses how its key elements – bits, gates, circuits – carry over to the quantum realm. It highlights crucial differences to the classical case, such as the impossibility of copying a qubit. The quantum circuit model is shown to be universal, and a peculiar variant of quantum computing, based on measurements only, is illustrated. That a quantum computer can perform some calculations more efficiently than a classical computer, at least in principle, is exemplified with the Deutsch-Jozsa algorithm. Other examples covered in this chapter are the variational quantum eigensolver, which can be applied to the study of molecules and classical optimization problems; quantum simulation; and entanglement-assisted metrology.
Quantum computing uses quantum-mechanical principles to enable new models of computation bexond the classical paradigm. This article presents an accessible introduction to the mathematical and conceptual foundations of quantum computing, covering qubits, quantum gates, multi-qubit systems, entanglement, and measurement. The gate-based computation model and quantum circuits are introduced, together with key notations such as universality and reversibility. As an illustrative example, the Deutsch-Josza algorithm is discussed to demonstrate how quantum algorithm can be constucted. The article concludes with a brief overview of the current state and challenges of quantum computing.
Quantum computing represents a fundamentally new paradigm in information processing, in which information is encoded and manipulated using two-level quantum systems known as qubits, whose evolution is governed by the principles of quantum mechanics. This chapter presents a structured introduction to the theoretical foundations of quantum computation, beginning with the limitations of classical computation and the physical constraints that motivate the need for a quantum model of computation. We develop the mathematical framework required to describe quantum information, introducing qubits as state vectors in Hilbert space and examining the roles of superposition, measurement, and unitary evolution. Single-qubit operations are presented through the Pauli and Hadamard gates, along with their geometric interpretation on the Bloch sphere. Building on this formalism, the discussion is extended to multi-qubit systems using tensor products, and quantum entanglement is introduced as a non-classical correlation fundamental to quantum information processing. The chapter then explores quantum algorithms, focusing on Grover’s unstructured search algorithm, to demonstrate how superposition, interference, and entanglement can be harnessed to achieve computational advantages over classical approaches. Finally, the chapter discusses applications of quantum computation, including quantum simulation, cryptography, search and optimization problems, and near-term hybrid quantum algorithms such as the Variational Quantum Eigensolver (VQE)and the Quantum Approximate Optimization (QAO) Algorithm, highlighting their relevance in the noisy intermediate-scale quantum (NISQ) era.
This chapter introduces the basic principles of quantum computation. We shall adhere to the quantum circuit model of computation, with which it is easy to work and which is close to physical implementations. We shall not discuss the more abstract quantum Turing machine model, which, however, has been shown to be equivalent to the circuit model. The elementary unit of quantum information and the basic building block of quantum computation is the qubit, a two-level quantum system that can be prepared, manipulated and measured in a controlled way. A quantum computer can be seen as a collection of n qubits and therefore its wave function resides in a 2 n -dimensional complex Hilbert space. As far as coupling to the environment may be neglected, its evolution in time is unitary and governed by the Schrödinger equation. A quantum computation is composed of three basic steps: preparation of the input state, implementation of the desired unitary transformation acting on this state and measurement of the output state. The output of the measurement process is inherently probabilistic and the probabilities of the different possible outputs are set by the basic postulates of quantum mechanics. Therefore, in a quantum algorithm we must, in general, repeat several times the algorithm to obtain the correct solution of our problem with probability as close to one as desired. In this sense, quantum algorithms are analogous to classical probabilistic algorithms. However, the superposition principle and quantum entanglement open up new possibilities for computation. Quantum computers are potentially more powerful than classical (deterministic or probabilistic) computers due to quantum interference and entanglement. We show that, analogously to classical computation, there exists a small set of gates that are universal, that is, any unitary transformation can be decomposed into a sequence of these gates. We then discuss the implementation of the basic Boolean functions and arithmetic operations on a quantum computer.
This chapter lays the foundation for understanding how quantum computers differ fundamentally from classical computers. It begins with the familiar territory of classical bits—binary units of zeros and ones—before moving to their quantum counterpart, the qubit. The chapter introduces the algebra of quantum mechanics—bras, kets, inner and outer products—and shows how they enable the description of quantum states and transformations. It also introduces the principles of measurement, quantum algorithms (Deutsch and Deutsch–Jozsa, Grover), and the role of unitarity in ensuring reversibility and probability conservation. Finally, the chapter broadens the horizon beyond qubits to qudits, where higher-dimensional systems promise richer computation and shorter circuits. Quantum errors are ubiquitous in all hardware due to inevitable and unwanted interaction with the environment. Amplitude damping errors occur because of energy loss, such as a photon escaping from a quantum system caused by interactions with the environment.
This chapter provides an introduction to the principles of quantum information processing, establishing the theoretical foundation for quantum machine learning. It covers the representation of quantum states using qubits, the mathematical framework of quantum mechanics, and the role of superposition, entanglement, and measurement. Key models such as quantum circuits and quantum gates are introduced, along with illustrative algorithms including Deutsch–Jozsa and Grover’s search. These examples demonstrate how quantum mechanics enables computational speedups and highlights the potential advantages of quantum computing in learning and optimization tasks.
This chapter introduces quantum computing as a new computational paradigm built on superposition, entanglement, interference, and measurement and establishes its relevance to quantum searching and optimization. It first defines the core information primitives—qubits, quantum gates, and quantum circuits—and explains how they enable nonclassical state manipulation compared with deterministic bit-based processing. This chapter then surveys three major models of quantum computation: the gate-based circuit model for algorithmic execution via unitary gate sequences, the measurement-based model using pre-entangled resource states with computation driven by adaptive measurements, and the adiabatic model that encodes solutions in the ground state of a gradually evolved system, aligning naturally with annealing-style optimization. A structured comparison between classical and quantum computing highlights differences in data representation, intrinsic parallelism, scalability constraints, and error behavior and situates quantum supremacy as a task-specific benchmark rather than a universal replacement for classical machines. This chapter connects these foundations to application-critical algorithms, emphasizing Grover’s search and Shor’s factoring as canonical demonstrations of computational advantage. Finally, it motivates the book’s focus by mapping quantum search and optimization to practical domains including database querying, cryptography and post-quantum security, financial risk and fraud analytics, supply-chain logistics, scientific simulation, and emerging workflows such as quantum-assisted drug discovery and routing problems, while noting current hardware limitations and the need for robust error control.