-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
converters #1410
converters #1410
Conversation
@@ -81,7 +77,9 @@ def __str__(self): | |||
return str(self.draw(output='text')) | |||
|
|||
def __eq__(self, other): | |||
return DAGCircuit.fromQuantumCircuit(self) == DAGCircuit.fromQuantumCircuit(other) | |||
# TODO: removed the DAG from this function |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get this TODO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to remind us that if we combine them to remove this conversion. If we decide to not combine them they can do this step without converting to dag and then a circuit that is the same has data = data not just that the dag are equivalent
""" | ||
# pylint: disable=unused-argument | ||
# TODO: if arguments are really unused, consider changing the signature | ||
# TODO: removed the DAG from this function |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get this TODO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When i do issue #1145 that we dont go to a dag to make the qobj
* Adding qobj converters * Adding circuit_to_dag * Tests * Cleaning up * Adding changes * Adding more * Lint * Update test_circuit_operations.py * Cleaning up
Moving the converters to a folder to remove them from the objects.