quantum-compiler / quartz

The Quartz Quantum Compiler
Apache License 2.0
76 stars 19 forks source link

[Generator] Use row representation in RepGen #173

Closed xumingkuan closed 4 months ago

xumingkuan commented 4 months ago

This PR implements comparison by row representation in RepGen.

It also allows running RepGen and gen_ecc_set.cpp from any directory (not necessarily from quartz/ or build/ now).

Please change

constexpr bool kUseRowRepresentationToCompare = true;

to

constexpr bool kUseRowRepresentationToCompare = false;

in utils/utils.h if you want to use the previous RepGen version.