pyquil.quantum_processor.transformers.qcs_isa_to_compiler_isa module¶
Transforms a QCS InstructionSetArchitecture into a CompilerISA.
- exception pyquil.quantum_processor.transformers.qcs_isa_to_compiler_isa.QCSISAParseError[source]¶
Bases:
ValueErrorSignals an error when creating a
CompilerISAdue to the operators in the QCSInstructionSetArchitecture.This may raise as a consequence of unsupported gates as well as missing nodes or edges.
- pyquil.quantum_processor.transformers.qcs_isa_to_compiler_isa.qcs_isa_to_compiler_isa(isa: InstructionSetArchitecture) CompilerISA[source]¶
Transform a QCS
InstructionSetArchitectureinto aCompilerISA.