pyquil.quantum_processor.compiler module¶
An implementation of an AbstractQuantumProcessor initialized with a user constructed CompilerISA
.
- class pyquil.quantum_processor.compiler.CompilerQuantumProcessor(isa: CompilerISA)[source]¶
Bases:
AbstractQuantumProcessor
An AbstractQuantumProcessor initialized with a user constructed
CompilerISA
.Initialize a CompilerQuantumProcessor with a given
CompilerISA
.- qubit_topology() Graph [source]¶
Return a NetworkX graph that represents the connectivity of qubits in this quantum_processor.
- to_compiler_isa() CompilerISA [source]¶
Return the CompilerISA that this quantum_processor is initialized with.