inQWIRE / SQIR

A Small Quantum Intermediate Representation
MIT License
79 stars 24 forks source link

Improve circuit mapping #19

Open khieta opened 3 years ago

khieta commented 3 years ago

Sophisticated mapping routines (e.g. that use error-aware heuristics to find the best path through a graph) are likely tricky to implement and verify in Coq, so we may want to use existing unverified mappers. We can still provide some correctness guarantees in this case by using verified translation validation functions. For example: we could define a function that compares two programs (along with initial and final qubit layouts) and checks that one is a permutation of the other via inserted SWAPs. We could then prove that if this function returns true, then the mapping routine preserves semantics for that input.

khieta commented 2 years ago

Here is an (in-progress) list of ideas on how to improve VOQC’s circuit mapping: