qunicorn_core.core.transpiler.qiskit_transpiler module

class qunicorn_core.core.transpiler.qiskit_transpiler.QPYToQiskit

Bases: CircuitTranspiler

cost: ClassVar[int] = 1
source: ClassVar[str] = 'QPY'
target: ClassVar[str] = 'QISKIT'
transpile_circuit(circuit: Any) QuantumCircuit

Transpile the given circuit to the target format.

class qunicorn_core.core.transpiler.qiskit_transpiler.Qasm2ToQiskit

Bases: CircuitTranspiler

cost: ClassVar[int] = 1
source: ClassVar[str] = 'QASM2'
target: ClassVar[str] = 'QISKIT'
transpile_circuit(circuit: Any) QuantumCircuit

Transpile the given circuit to the target format.

class qunicorn_core.core.transpiler.qiskit_transpiler.Qasm3ToQiskit

Bases: CircuitTranspiler

cost: ClassVar[int] = 1
source: ClassVar[str] = 'QASM3'
target: ClassVar[str] = 'QISKIT'
transpile_circuit(circuit: Any) QuantumCircuit

Transpile the given circuit to the target format.

class qunicorn_core.core.transpiler.qiskit_transpiler.QiskitToQPY

Bases: CircuitTranspiler

cost: ClassVar[int] = 1
source: ClassVar[str] = 'QISKIT'
target: ClassVar[str] = 'QPY'
transpile_circuit(circuit: Any) bytes

Transpile the given circuit to the target format.

class qunicorn_core.core.transpiler.qiskit_transpiler.QiskitToQasm2

Bases: CircuitTranspiler

cost: ClassVar[int] = 1
source: ClassVar[str] = 'QISKIT'
target: ClassVar[str] = 'QASM2'
transpile_circuit(circuit: Any) str

Transpile the given circuit to the target format.

class qunicorn_core.core.transpiler.qiskit_transpiler.QiskitToQasm3

Bases: CircuitTranspiler

cost: ClassVar[int] = 1
source: ClassVar[str] = 'QISKIT'
target: ClassVar[str] = 'QASM3'
transpile_circuit(circuit: Any) str

Transpile the given circuit to the target format.