FENCE

pyquil.gates.FENCE(*qubits)[source]

Produce a FENCE instruction.

Note: If no qubits are specified, then this is interpreted as a global FENCE.

Params qubits

A list of qubits or formal arguments.

Return type

Union[FenceAll, Fence]

Returns

A Fence or FenceAll instance.