pyquil.quantum_processor.compiler module¶
- class pyquil.quantum_processor.compiler.CompilerQuantumProcessor(isa: CompilerISA)[source]¶
Bases:
AbstractQuantumProcessorAn AbstractQuantumProcessor initialized with a user constructed
CompilerISA.- qubit_topology() Graph[source]¶
The connectivity of qubits in this quantum_processor given as a NetworkX graph.
- to_compiler_isa() 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.