QiskitConverter
- class perceval_interop.qiskit.qiskit_converter.QiskitConverter
Qiskit quantum circuit to perceval experiment converter.
- convert(gate_circuit, use_postselection=True)
Convert a gate-based quantum circuit into an Experiment.
- 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:
Experiment- Returns:
the converted experiment