Open Collective
Open Collective
Loading
QEDA Progress
Published on October 7, 2021 by Noah Wood

Giving a little update on QEDA, we are now on year 3 of refactoring the code base and we are slowly, but surely, starting to see the benefits of switching out the original parser with an ANTLR based one.

There is still a little work to be done for the listener, much of the work to be done is unit testing, linting, bringing the code to PEP standard as well as enforcing the QCode IR language specification.

The best news however is that, unlike the initial proof-of-concept of QEDA, this new version is able to successfully parse and build an AST for ALL of the OpenQASM example files as well as parse the includes!

There are a few major components that need to be addressed in the coming months, primarily the synthesizer and the logic gate decomposition. Once this work is done, we should be able to take the old Schematic and PCB generation script and rewrite them to work with our newest iteration of QCode.

One of the biggest benefits we'll see from all of this work is the ability to create custom logic gates rather than solely relying on the universal gate set. We will likely need to create a new standard for these gates to ensure that we don't lose the timing and coherency benefits of the original gate set. I think it might be best to have a flag set for divergent code allowing for the use of either our gate specifications (e.g. for DIYers/hobbyists) to generate a schematic with 'black box' logic gates or for the use of pure optics (e.g. for embedded development)