## Analyse

install needed Packages

```
# only 4 anaconda users
# for our project we need to install some packages
# in a lokal IDE  this must be done via console or the anaconda package manager

#Windows
  # install https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
  # insall https://visualstudio.microsoft.com/de/thank-you-downloading-visual-studio/?sku=Community&rel=15
  # pip install pm4py
  # pip install graphviz
  # pip install pm4pybpmn
  # pip install pygraphviz

#mac
  # pip install pm4py
  # python -c "import pm4py"
  # pip install graphviz
  # pip install pm4pybpmn
  # pip install pygraphviz

#linux
  # g++ -v
  # apt-get install graphviz
  # pip install pm4py
  # pip install graphviz
  # pip install pm4pybpmn
  # pip install pygraphviz

# details / error handling check https://pm4py.fit.fraunhofer.de/install-page#item-1-2

```

```
# only 4 Colab
if 'google.colab' in str(get_ipython()):
  !apt-get install python3-tk
  #!apt-get install -y graphviz-dev
  #!apt-get install python3-dev graphviz libgraphviz-dev pkg-config
  !pip install graphviz
  !pip install pm4pybpmn
  !pip install pygraphviz
```

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    python3-tk is already the newest version (3.6.9-1~18.04).
    0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
    Requirement already satisfied: graphviz in /usr/local/lib/python3.6/dist-packages (0.10.1)
    Requirement already satisfied: pm4pybpmn in /usr/local/lib/python3.6/dist-packages (0.1.6)
    Requirement already satisfied: intervaltree in /usr/local/lib/python3.6/dist-packages (from pm4pybpmn) (2.1.0)
    Requirement already satisfied: joblib in /usr/local/lib/python3.6/dist-packages (from pm4pybpmn) (0.17.0)
    Requirement already satisfied: pydotplus in /usr/local/lib/python3.6/dist-packages (from pm4pybpmn) (2.0.2)
    Requirement already satisfied: networkx>=2.2 in /usr/local/lib/python3.6/dist-packages (from pm4pybpmn) (2.5)
    Requirement already satisfied: lime in /usr/local/lib/python3.6/dist-packages (from pm4pybpmn) (0.2.0.1)
    Requirement already satisfied: bpmn-python==0.0.18 in /usr/local/lib/python3.6/dist-packages (from pm4pybpmn) (0.0.18)
    Requirement already satisfied: pm4py in /usr/local/lib/python3.6/dist-packages (from pm4pybpmn) (2.1.0.2)
    Requirement already satisfied: sortedcontainers in /usr/local/lib/python3.6/dist-packages (from intervaltree->pm4pybpmn) (2.3.0)
    Requirement already satisfied: pyparsing>=2.0.1 in /usr/local/lib/python3.6/dist-packages (from pydotplus->pm4pybpmn) (2.4.7)
    Requirement already satisfied: decorator>=4.3.0 in /usr/local/lib/python3.6/dist-packages (from networkx>=2.2->pm4pybpmn) (4.4.2)
    Requirement already satisfied: matplotlib in /usr/local/lib/python3.6/dist-packages (from lime->pm4pybpmn) (3.2.2)
    Requirement already satisfied: tqdm in /usr/local/lib/python3.6/dist-packages (from lime->pm4pybpmn) (4.41.1)
    Requirement already satisfied: scikit-learn>=0.18 in /usr/local/lib/python3.6/dist-packages (from lime->pm4pybpmn) (0.22.2.post1)
    Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (from lime->pm4pybpmn) (1.18.5)
    Requirement already satisfied: scipy in /usr/local/lib/python3.6/dist-packages (from lime->pm4pybpmn) (1.4.1)
    Requirement already satisfied: scikit-image>=0.12 in /usr/local/lib/python3.6/dist-packages (from lime->pm4pybpmn) (0.16.2)
    Requirement already satisfied: pandas in /usr/local/lib/python3.6/dist-packages (from bpmn-python==0.0.18->pm4pybpmn) (1.1.4)
    Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from bpmn-python==0.0.18->pm4pybpmn) (1.15.0)
    Requirement already satisfied: lxml in /usr/local/lib/python3.6/dist-packages (from pm4py->pm4pybpmn) (4.2.6)
    Requirement already satisfied: graphviz in /usr/local/lib/python3.6/dist-packages (from pm4py->pm4pybpmn) (0.10.1)
    Requirement already satisfied: pyvis in /usr/local/lib/python3.6/dist-packages (from pm4py->pm4pybpmn) (0.1.8.2)
    Requirement already satisfied: pulp<=2.1 in /usr/local/lib/python3.6/dist-packages (from pm4py->pm4pybpmn) (2.1)
    Requirement already satisfied: jsonpickle in /usr/local/lib/python3.6/dist-packages (from pm4py->pm4pybpmn) (1.4.2)
    Requirement already satisfied: sympy in /usr/local/lib/python3.6/dist-packages (from pm4py->pm4pybpmn) (1.1.1)
    Requirement already satisfied: ciso8601; python_version < "3.7" in /usr/local/lib/python3.6/dist-packages (from pm4py->pm4pybpmn) (2.1.3)
    Requirement already satisfied: pm4pycvxopt>=0.0.10; python_version < "3.9" in /usr/local/lib/python3.6/dist-packages (from pm4py->pm4pybpmn) (0.0.10)
    Requirement already satisfied: stringdist in /usr/local/lib/python3.6/dist-packages (from pm4py->pm4pybpmn) (1.0.9)
    Requirement already satisfied: deprecation in /usr/local/lib/python3.6/dist-packages (from pm4py->pm4pybpmn) (2.1.0)
    Requirement already satisfied: pytz in /usr/local/lib/python3.6/dist-packages (from pm4py->pm4pybpmn) (2018.9)
    Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib->lime->pm4pybpmn) (2.8.1)
    Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib->lime->pm4pybpmn) (1.3.1)
    Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.6/dist-packages (from matplotlib->lime->pm4pybpmn) (0.10.0)
    Requirement already satisfied: pillow>=4.3.0 in /usr/local/lib/python3.6/dist-packages (from scikit-image>=0.12->lime->pm4pybpmn) (7.0.0)
    Requirement already satisfied: PyWavelets>=0.4.0 in /usr/local/lib/python3.6/dist-packages (from scikit-image>=0.12->lime->pm4pybpmn) (1.1.1)
    Requirement already satisfied: imageio>=2.3.0 in /usr/local/lib/python3.6/dist-packages (from scikit-image>=0.12->lime->pm4pybpmn) (2.4.1)
    Requirement already satisfied: jinja2>=2.9.6 in /usr/local/lib/python3.6/dist-packages (from pyvis->pm4py->pm4pybpmn) (2.11.2)
    Requirement already satisfied: ipython>=5.3.0 in /usr/local/lib/python3.6/dist-packages (from pyvis->pm4py->pm4pybpmn) (5.5.0)
    Requirement already satisfied: importlib-metadata; python_version < "3.8" in /usr/local/lib/python3.6/dist-packages (from jsonpickle->pm4py->pm4pybpmn) (2.0.0)
    Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.6/dist-packages (from sympy->pm4py->pm4pybpmn) (1.1.0)
    Requirement already satisfied: cvxopt in /usr/local/lib/python3.6/dist-packages (from pm4pycvxopt>=0.0.10; python_version < "3.9"->pm4py->pm4pybpmn) (1.2.5)
    Requirement already satisfied: packaging in /usr/local/lib/python3.6/dist-packages (from deprecation->pm4py->pm4pybpmn) (20.4)
    Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.6/dist-packages (from jinja2>=2.9.6->pyvis->pm4py->pm4pybpmn) (1.1.1)
    Requirement already satisfied: pexpect; sys_platform != "win32" in /usr/local/lib/python3.6/dist-packages (from ipython>=5.3.0->pyvis->pm4py->pm4pybpmn) (4.8.0)
    Requirement already satisfied: pygments in /usr/local/lib/python3.6/dist-packages (from ipython>=5.3.0->pyvis->pm4py->pm4pybpmn) (2.6.1)
    Requirement already satisfied: simplegeneric>0.8 in /usr/local/lib/python3.6/dist-packages (from ipython>=5.3.0->pyvis->pm4py->pm4pybpmn) (0.8.1)
    Requirement already satisfied: setuptools>=18.5 in /usr/local/lib/python3.6/dist-packages (from ipython>=5.3.0->pyvis->pm4py->pm4pybpmn) (50.3.2)
    Requirement already satisfied: prompt-toolkit<2.0.0,>=1.0.4 in /usr/local/lib/python3.6/dist-packages (from ipython>=5.3.0->pyvis->pm4py->pm4pybpmn) (1.0.18)
    Requirement already satisfied: pickleshare in /usr/local/lib/python3.6/dist-packages (from ipython>=5.3.0->pyvis->pm4py->pm4pybpmn) (0.7.5)
    Requirement already satisfied: traitlets>=4.2 in /usr/local/lib/python3.6/dist-packages (from ipython>=5.3.0->pyvis->pm4py->pm4pybpmn) (4.3.3)
    Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.6/dist-packages (from importlib-metadata; python_version < "3.8"->jsonpickle->pm4py->pm4pybpmn) (3.4.0)
    Requirement already satisfied: ptyprocess>=0.5 in /usr/local/lib/python3.6/dist-packages (from pexpect; sys_platform != "win32"->ipython>=5.3.0->pyvis->pm4py->pm4pybpmn) (0.6.0)
    Requirement already satisfied: wcwidth in /usr/local/lib/python3.6/dist-packages (from prompt-toolkit<2.0.0,>=1.0.4->ipython>=5.3.0->pyvis->pm4py->pm4pybpmn) (0.2.5)
    Requirement already satisfied: ipython-genutils in /usr/local/lib/python3.6/dist-packages (from traitlets>=4.2->ipython>=5.3.0->pyvis->pm4py->pm4pybpmn) (0.2.0)
    Requirement already satisfied: pygraphviz in /usr/local/lib/python3.6/dist-packages (1.6)

## 1.1 BPMN import

```
#import libraries
import os
import graphviz
import pandas as pd
import lxml as lx
import networkx
import matplotlib
import pydotplus

```

```
#get & load data
!wget https://bitbucket.org/JMU-BWL6/iiv_data_bpmn/raw/14f0142e9ed9c7b79305a21c03e77d12f82ec7da/Test.bpmn
```

```
# show XML in JPN
tree = lx.etree.parse("Test.bpmn")
pretty = lx.etree.tostring(tree, encoding="unicode", pretty_print=True)
print(pretty)
```

## 1.2 BPMN chart

```
#import pm4py bib
from pm4pybpmn.objects.bpmn.importer import bpmn20 as bpmn_importer3
from pm4pybpmn.visualization.bpmn import factory as bpmn_vis_factory

```

```
#BPMN import as graph
bpmn_graph = bpmn_importer3.import_bpmn("Test.bpmn")
```

```
#BPMN graph to figure
bpmn_figure = bpmn_vis_factory.apply(bpmn_graph)
bpmn_vis_factory.view(bpmn_figure)
```


