Skip to content

Commit

Permalink
deploy: e5555ad
Browse files Browse the repository at this point in the history
  • Loading branch information
rajarshitiwari committed Jan 16, 2024
1 parent 9ffbcd7 commit f4b3489
Show file tree
Hide file tree
Showing 71 changed files with 358 additions and 975 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
2 changes: 1 addition & 1 deletion _sources/pyqm-week1/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Week 1: Overview
# Week 1: Variables, data structures, and operations

## 1.1 - Variables - [Notebook](./notebooks/pyqm-1.1-variables.ipynb) - [Video](https://youtu.be/dU8NKvAxcnE)

Expand Down
42 changes: 30 additions & 12 deletions _sources/pyqm-week2/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Week 2 Contents
# Week 2: Flow control, comprehensions and file operations

## 2.1 - Flow Control - [[Notebook]](./notebooks/pyqm-2.1-flow-control.ipynb) - [[Video]](https://youtu.be/6IUQ12mOb1A)

- Conditional Statements(if,elif,else)
- Testing Code(try,except)
- Conditional Statements(if, elif, else)
- Testing Code (try, except)
- While loops
- Range
- Zip
Expand All @@ -13,14 +13,32 @@

## 2.2 - Compact Code - [[Notebook]](./notebooks/pyqm-2.2-compact-code.ipynb) - [[Video]](https://youtu.be/JBFc9V6BcNY)

- List Comprehensions
- Set Comprehensions
- Dictionary Comprehensions
- Generator Comprehensions
- One-line if and else
- Comprehensions
- list, set, dictionary and more
- Generators
- Maps

## 2.3 - External Data - [[Notebook]](./notebooks/pyqm-2.3-external-data.ipynb) - [[Video]](https://youtu.be/Pjl23pFmk_w)
- Inputting from the terminal/command line
- Copying files
- Reading files
- Writing files
- Creating files
- Basic user input
- Opening, closing and creating file
- Reading and writing files

## 2.4 - Cheatsheet

## 2.5 Tutorial [Tutorial 2](Week2_Exercises/PyQM_Tut.2.ipynb)
1. Convert Decimal To Ten Bit Binary String
2. For Loops, Sequence Sum
3. While Loops, Reverse A Number
4. List Comprehensions
5. DNA
6. Collatz Conjecture
7. Fizz Buzz

## 2.6 Exercise [Exercises 2](Week2_Exercises/PyQM_Ex.2.ipynb)
1. Decimal To/From Binary
2. Balmer Lines
3. Quantum Quibit Gates
4. How many days left do you have to live?
5. Rotating Vectors In 2-Dimensions
6. Quantum Quibit State Normalisation
140 changes: 0 additions & 140 deletions _sources/pyqm-week2/pyqm-2.0-overview.ipynb

This file was deleted.

