← Quantum Store · Guides · Lessons · Glossary · About · Türkçe

Quantum computing glossary

What is a quantum circuit?

A quantum circuit is a quantum program made of gates applied to qubits in order, followed by measurements.

Quantum circuits are usually drawn with a horizontal line per qubit and gate boxes placed on those lines from left to right. Qiskit, Cirq, PennyLane and similar libraries let you build the circuit in code and run it on a simulator or real hardware.

The circuit’s depth (how many layers of gates follow one another) and its number of two-qubit gates are the most important factors for how reliable the result is on today’s noisy hardware.

Try it yourself

The lesson Bits and qubits: the smallest piece of information lets you try this concept in the browser, with no installation.

Related packages

Related concepts

Share: X · LinkedIn