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

Deprecating isinstance(qr[0], tuple) #2474 causes major performance regression #2496

Closed
nonhermitian opened this issue May 23, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@nonhermitian
Copy link
Contributor

Information

  • Qiskit Terra version: master
  • Python version:
  • Operating system:

What is the current behavior?

This has caused major performance regressions as discussed in #2474.

Steps to reproduce the problem

What is the expected behavior?

Suggested solutions

@mtreinish
Copy link
Member

I was concerned that #2474 would have a performance impact, guess it really did.

I wonder why we actually need the Bit classes, considering the backwards compat issues they cause is there actually a benefit to having them over just using the tuple like before? I'd rather just revert all of #2414 then revert just the backwards compat fix.

@mtreinish
Copy link
Member

I went ahead and pushed up patch to revert those new classes: #2499 we can discuss that approach there.

@ajavadia
Copy link
Member

closed by #2511

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants