Skip to content

๐Ÿš€ Learn quantum computing with Qiskit! Comprehensive tutorials, examples, and algorithms for beginners. Features Bell states, quantum teleportation, Grover's algorithm, and interactive Jupyter notebooks. Perfect for students and developers entering the quantum world.

License

Notifications You must be signed in to change notification settings

yuis-ice/qiskit-getting-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Qiskit Getting Started ๐Ÿš€

License: MIT Python 3.8+ Qiskit Code style: black

A comprehensive beginner-friendly guide to quantum computing with Qiskit. Perfect for students, researchers, and developers taking their first steps into the quantum world.

๐ŸŒŸ Features

  • ๐Ÿ”ฌ Quantum Fundamentals: Learn superposition, entanglement, and measurement
  • ๐Ÿงฎ Famous Algorithms: Implement Deutsch-Jozsa, Grover's search, and more
  • ๐Ÿ“Š Interactive Visualizations: Circuit diagrams and measurement histograms
  • ๐Ÿ“š Educational Content: Step-by-step tutorials and explanations
  • ๐Ÿงช Hands-on Examples: Ready-to-run quantum programs
  • ๐ŸŽฏ Progressive Learning: From basics to advanced concepts

๐Ÿš€ Quick Start

Prerequisites

  • Python 3.8 or higher
  • Basic understanding of Python programming

Installation

  1. Clone the repository

    git clone https://github.com/yuis-ice/qiskit-getting-started.git
    cd qiskit-getting-started
  2. Install dependencies

    pip install -r requirements.txt
  3. Run your first quantum circuit

    python examples/hello_quantum.py
  4. Explore interactive tutorials

    jupyter notebook notebooks/qiskit_introduction.ipynb

๐Ÿ“ Project Structure

qiskit-getting-started/
โ”œโ”€โ”€ ๐Ÿ“‚ src/                          # Core quantum modules
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ basic_circuits/           # Fundamental quantum circuits
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ algorithms/               # Quantum algorithms implementation
โ”‚   โ””โ”€โ”€ ๐Ÿ“‚ utils/                    # Simulation and visualization tools
โ”œโ”€โ”€ ๐Ÿ“‚ examples/                     # Ready-to-run demonstrations
โ”‚   โ”œโ”€โ”€ ๐Ÿ hello_quantum.py         # Your first quantum circuit
โ”‚   โ”œโ”€โ”€ ๐Ÿ”— bell_states.py           # Quantum entanglement demo
โ”‚   โ””โ”€โ”€ ๐Ÿ“ก quantum_teleportation.py # Teleportation protocol
โ”œโ”€โ”€ ๐Ÿ“‚ notebooks/                   # Interactive Jupyter tutorials
โ”‚   โ””โ”€โ”€ ๐Ÿ““ qiskit_introduction.ipynb # Complete learning guide
โ”œโ”€โ”€ ๐Ÿ“‚ tests/                       # Unit tests and validation
โ”œโ”€โ”€ ๐Ÿ“„ requirements.txt             # Python dependencies
โ””โ”€โ”€ ๐Ÿ“– README.md                    # This file

๐ŸŽ“ Learning Path

1. Start Here: Quantum Basics

python examples/hello_quantum.py

Learn about qubits, superposition, and your first quantum measurement.

2. Explore Entanglement: Bell States

python examples/bell_states.py

Discover the mysterious quantum correlations that Einstein called "spooky action at a distance."

3. Advanced Protocol: Quantum Teleportation

python examples/quantum_teleportation.py

Transfer quantum information across space using entanglement and classical communication.

4. Interactive Tutorial: Jupyter Notebook

jupyter notebook notebooks/qiskit_introduction.ipynb

Comprehensive hands-on tutorial covering all quantum computing fundamentals.

5. Quantum Algorithms: Deep Dive

Explore the src/algorithms/ directory for implementations of famous quantum algorithms.

๐Ÿ”ฌ What You'll Learn

Quantum Computing Fundamentals

  • Superposition: How qubits can exist in multiple states simultaneously
  • Entanglement: Quantum correlations that don't exist in classical physics
  • Measurement: How observation collapses quantum states
  • Quantum Gates: The building blocks of quantum algorithms

Practical Skills

  • Qiskit Proficiency: Master IBM's quantum computing framework
  • Circuit Design: Build and optimize quantum circuits
  • Simulation: Run quantum programs on classical computers
  • Visualization: Create beautiful quantum circuit diagrams

Famous Quantum Algorithms

  • Deutsch-Jozsa: Determine if a function is constant or balanced
  • Bernstein-Vazirani: Find hidden bit strings efficiently
  • Grover's Search: Search unsorted databases quadratically faster

๐Ÿ’ป Code Examples

Hello Quantum World

from qiskit import QuantumCircuit
from qiskit_aer import AerSimulator

# Create a quantum circuit
qc = QuantumCircuit(1, 1)
qc.h(0)  # Hadamard gate creates superposition
qc.measure(0, 0)

# Run on simulator
simulator = AerSimulator()
job = simulator.run(qc, shots=1000)
result = job.result()
counts = result.get_counts(qc)
print(counts)  # {'0': ~500, '1': ~500}

Bell State (Entanglement)

from qiskit import QuantumCircuit

# Create entangled qubits
qc = QuantumCircuit(2, 2)
qc.h(0)      # Superposition
qc.cx(0, 1)  # Entanglement
qc.measure_all()

# Result: Only |00โŸฉ and |11โŸฉ outcomes!

๐Ÿงช Testing

Run the test suite to verify everything works:

# Run all tests
python -m pytest tests/ -v

# Test specific examples
python -m pytest tests/test_basic_circuits.py -v

๐Ÿค Contributing

We welcome contributions from quantum computing enthusiasts of all levels!

See CONTRIBUTING.md for detailed guidelines.

๐Ÿ“š Additional Resources

Official Documentation

Educational Content

Community

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿท๏ธ Keywords

quantum-computing qiskit python education tutorial quantum-algorithms quantum-circuits superposition entanglement beginner-friendly

๐ŸŒŸ Support

If you find this project helpful:

  • โญ Star this repository
  • ๐Ÿ› Report issues
  • ๐Ÿ’ก Share your ideas
  • ๐Ÿ“ข Tell others about it

Happy Quantum Computing! ๐Ÿš€โš›๏ธ

Made with โค๏ธ for the quantum computing community

About

๐Ÿš€ Learn quantum computing with Qiskit! Comprehensive tutorials, examples, and algorithms for beginners. Features Bell states, quantum teleportation, Grover's algorithm, and interactive Jupyter notebooks. Perfect for students and developers entering the quantum world.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published