Giter Site home page Giter Site logo

epelaaez / quantumalgorithms.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scinawa/quantumalgorithms.org

0.0 0.0 0.0 3.95 MB

This is the repository for https://quantumalgorithms.org

Home Page: https://quantumalgorithms.org

TeX 95.97% CSS 3.02% HTML 0.67% Python 0.33% Shell 0.01%

quantumalgorithms.org's Introduction

quantumalgorithms.org

README

Unitary Fund

Program is an embodiment of an algorithm. Algorithms works on information Programs works on data. - Donald Knuth.

This is the repository for QuantumAlgorithms.org.

This webiste is meant to be a set of lecture notes for students in quantum algorithms and quantum machine learning. It will be updated regularly with new research material. The scope is to bridge the gap between introductory material in quantum computing and research-grade papers, standardize notation, and be an overfiew on the state of useful algorithms for quantum machine learning and information processing.

How to contribute:

The book is written in bookdown, an R-based extension of markdown (even if you don't need to know R at all, it's simply markdown with some latex). Download RStudio and make sure you can compile a book with bookdown on your computer. Once you have it, you can work on the book and submit a PR.

Feel free to submit a PR with improvements in

  • proofreading
  • checking and expanding steps in calculations,
  • pointing out sections are ambigious or hard to understand, or that can be explained better,
  • create and solve new exercise.

For major contributions (like new chapters or new content), drop us a line!

How to write an algorithm

The book has some algorithms that are rendered as latex algorithms with a package for writing pseudocode. These algorithms are rendered as pdfs, and successively these files are rendered as png via a python script. The text of the pseudocode of the algorithm is in the folder /algpseudocode/ When writing new algorithms, please use the template that you find there. You can obtain a .png, which can be included in the .Rmd files with a small caption. There are countless examples of algorithms included in the book, so you can copy that.

Style guide, tips&tricks.

  • Use \ket{} and \bra{} instead of |x\rangle
  • \begin{equation} and \end{equation} should be used throughout the whole book, as math books have all equation numbered.
  • Always put a citation with [@citationname] to theorems you are citing from papers.
  • Labels for equation equations in bookdown are documented in the bookdown documentation https://bookdown.org/yihui/bookdown/markdown-extensions-by-bookdown.html ( tldr; the way to number equation is the following: (#eq:raylight) )
  • Take the references from google scholar. Select that paper you want, go to cite, and use the biblatex paper. Be sure to include always the year of the document, becuase otherwise you will get an error when trying to compile the pdf version of the document.
  • Every time you compile, (and before doing the pull request) be sure to compile also the pdf version of the document. This becuase there are cases where the generation of the book in htlm succeed, but the pdf is failing.
  • We use runtime not run-time or run time.
  • no space between a dollar sign for equations $ and the first character of the formula (otherwise you get an error)
  • currently, it's not possible to put latex in the names of the theorems,lemma, definitions. (do we know how to do it?) For example in the definition of the parametereization of the function $\mu$, I had to use the greek letter μ...
  • itemize made with - should start and end with a newline
  • always use thm, lem, cor, in references: @ref(thm:qla).
  • Use the bash comand grep "\{lemma" * to have the list of all lemmas (or theorems) so after we can check if they are used correctly with @ref() and there are no wrong \ref{}.
  • If you need a fast way for translating citation from latex \cite{ciao} to markdown [@ciao], you can use \cite{(.*?)} -----> [@$1]

quantumalgorithms.org's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.