Skip to content

Commit

Permalink
Merge pull request #617 from atilag/stable-0.5.5
Browse files Browse the repository at this point in the history
Stable 0.5.5
  • Loading branch information
atilag authored Jul 2, 2018
2 parents 2dd4770 + 59a6165 commit 1219800
Show file tree
Hide file tree
Showing 93 changed files with 4,876 additions and 2,257 deletions.
17 changes: 17 additions & 0 deletions .github/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,23 @@ If you have an idea for a new feature please open a ticket labeled as
``enhancement``. If you could also add a piece of code with the idea
or a partial implementation it would be awesome.

Contributor License Agreement
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

We'd love to accept your code! Before we can, we have to get a few legal
requirements sorted out. By signing a contributor license agreement (CLA), we
ensure that the community is free to use your contributions.

When you contribute to the QISKit project with a new pull request, a bot will
evaluate whether you have signed the CLA. If required, the bot will comment on
the pull request, including a link to accept the agreement. The
`individual CLA <https://qiskit.org/license/qiskit-cla.pdf>`_ document is
available for review as a PDF.

NOTE: If you work for a company that wants to allow you to contribute your work,
then you'll need to sign a `corporate CLA <https://qiskit.org/license/qiskit-corporate-cla.pdf>`_
and email it to us at [email protected].

Code
----

Expand Down
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ disable=print-statement,parameter-unpacking,unpacking-in-except,old-raise-syntax
# disable the "too-many/few-..." refactoring hints
too-many-lines, too-many-branches, too-many-locals, too-many-nested-blocks,
too-many-statements, too-many-instance-attributes, too-many-arguments,
too-many-public-methods, too-few-public-methods
too-many-public-methods, too-few-public-methods, too-many-ancestors



Expand Down
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,12 @@ stage_osx: &stage_osx
# installed manually.
|
if [ ${TRAVIS_OS_NAME} = "osx" ]; then
brew upgrade python3
brew install gcc@6
brew link --overwrite gcc@6
virtualenv env -p python3
source env/bin/activate
brew upgrade pyenv || brew install pyenv
pyenv install 3.6.5
~/.pyenv/versions/3.6.5/bin/python -m venv venv
source venv/bin/activate
fi

stage_linux_no_compile: &stage_linux_no_compile
Expand Down Expand Up @@ -134,7 +135,7 @@ jobs:
<<: *stage_linux
python: 3.6

# OSX, Python 3.latest (brew does not support versioning)
# OSX, Python 3.6.5 (via pyenv)
- stage: test
<<: *stage_osx

Expand Down
33 changes: 32 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,37 @@ The format is based on `Keep a Changelog`_.
`UNRELEASED`_
=============

Added
-----
- Retrieve IBM Q jobs from server (#563, #585).
- Add German introductory documentation (``doc/de``) (#592).
- Add ``unregister()`` for removing previously registered providers (#584).
- Add matplotlib-based circuit drawer (#579).
- Adding backend filtering by least busy (#575).

Changed
-------
- Remove backend filtering in individual providers, keep only in wrapper (#575).
- Single source of version information (#581)
- Bumped IBMQuantumExperience dependency to 1.9.6 (#600).
- For backend status, `status['available']` is now `status['operational']` (#609).
- Added support for registering third-party providers in `register()` (#602).

Removed
-------
- Remove Clifford simulator from default available_backends, until its stable
release (#555).
- Remove ProjectQ simulators for moving to new repository (#553).

Fixed
-----
- Fix issue with unintended inversion of initializer gates (#573).
- Fix issue with skip_transpiler causing some gates to be ignored silently (#562).


`0.5.4`_ - 2018-06-11
=====================

Added
-----

Expand All @@ -37,7 +68,7 @@ Added
-----

- Performance improvements:
- remove deepcopies from dagcircuit, and extra check on qasm() (#523)
- remove deepcopies from dagcircuit, and extra check on qasm() (#523).

Changed
-------
Expand Down
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
project (QISKit VERSION 0.5.4 LANGUAGES CXX)
file(STRINGS "qiskit/VERSION.txt" VERSION_NUM)
project (QISKit VERSION ${VERSION_NUM} LANGUAGES CXX)

# Verbose!!
set(CMAKE_VERBOSE_MAKEFILE True)
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ involved in the project:
* Albert Frisch
* Jay Gambetta
* Juan Gomez
* Takashi Imamichi
* Ali Javadi-Abhari
* Naoki Kanazawa
* Peng Liu
* Yunho Maeng
* Paco Martin
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ recursive-include src/qasm-simulator-cpp *
include qiskit/backends/local/qasm_simulator_cpp
include qiskit/backends/local/qasm_simulator_cpp.exe
include qiskit/backends/local/*.dll
include qiskit/VERSION.txt
include CMakeLists.txt
include cmake/*.cmake
include setup.py.in
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ coverage:

doc:
export PYTHONPATH=$(PWD); \
for LANGUAGE in "." "ja"; do \
for LANGUAGE in "." "de" "ja"; do \
better-apidoc -f -o doc/$$LANGUAGE/_autodoc -d 5 -e -t doc/_templates/better-apidoc qiskit qiskit/tools "qiskit/extensions/standard/[a-z]*"; \
sphinx-autogen -t doc/_templates doc/$$LANGUAGE/_autodoc/*; \
make -C doc -e BUILDDIR="_build/$$LANGUAGE" -e SOURCEDIR="./$$LANGUAGE" html; \
Expand All @@ -57,6 +57,7 @@ coverage_erase:

clean: coverage_erase
make -C doc clean
make -C doc -e BUILDDIR="_build/de" -e SOURCEDIR="./de" clean
make -C doc -e BUILDDIR="_build/ja" -e SOURCEDIR="./ja" clean
make -C src/qasm-simulator-cpp/src clean
rm -f test/python/test_latex_drawer.tex test/python/test_qasm_python_simulator.pdf \
Expand Down
5 changes: 2 additions & 3 deletions cmake/code-qa.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ function(add_code_style_target)
else()
add_custom_target(style)
add_custom_command(TARGET style
COMMAND ${PYCODESTYLE} --exclude=qiskit/tools --max-line-length=100
qiskit test
COMMAND ${PYCODESTYLE} --max-line-length=100 qiskit test
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
endif()
endfunction()
Expand Down Expand Up @@ -87,7 +86,7 @@ function(add_doc_target DOC_FORMAT SOURCE_DIR BUILD_DIR)
endif()

add_custom_target(doc)
foreach(lang_dir "." "ja")
foreach(lang_dir "." "de" "ja")
add_custom_command(TARGET doc
COMMAND ${CMAKE_COMMAND} -E env PYTHONPATH=${PROJECT_SOURCE_DIR}
${BETTER_APIDOC} -f -o doc/${lang_dir}/_autodoc
Expand Down
3 changes: 2 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '_autodoc/modules.rst', 'ja']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store',
'_autodoc/modules.rst', 'de', 'ja']

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
Expand Down
19 changes: 19 additions & 0 deletions doc/de/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Language specific configuration file, inheriting from the main /doc
conf.py file and adjusting the variables that depend on the language.
"""

import os
import sys

sys.path.insert(0, os.path.abspath('..'))
from conf import *

language = 'de'
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '_autodoc/modules.rst']

html_theme_path = ['../']
html_logo = '../theme/static/qiskit-logo-white-no-margin.gif'
html_favicon = '../theme/static/favicon.ico'
Loading

0 comments on commit 1219800

Please sign in to comment.