
Hands on with IBM-Q Survey of IBM-Q, circuit composer, backends. Install Qiskit locally and get started with tutorials. IBM-Q • Go to IBM-Q: https://quantum-computing.ibm.com • Sign-up, explore Circuit Composer (Home>Tools>Circuit Composer). • How to make |β00>, compare simulator to real backend. • OpenQASM: Quantum Assembler Language, the "Intermediate Representation" for quantum operations (the stack between high level Python programming and hardware). Y. Zhang et al., "Optimizing Quantum Programs Against Decoherence: Delaying Qubits into Quantum Superposition," 2019 International Symposium on Theoretical Aspects of Software Engineering (TASE), Guilin, China, 2019, p. 184. <latexit sha1_base64="rQT83/Rn3ohVKfzkRaZkj22T26M=">AAACjnicbVHfb9MwEHYyYF351cEjLxYViAdUJajaeKmotpc+bohuk5qourjXzqqdZPYFqKz8oftrhpsFiW6cZPvzfXf+rO+yUklLUXQbhHtPnj7b7xx0n794+ep17/DNhS0qI3AqClWYqwwsKpnjlCQpvCoNgs4UXmbr0y1/+RONlUX+gzYlphpWuVxKAeRT855NzoU0opLEx6ejGDUffx8Njv3puomyJMXaJWsk97uu+UeerIDQTRooyCgXN/DmF0+S3fpN/ZfxO4FZtTferee9fjSImuCPQdyCPmvjbH4Y7CWLQlQacxIKrJ3FUUmpA+P1FNbdpLJYgljDCmce5qDRpq5xp+YffGbBl4XxKyfeZP/tcKCt3ejMV2qga/uQ2yY/80z/j59VtPyaOpmXFWEu7sWWleJU8K3dfCENClIbD0AY6f/LxTUYEOSHsqPkBXZezgx4H1N3085na1v80KTH4OLLIB4OhufD/vikNbDD3rH37BOL2TEbswk7Y1Mm2C27CzrBQdgLj8JR+O2+NAzanrdsJ8LJHypvxEw=</latexit> Now get your hands dirty and make |βxy> x H | i • y | i • Check that you got the right Bell state by doing appropriate measurements. • How does the simulator compare to real devices? Is there a trend? Can you get better results by judiciously choosing the best qubits in the best devices? Teleportation algorithm with OpenQASM • Teleport your favourite |ψ>=U|0>. After it’s teleported, to check how well it worked. Note: Conditionals (if then else) and qubit resets do not work on real backends yet. But you can replace one layer of conditionals by a suitable control-U operation. • Note in the circuit above. Install Qiskit locally in your machine • Go to the installation guide: https://github.com/Qiskit/qiskit-iqx- tutorials/blob/master/INSTALL.md Follow the instructions to install Anaconda. This will install Jupyter, Python 3.x and other packages. • Go back to the installation guide and install Qiskit using pip. • Follow the instructions to configure IBM-Q (you need to get your API_token from IBM-Q Dashboard > My Account > copy token. • Go to https://github.com/Qiskit. Click on qiskit-iqx-tutorials > basics. .
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages5 Page
-
File Size-