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

The Quantum Abstract Machine (QAM) provides an abstract interface for running hybrid quantum/classical quil programs on either a Quantum Virtual Machine (QVM, a classical simulator) or a Quantum Processor Unit (QPU, a real quantum device).


The platonic ideal of this class is as a generic interface describing how a classical computer interacts with a live quantum computer.

QPU([endpoint, user, priority, session])

A connection to the QPU.

QVM(connection[, noise_model, gate_noise, …])

A virtual machine that classically emulates the execution of Quil programs.

PyQVM(n_qubits[, quantum_simulator_type, …])

PyQuil’s built-in Quil virtual machine.