Google News
logo
Quantum Computing - Interview Questions
What is a Quantum circuit diagrams?

Some quantum algorithms are easier to understand in a circuit diagram than in the equivalent written matrix representation once you understand the visual conventions.

With Azure Quantum, you can use the azure-quantum Python package to submit quantum circuits with Qiskit, Cirq, and also provider-specific formatted circuits.

Quantum circuit diagram conventions : In a circuit diagram, each solid line depicts a qubit, or more generally, a qubit register. By convention, the top line is qubit register 0 and the remainder are labeled sequentially.

Operations are represented by quantum gates. The term quantum gate is analogous to classical logic gates. Gates acting on one or more qubit registers are denoted as a box. For example, the symbol

Symbol for a Hadamard operation acting on a single-qubit register

is a Hadamard operation acting on a single-qubit register.

In a quantum circuit, time flows from left to right. Quantum gates are ordered in chronological order with the left-most gate as the gate first applied to the qubits. In other words, if you picture the wires as holding the quantum state, the wires bring the quantum state through each of the gates in the diagram from left to right. That is to say

Diagram of quantum gates being applied left-to-right

is the unitary matrix CBA.

Advertisement