Transpiler plugin¶
- class qiskit_aqt_provider.transpiler_plugin.AQTTranslationPlugin[source]¶
Bases:
PassManagerStagePluginTranslation stage plugin for the
qiskit.transpiler.If the transpilation target is not
UnboundParametersTarget, register aWrapRxxAnglespass after the preset pass irrespective of the optimization level.
- class qiskit_aqt_provider.transpiler_plugin.AQTSchedulingPlugin[source]¶
Bases:
PassManagerStagePluginScheduling stage plugin for the
qiskit.transpiler.If the transpilation target is not
UnboundParametersTarget, register a single-qubit gates run decomposition and aRewriteRxAsRpass, irrespective of the optimization level.
- class qiskit_aqt_provider.transpiler_plugin.RewriteRxAsR[source]¶
Bases:
TransformationPassRewrite Rx(θ) and R(θ, φ) as R(θ, φ) with θ ∈ [0, π] and φ ∈ [0, 2π].
Since the pass needs to determine if the relevant angles are in range, target circuits must have all these angles bound when applying the pass.
- class qiskit_aqt_provider.transpiler_plugin.WrapRxxAngles[source]¶
Bases:
TransformationPassWrap Rxx angles to [0, π/2].