Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from upstream #15

Merged
merged 28 commits into from
Apr 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a655909
ProjectQ v0.4.1
damiansteiger Aug 26, 2018
86f2e22
Update to newer RevKit version. (#271)
msoeken Sep 18, 2018
78bfb92
Add VQE example (#274)
damiansteiger Sep 23, 2018
e5cc988
Update docs of decompositions. (#281)
damiansteiger Oct 29, 2018
867e68e
Add FlipBits gate (#289)
cgogolin Dec 22, 2018
abe86ed
Fix strings with invalid escape sequences. (#300)
thomashaener Jan 11, 2019
04fd0a3
Avoid 502 error when waiting for IBM Q results, resolves #291 (#294)
cgogolin Jan 11, 2019
a87039e
Expose num_retries and interval in IBMBackend (#295)
cgogolin Jan 14, 2019
ef99f48
Don't accept controlled single-qubit gates in restricted gate set. (#…
thomashaener Jan 30, 2019
eaf1334
Implement MatrixGate and simplify __eq__ in BasicGate to improve perf…
cgogolin Jan 30, 2019
22d368d
Bumped version number to 0.4.2
Jan 30, 2019
f7bef17
Merge branch 'master' into release-0.4.2
damiansteiger Jan 30, 2019
6db7038
ProjectQ v0.4.2
damiansteiger Jan 31, 2019
3ac3c2c
Phase Estimation as a Gate in ops (#260)
fernandodelaiglesia May 6, 2019
6a46f45
Correct statistics in qpe test (#328)
fernandodelaiglesia Jul 18, 2019
f3582b7
Amplitude Amplification algorithm as a Gate in ops (#327)
fernandodelaiglesia Jul 18, 2019
9db3383
3 additional 2-qubit gates (#330)
dwierichs Aug 14, 2019
f27286f
C++ simulator performance improvements (#329)
melven Aug 20, 2019
44ba35b
Update constant math documentation to include list of pre-conditions …
Takishima Aug 23, 2019
4bd6e6f
Allow selection of drawing order in CircuitDrawer (solves #333) (#334)
alexandrupaler Oct 25, 2019
93f2d79
Trapped ion decomposer setup and rotation gates improvement (#346)
dbretaud Jan 14, 2020
a80fa84
Matplotlib drawer backend (#352)
Bombenchris Feb 4, 2020
7da50cf
Ibm backend v2 (solves #318 and #347) (#349)
dbretaud Feb 4, 2020
d5bf14e
Automatically generate documentation ReST files (#339)
Takishima Feb 5, 2020
63af3bf
Update setup.py (#337)
Takishima Feb 19, 2020
89cb7fd
ProjectQ v0.5.0 (#356)
Takishima Mar 19, 2020
dfff0f3
Fix generated documentation (#360)
AriJordan Mar 25, 2020
67ce24b
Fix bugs with matplotlib drawer (#361)
AriJordan Mar 25, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
182 changes: 180 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,180 @@
# python artifacts
*.pyc
# Python
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/
docs/_doc_gen/
docs/doxygen

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# ==============================================================================
# Prerequisites
*.d

# C++
# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

# ==============================================================================

# Windows artifacts
thumbs.db

# Mac OSX artifacts
*.DS_Store
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ install:
- if [ "${PYTHON:0:1}" = "3" ]; then pip$PY install dormouse; fi
- pip$PY install -e .

before_script:
- "echo 'backend: Agg' > matplotlibrc"

# command to run tests
script: export OMP_NUM_THREADS=1 && pytest projectq --cov projectq

Expand Down