Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • Samuel/lectures
  • mathematics-for-quantum-physics/lectures
2 results
Show changes
Showing
with 7966 additions and 645 deletions
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
docs/figures/DE2_1.png

363 KiB

docs/figures/Phase_portrait_with_cars.png

2.04 MiB

This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:ns1="http://www.iki.fi/pav/software/textext/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="118.31828mm"
height="86.78421mm"
viewBox="0 0 118.31828 86.78421"
version="1.1"
id="svg8"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="shape_polar.svg">
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.0013187"
inkscape:cx="-58.530136"
inkscape:cy="82.218788"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="2450"
inkscape:window-height="1343"
inkscape:window-x="110"
inkscape:window-y="41"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<defs
id="defs2">
<marker
inkscape:isstock="true"
style="overflow:visible"
id="Arrow1Mend"
refX="0"
refY="0"
orient="auto"
inkscape:stockid="Arrow1Mend">
<path
transform="matrix(-0.4,0,0,-0.4,-4,0)"
style="fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:#0000ff;stroke-width:1.00000003pt;stroke-opacity:1"
d="M 0,0 5,-5 -12.5,0 5,5 Z"
id="path840"
inkscape:connector-curvature="0" />
</marker>
<marker
inkscape:isstock="true"
style="overflow:visible"
id="Arrow1Lend"
refX="0"
refY="0"
orient="auto"
inkscape:stockid="Arrow1Lend">
<path
transform="matrix(-0.8,0,0,-0.8,-10,0)"
style="fill:#0000ff;fill-opacity:1;fill-rule:evenodd;stroke:#0000ff;stroke-width:1.00000003pt;stroke-opacity:1"
d="M 0,0 5,-5 -12.5,0 5,5 Z"
id="path834"
inkscape:connector-curvature="0" />
</marker>
</defs>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Layer 1"
transform="translate(-70.281469,-83.469512)">
<path
inkscape:connector-curvature="0"
id="path817"
d="M 83.498221,136.87366 C 72.190973,131.50655 67.942166,116.81252 72.722969,105.62967 76.438252,94.6673 88.416595,86.117542 100.11169,89.479262 c 7.06925,3.361833 15.02361,2.169934 22.49825,0.831585 10.96393,-1.787054 22.91388,-5.528237 33.60862,-0.759907 7.92755,4.702393 10.70044,14.13494 14.80023,21.7763 3.63136,11.76529 -5.64927,22.51374 -14.98054,28.34477 -2.12926,5.23033 -1.22422,13.39794 -5.71733,18.63886 -7.37973,11.9547 -24.12418,14.26872 -36.03439,8.19903 -9.44522,-2.09054 -14.25857,-11.18965 -18.281292,-19.09118 -2.800323,-4.76163 -6.870042,-9.34731 -12.507017,-10.54506 z"
style="fill:#e6e6e6;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path829"
d="M 122.60498,125.7758 160.6548,95.917259"
style="fill:none;stroke:#0000ff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Mend)" />
<g
id="g859"
ns1:jacobian_sqrt="1.85829"
inkscapeversion="0.92.3"
ns1:alignment="middle center"
ns1:scale="5.26759398439"
ns1:preamble="/home/michael/.config/inkscape/extensions/default_packages.tex"
ns1:text="$r(\\varphi)$"
ns1:pdfconverter="pdf2svg"
ns1:texconverter="pdflatex"
ns1:version="0.8.1"
transform="matrix(1.2923211,0,0,1.2923211,-26.894799,-81.017925)"
style="fill:#0000ff;fill-opacity:1">
<g
id="surface1"
style="fill:#0000ff;fill-opacity:1">
<g
id="g844"
style="fill:#0000ff;fill-opacity:1">
<path
id="path842"
transform="translate(148.712,134.765)"
d="m 0.875,-0.59375 c -0.03125,0.15625 -0.09375,0.390625 -0.09375,0.4375 0,0.171875 0.140625,0.265625 0.296875,0.265625 0.125,0 0.296875,-0.078125 0.375,-0.28125 C 1.46875,-0.203125 1.796875,-1.5625 1.84375,-1.75 c 0.078125,-0.328125 0.265625,-1.015625 0.3125,-1.296875 0.046875,-0.125 0.328125,-0.59375 0.5625,-0.8125 0.078125,-0.0625 0.375,-0.328125 0.796875,-0.328125 0.265625,0 0.40625,0.125 0.421875,0.125 -0.296875,0.046875 -0.515625,0.28125 -0.515625,0.546875 0,0.15625 0.109375,0.34375 0.375,0.34375 0.265625,0 0.546875,-0.234375 0.546875,-0.59375 0,-0.34375 -0.3125,-0.640625 -0.828125,-0.640625 C 2.875,-4.40625 2.4375,-3.921875 2.25,-3.640625 2.15625,-4.09375 1.796875,-4.40625 1.328125,-4.40625 0.875,-4.40625 0.6875,-4.015625 0.59375,-3.84375 0.421875,-3.5 0.296875,-2.90625 0.296875,-2.875 c 0,0.109375 0.09375,0.109375 0.109375,0.109375 0.109375,0 0.109375,-0.015625 0.171875,-0.234375 0.171875,-0.703125 0.375,-1.1875 0.734375,-1.1875 0.15625,0 0.296875,0.078125 0.296875,0.453125 0,0.21875 -0.03125,0.328125 -0.15625,0.84375 z m 0,0"
style="fill:#0000ff;fill-opacity:1;stroke:none;stroke-width:0"
inkscape:connector-curvature="0" />
</g>
<g
id="g848"
style="fill:#0000ff;fill-opacity:1">
<path
id="path846"
transform="translate(153.484,134.765)"
d="m 3.296875,2.390625 c 0,-0.03125 0,-0.046875 -0.171875,-0.21875 C 1.890625,0.921875 1.5625,-0.96875 1.5625,-2.5 c 0,-1.734375 0.375,-3.46875 1.609375,-4.703125 0.125,-0.125 0.125,-0.140625 0.125,-0.171875 0,-0.078125 -0.03125,-0.109375 -0.09375,-0.109375 -0.109375,0 -1,0.6875 -1.59375,1.953125 -0.5,1.09375 -0.625,2.203125 -0.625,3.03125 0,0.78125 0.109375,1.984375 0.65625,3.125 C 2.25,1.84375 3.09375,2.5 3.203125,2.5 c 0.0625,0 0.09375,-0.03125 0.09375,-0.109375 z m 0,0"
style="fill:#0000ff;fill-opacity:1;stroke:none;stroke-width:0"
inkscape:connector-curvature="0" />
</g>
<g
id="g852"
style="fill:#0000ff;fill-opacity:1">
<path
id="path850"
transform="translate(157.358,134.765)"
d="M 1.6875,1.6875 C 1.65625,1.828125 1.640625,1.84375 1.640625,1.890625 c 0,0.21875 0.1875,0.28125 0.296875,0.28125 0.046875,0 0.265625,-0.03125 0.359375,-0.265625 C 2.328125,1.828125 2.375,1.5 2.65625,0.09375 c 0.078125,0 0.15625,0.015625 0.328125,0.015625 1.65625,0 3.1875,-1.5625 3.1875,-3.140625 0,-0.78125 -0.390625,-1.375 -1.140625,-1.375 -1.4375,0 -2.046875,1.9375 -2.640625,3.875 C 1.3125,-0.734375 0.75,-1.28125 0.75,-2 c 0,-0.28125 0.234375,-1.375 0.828125,-2.0625 0.09375,-0.09375 0.09375,-0.109375 0.09375,-0.140625 0,-0.03125 -0.03125,-0.09375 -0.125,-0.09375 -0.28125,0 -1.046875,1.453125 -1.046875,2.40625 0,0.9375 0.65625,1.65625 1.71875,1.90625 z m 1.390625,-2.15625 c -0.09375,0 -0.109375,0 -0.1875,-0.015625 -0.125,0 -0.125,0 -0.125,-0.03125 0,-0.015625 0.171875,-0.9375 0.1875,-1.078125 0.3125,-1.28125 1.09375,-2.234375 1.984375,-2.234375 0.6875,0 0.953125,0.53125 0.953125,1.015625 0,1.125 -1.28125,2.34375 -2.8125,2.34375 z m 0,0"
style="fill:#0000ff;fill-opacity:1;stroke:none;stroke-width:0"
inkscape:connector-curvature="0" />
</g>
<g
id="g856"
style="fill:#0000ff;fill-opacity:1">
<path
id="path854"
transform="translate(163.875,134.765)"
d="m 2.875,-2.5 c 0,-0.765625 -0.109375,-1.96875 -0.65625,-3.109375 -0.59375,-1.21875 -1.453125,-1.875 -1.546875,-1.875 -0.0625,0 -0.109375,0.046875 -0.109375,0.109375 0,0.03125 0,0.046875 0.1875,0.234375 0.984375,0.984375 1.546875,2.5625 1.546875,4.640625 0,1.71875 -0.359375,3.46875 -1.59375,4.71875 C 0.5625,2.34375 0.5625,2.359375 0.5625,2.390625 0.5625,2.453125 0.609375,2.5 0.671875,2.5 0.765625,2.5 1.671875,1.8125 2.25,0.546875 2.765625,-0.546875 2.875,-1.65625 2.875,-2.5 Z m 0,0"
style="fill:#0000ff;fill-opacity:1;stroke:none;stroke-width:0"
inkscape:connector-curvature="0" />
</g>
</g>
</g>
<path
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
id="path882"
sodipodi:type="arc"
sodipodi:cx="122.34084"
sodipodi:cy="125.79015"
sodipodi:rx="1.3211745"
sodipodi:ry="1.3211745"
sodipodi:start="0"
sodipodi:end="6.2723294"
d="m 123.66202,125.79015 a 1.3211745,1.3211745 0 0 1 -1.31759,1.32117 1.3211745,1.3211745 0 0 1 -1.32474,-1.314 1.3211745,1.3211745 0 0 1 1.3104,-1.3283 1.3211745,1.3211745 0 0 1 1.33185,1.30679 l -1.3211,0.0143 z" />
</g>
</svg>
# Math for quantum
# Mathematics for Quantum Physics
!!! summary "Learning goals"
*Mathematics for Quantum Mechanics* gives you a compact introduction and review
of the basic mathematical tools commonly used in quantum mechanics. Throughout
the course, we keep quantum mechanics applications in mind, but at the
core, this is still a mathematics course. For this reason, applying what you learned
to examples and exercises is **crucial**!
!!! tip "Learning goals"
After following this course you will be able to:
- Solve awesome problems
- Tell exciting stories
- reproduce elementary formulas from the topics covered.
- solve mathematical problems encountered in the follow-up courses of the minor.
- explain Hilbert spaces of (in)finite dimension.
!!! note "Exercises"
Each lecture note comes with an extensive set of exercises, and each exercise is labeled according to its difficulty:
- [:grinning:] easy
- [:smirk:] intermediate
- [:sweat:] difficult
In these notes our aim is to provide learning materials which are:
With these notes, our aim is to provide learning materials which are:
- self-contained
- easy to modify and remix, so we provide the full source, including the code
......
MathJax.Hub.Config({
config: ["MMLorHTML.js"],
jax: ["input/TeX", "output/HTML-CSS", "output/NativeMML"],
"fast-preview": {disabled:true},
tex2jax: {
inlineMath: [ ['$','$'] ],
processEscapes: true
},
extensions: ["MathMenu.js", "MathZoom.js"]
});
.MathJax_Display, .MJXc-display, .MathJax_SVG_Display {
overflow-x: auto;
overflow-y: hidden;
}
from pathlib import Path
import shutil
import mimetypes
import nbconvert
import notedown
from traitlets.config import Config
from nbconvert_fix import ExtractOutputPreprocessor
reader = notedown.MarkdownReader(code_regex='fenced')
mimetypes.add_type('application/vnd.plotly.v1+json', '.json')
src = Path('src')
target = Path('docs')
shutil.rmtree(target, ignore_errors=True)
target.mkdir(exist_ok=True)
shutil.copytree(src / 'figures', target / 'figures')
shutil.copytree(src / 'scripts', target / 'scripts')
shutil.copytree(src / 'styles', target / 'styles')
output_extractor = ExtractOutputPreprocessor()
output_extractor.extract_output_types = (
output_extractor.extract_output_types
| {'application/vnd.plotly.v1+json'}
)
exporter = nbconvert.MarkdownExporter(
config=Config(dict(
MarkdownExporter=dict(
preprocessors=[
nbconvert.preprocessors.ExecutePreprocessor,
output_extractor,
],
exclude_input=False,
template_file='extra_markdown.tpl',
),
NbConvertBase=dict(
display_data_priority=[
'text/html',
'text/markdown',
'image/svg+xml',
'text/latex',
'image/png',
'application/vnd.plotly.v1+json',
'image/jpeg',
'text/plain'
]
),
))
)
writer = nbconvert.writers.FilesWriter(build_directory=str(target))
for source_file in src.glob('*.md'):
fname = source_file.name[:-len('.md')]
notebook = reader.reads(source_file.read_text())
output, resources = exporter.from_notebook_node(
notebook,
resources={
'unique_key': fname,
'output_files_dir': 'figures',
'metadata': {'path': 'src/code'}
}
)
writer.write(output, resources, fname)
{% extends 'markdown.tpl' %}
{% block input %}
{% if cell.metadata.attributes and cell.metadata.attributes.initialize %}
<div class="thebelab-init-code">
<pre class="thebelab-code" data-executable="true" data-language="python">
{{cell.source}}
</pre>
</div>
{% endif %}
{% endblock %}
{% block display_data %}
{% if cell.metadata.attributes and cell.metadata.attributes.editable == 'false' and not cell.metadata.attributes.initialize %}
{{ super() }}
{% elif cell.metadata.attributes and cell.metadata.attributes.initialize %}
{% if output.data['text/html'] %}
<div>
{{ output.data['text/html'] }}
</div>
{% endif %}
{% else %}
<pre class="thebelab-code" data-executable="true" data-language="python">{{cell.source}}</pre>
<div class="thebelab-output" data-output="true" markdown="1">
{% if output.data['text/html'] %}
{{ output.data['text/html'] }}
{% else %}
{{ super() }}
{% endif %}
</div>
{% endif %}
{% endblock %}
{% block error %}
{% endblock error %}
{% block stream %}
{%- if output.name == 'stdout' -%}
{{ output.text | indent }}
{%- endif -%}
{% endblock stream %}
site_name: mathforquantum
### Site metadata ###
site_name: Mathematics for Quantum Physics
site_description: Lecture notes for the TU Delft course TN3105 - Mathematics for Quantum Physics
repo_url: https://gitlab.kwant-project.org/mathematics-for-quantum-physics/lectures
repo_name: source
edit_uri: edit/master/src/
site_description: |
Lecture notes for TN3105 - Mathematics for Quantum Physics
nav:
- Intro: 'index.md'
repo_name: Source
### Build settings ###
theme:
name: material
custom_dir: theme
palette:
primary: 'white'
accent: 'indigo'
# Palette toggle for light mode
- scheme: default
primary: 'white'
accent: 'indigo'
toggle:
icon: material/lightbulb-night-outline
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
primary: 'indigo'
accent: 'indigo'
toggle:
icon: material/lightbulb-on-outline
name: Switch to light mode
features:
- search.highlight
- search.share
- toc.follow
- navigation.instant
- navigation.tracking
- navigation.sections
- navigation.expand
- header.autohide
icon:
repo: fontawesome/brands/gitlab
nav:
- Introduction: 'index.md'
- 1. Complex numbers: '1_complex_numbers.md'
- 2. Coordinate systems: '2_coordinates.md'
- 3. Vector spaces: '3_vector_spaces.md'
- 4. Vector spaces in quantum mechanics: '4_vector_spaces_QM.md'
- 5. Operators in quantum mechanics: '5_operators_QM.md'
- 6. Eigenvectors and eigenvalues: '6_eigenvectors_QM.md'
- 7. Differential equations 1: '7_differential_equations_1.md'
- 8. Differential equations 2: '8_differential_equations_2.md'
markdown_extensions:
- mdx_math:
enable_dollar_delimiter: True
- toc:
permalink: True
- attr_list
- md_in_html
- admonition
- pymdownx.details
- pymdownx.extra
- meta
- abbr
- pymdownx.emoji
- footnotes
- meta
- toc:
permalink: True
toc_depth: 3
extra_css:
- 'https://use.fontawesome.com/releases/v5.8.1/css/all.css'
- 'styles/thebelab.css'
- 'styles/mathjax_overflowfix.css'
extra_javascript:
- 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/MathJax.js?config=TeX-AMS_HTML'
- 'scripts/thebelab-custom.js'
- 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_CHTML'
- 'scripts/mathjaxhelper.js'
- 'scripts/thebelabhelper.js'
copyright: "Copyright © 2019 Delft University of Technology, CC-BY-SA 4.0."
copyright: "Copyright © 2019-2022 Delft University of Technology, CC-BY-SA 4.0."
This diff is collapsed.
This diff is collapsed.