I studied the
OPENQASM 2.0 spec a few times but failed to find a way to include my own libraries. Have I missed anything?
Right now, the only way is to use
include "qelib1.inc" mechanism to separate the library from my own code. When the circuit starts to grow, there is a real need to group various components to different files. How can that be achieved without contaminating the