QUANTUM CODES

Some basic quantum computing codes using Qiskit

#1 Quantum Circuit
#2 Statevector
#3 State City
#4 Probability
#5 Histogram
#6 SamplerV2
#7 IBM Runtime
#8 Teleportation
#9 Grover's Algorithm
#0 Define Functions

Crafted by Mirza Nur Hidayat
Ref. IBM Qiskit

#1 Quantum Circuit


from qiskit import QuantumCircuit

qc = QuantumCircuit(2)

qc.h(0)
qc.cx(0, 1)

qc.draw("mpl")