-
Notifications
You must be signed in to change notification settings - Fork 22
/
MappingResults.rst
39 lines (22 loc) · 1.15 KB
/
MappingResults.rst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Results
=======
.. currentmodule:: mqt.qmap
This class captures additional results from the :func:`compile` method.
.. autoclass:: MappingResults
In addition to the mapped circuit
.. autoattribute:: MappingResults.mapped_circuit
it also includes runtime information of the mapping procedure
.. autoattribute:: MappingResults.time
.. autoattribute:: MappingResults.timeout
and information about the input and output circuits.
.. autoattribute:: MappingResults.input
.. autoattribute:: MappingResults.output
If specified in the call to the :func:`compile` method, the `weighted MaxSAT formula <http://www.maxhs.org/docs/wdimacs.html>`_ is also tracked.
.. autoattribute:: MappingResults.wcnf
If the heuristic mapper is used and :code:`debug` is set to :code:`True`, some benchmark information is provided for the whole circuit
.. autoattribute:: MappingResults.heuristic_benchmark
and for each layer separately.
.. autoattribute:: MappingResults.layer_heuristic_benchmark
In addition, the class provides methods to export to other formats.
.. automethod:: MappingResults.json
.. automethod:: MappingResults.csv