circuit
ยค
The quark.circuit module provides tools for constructing, visualizing, and transpiling quantum circuits.
Modules:
| Name | Description |
|---|---|
backend |
This module contains the Backend class, which processes superconducting chip information into an undirected graph representation. It also supports the creation of custom undirected graphs to serve as virtual chips. |
basepasses |
This module contains the TranspilerPass class, an abstract base class for defining transpiler passes that transform or optimize quantum circuits. Subclasses must implement the run method to process QuantumCircuit objects. |
dag |
Tools for converting between directed acyclic graphs (DAGs) and quantum circuits |
decompose |
Some common decomposition methods for two-qubit and three-qubit gates. |
layout |
This module contains the Layout class, which is designed to select suitable layouts |
matrix |
The matrices corresponding to single-qubit, two-qubit and three-qubit gates. |
optimize |
This module contains the |
quantumcircuit |
This module contains the QuantumCircuit class, which offers an intuitive interface for designing, visualizing, |
quantumcircuit_helpers |
The module contains some tools for quantumcircuit. |
routing |
A toolkit for the SABRE algorithm. |
schedule |
A toolkit for applying dynamical decoupling (DD) sequences to quantum circuits. |
translate |
Translate single- and two-qubit gates in the quantum circuit into basis gates. |
transpiler |
This module contains the Transpiler class, which is designed to convert quantum circuits into formats that are more suitable for execution on hardware backends |
utils |
A toolkit for KAK and U3 decompositions. |