Quickstart

[ ]:
from mqt.bench import get_benchmark
from mqt.predictor import qcompile

Generate Uncompiled Quantum Circuit

[ ]:
qc = get_benchmark("ghz", level="indep", circuit_size=5)
qc.draw()
[ ]:
qc_compiled, compilation_information, quantum_device = qcompile(qc)

Predicted Device

[ ]:
print(quantum_device)

Predicted and Conducted Compilation Passes

[ ]:
print(compilation_information)

Compiled Circuit

[ ]:
qc_compiled.draw()