Skip to content

Commit

Permalink
Add code for images for typesofdata, oracle models, multiplexer
Browse files Browse the repository at this point in the history
  • Loading branch information
Scinawa committed Apr 23, 2022
1 parent 57a0c62 commit b99b4f6
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 0 deletions.
31 changes: 31 additions & 0 deletions algpseudocode/multiplexer.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
\documentclass{article}
\usepackage[utf8]{inputenc}

\usepackage{multirow}
\usepackage{multicol}
\usepackage{array}
\usepackage{graphicx}

\usepackage{tikz}
\usetikzlibrary{quantikz}

\usepackage[landscape, paperwidth=15cm, paperheight=30cm, margin=0mm]{geometry}

\title{\vspace{-5ex}}
\date{\vspace{-5ex}}

\begin{document}

\maketitle



\begin{quantikz}
\lstick{$\ket{0}$} & \octrl{1} & \ctrl{1} & \ctrl{1} & \\
\lstick{$\ket{0}$} & \octrl{1} & \octrl{1} & \ctrl{1} & \\
\lstick{$\ket{0}$} & \targ{} & \targ{} & \targ{} &
\end{quantikz}



\end{document}
32 changes: 32 additions & 0 deletions algpseudocode/oracle-models.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
\documentclass{article}
\usepackage[utf8]{inputenc}

\usepackage{multirow}
\usepackage{multicol}
\usepackage{array}
\usepackage{graphicx}


\usepackage[landscape, paperwidth=15cm, paperheight=30cm, margin=0mm]{geometry}

\title{\vspace{-5ex}}
\date{\vspace{-5ex}}

\begin{document}

\maketitle


\begin{table}[]
\centering
\begin{tabular}{ccclclcl}
\cline{2-7}
\multicolumn{1}{c|}{Oracle} & \multicolumn{3}{c|}{Numbers} & \multicolumn{3}{c|}{Quantum sampling access} & \\ \cline{2-7}
\multicolumn{1}{c|}{\multirow{2}{*}{Implementation}} & \multicolumn{1}{c|}{\multirow{2}{*}{QRAM}} & \multicolumn{2}{c|}{Circuits} & \multicolumn{1}{c|}{KP-trees} & \multicolumn{1}{c|}{Grover-Rudolph} & \multicolumn{1}{c|}{Other} & \\ \cline{3-6}
\multicolumn{1}{c|}{} & \multicolumn{1}{c|}{} & \multicolumn{1}{c|}{Sparse access} & \multicolumn{1}{c|}{Functions} & \multicolumn{2}{c|}{Oracle for numbers} & \multicolumn{1}{c|}{} & \\ \cline{2-7}
\multicolumn{1}{l}{} & \multicolumn{1}{l}{} & \multicolumn{1}{l}{} & & \multicolumn{1}{l}{} & & \multicolumn{1}{l}{} &
\end{tabular}
\end{table}


\end{document}
50 changes: 50 additions & 0 deletions algpseudocode/typesofdata.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
\documentclass{article}
\usepackage[utf8]{inputenc}

\usepackage{multirow}
\usepackage{multicol}
\usepackage{array}
\usepackage{graphicx}


\usepackage[landscape, paperwidth=15cm, paperheight=30cm, margin=0mm]{geometry}

\title{\vspace{-5ex}}
\date{\vspace{-5ex}}

\begin{document}

\maketitle


\begin{table}[]
\centering
\scalebox{1.5}{
\begin{tabular}{ccccc}
& & \multicolumn{2}{c}{Type of algorithm} & \\
& & \multicolumn{1}{c|}{Classical} & Quantum & \\ \cline{3-4}
\multirow{2}{*}{\parbox[t]{2mm}{\multirow{3}{*}{\rotatebox[origin=c]{90}{Type of data}}}} & \multicolumn{1}{c|}{Classical} & \multicolumn{1}{c|}{\begin{tabular}[c]{@{}c@{}}CC\\ Classical ML\end{tabular}} & \multicolumn{1}{c|}{\begin{tabular}[c]{@{}c@{}}QC\\ Quantum ML\end{tabular}} & \\ \cline{2-4}
& \multicolumn{1}{c|}{Quantum} & \multicolumn{1}{c|}{\begin{tabular}[c]{@{}c@{}}CQ\\ Classical ML on \\ quantum experiments\end{tabular}} & \multicolumn{1}{c|}{\begin{tabular}[c]{@{}c@{}}QQ\\ Quantum-Quantum ML\end{tabular}} & \\ \cline{3-4}
& & & &
\end{tabular}
}
\end{table}




% \begin{center}
% \begin{tabular}{ m{5em} | m{4cm}| m{4cm} | }
% \hline
% oracle & numbers & quantum sampling access \\
% \hline
% cell1 dummy text dummy text dummy text & cell5 & cell6 \\
% \hline
% cell7 & cell8 & cell9 \\
% \hline
% \end{tabular}
% \end{center}


\end{document}

0 comments on commit b99b4f6

Please sign in to comment.