QiskitConverter
- class perceval_interop.qiskit.qiskit_converter.QiskitConverter(backend_name='SLOS', noise_model=None)
Qiskit quantum circuit to perceval processor converter.
- Parameters:
backend_name (
str
) – backend name used in the converted processor (default SLOS)
- convert(gate_circuit, use_postselection=True)
Convert a gate-based quantum circuit into a Processor.
- Parameters:
gate_circuit – gate-based quantum circuit (Qiskit, Myqlm or CQASM)
use_postselection (
bool
) – when True (default), uses optimized number of postprocessed CNOT and ‘Heralded CNOT’ gates. Otherwise, uses only heralded CNOT.
- Return type:
Processor
- Returns:
the converted processor