4 changes: 2 additions & 2 deletions genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@
</li>
</ul>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="pyqm-week1/README.html">Week 1: Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyqm-week2/README.html">Week 2 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyqm-week1/README.html">Week 1: Variables, data structures, and operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyqm-week2/README.html">Week 2: Flow control, comprehensions and file operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyqm-week3/README.html">Week 3 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyqm-week4/README.html">Week 4 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyqm-week5/README.html">Week 5 Contents</a></li>
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<script>DOCUMENTATION_OPTIONS.pagename = 'index';</script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Week 1: Overview" href="pyqm-week1/README.html" />
<link rel="next" title="Week 1: Variables, data structures, and operations" href="pyqm-week1/README.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
</head>
Expand Down Expand Up @@ -177,8 +177,8 @@
</li>
</ul>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="pyqm-week1/README.html">Week 1: Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyqm-week2/README.html">Week 2 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyqm-week1/README.html">Week 1: Variables, data structures, and operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyqm-week2/README.html">Week 2: Flow control, comprehensions and file operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyqm-week3/README.html">Week 3 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyqm-week4/README.html">Week 4 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyqm-week5/README.html">Week 5 Contents</a></li>
Expand Down Expand Up @@ -463,7 +463,7 @@ <h1>Contact<a class="headerlink" href="#contact" title="Permalink to this headin
title="next page">
<div class="prev-next-info">
<p class="prev-next-subtitle">next</p>
<p class="prev-next-title">Week 1: Overview</p>
<p class="prev-next-title">Week 1: Variables, data structures, and operations</p>
</div>
<i class="fa-solid fa-angle-right"></i>
</a>
Expand Down
18 changes: 6 additions & 12 deletions objects.inv
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,9 @@
# Project: Python
# Version:
# The remainder of this file is compressed using zlib.
xڭY�R�0��^u'hl' v�Lg�Zf�d[$dɕ�@���l�XO��}�C�'r�F��&B���I�,Y�W�7�"�7���{Y�
]tPq�D�q-1�g+���ot�%+�z��Nn=E��� Bϳ�_�W7��C����u%�]&?��o1z9$A��X q�^T�3 �����WƓ�R�T�Hq!R���Zm�H�G�H������/o�o}ͧl�}����1>ހm�9ڌ��L�c��#����r W �d�x
J(!�7�lx��p�� �0�|X�8l�:Ԋc&uJ: �4�fT"*�8�'w?5���Pyd��d�ҡ��1P�-�o�Y͐ �u�pcWm�QFހ�;rҁ���'�^@���[mxPq-; KOU�B��%
�p��P ��AȉV2�1-���1��6�D��Rl
މCL�|O����c����d��̆Y��23$`f!4T��5�_�V[:R̐x�5�pd�]�o�8#'ݝ��kh��-���*b�r�q&
g��`��{O
�bdrW
���)�f;�*���i����H��癫.�M�^sWP�Z���!���/m��P�SC����fP)��!�:��­_i��'I>%�犲��A��k��0tft���-.��pN�y/%#��p
���˝n�t�`�b�'𤓡.Ff�J��0��t���z��Q7� ��B��De��+UC$��:�R���AU�m�'�T��ʎ�㧸r���Lu�=�{0qM�xz�P#�p��b�� C�/NW�P}+
���eHӞ��W���#*;�N�S>��cā�
ՓU�'+�Dc�~��=��|��M4��M�'�x&�P'#�Z�f��Gר2 q ɞu�o��������iL
5f���G��Z��ݿ�kt�s�Z�
xڭY�r�0��+��*J�mX�K��L�$m�]f�-@Yr%��~}%c��%aVa�{��{,'K�+����R4��X�W�V����x�QV���U�a� R)��E� c���[Ȍ5�-��]�q�V������������������-�}���7�)���@
i��sU s��
d���2���H,�����ȡi�<h� �T#���p�B��}R�V�ZM�bϒӺi��q�4{�׾�5�� w&�LK��x���3��d3g�q�眿������w��(�@�3�cgB-t���pN����V,�3I_�$��I����W�s����CY ��L6�M�,��6[�${+�[�ġl�<�ka�kڣe�6P�)��v5K�$Ε��ڵmkO2���F�F5ы�У��q���f�C�@3�(W�g�C-��j��79�J���
�(lA>�`Md0_a��
��ob#���]�M����Lpt�)uZ*��Z�)P�)=Q�E�39pg�Ѵt��w`����KM�,7�=���z�)��qD� N}����ɷ�!_c�&��!٩����R �@fI�̲ۙ��R�P�l�(֔F��>3=Ŭ.���I]���<��|i�{%-5m`.ps҄��j��zU��Cn[� ��hz;J[�0��~�/�\��&��p�����z�f�����(��/S��f�K'&.6ZO:Y�bd�}�4��ؒN���z�p��r%Խ�� �p%���"�WV�ë9A*������3�i�e��3R���� u�=({0qC�xf�R#3��Iw�'�Y�w=�s+s��踶:�IK�+EJ����
����� ^ �T1�g� ��$h,���_p+��6��ķiL�|K��4K]���+��^��B�IXDw��� �J��T�c^<M�I��,_��d{m ��������?X>Rp
Expand Down
16 changes: 8 additions & 8 deletions pyqm-week1/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

<title>Week 1: Overview &#8212; Lecture Notes from ICHEC</title>
<title>Week 1: Variables, data structures, and operations &#8212; Lecture Notes from ICHEC</title>



Expand Down Expand Up @@ -66,7 +66,7 @@
<script>DOCUMENTATION_OPTIONS.pagename = 'pyqm-week1/README';</script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Week 2 Contents" href="../pyqm-week2/README.html" />
<link rel="next" title="Week 2: Flow control, comprehensions and file operations" href="../pyqm-week2/README.html" />
<link rel="prev" title="Description" href="../index.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
Expand Down Expand Up @@ -178,8 +178,8 @@
</li>
</ul>
<ul class="current nav bd-sidenav">
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Week 1: Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../pyqm-week2/README.html">Week 2 Contents</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Week 1: Variables, data structures, and operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../pyqm-week2/README.html">Week 2: Flow control, comprehensions and file operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../pyqm-week3/README.html">Week 3 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../pyqm-week4/README.html">Week 4 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../pyqm-week5/README.html">Week 5 Contents</a></li>
Expand Down Expand Up @@ -322,7 +322,7 @@


<div id="jb-print-docs-body" class="onlyprint">
<h1>Week 1: Overview</h1>
<h1>Week 1: Variables, data structures, and operations</h1>
<!-- Table of contents -->
<div id="print-main-content">
<div id="jb-print-toc">
Expand All @@ -349,8 +349,8 @@ <h2> Contents </h2>
<div id="searchbox"></div>
<article class="bd-article">

<section class="tex2jax_ignore mathjax_ignore" id="week-1-overview">
<h1>Week 1: Overview<a class="headerlink" href="#week-1-overview" title="Permalink to this heading">#</a></h1>
<section class="tex2jax_ignore mathjax_ignore" id="week-1-variables-data-structures-and-operations">
<h1>Week 1: Variables, data structures, and operations<a class="headerlink" href="#week-1-variables-data-structures-and-operations" title="Permalink to this heading">#</a></h1>
<section id="variables-notebook-video">
<h2>1.1 - Variables - <a class="reference internal" href="notebooks/pyqm-1.1-variables.html"><span class="doc std std-doc">Notebook</span></a> - <a class="reference external" href="https://youtu.be/dU8NKvAxcnE">Video</a><a class="headerlink" href="#variables-notebook-video" title="Permalink to this heading">#</a></h2>
<ul class="simple">
Expand Down Expand Up @@ -458,7 +458,7 @@ <h2>1.6 Exercise <span class="xref myst">Exercises 1</span><a class="headerlink"
title="next page">
<div class="prev-next-info">
<p class="prev-next-subtitle">next</p>
<p class="prev-next-title">Week 2 Contents</p>
<p class="prev-next-title">Week 2: Flow control, comprehensions and file operations</p>
</div>
<i class="fa-solid fa-angle-right"></i>
</a>
Expand Down
4 changes: 2 additions & 2 deletions pyqm-week1/exercises/pyqm-ex.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@
</li>
</ul>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="../README.html">Week 1: Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week2/README.html">Week 2 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../README.html">Week 1: Variables, data structures, and operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week2/README.html">Week 2: Flow control, comprehensions and file operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week3/README.html">Week 3 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week4/README.html">Week 4 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week5/README.html">Week 5 Contents</a></li>
Expand Down
4 changes: 2 additions & 2 deletions pyqm-week1/exercises/pyqm-tut.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@
</li>
</ul>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="../README.html">Week 1: Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week2/README.html">Week 2 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../README.html">Week 1: Variables, data structures, and operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week2/README.html">Week 2: Flow control, comprehensions and file operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week3/README.html">Week 3 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week4/README.html">Week 4 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week5/README.html">Week 5 Contents</a></li>
Expand Down
4 changes: 2 additions & 2 deletions pyqm-week1/exercises_solutions/PyQM_Ex.1_sol.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@
</li>
</ul>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="../README.html">Week 1: Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week2/README.html">Week 2 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../README.html">Week 1: Variables, data structures, and operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week2/README.html">Week 2: Flow control, comprehensions and file operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week3/README.html">Week 3 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week4/README.html">Week 4 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week5/README.html">Week 5 Contents</a></li>
Expand Down
4 changes: 2 additions & 2 deletions pyqm-week1/exercises_solutions/PyQM_Tut.1_sol.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@
</li>
</ul>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="../README.html">Week 1: Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week2/README.html">Week 2 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../README.html">Week 1: Variables, data structures, and operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week2/README.html">Week 2: Flow control, comprehensions and file operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week3/README.html">Week 3 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week4/README.html">Week 4 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week5/README.html">Week 5 Contents</a></li>
Expand Down
4 changes: 2 additions & 2 deletions pyqm-week1/exercises_solutions/PyQM_Tut.1_sol_alt.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@
</li>
</ul>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="../README.html">Week 1: Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week2/README.html">Week 2 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../README.html">Week 1: Variables, data structures, and operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week2/README.html">Week 2: Flow control, comprehensions and file operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week3/README.html">Week 3 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week4/README.html">Week 4 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week5/README.html">Week 5 Contents</a></li>
Expand Down
4 changes: 2 additions & 2 deletions pyqm-week1/notebooks/pyqm-1.1-variables.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@
</li>
</ul>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="../README.html">Week 1: Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week2/README.html">Week 2 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../README.html">Week 1: Variables, data structures, and operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week2/README.html">Week 2: Flow control, comprehensions and file operations</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week3/README.html">Week 3 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week4/README.html">Week 4 Contents</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../pyqm-week5/README.html">Week 5 Contents</a></li>
Expand Down
Loading

0 comments on commit f4b3489

Please sign in to comment.