Last active
August 16, 2020 14:56
-
-
Save ericardomuten/90dcb036f03960755f60ea8165d209a8 to your computer and use it in GitHub Desktop.
For Medium article "Sekilas Tentang Komputasi Kuantum"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from qiskit import QuantumCircuit | |
# buat sirkuit kuantum | |
# maksud angka 1 sebagai argumen disini adalah | |
# sirkuit yang kita buat hanya membutuhkan 1 qubit | |
qc = QuantumCircuit(1) | |
# gambar sirkuitnya | |
qc.draw('mpl') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment