-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created routing utilities subdirectory in cirq-core/transformers and added MappingManager module #5823
Created routing utilities subdirectory in cirq-core/transformers and added MappingManager module #5823
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. Left a first round of comments.
I don't have access to this. Just requested. |
Sorry @vtomole ! Just shared it with you. |
…anager syncing with master
…igani/Cirq into routing-mapping_manager syncing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking really good. One last round of comments, mostly around improving docstrings.
@mpharrigan Do you want to take a look as well?
…tead of physical qubits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…added MappingManager module (quantumlib#5823) * created routing utilities in cirq-core/transformers and added MappingManager module * ran continuous integration checks * addressed first round of comments * typo * remove unused distance matrix * updated shortest_path method * formatting * minor bug fix * made changes to docstring * minor docstring fixes; shortest_path() now returns logical qubits instead of physical qubits * nit Co-authored-by: Tanuj Khattar <tanujkhattar@google.com> Co-authored-by: Tanuj Khattar <tanujkhattar@google.com>
…added MappingManager module (quantumlib#5823) * created routing utilities in cirq-core/transformers and added MappingManager module * ran continuous integration checks * addressed first round of comments * typo * remove unused distance matrix * updated shortest_path method * formatting * minor bug fix * made changes to docstring * minor docstring fixes; shortest_path() now returns logical qubits instead of physical qubits * nit Co-authored-by: Tanuj Khattar <tanujkhattar@google.com> Co-authored-by: Tanuj Khattar <tanujkhattar@google.com>
This PR is the first in a series to implement qubit routing capabilities in Cirq. It
(1) creates a new subdirectory in cirq-core/transformers named 'routing' where all qubit routing utilities will live
(2) implements a class MappingManager that will serve to keep track of the mapping of logical to physical qubits during a routing process
For more context, see http://tinyurl.com/cirq-qubit-routing