Backend in the protocols to reach execute_circuits()
Jacfomg opened this issue · comments
It would be nice to have a way to reach the execute_circuits()
to unroll circuit routines from the qibolab backend inside the protocols.
For this there should be two solutions:
- (proper solution): Add
backend
in the protocolsacquisition
. Eventually we could replace backend with platform and access the platform usingbackend.platform
. - (temporary solution): You can access the backend inside a routine by using
GlobalBackend
provided by qibo.
The 2nd solution works and it would look like what I was doing for #597
After the merging of #597, we can close this issue.