
%%% Local Variables: 
%%% mode: latex
%%% TeX-master: "FULLPROP"
%%% End: 

%%% the following will regenerate all the gantt bars from the
%%% FULLPROP.aux file.

%%  ./gettasks.sh | 
%%    awk '{print "\\ganttbar\{\\ref\{"$1"\} \\REM\{Title\}\}\{1\}\{36\}\\\\";}'

\begin{ganttchart}[
  x unit=3mm,
  y unit title=4mm,
  y unit chart=4mm,
  hgrid=false,
  vgrid={*2{draw=none},*1{blue, dotted},*2{draw=none},*1{blue,
      dotted},*2{draw=none},*1{blue, dotted},*2{draw=none},*1{black, dashed}},
  title height=1,
  bar height=0.75,
  bar top shift=0.125,
  milestone/.append style={shape=rectangle}
]{1}{36}
  \foreach
    \x in {3,6,...,36}
      \gantttitle{\x}{3};
  \\
%%%% WP 1 
  \ganttset{bar/.append style={fill=red!50}}
  \ganttbar{\footnotesize \ref{task:HHL} Front-end}{3}{36}\\
  \ganttbar{\footnotesize \ref{task:trans1} Open API for \dzxc}{1}{36}\\
  \ganttbar{\footnotesize \ref{task:testBench} Open test-suite}{6}{36}\\
  \ganttbar{\footnotesize \ref{task:circuit-model} Idealised quantum circuits}{1}{12}\\
  \ganttbar{\footnotesize \ref{task:mbqc-model} Idealised 1WQC}{1}{15}\\
  \ganttbar{\footnotesize \ref{task:backendapi} Back-end API}{24}{36}\\
%%%% WP 2
  \ganttset{bar/.append style={fill=yellow}}
  \ganttbar{\footnotesize \ref{task:axioms} Beyond qubits and stabilisers}{1}{14}\\
  \ganttbar{\footnotesize \ref{task:betterboxes} Control in \zx}{1}{18}\\
  \ganttbar{\footnotesize \ref{task:resources} Resources and axioms}{1}{36}\\
  \ganttbar{\footnotesize \ref{task:resourcesagain} Computational resources}{12}{36}\\
%%%% WP 3 
  \ganttset{bar/.append style={fill=green!50}}
  \ganttbar{\footnotesize \ref{task:algorithms} Reduction strategies etc.}{1}{36}\\
  \ganttbar{\footnotesize \ref{task:annotate1} Topological \& causal constraints}{1}{18}\\
  \ganttbar{\footnotesize \ref{task:annotate2} Quantitative properties}{13}{24}\\ 
  \ganttbar{\footnotesize \ref{task:basic-opt} Generic optimisations of \zx-terms}{12}{30}\\
  \ganttbar{\footnotesize \ref{task:ECC} Application of Error-Correction}{1}{36}\\
%%% WP 4
  \ganttset{bar/.append style={fill=blue!50}}
  \ganttbar{\footnotesize \ref{task:qdot-model} Grenoble silicon spin qubits}{13}{36}\\
  \ganttbar{\footnotesize \ref{task:NQIT-model} Oxford ion traps}{13}{30}\\
  \ganttbar{\footnotesize \ref{task:IBM-model} IBM superconducting devices}{18}{36}\\
  \ganttbar{\footnotesize \ref{task:runnable} Formatting for target systems}{15}{30}\\
  \ganttbar{\footnotesize \ref{task:error} Error correction for target devices}{15}{30}\\
  \ganttbar{\footnotesize \ref{task:opt-machine} Model-guided optimisations}{21}{36}\\
%%% WP 5 -- don't use
  % \ganttset{bar/.append style={fill=gray!50}}
  % \ganttbar{\ref{task:admin} \REM{Title}{1}{36}
  % \ganttbar{\ref{task:website} \REM{Title}{1}{36}
  % \ganttbar{\ref{task:wkshopone} \REM{Title}{1}{36}
  % \ganttbar{\ref{task:wkshoptwo} \REM{Title}{1}{36}
  % \ganttbar{\ref{task:wkshopthree} \REM{Title}{1}{36}
%%% Milestones
  \ganttset{bar/.append style={draw=none,fill=none}}
  \ganttbar{\footnotesize\textbf{Milestones (see \S\ref{sec:manag-struct-milest})}}{0}{0}
  \ganttset{inline=true}
  \ganttset{milestone inline label node/.append style={left=1mm}}
  \ganttmilestone{\ref{ms:qasmqasm}}{12}
  \ganttmilestone{\ref{ms:quippermbqc}}{18}
  \ganttmilestone{\ref{ms:optimise-ecc}}{24}
  \ganttmilestone{\ref{ms:nqitbackend}}{30}
  \ganttmilestone{\ref{ms:delftbackend}}{36}
\end{ganttchart}


