quri_parts.qiskit.circuit.transpile package#
- class QiskitTranspiler(backend=None, basis_gates=None, optimization_level=None)#
Bases:
CircuitTranspilerProtocol
A CircuitTranspiler that uses Qiskit’s transpiler to convert circuits to backend-compatible circuits, convert gate sets, perform circuit optimization, etc.
This transpiler converts NonParametricQuantumCircuit to NonParametricQuantumCircuit just like other transpilers in QURI Parts though the conversion of the circuit to Qiskit and vice versa is performed internally.
- Parameters:
backend (Optional[Backend]) – Qiskit’s Backend instance. If specified, the gate set for the device is used for the output and the basis_gates option is ignored.
basis_gates (Optional[Sequence[GateNameType]]) – Specify the gate set after decomposition as a list of gate name strings. If omitted, all gates compatible with Qiskit may exist in the output.
optimization_level (Optional[int]) – Specifies the optimization level of the circuit.