```python
# Run the scrapper

%run mpia.py -d today
```

    *** Matched author:  Wel Arjen van der Wel
    *** Matched author:  Wu Po-Feng Wu
    *** Matched author:  Barisic Ivana Barisic
    *** Matched author:  Chauke Priscilla Chauke
    *** Matched author:  Houdt Josha van Houdt
    *** Matched author:  Pillepich Annalisa Pillepich
    *** Matched author:  Joshi Gandhali Joshi
    *** Matched author:  Gould Andrew Gould
    *** Matched author:  Martin Nicolas Martin
    *** Matched author:  Wang Jason J. Wang
    *** Matched author:  Zhu Zhaohuan Zhu
    *** Matched author:  Walter Alex B. Walter
    *** Matched author:  Soler J. D. Soler
    *** Matched author:  Beuther H. Beuther
    *** Matched author:  Rugel M. Rugel
    *** Matched author:  Wang Y. Wang
    *** Matched author:  Henning Th. Henning
    *** Matched author:  Kainulainen J. Kainulainen
    *** Matched author:  Mottram J. C. Mottram
    *** Matched author:  Lee Eve J. Lee
    *** Matched author:  Feldt M. Feldt
    *** Matched author:  Cantalloube F. Cantalloube
    *** Matched author:  Keppler M. Keppler
    *** Matched author:  Maire A.-L. Maire
    *** Matched author:  Mueller A. Mueller
    *** Matched author:  Samland M. Samland
    *** Matched author:  Henning T. Henning
    *** Matched author:  Henning T. Henning
    *** Matched author:  Wu Dong-Hong Wu
    *** Matched author:  Zhang Rachel C. Zhang
    *** Matched author:  Wang Shiang-Yu Wang
    *** Matched author:  Wu Gang Wu
    *** Matched author:  Bouwman Jordy Bouwman
    *** Matched author:  Bouwman Jordy Bouwman
    *** Matched author:  Avenhaus Henning Avenhaus
    *** Matched author:  Bertrang Gesa H. -M. Bertrang
    *** Matched author:  Schreiber Matthias R. Schreiber
    *** Matched author:  Jordán Andrés Jordán
    *** Matched author:  Espinoza Néstor Espinoza
    *** Matched author:  Henning Thomas Henning
    *** Matched author:  Rabus Markus Rabus
    *** Matched author:  Sarkis Paula Sarkis
    *** Matched author:  Ludwig H.-G. Ludwig
    *** Matched author:  Zhang Ming-Jian Zhang
    *** Matched author:  Martin R Martin
    *** Matched author:  Bailer-Jones C.A.L. Bailer-Jones
    *** Matched author:  Wang Ji Wang
    [arXiv:1809.08236]:  The Large Early Galaxy Astrophysics Census (LEGA-C) Data Release II:  dynamical and stellar population properties of z ~< 1 galaxies in the COSMOS  field
    	Caroline M. S. Straatman, \hl{Arjen van der Wel}, Rachel Bezanson, Camilla Pacifici, Anna Gallazzi, \hl{Po-Feng Wu}, Kai Noeske, \hl{Ivana Barisic}, Eric F. Bell, Gabriel B. Brammer, Joao Calhau, \hl{Priscilla Chauke}, Marijn Franx, \hl{Josha van Houdt}, Ivo Labbe, Michael V. Maseda, Juan C. Munoz-Mateos, Adam Muzzin, Jesse van de Sande, David Sobral, Justin S. Spilker
    extracting tarball...
    *** Found macros and definitions in the header:
    \providecommand{\how}[1]{\textcolor{purple}{#1}}
    \providecommand{\rA}{\mathrm{\AA}}
    \providecommand{\msun}{\mathrm{M}_{\sun}}
    \providecommand{\logm}{\mathrm{logM/\msun}}
    \providecommand{\ha}{H$\alpha$}
    \providecommand{\hb}{H$\beta$}
    \providecommand{\hg}{H$\gamma$}
    \providecommand{\hd}{H$\delta$}
    \providecommand{\dfn}{D$4000_n$}
    \providecommand{\hda}{\hd$_\mathrm{A}$}
    \providecommand{\mgt}{$\mathrm{Mg_{2}}$}
    \providecommand{\nuse}{1442}
    \providecommand{\hblim}{$44.9\times10^{-19}\ \mathrm{ergs\ cm^{-2}\ s^{-1}}$}
    \providecommand{\sfrlima}{$0.23\ \msun\ \mathrm{yr^{-1}}$}
    \providecommand{\sfrlimb}{$0.47\ \msun\ \mathrm{yr^{-1}}$}
    \providecommand{\sfrlimc}{$0.72\ \msun\ \mathrm{yr^{-1}}$}
    \providecommand{\medianz}{$z_{\mathrm{spec}}=0.697$}
    \providecommand{\sfrlimfinal}{$2.2\ \msun\ \mathrm{yr^{-1}}$}
    \providecommand{\totn}{1988}
    \providecommand{\prims}{1550}
    \providecommand{\fills}{438}

    **** From Heidelberg: True

    Caroline M. S. Straatman, et al.; incl. \hl{Arjen van der Wel}, \hl{Po-Feng Wu}, \hl{Ivana Barisic}, \hl{Priscilla Chauke}, \hl{Josha van Houdt}
    PDF postage: 1809.08236.pdf
    [arXiv:1809.08239]:  The optical morphologies of galaxies in the IllustrisTNG simulation: a  comparison to Pan-STARRS observations
    	Vicente Rodriguez-Gomez, Gregory F. Snyder, Jennifer M. Lotz, Dylan Nelson, \hl{Annalisa Pillepich}, Volker Springel, Shy Genel, Rainer Weinberger, Sandro Tacchella, Ruediger Pakmor, Paul Torrey, Federico Marinacci, Mark Vogelsberger, Lars Hernquist, David A. Thilker
    extracting tarball...
    *** Found macros and definitions in the header:
    \providecommand{\Msun}{{\rm M}_{\odot}}
    \providecommand{\facc}{f_{\rm acc}}
    \providecommand{\fex}{f_{\rm ex}}
    \providecommand{\krot}{\kappa_{\rm rot}}

    **** From Heidelberg: True

    Vicente Rodriguez-Gomez, et al.; incl. \hl{Annalisa Pillepich}
    PDF postage: 1809.08239.pdf
    [arXiv:1809.08241]:  Wide-Field Optical Spectroscopy of Abell 133: A Search for Filaments  Reported in X-ray Observations
    	Thomas Connor, Daniel D. Kelson, John Mulchaey, Alexey Vikhlinin, Shannon G. Patel, Michael L. Balogh, \hl{Gandhali Joshi}, Ralph Kraft, Daisuke Nagai, Svetlana Starikova
    extracting tarball...
    *** Found macros and definitions in the header:
    \providecommand{\vdag}{(v)^\dagger}\graphicspath{{./}{figures/}}

    **** From Heidelberg: True

    Thomas Connor, et al.; incl. \hl{Gandhali Joshi}
    PDF postage: 1809.08241.pdf
    [arXiv:1809.08243]:  First Resolution of Microlensed Images
    	Subo Dong,  (KIAA-PKU), , A. Mérand, F. Delplancke-Ströbele,  (ESO), , \hl{Andrew Gould},  (MPIA, KASI, OSU), , Ping Chen, R. Post, C.S. Kochanek, K. Z. Stanek, G. W. Christie, Robert Mutel, T. Natusch, T. W.-S. Holoien, J. L. Prieto, B. J. Shappee, Todd A. Thompson
    extracting tarball...
    *** Found macros and definitions in the header:
    \providecommand{\msun}{{\rm \ M_\odot}}
    \providecommand{\bdv}[1]{\mbox{\boldmath$#1$}}
    \providecommand{\bd}[1]{{\rm #1}}\def\au{{\rm AU}}
    \def\sinc{{\rm sinc}}
    \def\kms{{\rm km}\,{\rm s}^{-1}}
    \def\masyr{{\rm mas}\,{\rm yr}^{-1}}
    \def\kpc{{\rm kpc}}
    \def\mas{{\rm mas}}
    \def\sat{{\rm sat}}
    \def\muas{\mu{\rm as}}
    \def\var{{\rm var}}
    \def\pc{{\rm pc}}
    \def\orb{{\rm orb}}
    \def\obs{{\rm obs}}
    \def\max{{\rm max}}
    \def\min{{\rm min}}
    \def\rel{{\rm rel}}
    \def\ast{{\rm ast}}
    \def\eff{{\rm eff}}
    \def\rot{{\rm rot}}
    \def\lsr{{\rm lsr}}
    \def\hel{{\rm hel}}
    \def\geo{{\rm geo}}
    \def\e{{\rm E}}
    \def\bpi{{\bdv\pi}}
    \def\bmu{{\bdv\mu}}
    \def\balpha{{\bdv\alpha}}
    \def\bgamma{{\bdv\gamma}}
    \def\bDelta{{\bdv\Delta}}
    \def\btheta{{\bdv\theta}}
    \def\bphi{{\bdv\phi}}
    \def\bp{{\bf p}}
    \def\bv{{\bf v}}
    \def\bu{{\bf u}}
    \def\naive{{\rm naive}}
    \def\revise{\bf}

    **** From Heidelberg: True

    Subo Dong, et al.; incl. \hl{Andrew Gould}
    PDF postage: 1809.08243.pdf
    [arXiv:1809.08245]:  A-type stars in the Canada-France Imaging Survey I. The stellar halo of  the Milky Way traced to large radius by blue horizontal branch stars
    	Guillaume F. Thomas, Alan W. McConnachie, Rodrigo A. Ibata, Patrick Côté, \hl{Nicolas Martin}, Else Starkenburg, Raymond Carlberg, Scott Chapman, Sébastien Fabbro, Benoit Famaey, Nicholas Fantin, Stephen Gwyn, Vincent Hénault-Brunet, Khyati Malhan, Julio Navarro, Annie C. Robin, Douglas Scott
    extracting tarball...
    *** Found macros and definitions in the header:
    \def\ltsima{$\; \buildrel < \over \sim \;$}
    \def\simlt{\lower.5ex\hbox{\ltsima}}
    \def\gtsima{$\; \buildrel > \over \sim \;$}
    \def\simgt{\lower.5ex\hbox{\gtsima}}

    **** From Heidelberg: True

    Guillaume F. Thomas, et al.; incl. \hl{Nicolas Martin}
    PDF postage: 1809.08245.pdf
    [arXiv:1809.08261]:  A Bayesian Framework for Exoplanet Direct Detection and Non-Detection
    	Jean-Baptiste Ruffio, Dimitri Mawet, Ian Czekala, Bruce Macintosh, Robert J. De Rosa, Garreth Ruane, Michael Bottom, Laurent Pueyo, \hl{Jason J. Wang}, Lea Hirsch, \hl{Zhaohuan Zhu}, Eric L. Nielsen
    extracting tarball...
    multiple tex files
    Found main document in:  (0, './tmp/sample62.tex')
    Found main document in:  ./tmp/sample62.tex
    0 ./tmp/sample62.tex
    Found main document in:  ./tmp/sample62.tex
    *** Found document inclusions
          input command:  content
    *** Found macros and definitions in the header:
    \providecommand{\vdag}{(v)^\dagger}
    \providecommand{\Secref}[1]{\hyperref[#1]{Section~\ref*{#1}}}
    \providecommand{\Appref}[1]{\hyperref[#1]{Appendix~\ref*{#1}}}
    \providecommand{\epseri}{$\epsilon$ Eridani}\graphicspath{{./}{figures/}}

    **** From Heidelberg: False

    *** print_tb
      File "/home/jovyan/mpia.py", line 160, in main
        raise RuntimeError('Not an institute paper')
    Not an institute paper

    [arXiv:1809.08301]:  SCExAO, an instrument with a dual purpose: perform cutting-edge science  and develop new technologies
    	Julien Lozi, Olivier Guyon, Nemanja Jovanovic, Sean Goebel, Prashant Pathak, Nour Skaf, Ananya Sahoo, Barnaby Norris, Frantz Martinache, Mamadou N'Diaye, Ben Mazin, \hl{Alex B. Walter}, Peter Tuthill, Tomoyuki Kudo, Hajime Kawahara, Takayuki Kotani, Michael Ireland, Nick Cvetojevic, Elsa Huby, Sylvestre Lacour, Sebastien Vievard, Tyler D. Groff, Jeffrey K. Chilcote, Jeremy Kasdin, Justin Knight, Frans Snik, David Doelman, Yosuke Minowa, Christophe Clergeon, Naruhisa Takato, Motohide Tamura, Thayne Currie, Hideki Takami, Masa Hayashi
    extracting tarball...
    *** Found macros and definitions in the header:
    \providecommand{\baselinestretch}{1.0}
    \providecommand{\mum}{\mbox{{\usefont{U}{eur}{m}{n}{\char22}}m}\xspace}
    \providecommand{\mus}{\mbox{{\usefont{U}{eur}{m}{n}{\char22}}s}\xspace}
    \providecommand{\sce}{\mbox{SCE\lowercase{x}AO}\xspace}
    \providecommand{\e}[1]{10^{#1}}
    \providecommand{\E}[1]{\times10^{#1}}
    \providecommand{\lod}{\mbox{$\lambda$/D}\xspace}
    \providecommand{\FIG}[3]{\includegraphics[width=#1\linewidth,draft=#2]{#3}}
    \providecommand{\FIGH}[3]{\includegraphics[height=#1cm,draft=#2]{#3}}

    **** From Heidelberg: False

    *** print_tb
      File "/home/jovyan/mpia.py", line 160, in main
        raise RuntimeError('Not an institute paper')
    Not an institute paper

    [arXiv:1809.08338]:  Histogram of oriented gradients: a technique for the study of molecular  cloud formation
    	\hl{J. D. Soler}, \hl{H. Beuther}, \hl{M. Rugel}, \hl{Y. Wang}, L. D. Anderson, P. C. Clark, S. C. O. Glover, P. F. Goldsmith, A. Goodman, P. Hennebelle, \hl{Th. Henning}, M. Heyer, \hl{J. Kainulainen}, R. S. Klessen, N. M. McClure-Griffiths, K. M. Menten, \hl{J. C. Mottram}, S. E. Ragan, P. Schilke, R. J. Smith, J. S. Urquhart, F. Bigiel, N. Roy
    extracting tarball...
    multiple tex files
    Found main document in:  (0, './tmp/HIandCO.tex')
    Found main document in:  ./tmp/HIandCO.tex
    0 ./tmp/HIandCO.tex
    Found main document in:  ./tmp/HIandCO.tex
    *** Found document inclusions
          input command:  PIP_113_Boulanger_authors_and_institutes
    *** print_tb
      File "/home/jovyan/app.py", line 847, in _expand_auxilary_files
        with open(directory + fname + '.tex', 'r', errors="surrogateescape") as fauxilary:
    [Errno 2] No such file or directory: './tmp/PIP_113_Boulanger_authors_and_institutes.tex'

    *** Found macros and definitions in the header:
    \providecommand{\henrik}[1]{{\bf \color{green} [#1]}}
    \providecommand{\hhenrik}[1]{}
    \providecommand{\juan}[1]{{\bf \color{red} #1}}
    \providecommand{\commentproof}[1]{{\bf \color{green}#1}}
    \providecommand{\commentproof}[1]{}
    \providecommand{\planck}{\Planck}  \def\Herschel{\textit{Herschetowardl}}
    \providecommand{\nh}{$N_{\textsc{H}}$}
    \providecommand{\nhd}{N_{\textsc{H}}}
    \providecommand{\gradnh}{$\mathbf{\nabla}N_{\textsc{H}}$}
    \providecommand{\lognh}{$\log_{10}(N_{\textsc{H}}/\mbox{cm}^{-2})$}
    \providecommand{\microG}{$\mu$G}
    \providecommand{\bcf}{$B^{\textsc{DCF}}_{\perp}$}
    \providecommand{\bhilde}{$B^{\textsc{\HIL}}_{\perp}$}
    \providecommand{\IRAS}{\textit{IRAS\/}}
    \providecommand{\WMAP}{\textit{WMAP\/}}
    \providecommand{\COBE}{\textit{COBE\/}}
    \providecommand{\Spitzer}{\textit{Spitzer\/}}
    \providecommand{\healpix}{{\sc HEALPix}}
    \providecommand{\sextractor}{{\sc SExtractor}}
    \providecommand{\hii}{\ion{H}{II}}
    \providecommand{\viewangle}{\alpha}
    \providecommand{\bvect}{\vec{B}}
    \providecommand{\planckurl}{\burl{http://www.rssd.esa.int/index.php?project=PLANCK&page=Planck_Collaboration}}
    \providecommand{\sorthelp}[1]{}
    \providecommand{\bperp}{$\langle\hat{\vec{B}}_{\perp}\rangle$}
    \providecommand{\wc}{{\mkern 2mu\cdot\mkern 2mu}}
    \providecommand{\prs}{$V$}
    \providecommand{\mrv}{$r$}
    \providecommand{\kps}{km\,s$^{-1}$}
    \providecommand{\vhi}{$v_{\rm HI}$}
    \providecommand{\vco}{$v_{\rm 13CO}$}
    \providecommand{\vlsr}{$v_{\rm LSR}$}
    \providecommand{\vlos}{$v_{\rm LOS}$}\def\bfc{}
    \def\bfc{\bf}
    \def\bfm{\bf \color{magenta}}
    \def\bfm{} \newcommand{\commentproof}[1]{{\bf \color{green}#1}}
    \def\Herschel{\textit{Herschetowardl}}

    **** From Heidelberg: True

    \hl{J. D. Soler}, et al.; incl. \hl{H. Beuther}, \hl{M. Rugel}, \hl{Y. Wang}, \hl{Th. Henning}, \hl{J. Kainulainen}, \hl{J. C. Mottram}
    PDF postage: 1809.08338.pdf
    [arXiv:1809.08348]:  On The Nature of Variations in the Measured Star Formation Efficiency of  Molecular Clouds
    	Michael Y. Grudić, Philip F. Hopkins, \hl{Eve J. Lee}, Norman Murray, Claude-André Faucher-Giguère, L. Clifton Johnson
    extracting tarball...
    *** Found macros and definitions in the header:
    \providecommand{\msun}{M_{\sun}}
    \providecommand{\oft}{\left(t\right)}\defcitealias{grudic:2016.sfe}{G18}
    \defcitealias{lee:2016.gmc.eff}{L+16}
    \defcitealias{vuti:2016.gmcs}{V+16}
    \defcitealias{heyer:2016.clumps}{H+16}
    \defcitealias{wu:2010.clumps}{W+10}
    \defcitealias{evans:2014.sfe}{E+14}
    \defcitealias{lada:2010.gmcs}{L+10}

    **** From Heidelberg: False

    *** print_tb
      File "/home/jovyan/mpia.py", line 160, in main
        raise RuntimeError('Not an institute paper')
    Not an institute paper

    [arXiv:1809.08354]:  beta Pictoris b post conjunction detection with VLT/SPHERE
    	A.-M. Lagrange, A. Boccaletti, M. Langlois, G. Chauvin, R. Gratton, H. Beust, S. Desidera, J. Milli, M. Bonnefoy, \hl{M. Feldt}, M. Meyer, A. Vigan, B. Biller, M. Bonavita, J.-L. Baudino, \hl{F. Cantalloube}, M. Cudel, S. Daemgen, P. Delorme, V. DOrazi, J. Girard, C. Fontanive, J. Hagelberg, M. Janson, \hl{M. Keppler}, T. Koypitova, R. Galicher, J. Lannier, H. Le Coroller, R. Ligi, \hl{A.-L. Maire}, D. Mesa, S. Messina, \hl{A. Mueller}, S. Peretti, C. Perrot, D. Rouan, G. Salter, \hl{M. Samland}, T. Schmidt, E. Sissa, A. Zurlo, J.-L. Beuzit, D. Mouillet, C. Dominik, \hl{T. Henning}, E. Lagadec, F. Menard, H.-M. Schmid, S. Udry, , the , SPHERE consortium
    extracting tarball...
    *** Found macros and definitions in the header:
    \providecommand{\eg}{{\it e.g.}, }
    \providecommand{\ie}{{\it i.e.}, }
    \providecommand{\ms}{m\,s$^{\rm -1}$}
    \providecommand{\kms}{km\,s$^{\rm -1}$}
    \providecommand{\Mjup}{M$_{\rm Jup}$}
    \providecommand{\mjup}{M$_{\rm Jup}$}
    \providecommand{\mearth}{M$_{\rm Earth}$}
    \providecommand{\Msun}{M$_{\sun}$}
    \providecommand{\vsini}{$v\sin{i}$}
    \providecommand{\elodie}{E{\small LODIE}}
    \providecommand{\sophie}{S{\small OPHIE}}
    \providecommand{\harps}{H{\small ARPS}}
    \providecommand{\thetacyg}{$\theta$\,Cygni}
    \providecommand{\bp}{$\beta$\,Pictoris\,}
    \providecommand{\bpic}{$\beta$\,Pictoris\,}
    \providecommand{\acena}{$\alpha$\,CenA\,}
    \providecommand{\acenb}{$\alpha$\,CenB\,}
    \providecommand{\plmo}{$^{+}_{-} $}
    \providecommand{\muup}{$\mu$m}

    **** From Heidelberg: True

    A.-M. Lagrange, et al.; incl. \hl{M. Feldt}, \hl{F. Cantalloube}, \hl{M. Keppler}, \hl{A.-L. Maire}, \hl{A. Mueller}, \hl{M. Samland}, \hl{T. Henning}
    PDF postage: 1809.08354.pdf
    [arXiv:1809.08385]:  Properties and occurrence rates of $Kepler$ exoplanet candidates as a  function of host star metallicity from the DR25 catalog
    	M. Narang,  (TIFR), , P. Manoj,  (TIFR), , E. Furlan,  (IPAC), , C. Mordasini,  (Physikalisches Institut, Univ. of Bern), , \hl{T. Henning},  (MPIA), , B. Mathew,  (Christ Univ.), , R. K. Banyal,  (IIA), , T. Sivarani,  (IIA)
    extracting tarball...
    *** Found macros and definitions in the header:
    \def\teff {{$T_\mathrm{eff}$ }}
    \def\Re {{$\,R_\oplus$ }}
    \def\Me {{$\,M_\oplus$ }}
    \def\Rj {{$\,R_J$ }}
    \def\Mj {{$\,M_\mathrm{J}$ }}
    \def\lg {{log$\,g$ }}
    \def\pl {{planetary }}
    \def\plr {{planetary radius }}
    \def\plm {{planetary mass }}
    \def \hsm {{host star metallicity }}
    \def \hs {{host star }}
    \def \sc {{SWEET-Cat }}

    **** From Heidelberg: True

    M. Narang, et al.; incl. \hl{T. Henning}
    PDF postage: 1809.08385.pdf
    [arXiv:1809.08499]:  Dynamical instability and its implications for planetary system  architecture
    	\hl{Dong-Hong Wu}, \hl{Rachel C. Zhang}, Ji-Lin Zhou, Jason H. Steffen
    extracting tarball...
    *** Found macros and definitions in the header:
    \providecommand{\kepler}{\textit{Kepler}}\graphicspath{{./}{figures/}}

    **** From Heidelberg: False

    *** print_tb
      File "/home/jovyan/mpia.py", line 160, in main
        raise RuntimeError('Not an institute paper')
    Not an institute paper

    [arXiv:1809.08501]:  Col-OSSOS: The Colours of the Outer Solar System Origins Survey
    	Megan E. Schwamb, Wesley C. Fraser, Michele T. Bannister, Michael Marsset, Rosemary E. Pike, J. J. Kavelaars, Susan D. Benecchi, Matthew J. Lehner, \hl{Shiang-Yu Wang}, Audrey Thirouin, Audrey Delsanti, Nuno Peixinho, Kathryn Volk, Mike Alexandersen, Ying-Tung Chen, Brett Gladman, Stephen D. J. Gwyn, Jean-Marc Petit
    extracting tarball...
    *** Found macros and definitions in the header:

    **** From Heidelberg: False

    *** print_tb
      File "/home/jovyan/mpia.py", line 160, in main
        raise RuntimeError('Not an institute paper')
    Not an institute paper

    [arXiv:1809.08739]:  High-mass outflows identified from COHRS CO\,(3 - 2) Survey
    	Qiang Li, Jianjun Zhou, Jarken Esimbek, Yuxin He, W. A. Baan, Dalei Li, \hl{Gang Wu}, Xindi Tang, Weiguang Ji
    extracting tarball...
    *** Found macros and definitions in the header:
    \providecommand{\vdag}{(v)^\dagger}
    \providecommand{\RNum}[1]{\uppercase\expandafter{\romannumeral #1\relax}}

    **** From Heidelberg: False

    *** print_tb
      File "/home/jovyan/mpia.py", line 160, in main
        raise RuntimeError('Not an institute paper')
    Not an institute paper

    [arXiv:1809.08798]:  Infrared Spectra of Hexa-peri-hexabenzocoronene Cations:HBC+ and HBC2+
    	Junfeng Zhen, Pablo Castellanos, \hl{Jordy Bouwman}, Harold Linnartz, Alexander G. G. M. Tielens
    extracting tarball...
    *** Found macros and definitions in the header:

    **** From Heidelberg: False

    *** print_tb
      File "/home/jovyan/mpia.py", line 160, in main
        raise RuntimeError('Not an institute paper')
    Not an institute paper

    [arXiv:1809.08800]:  Laboratory gas-phase infrared spectra of two astronomically relevant PAH  cations: diindenoperylene, C$_{32}$H$_{16}$$^+$ and dicoronylene,  C$_{48}$H$_{20}$$^+$
    	Junfeng Zhen, Alessandra Candian, Pablo Castellanos, \hl{Jordy Bouwman}, Harold Linnartz, Alexander G. G. M. Tielens
    *** print_tb
      File "/home/jovyan/mpia.py", line 155, in main
        s = paper.retrieve_document_source('./tmp')
      File "/home/jovyan/app.py", line 1092, in retrieve_document_source
        tar = tarfile.open(mode='r|gz', fileobj=urlopen(where))
      File "/srv/conda/lib/python3.6/tarfile.py", line 1597, in open
        stream = _Stream(name, filemode, comptype, fileobj, bufsize)
      File "/srv/conda/lib/python3.6/tarfile.py", line 379, in __init__
        self._init_read_gz()
      File "/srv/conda/lib/python3.6/tarfile.py", line 484, in _init_read_gz
        raise ReadError("not a gzip file")
    not a gzip file

    [arXiv:1809.08844]:  The Ophiuchus DIsc Survey Employing ALMA (ODISEA) - I : project  description and continuum images at 28 au resolution
    	Lucas A. Cieza, Dary Ruíz-Rodríguez, Antonio Hales, Simon Casassus, Sebastian Pérez, Camilo Gonzalez-Ruilova, Hector Cánovas, Jonathan P. Williams, Alice Zurlo, Megan Ansdell, \hl{Henning Avenhaus}, Amelia Bayo, \hl{Gesa H. -M. Bertrang}, Valentin Christiaens, William Dent, Gabriel Ferrero, Roberto Gamen, Johan Olofsson, Santiago Orcajo, Karla Peña Ramírez, David Principe, \hl{Matthias R. Schreiber}, Gerrit van der Plas
    extracting tarball...
    *** Found macros and definitions in the header:

    **** From Heidelberg: True

    Lucas A. Cieza, et al.; incl. \hl{Henning Avenhaus}, \hl{Gesa H. -M. Bertrang}, \hl{Matthias R. Schreiber}
    PDF postage: 1809.08844.pdf
    [arXiv:1809.08879]:  EPIC 249451861b: an Eccentric Warm Saturn transiting a G-dwarf
    	\hl{Andrés Jordán}, Rafael Brahm, \hl{Néstor Espinoza}, Cristián Cortés, Matías Díaz, Holger Drass, \hl{Thomas Henning}, James S. Jenkins, Matías I. Jones, \hl{Markus Rabus}, Felipe Rojas, \hl{Paula Sarkis}, Maja Vučković, Abner Zapata, Maritza G. Soto, Gáspár Á. Bakos, Daniel Bayliss, Waqas Bhatti, Zoltan Csubry, Régis Lachaume, Víctor Moraga, Blake Pantoja, David Osip, Avi Shporer, Vincent Suc, Sergio Vásquez
    extracting tarball...
    *** Found macros and definitions in the header:
    \providecommand{\vdag}{(v)^\dagger}
    \providecommand{\feh}{\ensuremath{{\rm [Fe/H]}}}
    \providecommand{\teff}{\ensuremath{T_{\rm eff}}}
    \providecommand{\teq}{\ensuremath{T_{\rm eq}}}
    \providecommand{\logg}{\ensuremath{\log{g}}}
    \providecommand{\zaspe}{\texttt{ZASPE}}
    \providecommand{\ceres}{\texttt{CERES}}
    \providecommand{\vsini}{\ensuremath{v \sin{i}}}
    \providecommand{\kms}{\ensuremath{{\rm km\,s^{-1}}}}
    \providecommand{\mjup}{\ensuremath{{\rm M_{J}}}}
    \providecommand{\mearth}{\ensuremath{{\rm M}_{\oplus}}}
    \providecommand{\mpl}{\ensuremath{{\rm M_P}}}
    \providecommand{\rjup}{\ensuremath{{\rm R_J}}}
    \providecommand{\rpl}{\ensuremath{{\rm R_P}}}
    \providecommand{\rstar}{\ensuremath{{\rm R}_{\star}}}
    \providecommand{\mstar}{\ensuremath{{\rm M}_{\star}}}
    \providecommand{\lstar}{\ensuremath{{\rm L}_{\star}}}
    \providecommand{\rsun}{\ensuremath{{\rm R}_{\odot}}}
    \providecommand{\msun}{\ensuremath{{\rm M}_{\odot}}}
    \providecommand{\lsun}{\ensuremath{{\rm L}_{\odot}}}
    \providecommand{\mpkep}{\ensuremath{0.315 \pm 0.027 }}
    \providecommand{\rpkep}{\ensuremath{0.847 \pm 0.013 }}
    \providecommand{\mskep}{\ensuremath{1.049_{-0.029}^{+0.021} }}
    \providecommand{\rskep}{\ensuremath{1.085 \pm 0.010 }}
    \providecommand{\per}{\ensuremath{14.893291 \pm 0.000025 }}
    \providecommand{\ecc}{\ensuremath{0.478 \pm 0.026 }}
    \providecommand{\sma}{\ensuremath{0.1204_{-0.0011}^{0.0008} }}
    \providecommand{\plname}{EPIC~249451861b}
    \providecommand{\stname}{EPIC~249451861}
    \providecommand{\rhopl}{\ensuremath{{\rm \rho_P}}}
    \providecommand{\rhopkep}{\ensuremath{1.154 \pm 0.045 }}
    \providecommand{\gccm}{\ensuremath{\mathrm{g}\,\mathrm{cm}^{-3}}}\graphicspath{{./}{figures/}}

    **** From Heidelberg: True

    \hl{Andrés Jordán}, et al.; incl. \hl{Néstor Espinoza}, \hl{Thomas Henning}, \hl{Markus Rabus}, \hl{Paula Sarkis}
    PDF postage: 1809.08879.pdf
    [arXiv:1809.08904]:  Influence of metallicity on the near-surface effect affecting  oscillation frequencies
    	L. Manchon, K. Belkacem, R. Samadi, T. Sonoi, J. P. C. Marques, \hl{H.-G. Ludwig}, E. Caffau
    extracting tarball...
    *** Found macros and definitions in the header:

    **** From Heidelberg: False

    *** print_tb
      File "/home/jovyan/mpia.py", line 160, in main
        raise RuntimeError('Not an institute paper')
    Not an institute paper

    [arXiv:1806.02981]:  Observational constraint on the dark energy scalar field
    	\hl{Ming-Jian Zhang}, Hong Li
    extracting tarball...
    *** Found macros and definitions in the header:
    \def\bea{\begin{eqnarray}}
    \def\eea{\end{eqnarray}}
    \def\be{\begin{equation}}
    \def\ee{\end{equation}}

    **** From Heidelberg: False

    *** print_tb
      File "/home/jovyan/mpia.py", line 160, in main
        raise RuntimeError('Not an institute paper')
    Not an institute paper

    [arXiv:1809.08969]:  Experimental results from the ST7 mission on LISA Pathfinder
    	G Anderson, J Anderson, M Anderson, G Aveni, D Bame, P Barela, K Blackman, A Carmain, L Chen, M Cherng, S Clark, M Connally, W Connolly, D Conroy, M Cooper, C Cutler, J D'Agostino, N Demmons, E Dorantes, C Dunn, M Duran, E Ehrbar, J Evans, J Fernandez, G Franklin, M Girard, J Gorelik, V Hruby, O Hsu, D Jackson, S Javidnia, D Kern, M Knopp, R Kolasinski, C Kuo, T Le, I Li, O Liepack, A Littlefield, P Maghami, S Malik, L Markley, \hl{R Martin}, C Marrese-Reading, J Mehta, J Mennela, D Miller, D Nguyen, J O'Donnell, R Parikh, G Plett, T Ramsey, T Randolph, S Rhodes, A Romero-Wolf, T Roy, A Ruiz, H Shaw, J Slutsky, D Spence, J Stocky, J Tallon, I Thorpe, W Tolman, H Umfress, R Valencia, C Valerio, W Warner, J Wellman, P Willis, J Ziemer, J Zwahlen, M Armano, H Audley, J Baird, P Binetruy, ,  et al. (72 additional authors not shown)
    extracting tarball...
    *** Found macros and definitions in the header:
    \providecommand{\subf}[2]{  {\small\begin{tabular}[t]{@{}c@{}}
    \providecommand{\red}[1]{\textcolor{red}{\bf #1}}
    \providecommand{\blue}[1]{\textcolor{blue}{\bf #1}}
    \providecommand{\private}[1]{}
    \providecommand{\braket}[2]{\left\langle#1\,|\,#2\,\right\rangle}
    \providecommand{\expec}[1]{\langle#1\rangle}
    \providecommand{\be}{\begin{equation}}
    \providecommand{\ee}{\end{equation}}
    \providecommand{\bea}{\begin{eqnarray}}
    \providecommand{\eea}{\end{eqnarray}}
    \providecommand{\bdm}{\begin{displaymath}}
    \providecommand{\edm}{\end{displaymath}}
    \providecommand{\drm}{{\rm d}}\def\lesssim{\mathrel{\hbox{\rlap{\hbox{\lower4pt\hbox{$\sim$}}}\hbox{$<$}}}}
    \def\gtrsim{\mathrel{\hbox{\rlap{\hbox{\lower4pt\hbox{$\sim$}}}\hbox{$>$}}}}
    \def\cos{\rm cos}
    \def\sin{\rm sin}

    **** From Heidelberg: False

    *** print_tb
      File "/home/jovyan/mpia.py", line 160, in main
        raise RuntimeError('Not an institute paper')
    Not an institute paper

    [arXiv:1809.09009]:  Plausible home stars of the interstellar object 'Oumuamua found in Gaia  DR2
    	\hl{C.A.L. Bailer-Jones},  (MPIA Heidelberg), , D. Farnocchia,  (JPL), , K.J. Meech,  (Uni. Hawai'i), , R. Brasser,  (Tokyo Institute of Technology), , M. Micheli,  (ESA SSA-NEO Coordination Centre), , S. Chakrabarti,  (Rochester Institute of Technology), , M.W. Buie,  (Southwest Research Institute), , O.R. Hainaut,  (ESO)
    extracting tarball...
    *** Found document inclusions
          input command:  figures/cands41plushome4_encounters
    *** Found macros and definitions in the header:
    \providecommand{\deriv}{\ensuremath{\mathrm{d}}}
    \providecommand{\given}{\ensuremath{\hspace{0.05em}\mid\hspace{0.05em}}}
    \providecommand{\okina}{`}
    \providecommand{\uone}{1I/2017~U1}
    \providecommand{\oum}{{{\okina}Oumuamua}}
    \providecommand{\Hawaii}{Hawai{\okina}i}
    \providecommand{\rainf}{\ensuremath{\ra_\infty}}
    \providecommand{\decinf}{\ensuremath{\dec_\infty}}
    \providecommand{\vinf}{\ensuremath{v_\infty}}
    \providecommand{\candsaa}{2\,k=2}
    \providecommand{\candsbb}{3\,k=2}
    \providecommand{\candscc}{3\,k=1}
    \providecommand{\candsdd}{7d}
    \providecommand{\candsee}{7e}
    \providecommand{\candsff}{7c}
    \providecommand{\gaia}{Gaia}
    \providecommand{\gdr}[1]{Gaia\,DR{#1}}
    \providecommand{\gmag}{\ensuremath{G}}
    \providecommand{\mg}{M$_\gmag$}
    \providecommand{\bprp}{BP-RP}
    \providecommand{\teff}{\ensuremath{T_{\rm eff}}}
    \providecommand{\tenc}{\ensuremath{t_{\rm enc}}}
    \providecommand{\denc}{\ensuremath{d_{\rm enc}}}
    \providecommand{\venc}{\ensuremath{v_{\rm enc}}}
    \providecommand{\tenclma}{\ensuremath{t_{\rm enc}^{\rm lma}}}
    \providecommand{\denclma}{\ensuremath{d_{\rm enc}^{\rm lma}}}
    \providecommand{\venclma}{\ensuremath{v_{\rm enc}^{\rm lma}}}
    \providecommand{\tencmed}{\ensuremath{t_{\rm enc}^{\rm med}}}
    \providecommand{\dencmed}{\ensuremath{d_{\rm enc}^{\rm med}}}
    \providecommand{\vencmed}{\ensuremath{v_{\rm enc}^{\rm med}}}
    \providecommand{\ra}{\ensuremath{\alpha}}
    \providecommand{\dec}{\ensuremath{\delta}}
    \providecommand{\pmra}{\ensuremath{\mu_{\ra\ast}}}
    \providecommand{\parallax}{\ensuremath{\varpi}}
    \providecommand{\parzp}{\ensuremath{\varpi_{\rm zp}}}
    \providecommand{\sigparallax}{\ensuremath{\sigma_{\varpi}}}
    \providecommand{\pmdec}{\ensuremath{\mu_\dec}}
    \providecommand{\propm}{\ensuremath{\mu}}
    \providecommand{\vx}{\ensuremath{v_x}}
    \providecommand{\vy}{\ensuremath{v_y}}
    \providecommand{\vz}{\ensuremath{v_z}}
    \providecommand{\sigmavx}{\ensuremath{\sigma(\vx)}}
    \providecommand{\sigmavy}{\ensuremath{\sigma(\vy)}}
    \providecommand{\sigmavz}{\ensuremath{\sigma(\vz)}}
    \providecommand{\corvxvy}{\ensuremath{\rho(\vx, \vy)}}
    \providecommand{\corvxvz}{\ensuremath{\rho(\vx, \vz)}}
    \providecommand{\corvyvz}{\ensuremath{\rho(\vy, \vz)}}
    \providecommand{\vr}{\ensuremath{v_r}}
    \providecommand{\sigvr}{\ensuremath{\sigma(\vr)}}
    \providecommand{\vtan}{\ensuremath{v_T}}
    \providecommand{\rsol}{\ensuremath{r_\odot}}
    \providecommand{\zsol}{\ensuremath{z_\odot}}
    \providecommand{\glon}{\ensuremath{l}}
    \providecommand{\glat}{\ensuremath{b}}
    \providecommand{\rvec}{\ensuremath{\boldsymbol{r}}}
    \providecommand{\vvec}{\ensuremath{\boldsymbol{v}}}
    \providecommand{\kms}{\ensuremath{\textrm{km\,s}^{-1}}}
    \providecommand{\maspyr}{\ensuremath{\textrm{mas\,yr}^{-1}}}
    \providecommand{\msun}{\ensuremath{M_\odot}}
    \providecommand{\degree}{\ensuremath{^\circ}}
    \providecommand{\red}{\textcolor{red}}
    \providecommand{\blue}{\textcolor{blue}}\def\myeol{\\}
    \definecolor{VeryDarkBlue}{RGB}{0,0,80}
    \definecolor{VeryDarkRed}{RGB}{90,0,00}

    **** From Heidelberg: True

    \hl{C.A.L. Bailer-Jones}, et al.; incl.
    PDF postage: 1809.09009.pdf
    [arXiv:1809.09080]:  Detecting Water In the atmosphere of HR 8799 c with L-band High  Dispersion Spectroscopy Aided By Adaptive Optics
    	\hl{Ji Wang}, Dimitri Mawet Jonathan J. Fortney, Callie Hood, Caroline V. Morley, Bjorn Benneke
    extracting tarball...
    multiple tex files
    Found main document in:  (0, './tmp/ms.tex')
    Found main document in:  ./tmp/ms.tex
    0 ./tmp/ms.tex
    Found main document in:  ./tmp/ms.tex
    *** Found document inclusions
          input command:  obs_summary
          input command:  Telescope_Instrument
          input command:  HR8799c
          input command:  Simulation_results
          input command:  Telescope_Instrument_Sun_Earth
    *** print_tb
      File "/home/jovyan/app.py", line 847, in _expand_auxilary_files
        with open(directory + fname + '.tex', 'r', errors="surrogateescape") as fauxilary:
    [Errno 2] No such file or directory: './tmp/Telescope_Instrument_Sun_Earth.tex'

          input command:  Sun_Earth
    *** print_tb
      File "/home/jovyan/app.py", line 847, in _expand_auxilary_files
        with open(directory + fname + '.tex', 'r', errors="surrogateescape") as fauxilary:
    [Errno 2] No such file or directory: './tmp/Sun_Earth.tex'

    *** Found macros and definitions in the header:
    \providecommand{\totaltargets}{138 }
    \providecommand{\totalplanets}{97 }
    \providecommand{\totalmulti}{27 }
    \providecommand{\detectstar}{42 }
    \providecommand{\detectsys}{35 }
    \providecommand{\rvstar}{22 }
    \providecommand{\myaostar}{60 }
    \providecommand{\myaopalomar}{68 }
    \providecommand{\myaokeck}{5 }
    \providecommand{\myaototal}{73 }
    \providecommand{\myaototalno}{65 }
    \providecommand{\myaonewstar}{29 }
    \providecommand{\myaonewsys}{22 }
    \providecommand{\myaonewcolor}{8 }
    \providecommand{\myaomiss}{11 }
    \providecommand{\multicolor}{21 }
    \providecommand{\multicolorod}{6 }
    \providecommand{\multicolorsubarc}{5 }
    \providecommand{\singleall}{38 }
    \providecommand{\singleK}{29 }
    \providecommand{\starK}{51 }
    \providecommand{\rhk}{\mbox{$\log R^\prime_{\rm HK}$}}
    \providecommand{\vdag}{(v)^\dagger}\def\au{\mbox{au}}

    **** From Heidelberg: False

    *** print_tb
      File "/home/jovyan/mpia.py", line 160, in main
        raise RuntimeError('Not an institute paper')
    Not an institute paper

     Issues ===============================
    [arXiv:1809.08261] Jason J. Wang, Zhaohuan Zhu
     Not an institute paper
    [arXiv:1809.08301] Alex B. Walter
     Not an institute paper
    [arXiv:1809.08348] Eve J. Lee
     Not an institute paper
    [arXiv:1809.08499] Dong-Hong Wu, Rachel C. Zhang
     Not an institute paper
    [arXiv:1809.08501] Shiang-Yu Wang
     Not an institute paper
    [arXiv:1809.08739] Gang Wu
     Not an institute paper
    [arXiv:1809.08798] Jordy Bouwman
     Not an institute paper
    [arXiv:1809.08800] Jordy Bouwman
     not a gzip file
    [arXiv:1809.08904] H.-G. Ludwig
     Not an institute paper
    [arXiv:1806.02981] Ming-Jian Zhang
     Not an institute paper
    [arXiv:1809.08969] R Martin
     Not an institute paper
    [arXiv:1809.09080] Ji Wang
     Not an institute paper
     Matched Authors ======================
    [arXiv:1809.08236] Wel        Arjen van der Wel
    [arXiv:1809.08236] Wu         Po-Feng Wu
    [arXiv:1809.08236] Barisic    Ivana Barisic
    [arXiv:1809.08236] Chauke     Priscilla Chauke
    [arXiv:1809.08236] Houdt      Josha van Houdt
    [arXiv:1809.08239] Pillepich  Annalisa Pillepich
    [arXiv:1809.08241] Joshi      Gandhali Joshi
    [arXiv:1809.08243] Gould      Andrew Gould
    [arXiv:1809.08245] Martin     Nicolas Martin
    [arXiv:1809.08261] Wang       Jason J. Wang
    [arXiv:1809.08261] Zhu        Zhaohuan Zhu
    [arXiv:1809.08301] Walter     Alex B. Walter
    [arXiv:1809.08338] Soler      J. D. Soler
    [arXiv:1809.08338] Beuther    H. Beuther
    [arXiv:1809.08338] Rugel      M. Rugel
    [arXiv:1809.08338] Wang       Y. Wang
    [arXiv:1809.08338] Henning    Th. Henning
    [arXiv:1809.08338] Kainulainen J. Kainulainen
    [arXiv:1809.08338] Mottram    J. C. Mottram
    [arXiv:1809.08348] Lee        Eve J. Lee
    [arXiv:1809.08354] Feldt      M. Feldt
    [arXiv:1809.08354] Cantalloube F. Cantalloube
    [arXiv:1809.08354] Keppler    M. Keppler
    [arXiv:1809.08354] Maire      A.-L. Maire
    [arXiv:1809.08354] Mueller    A. Mueller
    [arXiv:1809.08354] Samland    M. Samland
    [arXiv:1809.08354] Henning    T. Henning
    [arXiv:1809.08385] Henning    T. Henning
    [arXiv:1809.08499] Wu         Dong-Hong Wu
    [arXiv:1809.08499] Zhang      Rachel C. Zhang
    [arXiv:1809.08501] Wang       Shiang-Yu Wang
    [arXiv:1809.08739] Wu         Gang Wu
    [arXiv:1809.08798] Bouwman    Jordy Bouwman
    [arXiv:1809.08800] Bouwman    Jordy Bouwman
    [arXiv:1809.08844] Avenhaus   Henning Avenhaus
    [arXiv:1809.08844] Bertrang   Gesa H. -M. Bertrang
    [arXiv:1809.08844] Schreiber  Matthias R. Schreiber
    [arXiv:1809.08879] Jordán     Andrés Jordán
    [arXiv:1809.08879] Espinoza   Néstor Espinoza
    [arXiv:1809.08879] Henning    Thomas Henning
    [arXiv:1809.08879] Rabus      Markus Rabus
    [arXiv:1809.08879] Sarkis     Paula Sarkis
    [arXiv:1809.08904] Ludwig     H.-G. Ludwig
    [arXiv:1806.02981] Zhang      Ming-Jian Zhang
    [arXiv:1809.08969] Martin     R Martin
    [arXiv:1809.09009] Bailer-Jones C.A.L. Bailer-Jones
    [arXiv:1809.09080] Wang       Ji Wang
     Compiled outputs =====================
    [arXiv:1809.08236] Arjen van der Wel, Po-Feng Wu, Ivana Barisic, Priscilla Chauke, Josha van Houdt
    [arXiv:1809.08239] Annalisa Pillepich
    [arXiv:1809.08241] Gandhali Joshi
    [arXiv:1809.08243] Andrew Gould
    [arXiv:1809.08245] Nicolas Martin
    [arXiv:1809.08338] J. D. Soler, H. Beuther, M. Rugel, Y. Wang, Th. Henning, J. Kainulainen, J. C. Mottram
    [arXiv:1809.08354] M. Feldt, F. Cantalloube, M. Keppler, A.-L. Maire, A. Mueller, M. Samland, T. Henning
    [arXiv:1809.08385] T. Henning
    [arXiv:1809.08844] Henning Avenhaus, Gesa H. -M. Bertrang, Matthias R. Schreiber
    [arXiv:1809.08879] Andrés Jordán, Néstor Espinoza, Thomas Henning, Markus Rabus, Paula Sarkis
    [arXiv:1809.09009] C.A.L. Bailer-Jones

```python
# Some current security measures prevent loading properly pdf previews.
# Converting pdfs into pngs.

!for f in `ls *pdf`; do echo ${f} && convert ${f} ${f}.png; done
```

    1809.08236.pdf
    1809.08239.pdf
    1809.08241.pdf

```python
# Display preview of the compiled outputs

from IPython.display import IFrame, HTML
from glob import glob

code = ''
for fname in glob('*.png'):
    code += IFrame(fname, width=600, height=1000)._repr_html_()

HTML(code)
```

```python

```


```
pip install pennylane-cirq
```

    Requirement already satisfied: pennylane-cirq in /usr/local/lib/python3.6/dist-packages (0.11.0)
    Requirement already satisfied: pennylane>=0.11 in /usr/local/lib/python3.6/dist-packages (from pennylane-cirq) (0.11.0)
    Requirement already satisfied: cirq in /usr/local/lib/python3.6/dist-packages (from pennylane-cirq) (0.8.2)
    Requirement already satisfied: toml in /usr/local/lib/python3.6/dist-packages (from pennylane>=0.11->pennylane-cirq) (0.10.1)
    Requirement already satisfied: semantic-version==2.6 in /usr/local/lib/python3.6/dist-packages (from pennylane>=0.11->pennylane-cirq) (2.6.0)
    Requirement already satisfied: autograd in /usr/local/lib/python3.6/dist-packages (from pennylane>=0.11->pennylane-cirq) (1.3)
    Requirement already satisfied: appdirs in /usr/local/lib/python3.6/dist-packages (from pennylane>=0.11->pennylane-cirq) (1.4.4)
    Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (from pennylane>=0.11->pennylane-cirq) (1.18.5)
    Requirement already satisfied: networkx in /usr/local/lib/python3.6/dist-packages (from pennylane>=0.11->pennylane-cirq) (2.5)
    Requirement already satisfied: scipy in /usr/local/lib/python3.6/dist-packages (from pennylane>=0.11->pennylane-cirq) (1.4.1)
    Requirement already satisfied: google-api-core[grpc]<2.0.0dev,>=1.14.0 in /usr/local/lib/python3.6/dist-packages (from cirq->pennylane-cirq) (1.16.0)
    Requirement already satisfied: freezegun~=0.3.15 in /usr/local/lib/python3.6/dist-packages (from cirq->pennylane-cirq) (0.3.15)
    Requirement already satisfied: typing-extensions in /usr/local/lib/python3.6/dist-packages (from cirq->pennylane-cirq) (3.7.4.3)
    Requirement already satisfied: requests~=2.18 in /usr/local/lib/python3.6/dist-packages (from cirq->pennylane-cirq) (2.23.0)
    Requirement already satisfied: sortedcontainers~=2.0 in /usr/local/lib/python3.6/dist-packages (from cirq->pennylane-cirq) (2.2.2)
    Requirement already satisfied: matplotlib~=3.0 in /usr/local/lib/python3.6/dist-packages (from cirq->pennylane-cirq) (3.2.2)
    Requirement already satisfied: dataclasses; python_version < "3.7" in /usr/local/lib/python3.6/dist-packages (from cirq->pennylane-cirq) (0.7)
    Requirement already satisfied: pandas in /usr/local/lib/python3.6/dist-packages (from cirq->pennylane-cirq) (1.0.5)
    Requirement already satisfied: sympy in /usr/local/lib/python3.6/dist-packages (from cirq->pennylane-cirq) (1.6.2)
    Requirement already satisfied: protobuf~=3.12.0 in /usr/local/lib/python3.6/dist-packages (from cirq->pennylane-cirq) (3.12.4)
    Requirement already satisfied: future>=0.15.2 in /usr/local/lib/python3.6/dist-packages (from autograd->pennylane>=0.11->pennylane-cirq) (0.16.0)
    Requirement already satisfied: decorator>=4.3.0 in /usr/local/lib/python3.6/dist-packages (from networkx->pennylane>=0.11->pennylane-cirq) (4.4.2)
    Requirement already satisfied: pytz in /usr/local/lib/python3.6/dist-packages (from google-api-core[grpc]<2.0.0dev,>=1.14.0->cirq->pennylane-cirq) (2018.9)
    Requirement already satisfied: setuptools>=34.0.0 in /usr/local/lib/python3.6/dist-packages (from google-api-core[grpc]<2.0.0dev,>=1.14.0->cirq->pennylane-cirq) (50.3.0)
    Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python3.6/dist-packages (from google-api-core[grpc]<2.0.0dev,>=1.14.0->cirq->pennylane-cirq) (1.15.0)
    Requirement already satisfied: google-auth<2.0dev,>=0.4.0 in /usr/local/lib/python3.6/dist-packages (from google-api-core[grpc]<2.0.0dev,>=1.14.0->cirq->pennylane-cirq) (1.17.2)
    Requirement already satisfied: googleapis-common-protos<2.0dev,>=1.6.0 in /usr/local/lib/python3.6/dist-packages (from google-api-core[grpc]<2.0.0dev,>=1.14.0->cirq->pennylane-cirq) (1.52.0)
    Requirement already satisfied: grpcio<2.0dev,>=1.8.2; extra == "grpc" in /usr/local/lib/python3.6/dist-packages (from google-api-core[grpc]<2.0.0dev,>=1.14.0->cirq->pennylane-cirq) (1.32.0)
    Requirement already satisfied: python-dateutil!=2.0,>=1.0 in /usr/local/lib/python3.6/dist-packages (from freezegun~=0.3.15->cirq->pennylane-cirq) (2.8.1)
    Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.6/dist-packages (from requests~=2.18->cirq->pennylane-cirq) (1.24.3)
    Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.6/dist-packages (from requests~=2.18->cirq->pennylane-cirq) (2.10)
    Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/dist-packages (from requests~=2.18->cirq->pennylane-cirq) (2020.6.20)
    Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.6/dist-packages (from requests~=2.18->cirq->pennylane-cirq) (3.0.4)
    Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib~=3.0->cirq->pennylane-cirq) (2.4.7)
    Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.6/dist-packages (from matplotlib~=3.0->cirq->pennylane-cirq) (0.10.0)
    Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib~=3.0->cirq->pennylane-cirq) (1.2.0)
    Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.6/dist-packages (from sympy->cirq->pennylane-cirq) (1.1.0)
    Requirement already satisfied: rsa<5,>=3.1.4; python_version >= "3" in /usr/local/lib/python3.6/dist-packages (from google-auth<2.0dev,>=0.4.0->google-api-core[grpc]<2.0.0dev,>=1.14.0->cirq->pennylane-cirq) (4.6)
    Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.6/dist-packages (from google-auth<2.0dev,>=0.4.0->google-api-core[grpc]<2.0.0dev,>=1.14.0->cirq->pennylane-cirq) (0.2.8)
    Requirement already satisfied: cachetools<5.0,>=2.0.0 in /usr/local/lib/python3.6/dist-packages (from google-auth<2.0dev,>=0.4.0->google-api-core[grpc]<2.0.0dev,>=1.14.0->cirq->pennylane-cirq) (4.1.1)
    Requirement already satisfied: pyasn1>=0.1.3 in /usr/local/lib/python3.6/dist-packages (from rsa<5,>=3.1.4; python_version >= "3"->google-auth<2.0dev,>=0.4.0->google-api-core[grpc]<2.0.0dev,>=1.14.0->cirq->pennylane-cirq) (0.4.8)

```
import pennylane as qml
```

```
from pennylane import numpy as np
import matplotlib.pyplot as plt
```

```
pip install qiskit -q
```

```
pip install qiskit -q --upgrade
```

```
pip install pennylane --upgrade
```

    Requirement already up-to-date: pennylane in /usr/local/lib/python3.6/dist-packages (0.11.0)
    Requirement already satisfied, skipping upgrade: numpy in /usr/local/lib/python3.6/dist-packages (from pennylane) (1.18.5)
    Requirement already satisfied, skipping upgrade: autograd in /usr/local/lib/python3.6/dist-packages (from pennylane) (1.3)
    Requirement already satisfied, skipping upgrade: appdirs in /usr/local/lib/python3.6/dist-packages (from pennylane) (1.4.4)
    Requirement already satisfied, skipping upgrade: semantic-version==2.6 in /usr/local/lib/python3.6/dist-packages (from pennylane) (2.6.0)
    Requirement already satisfied, skipping upgrade: scipy in /usr/local/lib/python3.6/dist-packages (from pennylane) (1.4.1)
    Requirement already satisfied, skipping upgrade: toml in /usr/local/lib/python3.6/dist-packages (from pennylane) (0.10.1)
    Requirement already satisfied, skipping upgrade: networkx in /usr/local/lib/python3.6/dist-packages (from pennylane) (2.5)
    Requirement already satisfied, skipping upgrade: future>=0.15.2 in /usr/local/lib/python3.6/dist-packages (from autograd->pennylane) (0.16.0)
    Requirement already satisfied, skipping upgrade: decorator>=4.3.0 in /usr/local/lib/python3.6/dist-packages (from networkx->pennylane) (4.4.2)

```

```

```
pip install pennylane-qiskit
```

    Requirement already satisfied: pennylane-qiskit in /usr/local/lib/python3.6/dist-packages (0.11.0)
    Requirement already satisfied: networkx>=2.2; python_version > "3.5" in /usr/local/lib/python3.6/dist-packages (from pennylane-qiskit) (2.5)
    Requirement already satisfied: pyscf<=1.7.2 in /usr/local/lib/python3.6/dist-packages (from pennylane-qiskit) (1.7.2)
    Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (from pennylane-qiskit) (1.18.5)
    Requirement already satisfied: qiskit>=0.20 in /usr/local/lib/python3.6/dist-packages (from pennylane-qiskit) (0.21.0)
    Requirement already satisfied: pennylane>=0.11.0 in /usr/local/lib/python3.6/dist-packages (from pennylane-qiskit) (0.11.0)
    Requirement already satisfied: decorator>=4.3.0 in /usr/local/lib/python3.6/dist-packages (from networkx>=2.2; python_version > "3.5"->pennylane-qiskit) (4.4.2)
    Requirement already satisfied: h5py in /usr/local/lib/python3.6/dist-packages (from pyscf<=1.7.2->pennylane-qiskit) (2.10.0)
    Requirement already satisfied: scipy in /usr/local/lib/python3.6/dist-packages (from pyscf<=1.7.2->pennylane-qiskit) (1.4.1)
    Requirement already satisfied: qiskit-aqua==0.7.5 in /usr/local/lib/python3.6/dist-packages (from qiskit>=0.20->pennylane-qiskit) (0.7.5)
    Requirement already satisfied: qiskit-aer==0.6.1 in /usr/local/lib/python3.6/dist-packages (from qiskit>=0.20->pennylane-qiskit) (0.6.1)
    Requirement already satisfied: qiskit-ibmq-provider==0.9.0 in /usr/local/lib/python3.6/dist-packages (from qiskit>=0.20->pennylane-qiskit) (0.9.0)
    Requirement already satisfied: qiskit-ignis==0.4.0 in /usr/local/lib/python3.6/dist-packages (from qiskit>=0.20->pennylane-qiskit) (0.4.0)
    Requirement already satisfied: qiskit-terra==0.15.2 in /usr/local/lib/python3.6/dist-packages (from qiskit>=0.20->pennylane-qiskit) (0.15.2)
    Requirement already satisfied: appdirs in /usr/local/lib/python3.6/dist-packages (from pennylane>=0.11.0->pennylane-qiskit) (1.4.4)
    Requirement already satisfied: toml in /usr/local/lib/python3.6/dist-packages (from pennylane>=0.11.0->pennylane-qiskit) (0.10.1)
    Requirement already satisfied: autograd in /usr/local/lib/python3.6/dist-packages (from pennylane>=0.11.0->pennylane-qiskit) (1.3)
    Requirement already satisfied: semantic-version==2.6 in /usr/local/lib/python3.6/dist-packages (from pennylane>=0.11.0->pennylane-qiskit) (2.6.0)
    Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from h5py->pyscf<=1.7.2->pennylane-qiskit) (1.15.0)
    Requirement already satisfied: sympy>=1.3 in /usr/local/lib/python3.6/dist-packages (from qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (1.6.2)
    Requirement already satisfied: psutil>=5 in /usr/local/lib/python3.6/dist-packages (from qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (5.4.8)
    Requirement already satisfied: quandl in /usr/local/lib/python3.6/dist-packages (from qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (3.5.2)
    Requirement already satisfied: fastdtw in /usr/local/lib/python3.6/dist-packages (from qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (0.3.4)
    Requirement already satisfied: scikit-learn>=0.20.0 in /usr/local/lib/python3.6/dist-packages (from qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (0.22.2.post1)
    Requirement already satisfied: yfinance in /usr/local/lib/python3.6/dist-packages (from qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (0.1.54)
    Requirement already satisfied: dlx in /usr/local/lib/python3.6/dist-packages (from qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (1.0.4)
    Requirement already satisfied: docplex in /usr/local/lib/python3.6/dist-packages (from qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (2.15.194)
    Requirement already satisfied: setuptools>=40.1.0 in /usr/local/lib/python3.6/dist-packages (from qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (50.3.0)
    Requirement already satisfied: pandas in /usr/local/lib/python3.6/dist-packages (from qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (1.0.5)
    Requirement already satisfied: cython>=0.27.1 in /usr/local/lib/python3.6/dist-packages (from qiskit-aer==0.6.1->qiskit>=0.20->pennylane-qiskit) (0.29.21)
    Requirement already satisfied: pybind11>=2.4 in /usr/local/lib/python3.6/dist-packages (from qiskit-aer==0.6.1->qiskit>=0.20->pennylane-qiskit) (2.5.0)
    Requirement already satisfied: nest-asyncio!=1.1.0,>=1.0.0 in /usr/local/lib/python3.6/dist-packages (from qiskit-ibmq-provider==0.9.0->qiskit>=0.20->pennylane-qiskit) (1.4.0)
    Requirement already satisfied: urllib3>=1.21.1 in /usr/local/lib/python3.6/dist-packages (from qiskit-ibmq-provider==0.9.0->qiskit>=0.20->pennylane-qiskit) (1.24.3)
    Requirement already satisfied: websockets<8,>=7; python_version <= "3.6" in /usr/local/lib/python3.6/dist-packages (from qiskit-ibmq-provider==0.9.0->qiskit>=0.20->pennylane-qiskit) (7.0)
    Requirement already satisfied: requests>=2.19 in /usr/local/lib/python3.6/dist-packages (from qiskit-ibmq-provider==0.9.0->qiskit>=0.20->pennylane-qiskit) (2.23.0)
    Requirement already satisfied: python-dateutil>=2.8.0 in /usr/local/lib/python3.6/dist-packages (from qiskit-ibmq-provider==0.9.0->qiskit>=0.20->pennylane-qiskit) (2.8.1)
    Requirement already satisfied: requests-ntlm>=1.1.0 in /usr/local/lib/python3.6/dist-packages (from qiskit-ibmq-provider==0.9.0->qiskit>=0.20->pennylane-qiskit) (1.1.0)
    Requirement already satisfied: fastjsonschema>=2.10 in /usr/local/lib/python3.6/dist-packages (from qiskit-terra==0.15.2->qiskit>=0.20->pennylane-qiskit) (2.14.5)
    Requirement already satisfied: ply>=3.10 in /usr/local/lib/python3.6/dist-packages (from qiskit-terra==0.15.2->qiskit>=0.20->pennylane-qiskit) (3.11)
    Requirement already satisfied: contextvars>=2.4; python_version < "3.7" in /usr/local/lib/python3.6/dist-packages (from qiskit-terra==0.15.2->qiskit>=0.20->pennylane-qiskit) (2.4)
    Requirement already satisfied: jsonschema>=2.6 in /usr/local/lib/python3.6/dist-packages (from qiskit-terra==0.15.2->qiskit>=0.20->pennylane-qiskit) (2.6.0)
    Requirement already satisfied: retworkx>=0.4.0 in /usr/local/lib/python3.6/dist-packages (from qiskit-terra==0.15.2->qiskit>=0.20->pennylane-qiskit) (0.5.0)
    Requirement already satisfied: dill>=0.3 in /usr/local/lib/python3.6/dist-packages (from qiskit-terra==0.15.2->qiskit>=0.20->pennylane-qiskit) (0.3.2)
    Requirement already satisfied: python-constraint>=1.4 in /usr/local/lib/python3.6/dist-packages (from qiskit-terra==0.15.2->qiskit>=0.20->pennylane-qiskit) (1.4.0)
    Requirement already satisfied: future>=0.15.2 in /usr/local/lib/python3.6/dist-packages (from autograd->pennylane>=0.11.0->pennylane-qiskit) (0.16.0)
    Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.6/dist-packages (from sympy>=1.3->qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (1.1.0)
    Requirement already satisfied: inflection>=0.3.1 in /usr/local/lib/python3.6/dist-packages (from quandl->qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (0.5.1)
    Requirement already satisfied: more-itertools in /usr/local/lib/python3.6/dist-packages (from quandl->qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (8.5.0)
    Requirement already satisfied: joblib>=0.11 in /usr/local/lib/python3.6/dist-packages (from scikit-learn>=0.20.0->qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (0.16.0)
    Requirement already satisfied: multitasking>=0.0.7 in /usr/local/lib/python3.6/dist-packages (from yfinance->qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (0.0.9)
    Requirement already satisfied: pytz>=2017.2 in /usr/local/lib/python3.6/dist-packages (from pandas->qiskit-aqua==0.7.5->qiskit>=0.20->pennylane-qiskit) (2018.9)
    Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.6/dist-packages (from requests>=2.19->qiskit-ibmq-provider==0.9.0->qiskit>=0.20->pennylane-qiskit) (2.10)
    Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/dist-packages (from requests>=2.19->qiskit-ibmq-provider==0.9.0->qiskit>=0.20->pennylane-qiskit) (2020.6.20)
    Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.6/dist-packages (from requests>=2.19->qiskit-ibmq-provider==0.9.0->qiskit>=0.20->pennylane-qiskit) (3.0.4)
    Requirement already satisfied: cryptography>=1.3 in /usr/local/lib/python3.6/dist-packages (from requests-ntlm>=1.1.0->qiskit-ibmq-provider==0.9.0->qiskit>=0.20->pennylane-qiskit) (3.1.1)
    Requirement already satisfied: ntlm-auth>=1.0.2 in /usr/local/lib/python3.6/dist-packages (from requests-ntlm>=1.1.0->qiskit-ibmq-provider==0.9.0->qiskit>=0.20->pennylane-qiskit) (1.5.0)
    Requirement already satisfied: immutables>=0.9 in /usr/local/lib/python3.6/dist-packages (from contextvars>=2.4; python_version < "3.7"->qiskit-terra==0.15.2->qiskit>=0.20->pennylane-qiskit) (0.14)
    Requirement already satisfied: cffi!=1.11.3,>=1.8 in /usr/local/lib/python3.6/dist-packages (from cryptography>=1.3->requests-ntlm>=1.1.0->qiskit-ibmq-provider==0.9.0->qiskit>=0.20->pennylane-qiskit) (1.14.2)
    Requirement already satisfied: pycparser in /usr/local/lib/python3.6/dist-packages (from cffi!=1.11.3,>=1.8->cryptography>=1.3->requests-ntlm>=1.1.0->qiskit-ibmq-provider==0.9.0->qiskit>=0.20->pennylane-qiskit) (2.20)

```
pip install autograd tensorflow>=1.13.2
```

```
import pennylane as qml
qml.about()
```

    Name: PennyLane
    Version: 0.11.0
    Summary: PennyLane is a Python quantum machine learning library by Xanadu Inc.
    Home-page: https://github.com/XanaduAI/pennylane
    Author: None
    Author-email: None
    License: Apache License 2.0
    Location: /usr/local/lib/python3.6/dist-packages
    Requires: numpy, autograd, semantic-version, scipy, networkx, appdirs, toml
    Required-by: PennyLane-qiskit, PennyLane-Cirq
    Platform info:           Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
    Python version:          3.6.9
    Numpy version:           1.18.5
    Scipy version:           1.4.1
    Installed devices:
    - default.gaussian (PennyLane-0.11.0)
    - default.qubit (PennyLane-0.11.0)
    - default.qubit.autograd (PennyLane-0.11.0)
    - default.qubit.tf (PennyLane-0.11.0)
    - default.tensor (PennyLane-0.11.0)
    - default.tensor.tf (PennyLane-0.11.0)
    - qiskit.aer (PennyLane-qiskit-0.11.0)
    - qiskit.basicaer (PennyLane-qiskit-0.11.0)
    - qiskit.ibmq (PennyLane-qiskit-0.11.0)
    - cirq.mixedsimulator (PennyLane-Cirq-0.11.0)
    - cirq.simulator (PennyLane-Cirq-0.11.0)

```
dev = qml.device("cirq.mixedsimulator", wires=2)

```

```
A1 = qml.PauliZ(0)
A2 = qml.PauliX(0)
B1 = qml.Hermitian(np.array([[1, 1], [1, -1]]) / np.sqrt(2), wires=1)
B2 = qml.Hermitian(np.array([[1, -1], [-1, -1]]) / np.sqrt(2), wires=1)
CHSH_observables = [A1 @ B1, A1 @ B2, A2 @ B1, A2 @ B2]

```

```
# subcircuit for creating an entangled pair of qubits
def bell_pair():
    qml.Hadamard(wires=0)
    qml.CNOT(wires=[0, 1])

```

```
# circuits for measuring each distinct observable
@qml.qnode(dev)
def measure_A1B1():
    bell_pair()
    return qml.expval(A1 @ B1)

@qml.qnode(dev)
def measure_A1B2():
    bell_pair()
    return qml.expval(A1 @ B2)

@qml.qnode(dev)
def measure_A2B1():
    bell_pair()
    return qml.expval(A2 @ B1)

@qml.qnode(dev)
def measure_A2B2():
    bell_pair()
    return qml.expval(A2 @ B2)

circuits = qml.QNodeCollection([measure_A1B1,
                                measure_A1B2,
                                measure_A2B1,
                                measure_A2B2])
```

```
expvals = circuits()
```

```
CHSH_expval = np.sum(expvals[:3]) - expvals[3]
print(CHSH_expval)
```

    2.828426718711853

```
from pennylane_cirq import ops as cirq_ops
# Note that the 'Operation' op is a generic base class
# from PennyLane core.
# All other ops are provided by Cirq.
available_ops = [op for op in dir(cirq_ops) if not op.startswith('_')]
print("\n".join(available_ops))
```

    AmplitudeDamp
    BitFlip
    Depolarize
    Operation
    PhaseDamp
    PhaseFlip

```
noise_vals = np.linspace(0, 1, 25)

CHSH_vals = []
noisy_expvals = []

for p in noise_vals:
    # we overwrite the bell_pair() subcircuit to add
    # extra noisy channels after the entangled state is created
    def bell_pair():
        qml.Hadamard(wires=0)
        qml.CNOT(wires=[0, 1])
        cirq_ops.BitFlip(p, wires=0)
        cirq_ops.BitFlip(p, wires=1)
    # measuring the circuits will now use the new noisy bell_pair() function
    expvals = circuits()
    noisy_expvals.append(expvals)
noisy_expvals = np.array(noisy_expvals)
CHSH_expvals = np.sum(noisy_expvals[:,:3], axis=1) - noisy_expvals[:,3]

# Plot the individual observables
plt.plot(noise_vals, noisy_expvals[:, 0], 'D',
         label = r"$\hat{A1}\otimes \hat{B1}$", markersize=5)
plt.plot(noise_vals, noisy_expvals[:, 1], 'x',
         label = r"$\hat{A1}\otimes \hat{B2}$", markersize=12)
plt.plot(noise_vals, noisy_expvals[:, 2], '+',
         label = r"$\hat{A2}\otimes \hat{B1}$", markersize=10)
plt.plot(noise_vals, noisy_expvals[:, 3], 'v',
         label = r"$\hat{A2}\otimes \hat{B2}$", markersize=10)
plt.xlabel('Noise parameter')
plt.ylabel(r'Expectation value $\langle \hat{A}_i\otimes\hat{B}_j\rangle$')
plt.legend()
plt.show()
```

```
plt.plot(noise_vals, CHSH_expvals, label="CHSH")
plt.plot(noise_vals, 2 * np.ones_like(noise_vals),
         label="Quantum-classical boundary")
plt.xlabel('Noise parameter')
plt.ylabel('CHSH Expectation value')
plt.legend()
plt.show()
```

```
@qml.qnode(dev)
def circuit(gate_params, noise_param=0.0):
    qml.RX(gate_params[0], wires=0)
    qml.RY(gate_params[1], wires=0)
    cirq_ops.Depolarize(noise_param, wires=0)
    return qml.expval(qml.PauliZ(0))

gate_pars = [0.54, 0.12]
print("Expectation value:", circuit(gate_pars))
```

    Expectation value: 0.851540632545948

```
noise_vals = np.linspace(0., 1., 20)
expvals = [circuit(gate_pars, noise_param=p) for p in noise_vals]

plt.plot(noise_vals, expvals, label="Expectation value")
plt.plot(noise_vals, np.ones_like(noise_vals), '--', label="Highest possible")
plt.plot(noise_vals, -np.ones_like(noise_vals), '--', label="Lowest possible")
plt.ylabel(r"Expectation value $\langle \hat{Z} \rangle$")
plt.xlabel(r"Noise strength $p$")
plt.legend()
plt.show()
```

```
# declare the cost functions to be optimized
def cost(x):
    return circuit(x, noise_param=0.0)

def noisy_cost(x):
    return circuit(x, noise_param=0.3)

# initialize the optimizer
opt = qml.GradientDescentOptimizer(stepsize=0.4)

# set the number of steps
steps = 100
# set the initial parameter values
init_params = np.array([0.011, 0.012])
noisy_circuit_params = init_params
params = init_params

for i in range(steps):
    # update the circuit parameters
    # we can optimize both in the same training loop
    params = opt.step(cost, params)
    noisy_circuit_params = opt.step(noisy_cost, noisy_circuit_params)

    if (i + 1) % 5 == 0:
        print("Step {:5d}. Cost: {: .7f}; Noisy Cost: {: .7f}"
              .format(i + 1,
                      cost(params),
                      noisy_cost(noisy_circuit_params)))

print("\nOptimized rotation angles (noise-free case):")
print("({: .7f}, {: .7f})".format(*params))
print("Optimized rotation angles (noisy case):")
print("({: .7f}, {: .7f})".format(*noisy_circuit_params))
```

    Step     5. Cost:  0.9961779; Noisy Cost:  0.5993173
    Step    10. Cost:  0.8974948; Noisy Cost:  0.5941737
    Step    15. Cost:  0.1440492; Noisy Cost:  0.5527687
    Step    20. Cost: -0.1536868; Noisy Cost:  0.3309180
    Step    25. Cost: -0.9152617; Noisy Cost:  0.0470152
    Step    30. Cost: -0.9994047; Noisy Cost: -0.0519407
    Step    35. Cost: -0.9999964; Noisy Cost: -0.2980615
    Step    40. Cost: -1.0000000; Noisy Cost: -0.5561487
    Step    45. Cost: -1.0000000; Noisy Cost: -0.5969037
    Step    50. Cost: -1.0000000; Noisy Cost: -0.5997996
    Step    55. Cost: -1.0000000; Noisy Cost: -0.5999871
    Step    60. Cost: -1.0000000; Noisy Cost: -0.5999991
    Step    65. Cost: -1.0000000; Noisy Cost: -0.6000000
    Step    70. Cost: -1.0000000; Noisy Cost: -0.6000000
    Step    75. Cost: -1.0000000; Noisy Cost: -0.6000000
    Step    80. Cost: -1.0000000; Noisy Cost: -0.6000000
    Step    85. Cost: -1.0000000; Noisy Cost: -0.6000000
    Step    90. Cost: -1.0000000; Noisy Cost: -0.6000000
    Step    95. Cost: -1.0000000; Noisy Cost: -0.6000000
    Step   100. Cost: -1.0000000; Noisy Cost: -0.6000000

    Optimized rotation angles (noise-free case):
    ( 0.0000000,  3.1415926)
    Optimized rotation angles (noisy case):
    ( 0.0000000,  3.1415926)

```

```


# Composition avec Markdown

Ce cahier illustre l'utilisation de Markdown pour saisir des documents dans Jupyter. Après avoir parcouru ce cahier, vous pourrez modifier le texte dans n'importe quel cahier. De plus, vous pourrez aider vos étudiants à éditer le texte de leurs propres cahiers.

## Les éléments _les plus_ fondamentaux

Notez que vous pouvez afficher le code source derrière n'importe quelle cellule en double-cliquant dessus. Pour rendre ou réexécuter la cellule, utilisez l'une des options suivantes:
1. Sélectionnez `Cell` $\rightarrow$ `Run Cells`
2. Appuyez sur `Shift-Enter`
3. Cliquez sur le bouton `Run` ci-dessus

## Création et suppression de cellules Markdown
La première étape à considérer consiste à créer une nouvelle cellule pour la composition. Pour ce faire, pendant que cette cellule est sélectionnée, dans le menu en haut, cliquez sur le signe plus (+) situé à côté du bouton Enregistrer.

Une fois que vous avez créé la nouvelle cellule, vous obtiendrez une cellule vide de `Code`. Pour changer cette cellule en une cellule que vous pouvez utiliser pour la composition, sélectionnez la cellule et, dans le menu déroulant en haut, change `Code` $\rightarrow$ `Markdown`. Cela change ce type de cellule en une cellule Markdown, et elle peut maintenant être utilisée pour la composition!

L'étape suivante consistera à apprendre à supprimer des cellules. Sélectionnez la cellule que vous avez convertie en une cellule Markdown. Pour supprimer cette cellule de votre cahier Jupyter, cliquez sur `Edit` $\rightarrow$ `Delete Cells`. Si vous avez accidentellement supprimé une cellule incorrecte, vous pouvez toujours la ramener en cliquant sur `Edit` $\rightarrow$ `Undo Delete Cells`.

## Créer des titres

Créer un gros titre en gras dans un cahier Jupyter avec Markdown est très simple! Tout ce que vous avez à faire est, sur une nouvelle ligne, tapez le signe dièse puis un espace. Après l'espace, ajoutez votre titre. C'est si simple. En ajoutant des dièses supplémentaires, vous créerez différents niveaux de titre. La cellule ci-dessous est un texte non formaté démontrant cela. Pour afficher la cellule rendue, dans le menu en haut, cliquez sur le menu déroulant `Raw NBConvert` et sélectionnez `Markdown`.
# I am a level one title
## I am a level two title
### I am a level three title
#### I am a level four title
##### I am a level five title
###### I am a level six title
####### I would be a level seven title if such a thing existed

If  # isn't the first character, that line does not get rendered as a title.
Pour voir comment ces titres apparaissent dans le cahier Jupyter, sélectionnez la cellule ci-dessus et, dans le menu en haut, sélectionnez `Raw NBConvert` $\rightarrow$ `Markdown`, puis appuyez sur `Ctrl + Enter` pour afficher la cellule. N'hésitez pas à créer une nouvelle cellule et à jouer avec celles-ci ou à modifier celle ci-dessus.

## Créer des listes détaillées
Créer des listes en Markdown dans un cahier Jupyter est également simple! Pour ce faire, vous devez simplement commencer une nouvelle ligne et commencer à compter. La syntaxe de Markdown est indiquée dans le code ci-dessous.

#### Double-cliquer sur moi

1. Ceci est le premier élément d'une liste
1. Ceci est le deuxième
50. Notez que les chiffres que nous utilisons n'ont pas d'importance, une fois que la cellule est rendue
    1. En appuyant sur la touche `Tab` on peut ajouter des sous-items
    45. Les chiffres n'ont pas d'importance ici, non plus
        - On peut ajouter plusieurs sous-listes
            - Mais à un moment donné, cela commence à devenir redondant
        - Nous pouvons aussi remonter quelques niveaux d'imbrication en alignant le texte avec la ligne plus haute
2346. En revenant à l'emplacement original, nous quittons nos listes imbriquées
23236235672456. Les chiffres n'ont vraiment pas d'importance.
*En fait, vous pouvez abandonner les chiffres à tout moment.
1. Ou recommencez à compter

- Nous n'avons pas non plus besoin de chiffres si nous ne voulons pas!
    * Nous avons beaucoup d'options
-Notez comment si nous ne mettons pas d'espace entre le tiret et le premier terme, cela ne devient pas un nouvel élément dans la liste!

---
### Exercice 1
1. Dans la cellule ci-dessus, essayez de corriger la dernière ligne afin que le dernier élément de la liste soit correctement mis en forme une fois rendu.
2. Créez une nouvelle cellule ci-dessous, ajoutez un titre et une liste ordonnée de vos cinq fruits préférés.
---

## Liens
Vous pouvez ajouter des hyperliens aux pages Web où vous voulez, directement dans le texte. La syntaxe est la suivante
```markdown
[texte que vous souhaitez afficher](lien vers un fichier ou une page URL)
```
Changez la cellule ci-dessous à Markdown, l'exécuter et voir où le lien vous mène!
[ceci est le texte qui devient l'hyperlien](https://media.giphy.com/media/Vs44a88Dvbnkk/giphy.gif)
## Images / gifs
Les images et les gifs peuvent être intégrés dans une cellule Markdown de manière presque identique à celle d’un hyperlien. Pour afficher l'image, ajoutez un point d'exclamation à la commande, comme illustré ci-dessous.
```markdown

```
afficherait une image / gif. Il peut s'agir d'un lien URL vers une image ou d'un lien enregistré sur le concentrateur / localement. Modifiez la cellule ci-dessous à Markdown et l'exécuter pour la voir en action, ou même intégrer vos propres images dans ce cahier.

---
### Exercice 2
1. Dans une nouvelle cellule ci-dessous, incorporez une image d'un chat.
2. Dans la même cellule, ajoutez un lien hypertexte sous l'image qui est liée à l'image originale.
3. Modifiez le texte affiché dans le lien hypertexte pour dire "Kitty Kitty".
---

# Citations bloc
Les citations bloc sont un moyen d'indenter du texte / des images avec une barre grise afin de les distinguer du texte principal. Cela se fait tout simplement en ajoutant un `>` au début d'une ligne. Changez la cellule ci-dessous à Markdown pour voir quelques exemples
> Ceci est un exemple de citation bloc. Vous pouvez taper aussi longtemps que vous le souhaitez et tout le texte résultant sera à droite de la barre grise verticale.

Vous pouvez également utiliser des citations bloc pour formater facilement des images avec des légendes!

>
>
> Maintenant, nous pouvons inclure une légende pour les images. C'est bien parce que l'image se distingue maintenant du texte principal. Cela facilite l’inclusion d’images sans interrompre le récit que vous avez créé. Remarquez comment j'ai inclus un `>` vide sous l'image. C'est pourquoi l'espacement de ce texte se présente bien en dessous. Essayez de le retirer et voyez ce qui se passe.
## Les tableaux

On peut également créer des tableaux de données dans Markdown. Cependant, le faire manuellement n'est souvent pas le plus pratique. Pour les grands tableaux, nous vous recommandons d'utiliser des outils en ligne (tels que [ici](https://jakebathman.github.io/Markdown-Table-Generator/)) où vous pouvez copier-coller des tableaux Excel ou des fichiers CSV. Cela produira alors une syntaxe pour rendre correctement ces tableaux. Pour les petits tableaux, il est assez facile de taper les vôtres. Voir la cellule ci-dessous.
| Ceci est le premier nom de colonne | Deuxième colonne | Troisième |
|--- | --- | ------------- |
|Notez que rien n'est aligné lorsque nous le tapons | Mais ça a l'air bien quand rendu | C'est vraiment pratique!
|les lignes courtes sont bien aussi | nombres? | 343453 |
|symboles | `oui` | $\int e^{-x^2} dx$ |
|notez également que le nombre de tirets dans la deuxième ligne n'a pas d'importance | il faut juste qu'il y en ait au moins trois | les autres ne sont vraiment que pour vous, de donner au pré-rendu une belle apparence |
La syntaxe de base de la table est la suivante:
```markdown
|initialiser|vos|noms de|colonnes|
|-----------|---|-------|---------| <-cette ligne met en place les en-têtes, nécessite au moins trois `---` chaque ligne
|   données |données|données|données| <- n'importe quel type de données en texte. N'hésitez pas à mélanger aussi!
|  nombres  | texte | texte | données   <- vous n'avez pas besoin d'inclure le "pipe" le plus à droite si vous ne voulez pas
```

La syntaxe peut être considérée comme la manière d’essayer d’écrire directement un tableau à l’aide de symboles sur votre clavier. Jouez avec la table dans la cellule ci-dessus ou créez une nouvelle cellule et essayez de créer le vôtre! Vous pourriez en mettre un dans cette cellule et mettre un tableau ici. Double-cliquez n'importe où sur cette cellule pour ouvrir le mode d'édition.

---
### Exercices 3
1. En utilisant des exemplaires de cahiers, les enseignants peuvent aimer ou ne pas aimer les différentes sections de l’échantillon fourni. Heureusement, il est facile de faire ces changements mineurs dans les cahiers. Dans les deux cellules ci-dessous:
    * supprimez la deuxième cellule car vous n'en aurez pas besoin dans votre leçon
    * supprimez le dernier paragraphe de la première cellule
    * changez la date dans le premier paragraphe
2. Dans la première cellule ci-dessous, prenez la liste ordonnée de la citation bloc.

---

> ## Propriétés des nombres aléatoires
>
> 22 mai 2018
> Supposons que vous ayez une suite de nombres aléatoires $N$ $\{R\}$ avec le contenu $\{r_1, r_2, ... , r_N\}$ où chaque élément $r_i$ est un nombre aléatoire. Quelle sorte de propriétés cette séquence de nombres devrait-elle avoir? S'il s'agit vraiment d'une séquence de nombres aléatoires, il _doit_ satisfaire les propriétés suivantes, que nous expliquerons plus en détail:
>
> 1. Tirer n'importe quel $r_i$ est également probable et indépendant.
> 2. La séquence de nombres aléatoires est uniformément distribuée.
>
> "Tirer une valeur" dans cette portée signifie que nous sélectionnons un nombre de notre séquence de nombres aléatoires, mais ne le retirons pas de la séquence (la séquence reste inchangée, nous "observons" simplement le nombre aléatoire).
Regardons ces deux propriétés plus en détail.

> ### Toutes les valeurs sont également probables et indépendantes
>
> Cela signifie que si vous deviez sélectionner (mais pas retirer) un nombre de votre séquence de nombres aléatoires $\{r_1, r_2, ... , r_N\}$ au hasard, la probabilité de tirer l'un de ces nombres est
\begin{equation}
p(r_i) = \frac{1}{N}
\end{equation}
où $p(r_i)$ est la probabilité de sélectionner un nombre $r_i$. Cette probabilité est identique pour tous les nombres de votre ensemble. Plus explicitement:
\begin{equation}
p(r_1) = p(r_2) = ... = p(r_N) = \frac{1}{N}
\end{equation}
>
> La propriété d'indépendance signifie que si vous tirer un nombre de l'ensemble, cela n'affecte pas la probabilité de tirer d'autres nombres, ni même lui-même ultérieurement. C'est parce que la séquence reste inchangée après avoir tiré (observez) un nombre.

[](https://github.com/callysto/curriculum-notebooks/blob/master/LICENSE.md)