Skip to content

Commit

Permalink
added lecture notebooks and related content
Browse files Browse the repository at this point in the history
  • Loading branch information
rajarshitiwari committed Sep 14, 2023
1 parent 2abe246 commit fcb2ae6
Show file tree
Hide file tree
Showing 48 changed files with 24,158 additions and 13 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions pyqm-week3/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Week 3 Contents

## 3.1 - Functions - [[Notebook]](Session_3_Notebooks/PyQM_3.1_Function.ipynb) - [[Video]](https://www.youtube.com/watch?v=h-TmiynfpCs)
## 3.1 - Functions - [[Notebook]](./notebooks/pyqm-3.1-function.ipynb) - [[Video]](https://www.youtube.com/watch?v=h-TmiynfpCs)

- Functions Returning a Value
- Functions Returning Multiple Values
Expand All @@ -9,7 +9,7 @@
- Keyword Arguments, *args, and **kwargs
- Map, Filter, and Lambda Functions

## 3.2 - Classes - [[Notebook]](Session_3_Notebooks/PyQM_3.2_Classes.ipynb) - [[Video]](https://www.youtube.com/watch?v=Jx7woTztGyA)
## 3.2 - Classes - [[Notebook]](./notebooks/pyqm-3.2-classes.ipynb) - [[Video]](https://www.youtube.com/watch?v=Jx7woTztGyA)

- Attributes
- Methods
Expand Down
1,539 changes: 1,539 additions & 0 deletions pyqm-week3/notebooks/pyqm-3.1-function.ipynb

Large diffs are not rendered by default.

1,275 changes: 1,275 additions & 0 deletions pyqm-week3/notebooks/pyqm-3.2-classes.ipynb

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions pyqm-week3/notebooks/pyqm-3.3-cheatsheet.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<center>\n",
" \n",
"# Python For Quantum Mechanics \n",
"# Week 3: Cheatsheet\n",
"\n",
"</center>"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"deepnote": {
"is_reactive": false
},
"deepnote_execution_queue": [],
"deepnote_notebook_id": "307a9885-156d-4daa-baf2-4cefad6ba93a",
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
91 changes: 91 additions & 0 deletions pyqm-week3/pyqm-3.0-overview.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"cell_id": "00000-f396f78a-65b4-4fd5-94d2-c6b10fae0abf",
"deepnote_cell_type": "code",
"tags": []
},
"source": [
"<center>\n",
" \n",
"# Python For Quantum Mechanics \n",
"# Week 3: Overview\n",
"\n",
"</center>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## [3.1 Functions](./notebooks/pyqm-3.1-function.ipynb) \n",
"- Functions Returning a Value\n",
"- Functions Returning Multiple Values\n",
"- Recursive Functions\n",
"- Implicit Arguments\n",
"- Keyword Arguments, *args, and **kwargs\n",
"- Map, Filter, and Lambda Functions"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## [3.2 Classes](./notebooks/pyqm-3.2-classes.ipynb) \n",
"- Attributes\n",
"- Methods\n",
"- Inheritance\n",
"- Magic Methods"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## [3.3 CheatSheet](./notebooks/pyqm-3.3-cheatsheet.ipynb)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## [Tutorial 3](Week3_Exercises/PyQM_Tut.3_sol.ipynb)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## [Excercise 3](Week3_Exercises/PyQM_Ex.3_sol.ipynb)"
]
}
],
"metadata": {
"deepnote": {
"is_reactive": false
},
"deepnote_execution_queue": [],
"deepnote_notebook_id": "a8df27d7-ccbf-45b0-b549-be6985c4f91e",
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
8 changes: 4 additions & 4 deletions pyqm-week4/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Week 4 Contents

## 4.1 - Numpy Basics - [[Notebook]](Session_4_Notebooks/PyQM_4.1_Numpy_Basics.ipynb) - [[Video]](https://www.youtube.com/watch?v=508EUmhzjPs)
## 4.1 - Numpy Basics - [[Notebook]](./notebooks/pyqm-4.1-numpy-basics.ipynb) - [[Video]](https://www.youtube.com/watch?v=508EUmhzjPs)

- Numpy Arrays
- Copying Arrays
Expand All @@ -10,22 +10,22 @@
- 0-Dimensional Arrays
- Multi-Dimensional Arrays

## 4.2 - Numpy Array Creation & Manipulation - [[Notebook]](Session_4_Notebooks/PyQM_4.2_Numpy_Array_Creation_Manipulation.ipynb) - [[Video]](https://www.youtube.com/watch?v=JkAW8I7GVnw)
## 4.2 - Numpy Array Creation & Manipulation - [[Notebook]](./notebooks/pyqm-4.2-numpy-array-creation-manipulation.ipynb) - [[Video]](https://www.youtube.com/watch?v=JkAW8I7GVnw)

- Methods To Create Numpy Arrays
- Non-Numerical Data Types
- Indexing Numpy Arrays
- Slicing Numpy Arrays
- Array Manipulation

## 4.3 - Numpy Linear Algebra - [[Notebook]](Session_4_Notebooks/PyQM_4.3_Numpy_Linear_Algebra.ipynb) - [[Video]](https://www.youtube.com/watch?v=Y4kJA38vwe8)
## 4.3 - Numpy Linear Algebra - [[Notebook]](./notebooks/pyqm-4.3-numpy-linear-algebra.ipynb) - [[Video]](https://www.youtube.com/watch?v=Y4kJA38vwe8)

- Scalar Array Operations
- Element-Wise Operations
- Matrix Algera
- Matrix Transformations

## 4.4 - Numpy Tools - [[Notebook]](Session_4_Notebooks/PyQM_4.4_Numpy_Tools.ipynb) - [[Video]](https://www.youtube.com/watch?v=0ezvWFQhdck)
## 4.4 - Numpy Tools - [[Notebook]](./notebooks/pyqm-4.4-numpy-tools.ipynb) - [[Video]](https://www.youtube.com/watch?v=0ezvWFQhdck)

- Random Sampling
- Binary Operations
Expand Down
10 changes: 10 additions & 0 deletions pyqm-week4/normalised_quibits.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
6.770565308208832400e-01 7.359310117618296232e-01
1.741352768211802335e-02 9.998483730314633444e-01
2.698627885581675670e-02 9.996358040574157000e-01
6.628332995075293665e-02 9.978008419372272897e-01
9.998606641841150111e-01 1.669287923937520790e-02
3.910942221494011217e-02 9.992349338839257022e-01
9.999576661492122209e-01 9.201408012928766894e-03
5.412852251864057607e-01 8.408390482101207875e-01
7.938962015301437997e-03 9.999684859444919471e-01
6.054546037058823327e-01 7.958798419682162617e-01
10 changes: 10 additions & 0 deletions pyqm-week4/notebooks/normalised_quibits.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
6.770565308208832400e-01 7.359310117618296232e-01
1.741352768211802335e-02 9.998483730314633444e-01
2.698627885581675670e-02 9.996358040574157000e-01
6.628332995075293665e-02 9.978008419372272897e-01
9.998606641841150111e-01 1.669287923937520790e-02
3.910942221494011217e-02 9.992349338839257022e-01
9.999576661492122209e-01 9.201408012928766894e-03
5.412852251864057607e-01 8.408390482101207875e-01
7.938962015301437997e-03 9.999684859444919471e-01
6.054546037058823327e-01 7.958798419682162617e-01
Loading

0 comments on commit fcb2ae6

Please sign in to comment.