Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

Q3mini

Guides

  • Fermionic Quantum Computation
  • Q3: Symbolic Quantum Simulation
  • Quantum Information Systems
  • Quantum Many-Body Systems
  • Quantum Spin Systems

Tech Notes

  • About Q3
  • Q3: Quick Start
  • Quantum Fourier Transform
  • Quantum Information Systems with Q3
  • Quantum Many-Body Systems with Q3
  • Quantum Operations
  • Quantum Spin Systems with Q3
  • Quantum States
  • Quantum Teleportation
  • Quick Quantum Computing with Q3

Symbols

  • Basis
  • Boson
  • Bra
  • CNOT
  • ControlledGate
  • ExpressionFor
  • Fermion
  • Heisenberg
  • Ket
  • Let
  • Majorana
  • Matrix
  • Multiply
  • NambuGreen
  • NambuHermitian
  • NambuMatrix
  • NambuUnitary
  • Pauli
  • Phase
  • QuantumCircuit
  • Qubit
  • Qudit
  • RandomWickCircuitSimulate
  • Rotation
  • Species
  • Spin
  • SWAP
  • WickCircuit
  • WickEntanglementEntropy
  • WickEntropy
  • WickGreenFunction
  • WickJump
  • WickLindbladSolve
  • WickLogarithmicNegativity
  • WickMeasurement
  • WickMonitor
  • WickMutualInformation
  • WickNonunitary
  • WickSimulate
  • WickState
  • WickUnitary

Overviews

  • The Postulates of Quantum Mechanics
  • Quantum Algorithms
  • Quantum Computation: Models
  • Quantum Computation: Overview
  • Quantum Error-Correction Codes
  • Quantum Information Theory
  • Quantum Noise and Decoherence

Quantum Computation: Overview

In the simplest physical terms, quantum computation is an implementation of an arbitrary unitary operation on a finite collection of two-level quantum systems that are called quantum bits or qubits for short. It is typically depicted in a quantum circuit diagram as in Figure 1.
=
Figure 1. The quantum circuit model of quantum computation. (left) The input state from the left is processed by a unitary operator
U
, and then the output state is measured in the computational basis on the right. (right) A quantum computer is programmable, and the unitary gate
U
in the left panel is decomposed into elementary gates that act on one qubit or two at each time.
Each qubit is associated with a line that indicates the time evolution of the state specified on the left, and time flows from left to right. The quantum logic gate operations (or gates for short) on single or multiple qubits are denoted by a rectangular box often with labels indicating the types of the gates. Measurements are denoted by square boxes with needles. After a measurement, time-evolution is represented by dashed lines to remind that the information is classical, that is, there is no superposition.
The input state is prepared in one of the states in the logical basis, typically
|0〉⊗|0〉⊗⋯⊗|0〉
. After an overall unitary operation, the resulting state is measured in the logical basis, and the readouts are supposed to be the result of the computation.
In order for a quantum computer to be programmable, a given unitary operator Uˆ must be implemented as a combination of other more elementary unitary operators
U=
U
1
U
2
⋯
U
L
where each
U
k
is chosen from a small fixed set of elementary gate operations. The latter operations are the elementary quantum logic gates of the quantum computer.
In this collection of tutorial documents, we will examine widely-used choices for elementary gates and illustrate how a set of elementary gates achieve an arbitrary unitary operation to realize the so-called universal quantum computation.
See also Chapter 2 of the
Quantum Workbook (2022)
.
Single-Qubit Gates
The Pauli Gates
The Hadamard Gate
Rotations
Euler Rotations
A Discrete Set of Universal Rotations
Two-Qubit Gates
Controlled-NOT Gate (CNOT)
Controlled-Z Gate (CZ)
SWAP Gate
Controlled-Unitary Gates
General Unitary Gates
Multi-Control NOT Gate
The Toffoli Gate
The Fredkin Gate
Implementations
Multi-Control Unitary Gates
Gray-Code Method
Quadratic Implementations
Universal Quantum Computation
Decomposition into Two-Level Unitary Matrices
Implementation of Two-Level Unitary Matrices: Idea
Implementation of Two-Level Unitary Matrices: Gray Code Sequence
Universal Quantum Computation Theorem
Computational Model of Measurement
Measurement in an Arbitrary Basis
Pauli Measurements
RelatedGuides
▪
Quantum Information Systems
RelatedTechNotes
▪
Quantum Information Systems with Q3
▪
Quick Quantum Computing with Q3
RelatedLinks
▪
M. Nielsen and I. L. Chuang (2022)
, Quantum Computation and Quantum Information (Cambridge University Press).
▪
Mahn-Soo Choi (2022)
, A Quantum Computation Workbook (Springer).
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com