A dag circuit that cannot be modified (via remove_op_node)
qiskit.transpiler.fencedobjs.FencedObject is pending deprecation as of qiskit 0.45.0. It will be marked deprecated in a future release, and then removed no earlier than 3 months after the release date. Internal use of FencedObject is already removed from pass manager. Implementation of a task subclass with protection for input object modification is now responsibility of the developer.