What's the problem this feature will solve?
To make the code and the mapping process clearer, it would be good to clearly separate the different tasks:
- Map circuit
- Insert SWAP and MOVE operations
- Convert MOVE to AodOperations
- Schedule circuit
In this regard a possible idea is to consider a "reset" functionality for the mapper which deletes/resets all information needed temporarily during the mapping (e.g. position of mapping, ...) See here
Describe the solution you'd like
Functionality already exists, just restructure the functionality.
What's the problem this feature will solve?
To make the code and the mapping process clearer, it would be good to clearly separate the different tasks:
In this regard a possible idea is to consider a "reset" functionality for the mapper which deletes/resets all information needed temporarily during the mapping (e.g. position of mapping, ...) See here
Describe the solution you'd like
Functionality already exists, just restructure the functionality.