Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Clifford collection, synthesis and basis translation to reduce gate counts while ensuring the output circuit is in the target gateset. Fixes #89 .
Re-ran benchmarks, and UCC still performs better than default Qiskit in gate counts and compile time.
![image](https://private-user-images.githubusercontent.com/82074193/387420663-63e6383d-71eb-4f2d-92d7-9c005d848230.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NTQ2MTEsIm5iZiI6MTczOTY1NDMxMSwicGF0aCI6Ii84MjA3NDE5My8zODc0MjA2NjMtNjNlNjM4M2QtNzFlYi00ZjJkLTkyZDctOWMwMDVkODQ4MjMwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDIxMTgzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkwNzFlODJkMWJlM2Q3MzA3N2MyYTEwMjUxZTBiMGUwMWE3MDI3YmZjNmM2OTYxMzczOGNiY2UyZDQyMzU0YTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.rjI3kPQQMCH1mjdmxY2qgKgDzHUjAL4APmwg4ji2SPs)
I also ran the test added in #84 to confirm that the target gateset is preserved.