You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the latest release of qiskit, some elements of DAGNode have been deprecated.
In cutter.py if u.type == "op" and v.type == "op":
throws the following error File "cutqc/cutter.py", line 341, in read_circ if u.type == "op" and v.type == "op": AttributeError: 'DAGInNode' object has no attribute 'type'
Solution is simple
Replace faulting line with if (type(u) == DAGOpNode) and (type(v) == DAGOpNode):
The text was updated successfully, but these errors were encountered:
With the latest release of qiskit, some elements of DAGNode have been deprecated.
In cutter.py
if u.type == "op" and v.type == "op":
throws the following error
File "cutqc/cutter.py", line 341, in read_circ if u.type == "op" and v.type == "op": AttributeError: 'DAGInNode' object has no attribute 'type'
Solution is simple
Replace faulting line with
if (type(u) == DAGOpNode) and (type(v) == DAGOpNode):
The text was updated successfully, but these errors were encountered: