Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace DAGNode class with OpNode, InNode, and OutNode classes #6567

Merged
merged 55 commits into from
Aug 3, 2021
Merged
Show file tree
Hide file tree
Changes from 49 commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
d41727e
First dagcircuit dagnode changes
enavarro51 Jun 5, 2021
35b6e30
Stage 2 OpNode, etc
enavarro51 Jun 5, 2021
fc8bf1c
Update node ops and node types
enavarro51 Jun 6, 2021
9d58862
More predecessor testing
enavarro51 Jun 6, 2021
8661860
Further testing
enavarro51 Jun 7, 2021
69ae524
Put op in OpNode and further testing of dagcircuit
enavarro51 Jun 11, 2021
be6738e
Passing dagcircuit tests
enavarro51 Jun 11, 2021
4cdc91b
Merge branch 'main' into dag_node_op_io
enavarro51 Jun 11, 2021
30a02db
Final dagcircuit cleanup
enavarro51 Jun 11, 2021
318c0b5
Transpiler mods for node.type
enavarro51 Jun 11, 2021
7d5558a
Final transpiler tests
enavarro51 Jun 12, 2021
559e9e8
Merge branch 'main' into dag_node_op_io
enavarro51 Jun 12, 2021
f8cbd63
Fix transpiler tests, change to DAGNodeP
enavarro51 Jun 12, 2021
5d28436
Fix minimal InNode and OutNode
enavarro51 Jun 13, 2021
5853cde
Doc changes
enavarro51 Jun 13, 2021
6cd9bae
Merge branch 'main' into dag_node_op_io
enavarro51 Jun 13, 2021
803eaf2
More docs
enavarro51 Jun 13, 2021
2991e4d
Opflow bug
enavarro51 Jun 14, 2021
17d7745
Finish doc changes and testing
enavarro51 Jun 14, 2021
c1f25b8
Deprecations
enavarro51 Jun 15, 2021
8937e3f
Merge branch 'main' into dag_node_op_io
enavarro51 Jun 15, 2021
c9124f5
Fix merge conflict
enavarro51 Jun 15, 2021
09dfa0a
Make DAGNode parent also
enavarro51 Jun 16, 2021
5324544
Fix _op
enavarro51 Jun 16, 2021
e4d5a9f
Final deprecations for DAGNode
enavarro51 Jun 17, 2021
de56e10
Fix semantic_eq
enavarro51 Jun 17, 2021
88a4875
Update semantic_eq op check
enavarro51 Jun 17, 2021
b99faa8
Add semantic_eq test
enavarro51 Jun 17, 2021
d555f41
Merge branch 'main' into dag_node_op_io
enavarro51 Jun 17, 2021
f6a97f3
Lint
enavarro51 Jun 17, 2021
736357f
Merge branch 'dag_node_op_io' of github.com:enavarro51/qiskit-terra i…
enavarro51 Jun 17, 2021
c985848
Merge branch 'main' into dag_node_op_io
enavarro51 Jun 17, 2021
95f3b47
Fix node.condition and reno
enavarro51 Jun 18, 2021
ac0a881
Merge branch 'dag_node_op_io' of github.com:enavarro51/qiskit-terra i…
enavarro51 Jun 18, 2021
8f87581
Cleanup doc and reno
enavarro51 Jun 20, 2021
bd94850
Merge branch 'main' into dag_node_op_io
enavarro51 Jun 20, 2021
205ac26
Put DAG in class names, cleanup isinstances, add type to new classes-…
enavarro51 Jun 24, 2021
fe1ab48
Lint
enavarro51 Jun 24, 2021
a990ded
Remove condition from apply_operation_back and front
enavarro51 Jun 24, 2021
d19e3f4
Merge branch 'main' into dag_node_op_io
enavarro51 Jun 26, 2021
72fd91f
Fix merge conflicts from 6534
enavarro51 Jun 28, 2021
acdd6c1
Fix latex conflict
enavarro51 Jun 28, 2021
be2002f
Unused import
enavarro51 Jun 28, 2021
92c3693
Fix sort_key, qargs, and cargs and add deprecation testing
enavarro51 Jun 29, 2021
20a0fd6
Merge branch 'main' into dag_node_op_io
enavarro51 Jun 29, 2021
7947061
Move deprecations to 0.19.0 and remove DAGOpNode condition deprecation
enavarro51 Jul 7, 2021
0f6b4b1
Merge branch 'dag_node_op_io' of github.com:enavarro51/qiskit-terra i…
enavarro51 Jul 7, 2021
4bef5d6
Merge branch 'main' into dag_node_op_io
enavarro51 Jul 21, 2021
d763557
Convert type to DAGOpNode and DAGInNode in bip_mapping and dynamical_…
enavarro51 Jul 21, 2021
ddbc425
Several dagcircuit changes and more release note
enavarro51 Aug 2, 2021
054c487
Simplify idle_wires
enavarro51 Aug 2, 2021
82059d2
Merge branch 'main' into dag_node_op_io
enavarro51 Aug 2, 2021
8d5a430
Fix meth
enavarro51 Aug 3, 2021
7d58994
Merge branch 'dag_node_op_io' of github.com:enavarro51/qiskit-terra i…
enavarro51 Aug 3, 2021
1a2150b
Merge branch 'main' into dag_node_op_io
enavarro51 Aug 3, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions qiskit/dagcircuit/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This code is part of Qiskit.
#
# (C) Copyright IBM 2017.
# (C) Copyright IBM 2017, 2021.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
Expand All @@ -25,6 +25,9 @@

DAGCircuit
DAGNode
DAGOpNode
DAGInNode
DAGOutNode
DAGDepNode
DAGDependency

Expand All @@ -37,7 +40,7 @@
DAGCircuitError
"""
from .dagcircuit import DAGCircuit
from .dagnode import DAGNode
from .dagnode import DAGNode, DAGOpNode, DAGInNode, DAGOutNode
from .dagdepnode import DAGDepNode
from .exceptions import DAGCircuitError
from .dagdependency import DAGDependency
185 changes: 87 additions & 98 deletions qiskit/dagcircuit/dagcircuit.py

Large diffs are not rendered by default.

Loading