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

Suggestion: allow choosing measurement basis #197

Open
GiggleLiu opened this issue Jan 19, 2018 · 1 comment
Open

Suggestion: allow choosing measurement basis #197

GiggleLiu opened this issue Jan 19, 2018 · 1 comment

Comments

@GiggleLiu
Copy link
Contributor

GiggleLiu commented Jan 19, 2018

Selecting the basis of a measurement plays a key role in measurement based quantum computation, which is an important branch of quantum computation (https://arxiv.org/abs/quant-ph/0301052) . Maybe recently I will have chance to learn and implement this feature. Following are two of my concerns,

  • Although measurement basis problem can be circumvented through rotating bases, this approach is neither efficient nor compact.
  • IBM devices do not support this kind of measurements for now, but I believe they will be needed in the future.

I want to know your opinions on putting this feature into ProjectQ. @damiansteiger @thomashaener

@thomashaener
Copy link
Contributor

I think it should be straight-forward to implement, e.g., MeasureX as an additional gate and register a default decomposition rule which does the basis change.
I don't see much benefit in adding this now since it would always be decomposed anyway but if it makes things easier for you / others, I'd be happy to accept a PR adding this.

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

No branches or pull requests

2 participants