Skip to content
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

Abstract bidirectional map for layouts #44

Open
khieta opened this issue Jul 8, 2022 · 0 comments
Open

Abstract bidirectional map for layouts #44

khieta opened this issue Jul 8, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@khieta
Copy link
Member

khieta commented Jul 8, 2022

To describe a physical-to-logical qubit association for circuit mapping, we use an ad hoc pair of a nat -> nat map and its inverse (see the layout type in Layouts.v). It would be cleaner (and easier for proof) to provide an abstract BiMap type along the lines of Coq's FMap.

@khieta khieta added enhancement New feature or request good first issue Good for newcomers labels Jul 8, 2022
caldwellb added a commit that referenced this issue May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant