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

Displaying a control gate as a labeled bullet instead of a multibox. #4420

Merged
merged 17 commits into from May 19, 2020

Conversation

scottwn
Copy link
Contributor

@scottwn scottwn commented May 9, 2020

  • I have added the tests to cover my changes.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.

Summary

Fixes #4361

Details and comments

Added logic to Bullet placing the label above or below the wire depending on the position of the bullet.

@scottwn scottwn changed the title Fixes Qiskit/qiskit-terra#4361 Displaying a control gate as a labeled bullet instead of a multibox. May 9, 2020
@1ucian0 1ucian0 self-assigned this May 16, 2020
@1ucian0
Copy link
Member

1ucian0 commented May 17, 2020

There are some scenarios with problems (pushed tests for them). I think is a vertical compression problem.

…'master' of github.com:Qiskit/qiskit-terra into issue-4361
@1ucian0
Copy link
Member

1ucian0 commented May 19, 2020

yeap.. it was a problem with vertical_compression. Fixed in da47380

@1ucian0 1ucian0 requested a review from a team as a code owner May 19, 2020 14:44
@mergify mergify bot merged commit 96e720a into Qiskit:master May 19, 2020
faisaldebouni pushed a commit to faisaldebouni/qiskit-terra that referenced this pull request Aug 5, 2020
…iskit#4420)

* Fixing multibox logic

* Local variable for multibox flag

* Add a test

* linting

* extended test

* more testing

* yeap.. it was a problem with vertical_compression

* lint

* lint

Co-authored-by: Luciano Bello <luciano.bello@ibm.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[text drawer] controlled gates with labels
2 participants