We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
VisualizationError: 'Text visualizaer does know how to build a gate with multiplebits when they are not adjacent to each other'
We just need to indicate/mark those wires that the gate is acting upon, and then it will be clear.
So I think we should show something like this:
┌─────────┐┌─────────┐ q3_0: |0>┤0 ├┤1 ├ │ My_gate ││ │ q3_1: |0>┤1 ├┤ My_gate ├ └─────────┘│ │ q3_2: |0>───────────┤0 ├ └─────────┘
Here, "my_gate" is a two-qubit gate, with some internal definition. It has been added to the circuit like this:
circuit.append(my_gate, [q[0], q[1]]) circuit.append(my_gate, [q[2], q[0]])
Note: this code is possible in PR #1816
The text was updated successfully, but these errors were encountered:
1ucian0
No branches or pull requests
What is the expected enhancement?
We just need to indicate/mark those wires that the gate is acting upon, and then it will be clear.
So I think we should show something like this:
Here, "my_gate" is a two-qubit gate, with some internal definition.
It has been added to the circuit like this:
Note: this code is possible in PR #1816
The text was updated successfully, but these errors were encountered: