pyquil.quantum_processor package¶
- class pyquil.quantum_processor.AbstractQuantumProcessor[source]¶
Bases:
abc.ABC
A generic interface describing the qubits, topology, and compiler representation of any arbitrary quantum_processor class.
- abstract qubit_topology() networkx.classes.graph.Graph [source]¶
The connectivity of qubits in this quantum_processor given as a NetworkX graph.
- abstract to_compiler_isa() pyquil.external.rpcq.CompilerISA [source]¶
Construct an ISA suitable for targeting by compilation. This will raise an exception if the requested ISA is not supported by the quantum_processor.