QuTech-Delft / OpenSquirrel

A flexible (Python-based) quantum program compiler
Apache License 2.0
7 stars 2 forks source link

Rename opensquirrel to open_squirrel #198

Closed rturrado closed 5 months ago

rturrado commented 5 months ago

Rename opensquirrel to open_squirrel. Rename SquirrelIR to IR. Rename SquirrelIRVisitor to IRVisitor. Rename squirrel_ir to ir.

I am keeping Statement, Gate, Measure… classes within ir.py. That means that, for the time being, they still have to be imported from open_squirrel.ir. I don’t think that is such a bad thing (definitely better than opensquirrel.squirrel_ir). And, since they are classes that actually belong to the IR structure, I would leave them like that. However, I leave this up to debate, since it goes against one of the acceptance criteria for this task.