Sample codes for the WSQ Quantum Computing for Beginners course by Tertiary Courses Singapore.
This course introduces participants to quantum computing fundamentals, covering quantum mechanics principles and their practical applications using PennyLane.
- Duration: 2 days
- Delivery: Physical classroom or virtual class via Zoom
- Certification: Certificate of Completion and SkillsFuture Singapore OpenCerts credential
- Hermitian Matrices
- Unitary Matrices
- Eigenvalues and Eigenvectors
- Born Rules
- Tensor Products (States and Operators)
- Density Matrix (Pure and Mixed States)
Single Qubit System
- Pauli X, Y, Z Gates
- Hadamard Gate and Superposition
- Rotation Gates
- Phase Gate
Multi Qubit System
- CNOT Gate and Entanglement
- Bell State
- GHZ State
- CZ Gate
- Swap Gate
- Toffoli (CCNOT) Gate
Measurements
- Sample Measurement
- Count Measurement
- Probability Measurement
- Expectation Value Measurement
- Python >= 3.13
- PennyLane >= 0.44.0
- NumPy >= 2.4.1
- SciPy >= 1.17.0
- Matplotlib >= 3.10.8
# Clone the repository
git clone https://github.com/alfredang/TGS-2022017591-quantum-computing-course.git
cd TGS-2022017591-quantum-computing-course
# Install dependencies using uv
uv syncOpen sample_codes.ipynb in Jupyter Notebook or JupyterLab to explore the course materials and run the quantum computing examples.
uv run jupyter notebook sample_codes.ipynb