Results

This class captures additional results from the compile() method.

class MappingResults

Results of the MQT QMAP quantum circuit mapping tool

In addition to the mapped circuit

MappingResults.mapped_circuit

it also includes runtime information of the mapping procedure

MappingResults.time
MappingResults.timeout

and information about the input and output circuits.

MappingResults.input
MappingResults.output

If specified in the call to the compile() method, the weighted MaxSAT formula is also tracked.

MappingResults.wcnf

If the heuristic mapper is used and debug is set to True, some benchmark information is provided for the whole circuit

MappingResults.heuristic_benchmark

and for each layer separately.

MappingResults.layer_heuristic_benchmark

In addition, the class provides methods to export to other formats.

MappingResults.json(self: mqt.qmap.pyqmap.MappingResults) json
MappingResults.csv(self: mqt.qmap.pyqmap.MappingResults) str