QuantumComputing
QuantumComputing copied to clipboard
This is an implementation of IBM's Quantum Experience in simulation; a 5-qubit quantum computer with a limited set of gates. Please cite me if you end up using this academically.
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; =1.000000 ``` Because measurement destroyed...
Hi! Do I need a quantum computer to run this sample? Regards, Nathan Aw https://sg.linkedin.com/in/awnathan http://www.nasdaq.com/article/guest-post-understanding-the-limits-and-potential-of-blockchain-technology-cm874892 https://www.hyperledger.org/blog/2017/12/05/developer-showcase-series-nathan-aw-ntt-data https://bitcoinmagazine.com/authors/nathan-aw/ https://github.com/nathanawmk
Minor: On the section about "Working with Individual States and gates", one minor issue is that the qc has to be either "qc.reset()" or redefine "qc = ...". I suspect...