moodlezoup / qdb

Breakpoint debugger for pyQuil with inserted tomography
MIT License
3 stars 0 forks source link

QuilControlFlowGraph and QuilBlock classes #5

Closed moodlezoup closed 5 years ago

moodlezoup commented 5 years ago

Created classes for the CFG and basic block abstractions. Also changed some logic for building the CFG:

QuilBlock gets printed out prettily now. I also imagine we might need to make some changes to these two classes to keep track of measurements and classical control flow.