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

Interactive measurements #29

Open
tobiasBora opened this issue Oct 9, 2020 · 1 comment
Open

Interactive measurements #29

tobiasBora opened this issue Oct 9, 2020 · 1 comment

Comments

@tobiasBora
Copy link

Hello,

First, thanks for this nice project. I'm interesting in using the library behind this project, but is there a way to perform interactive mesurements, i.e. just measure one qubit without measuring everything, so that I can, after receiving the measurement, eventually apply other gates, measure other qubits... Since I want an actual user to provide the measurements to do in real time, gates controlled by measurement outcomes are not enough for my need.

Thanks.

@stewdio
Copy link
Owner

stewdio commented Oct 15, 2020

👋 Hello, Tobias. The short answer is no—and this is because of entanglement. Once qubits are entangled there is no meaningful separation to be made between them; the state of the system is the state of the system and not is de-composable. (This is part of what makes quantum computation so powerful—and so intensive to simulate.)

However, a longer and more open-ended answer… We could step-through the circuit, one moment at a time, and show the system state at each moment. And there are some other aspects we could measure per-register… Perhaps this is a good time for me to raise a hand ✋ and ask for a physicist’s input! (Bueller? Anyone?!)

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