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:
ValueError
Signals an error when creating a
CompilerISA
due 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
InstructionSetArchitecture
into aCompilerISA
.