Transpiler plugin¶
- class qiskit_aqt_provider.transpiler_plugin.AQTTranslationPlugin[source]¶
Bases:
PassManagerStagePlugin
Translation stage plugin for the
qiskit.transpiler
.If the transpilation target is not
UnboundParametersTarget
, register aWrapRxxAngles
pass after the preset pass irrespective of the optimization level.
- class qiskit_aqt_provider.transpiler_plugin.AQTSchedulingPlugin[source]¶
Bases:
PassManagerStagePlugin
Scheduling stage plugin for the
qiskit.transpiler
.If the transpilation target is not
UnboundParametersTarget
, register aRewriteRxAsR
pass irrespective of the optimization level.
- class qiskit_aqt_provider.transpiler_plugin.RewriteRxAsR[source]¶
Bases:
TransformationPass
Rewrite Rx(θ) as R(θ, φ) with θ ∈ [0, π] and φ ∈ [0, 2π].
- class qiskit_aqt_provider.transpiler_plugin.WrapRxxAngles[source]¶
Bases:
TransformationPass
Wrap Rxx angles to [0, π/2].