ysiraichi / enfield

An OpenQASM source-to-source Compiler.
GNU General Public License v2.0
20 stars 8 forks source link

Architectures module refactored. #36

Closed ysiraichi closed 6 years ago

ysiraichi commented 6 years ago

Removed method isReverseEdge from Graph class. The standard way to check it is by reversing the parameter of the method hasEdge.

Minor fix when parsing the ArchGraph.

Added A_ibmqx20 architecture and other synthetic ones.

Fixed issue with EnumString, because of the "guard" values first and last. Now, they are not displayed nor returned to the user when calling EnumArchitectures::StringList.