qe-compiler
qe-compiler copied to clipboard
Convert target registration system away from holding the pointer to the instantiated target
Only one target system will ever be instantiated for a compilation. Therefore we should have a single target pointer with accessors that are globally visible. This would eliminate the need for the changes made here: https://github.com/Qiskit/qss-compiler/pull/86 and allow the target plugin factory to hand over ownership of the target after construction.