Skip to main contentIBM Quantum Documentation Mirror

WrapAngleRegistry

class qiskit.transpiler.WrapAngleRegistry

Bases: object

Registry of Angle Wrapping function

This class internally contains a mapping of instruction names from a Target to callbacks for wrapping angles that are outside the specified bounds.


Methods

add_wrapper

add_wrapper(name, callback)

substitute_angle_bounds

substitute_angle_bounds(name, angles, qubits)

Get a replacement circuit for