-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
README.md says (example "Pure python quantum computing machinery"):
qc.measure("q1")
qc.measure("q2")
Probability.pretty_print_probabilities(qc.qubits.get_quantum_register_containing("q1").get_state())
If you do so, the last line always output:
|psi>=|00>
Pr(|00>)=1.000000;
<state>=1.000000
Because measurement destroyed the state. IMHO, it should be get_noop instead of get_state.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels