Open zohimchandani opened 3 years ago
The meaning of this method is to disable global fencing on 2Q gates, and that should be clear in the documentation. If this is to apply to all 2Q native gates then CPHASE needs to be added to names
, and a code structure that makes it hard to miss an update caused by deployment of a new standard 2Q gate (or, user-defined 2Q gate calibration) would be preferred.
Qubit reset and fencing are 2 common approaches used to enhance the performance of executions on QPU.
Active reset is easy to implement as it has a nice command which can be appended to the start of the program:
program += RESET()
The fence command is more complicated and requires one to define a function:
which is then used when compiling the program. Can we possibly build this into pyQuil so that users can avoid copying code for function definitions and have an easier user interface from which they can access the fencing feature?