Follow along with the video below to see how to install our site as a web app on your home screen.
Not: This feature may not be available in some browsers.
pip install qiskit
from qiskit import QuantumCircuit, Aer, execute
# 1 qubit, 1 klasik bit
qc = QuantumCircuit(1, 1)
# Hadamard kapısı -> süperpozisyon
qc.h(0)
# Ölçüm
qc.measure(0, 0)
# Simülasyon
simulator = Aer.get_backend('qasm_simulator')
job = execute(qc, simulator, shots=1000)
result = job.result()
print(result.get_counts())