epiqc / ScaffCC

Compilation, analysis and optimization framework for the Scaffold quantum programming language.
BSD 2-Clause "Simplified" License
188 stars 53 forks source link

Fixing QX simulator target CNOT Toffoli input ordering #23

Closed yipenghuang0302 closed 6 years ago

yipenghuang0302 commented 6 years ago

Fixing CNOT and Toffoli input ordering for the script that generates QX simulator inputs. Both Scaffold and QX simulator have the input convention of control, control, target

I've been using Scaffold outputs that feed into the QX simulator and noticed this fix is needed.