An appropriate compiler is automatically created when using get_qc() and it is stored on the QuantumComputer object as the compiler attribute.

The exact process for compilation depends on whether you’re targeting a QPU or a QVM, and you can conceive of other compilation strategies than those included with pyQuil by default. Therefore, we define an abstract interface that all compilers must follow. See AbstractCompiler for more, or use one of the listed compilers below.

_qac.AbstractCompiler The abstract interface for a compiler.
QVMCompiler(endpoint, device) Client to communicate with the Compiler Server.
LocalQVMCompiler(endpoint, device) Client to communicate with a locally executing quilc instance.
QPUCompiler(endpoint, device) Client to communicate with the Compiler Server.