2004-05-31 Loïc Fosse * report/codage.tex, * report/conclu.tex, * report/techs.tex, * report/quantique.tex: Typo. 2004-05-31 Thomas Claveirole * slides/pres.tex: Changle slide 10. * slides/map.dia: New. * slides/Makefile: Update. 2004-05-31 Thomas Claveirole * src/misc.cc: Typo. 2004-05-31 Thomas Claveirole * src/register.hh (num_regs): Remove definition of num_regs. * src/misc.hh (num_regs): Add definition of num_regs. * src/register.cc: Typo. 2004-05-31 Thomas Claveirole * src/qtm_register.i: Remove get(). Add __int__(). * src/qtm.py: Remove diacritics. * src/Makefile.am: Set correct dependancies. * src/qtm_gates.i: Typo. 2004-05-30 Thomas Claveirole * AUTHORS: Make nicer. * TODO: Delete. * INSTALL: New. * report/fancyhdr.sty: Delete. * configure.ac, src/misc.cc, src/bitfield.hh, src/point.hh, * src/register.hxx, src/oadd.cc, src/exp_mod_n.cc, src/qtm_register.i, * src/shor.cc, src/point.hxx, src/gates.hh, src/gates.hxx, src/omul.hh, * src/matrix.hxx, src/qtm_algos.i, src/register.hh, src/iterator.hh, * src/gates.cc, src/qtm.py, src/qft.hh, src/bitfield.hxx, * src/grover.cc, src/misc.hh, src/iterator.hxx, src/omul.cc, * src/misc.hxx, src/matrix.hh, src/oadd.hh, src/exp_mod_n.hh, * src/qtm_exception.i, src/qtm_python.in, src/register.cc, * src/Makefile.am, src/qtm_gates.i, src/qft.cc, Makefile.am, * report/codage.tex, report/conclu.tex, report/techs.tex, * report/report.bib, report/header.tex, report/Makefile.am, * report/report.tex, report/intro.tex, report/quantique.tex: Add GPL headers. 2004-05-30 Thomas Claveirole * src/register.i, src/gates.i: Move to... * src/qtm_register.i, src/qtm_gates.i: ... These. Rename modules qtm_register and qtm_gates. * src/qtm_algos.i: New. SWIG interface for algorithms. * src/qtm.py: New. Top module for the whole libquantum python modules. * src/oadd.hh, src/omul.hh, src/exp_mod_n.hh: Minor fixes for SWIG. * src/qtm_python.in: New. Call python with the right modules loaded. * configure.ac: Clean. Comment. Check for Python.h. * src/Makefile.am: Update. * src/qft.hh: Clean. * src/qft.cc: New. * src/shor.cc: Update. 2004-05-29 Thomas Claveirole * src/bitfield.hh, src/bitfield.hxx: Use std::vector instead of std::bit_vector. 2004-05-29 Thomas Claveirole * src/omul.cc, src/misc.cc, src/oadd.cc, src/exp_mod_n.cc: New. * src/shor.cc, src/gates.hxx, src/omul.hh, src/register.hh, * src/gates.cc, src/grover.cc, src/misc.hh, src/misc.hxx, * src/matrix.hh, src/oadd.hh, src/exp_mod_n.hh: Clean. * src/Makefile.am: Update. * src/exp_mod_n.hxx, src/classic.hh: Delete. 2004-05-29 Thomas Claveirole * src/register.hh, src/register.cc: Change prototype for operator <<=. * src/register.i: Remove SWIG warnings. 2004-05-29 Thomas Claveirole * src/register.hh, src/register.hxx, src/register.cc: Add operators >> and >>=. 2004-05-29 Thomas Claveirole * src/register.hh, src/register.hxx: node_add() returns the index of the added node. state_amplitude has a default constructor. * src/matrix.hxx: Clean. 2004-05-29 Thomas Claveirole * src/matrix.hxx: Clean. 2004-05-29 Thomas Claveirole * src/register.hh: Add macros for convenient nodes iteration and bound checking. * src/gates.cc, src/gates.hh, src/register.cc: Use them. 2004-05-29 Thomas Claveirole * src/register.hh, src/gates.cc, src/register.hxx, src/register.cc, * src/gates.hxx, src/matrix.hxx: Rename register_data to register_nodes. Rename data() to nodes(). Add nb_nodes(). Rename data_ to node_. Rename state_add() to node_add(). 2004-05-29 Thomas Claveirole * src/register.hh, src/register.hxx, src/register.cc: Add a constructor. Add kronecker's product. 2004-05-29 Thomas Claveirole * src/gates.i: Make the generic gate available from Python. * src/matrix.hh, src/matrix.hxx (matrix::mult): Fix constness of matrix::mult. 2004-05-29 Thomas Claveirole * src/gates.hh, src/gates.hxx, src/gates.cc: Add conditional phase gates. Add an external gate function to provide generic gate manipulations outside matrix. * src/misc.hh, src/misc.hxx (pi, proba, pow2): Add a definition of pi. Remove proba. Add pow2. * src/register.cc: Update accordingly. 2004-05-29 Thomas Claveirole * src/gates.cc (walsh): Handle exceptions. * src/matrix.hxx: Bound check target bit. 2004-05-29 Thomas Claveirole * src/gates.cc, src/gates.hh (walsh): Add the walsh gate. 2004-05-29 Thomas Claveirole * src/bitfield.hh, src/bitfield.hxx (bitfield::string): Add a string method to bitfield. * src/register.hh, src/register.hxx, src/register.cc (reg::string): Add a string method to qtm::reg. * src/misc.hh, src/misc.hxx (to_string): Add a to_string function. * src/register.i (__repr__): Use qtm::reg::string for __repr__. Therefore fix the printing bug. 2004-05-29 Thomas Claveirole * src/gates.cc, src/gates.hh: Add phase scaling and kicking gates. 2004-05-29 Thomas Claveirole * src/gates.hh: Move SWIG specific code... * src/gates.i: ... Here. 2004-05-28 Clement Vasseur * comm/Rapport_de_communication.pdf: New. Add communication report. 2004-05-28 Thomas Claveirole * src/gates.cc (r_z): Use a correct formula for the r_z gate. * src/misc.hh, src/misc.hxx (mexpia): Add mexpia(). 2004-05-28 Thomas Claveirole * src/register.hh: Declare a state_amplitude type. Use it instead of std::pair in qtm::reg. * src/gates.cc, src/register.hxx, src/register.cc, src/gates.hxx: * src/matrix.hxx: Update accordingly. 2004-05-28 Thomas Claveirole * src/gates.cc, src/gates.hh: Add rotation gates. * src/gates.hxx (hadamard): use a matrix of reg::amplitude, not std::complex. * src/matrix.hxx: Use default constructor for T. 2004-05-28 Giovanni Palma * src/matrix.hxx: Fix bugs. 2004-05-28 Thomas Claveirole * src/register.hh, src/register.hxx (reg::reg): Change size_t to unsigned in prototype. 2004-05-28 Thomas Claveirole * src/matrix.hh: Clean. Does not include matrix.hxx from within the qtm namespace. * src/matrix.hxx: Add header guards. * src/matrix.hxx (mult): Bound check the register. 2004-05-28 Giovanni Palma * src/matrix.hxx: Fix bug. 2004-05-28 Thomas Claveirole * src/register.hh (get_node): Rename get_node to node, and move the implementation in register.hxx. * src/register.hxx (node): Add node(). * src/gates.hh (hadamard): Change prototype. * src/matrix.hh (mutl): Change prototype. * src/gates.hxx, src/matrix.hxx: Update accordingly. 2004-05-28 Thomas Claveirole * src/Makefile.am: Distribute SWIG interface files. * report/Makefile.am: Distribute bibliography. Make distcheck. 2004-05-28 Giovanni Palma * src/gates.hxx: Add Hadamard's gate. * src/gates.hh: Likewise. * src/point.hxx: Add inline keyword. * src/matrix.hxx: Remove warnings. 2004-05-28 Giovanni Palma * src/bitfield.hh: Add methods. * src/bitfield.hxx: Likewise. * src/register.hh: Add accessors. * src/register.hxx: Likewise. * src/register.cc: Likewise. * src/matrix.hh: Add product. * src/matrix.hxx: Likewise. 2004-05-28 Thomas Claveirole * report/codage.tex, report/conclu.tex, report/header.tex, * report/intro.tex, report/quantique.tex: Fix. 2004-05-28 Marco Tessari * configure.ac: Pemove dvipdf. * report/codage.tex: Fixed reference. * report/Makefile.am: Fixed pdf compilation with texi2pdf. 2004-05-28 Thomas Claveirole * report/header.tex, report/codage.tex: Do not use natbib anymore. * report/report.bib: Typo. * report/report.tex: Change bibliography style. 2004-05-28 Jezz * report/report.bib: Ajoute bibliographie * report/codage.tex: Ajoute references vers la bibliographie * report/header.tex: Ajoute package natbib 2004-05-28 Bruno BORRI * report/quantique.tex, report/codage.tex, report/techs.tex, * report/intro.tex, report/conclu.tex: grammar corrections 2004-05-28 Thomas Claveirole * report/codage.tex, report/techs.tex, report/report.tex: Clean. 2004-05-28 Marco Tessari * report/conclu.tex: Write conclusion. * report/techs.tex: Typo. 2004-05-28 Thomas Claveirole * report/quantique.tex: Clean. 2004-05-28 Marco Tessari * report/techs.tex: Explain SWIG and Python choice. 2004-05-28 Thomas Claveirole * report/codage.tex, report/techs.tex, report/header.tex, * report/report.tex, report/intro.tex, report/quantique.tex: Clean. 2004-05-28 Bruno BORRI * report/quantique.tex: added my part. it is still incomplete 2004-05-28 Thomas Claveirole * report/intro.tex: Make figures. 2004-05-28 Thomas Claveirole * report/techs.tex: s/latex/\\LaTeX/. 2004-05-28 Thomas Claveirole * report/codage.tex, report/techs.tex: s/librairie/bibliothèque/. 2004-05-28 Thomas Claveirole * report/codage.tex, report/techs.tex, report/intro.tex: Fix diacritic characters. 2004-05-28 Thomas Claveirole * src/gates.cc, src/gates.hh: Add swap gates. Also use size_t instead if int for sigma gates. 2004-05-28 Marco Tessari * report/codage.tex: Grammar correction. * report/conclu.tex: Likewise. * report/techs.tex: Likewise. * report/intro.tex: Likewise. 2004-05-28 Thomas Claveirole * src/gates.cc, src/gates.hh: Add the sigma gates. * src/gates.hxx: Minor layout cleaning. 2004-05-28 Thomas Claveirole * src/register.hh, src/register.hxx: Add a is_valid() method to check if a bit is valid. * src/gates.cc, src/gates.hxx: Check bits before access them. 2004-05-28 Thomas Claveirole * src/gates.hh, src/gates.cc: Add toffoli gates. * src/gates.hxx: New. Add a template toffoli gate. * src/gates.i: Bind toffoli gates. * src/Makefile.am: Update. 2004-05-28 Jérôme Pouiller * TODO: Update. * report/intro.tex: Update introduction (and wikipedia ;-) ). * report/codage.tex: Update quantum algorithms. 2004-05-28 Marco Tessari * TODO: Updated. * report/intro.tex: Typo. 2004-05-28 Marco Tessari * report/gant.eps: New. * report/codage.tex: Fix compilation. * report/intro.tex: Write intro. * report/depandances.dot: New. 2004-05-28 Marco Tessari * report/techs.tex: Write Coding Style. 2004-05-27 Marco Tessari * TODO: Updated. * report/codage.tex: Write description of algorithms from jezz. * report/intro.tex: Write ideas for intro from jezz. 2004-05-27 Marco Tessari * configure.ac: Check for dot and dvipdf. * TODO: Updated. * report/header.tex: Include graphicx. * report/Makefile.am: Build pdf with dvipdf. Generate image from dot. * report/intro.tex: Tasks splitting. 2004-05-27 Thomas Claveirole * src/gates.hh, src/gates.cc: New. Source for quantum gates. Add cnot. * src/gates.i: New. SWIG interface for gates. * src/Makefile.am: Update. * src/register.hxx: Minor fix. * src/qtm_exception.i: New. Factor handling of SWIG exceptions. * src/register.i: Update accordingly. 2004-05-27 Thomas Claveirole * src/quantum.hh: Delete. * src/Makefile.am: Update. 2004-05-27 Thomas Claveirole * src/register.hh, src/register.hxx: Remove obsolete comments. Handle qtm::reg overflows. * src/register.cc: Handle qtm::reg overflows. * src/register.i: Handle exceptions. 2004-05-27 Thomas Claveirole * src/register.i: Add a get() method when binding in Python which do measurements on a qregister. 2004-05-27 Thomas Claveirole * configure.ac: Check for Python 2.3 and SWIG. * src/Makefile.am: Generate Python bindings for qtm::reg. 2004-05-27 Marco Tessari * report/techs.tex: Explain tecnological choices 2004-05-27 Thomas Claveirole * src/register.hh, src/register.hxx: Adapt for SWIG. * src/register.cc: Implement qtm::reg::hash(). * src/register.i: SWIG interface for qtm::reg in register.hh. 2004-05-27 Giovanni Palma * src/iterator.hxx: Add file. * src/iterator.hh: Likewise. * src/point.hh: Likewise. * src/matrix.hh: Likewise. * src/point.hxx: Likewise. * src/matrix.hxx: Likewise. 2004-05-27 Marco Tessari * report/codage.tex: Clean. * report/techs.tex: Explain why C++ 2004-05-27 Thomas Claveirole * src/bitfield.hh, src/bitfield.hxx: Add a shift_right() method. Clean. * src/misc.hh, src/misc.hxx: Add a rand() function for double. * src/register.cc: Eradicate FIXMEs. 2004-05-27 Marco Tessari * report/codage.tex: Fit to begining of code. * report/techs.tex: Introduction. 2004-05-27 Zapata * AUTHORS: Fix names. * src/quantum.hh: New. * TODO: New. 2004-05-27 Zapata * report/codage.tex: Describes all the basic operations. * report/techs.tex: Put more ideas. * report/report.tex: Names rereordored. * report/header.tex: Macros for quantum vectors 2004-05-27 Zapata * report/codage.tex: added the part on Matrix. Added part on quantum registers. Begining of operations descriptions. * report/report.tex: Names reordored. * report/Makefile: verbosity on for developpement cycle 2004-05-27 Thomas Claveirole * src/bitfield.hh, src/bitfield.hxx: New. Convenient wrapper to std::bit_vector; * src/misc.hh, src/misc.hxx: New. Utility functions. * src/register.hh, src/register.hxx, src/register.cc: New. Implementation of a quantum register. * src/Makefile.am: Update. * configure.ac: Use libtool. 2004-05-27 Thomas Claveirole * configure.ac, src/Makefile.am, Makefile.am, report/Makefile.am: New. * report/latexmk.pl, report/Makefile: Delete. 2004-05-26 Zapata * report/codage.tex: part on complex written 2004-05-26 Zapata * report/report.tex, report/header.tex, * report/intro.tex, report/techs.tex, report/codage.tex, * report/quantique.tex, report/conclu.tex: some notes written, squeletton defined. 2004-05-26 Zapata * report/Makefile, report/latexmk.pl, * report/fancyhdr.sty, report/report.tex, report/header.tex, * report/intro.tex, report/techs.tex, report/codage.tex, * report/quantique.tex, report/conclu.tex: added 2004-05-25 Zapata * COPYING, TODO, ChangeLog, AUTHORS: added * report/: added, here goes report stuff