Returns the QUIL code for the given value.

val The value to turn into QUIL code.
qubits A list of qubits that the value is being applied to. This is needed for cirq.Gate values, which otherwise wouldn't know what qubits to talk about.
formatter A QuilFormatter object for properly ouputting the _quil_ method in a QUIL format.

The result of val._quil_(...) ifvalhas aquilmethod. Otherwise, returnsNone. (Nonenormally indicates that thedecomposefunction should be called onval`)