Update QISKit to Qiskit (#634)

* Rename QISKit to Qiskit

* More QISKit to Qiskit

* Revert qiskit/ & test/ files to avoid actual PR conflicts

* Add changelog entry
This commit is contained in:
Abdón Rodríguez Davila 2018-07-11 13:14:15 +02:00 committed by Diego M. Rodríguez
parent 1212d6c6d8
commit d4e6585058
44 changed files with 252 additions and 252 deletions

2
.github/CODEOWNERS vendored
View File

@ -1,6 +1,6 @@
# This file defines the persons that will be assigned as reviewers for PRs that
# modify a particular file in the repo. Please note it is just a convention
# for the GitHub interface, and any member of the QISKit team can (and should!)
# for the GitHub interface, and any member of the Qiskit team can (and should!)
# review as well.
# Real code owners.

View File

@ -12,7 +12,7 @@ Issue reporting
~~~~~~~~~~~~~~~
This is a good point to start, when you find a problem please add
it to the `issue tracker <https://github.com/QISKit/qiskit-terra/issues>`_.
it to the `issue tracker <https://github.com/Qiskit/qiskit-terra/issues>`_.
The ideal report should include the steps to reproduce it.
Doubts solving
@ -36,7 +36,7 @@ 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
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
@ -355,7 +355,7 @@ There are two main branches in the repository:
Release cycle
~~~~~~~~~~~~~
From time to time, we will release brand new versions of the QISKit SDK. These
From time to time, we will release brand new versions of the Qiskit SDK. These
are well-tested versions of the software.
When the time for a new release has come, we will:
@ -375,7 +375,7 @@ What version should I use: development or stable?
It depends on your needs as a user.
If you want to use QISKit for building Apps which goal is to run Quantum
If you want to use Qiskit for building Apps which goal is to run Quantum
programs, we encourage you to use the latest released version, installing it via
Pip.

View File

@ -5,7 +5,7 @@
### Informations
- **QISKit (Python SDK) version**:
- **Qiskit (Python SDK) version**:
- **Python version**:
- **Operating system**:

View File

@ -8,7 +8,7 @@ about: Create a report to help us improve 🤔.
### Informations
- **QISKit (Python SDK) version**:
- **Qiskit (Python SDK) version**:
- **Python version**:
- **Operating system**:

View File

@ -181,7 +181,7 @@ jobs:
# github pages documentation update (GNU/Linux, Python 3.5)
- stage: deploy doc and pypi
<<: *stage_linux_no_compile
if: branch = stable and repo = QISKit/qiskit-terra and type = push
if: branch = stable and repo = Qiskit/qiskit-terra and type = push
script: cd ..
deploy:
<<: *deploy_ghpages
@ -189,7 +189,7 @@ jobs:
# GNU/Linux, Python 3.5
- stage: deploy doc and pypi
<<: *stage_linux
if: branch = stable and repo = QISKit/qiskit-terra and type = push
if: branch = stable and repo = Qiskit/qiskit-terra and type = push
install: mkdir out && cd out && cmake $CMAKE_FLAGS ..
script: cd ..
deploy:
@ -198,7 +198,7 @@ jobs:
# OSX, Python 3.latest (brew does not support versions)
- stage: deploy doc and pypi
<<: *stage_osx
if: branch = stable and repo = QISKit/qiskit-terra and type = push
if: branch = stable and repo = Qiskit/qiskit-terra and type = push
install: mkdir out && cd out && cmake $CMAKE_FLAGS ..
script: cd ..
deploy:

View File

@ -23,6 +23,7 @@ Added
Changed
-------
- Renamed ``QISKit`` to ``Qiskit`` in the documentation. (#634)
Removed
-------
@ -187,8 +188,8 @@ Improvements
- Each provider derives from the following classes for its specific
requirements (``BaseProvider``, ``BaseBackend``, ``BaseJob``).
- Allow querying result by both circuit name and QuantumCircuit instance.
- Introduce the QISKit ``wrapper`` (#376).
- Introduce convenience wrapper functions around commonly used QISKit
- Introduce the Qiskit ``wrapper`` (#376).
- Introduce convenience wrapper functions around commonly used Qiskit
components (e.g. ``compile`` and ``execute`` functions).
- Introduce the DefaultQISKitProvider, which acts as a context manager for
the current session (e.g. providing easy access to all
@ -530,27 +531,27 @@ Fixed
- Correct operator precedence when parsing expressions (#190).
- Fix "math domain error" in mapping (#111, #151).
.. _UNRELEASED: https://github.com/QISKit/qiskit-terra/compare/0.5.6...HEAD
.. _0.5.6: https://github.com/QISKit/qiskit-terra/compare/0.5.5...0.5.6
.. _0.5.5: https://github.com/QISKit/qiskit-terra/compare/0.5.4...0.5.5
.. _0.5.4: https://github.com/QISKit/qiskit-terra/compare/0.5.3...0.5.4
.. _0.5.3: https://github.com/QISKit/qiskit-terra/compare/0.5.2...0.5.3
.. _0.5.2: https://github.com/QISKit/qiskit-terra/compare/0.5.1...0.5.2
.. _0.5.1: https://github.com/QISKit/qiskit-terra/compare/0.5.0...0.5.1
.. _0.5.0: https://github.com/QISKit/qiskit-terra/compare/0.4.15...0.5.0
.. _0.4.15: https://github.com/QISKit/qiskit-terra/compare/0.4.14...0.4.15
.. _0.4.14: https://github.com/QISKit/qiskit-terra/compare/0.4.13...0.4.14
.. _0.4.13: https://github.com/QISKit/qiskit-terra/compare/0.4.12...0.4.13
.. _0.4.12: https://github.com/QISKit/qiskit-terra/compare/0.4.11...0.4.12
.. _0.4.11: https://github.com/QISKit/qiskit-terra/compare/0.4.10...0.4.11
.. _0.4.10: https://github.com/QISKit/qiskit-terra/compare/0.4.9...0.4.10
.. _0.4.9: https://github.com/QISKit/qiskit-terra/compare/0.4.8...0.4.9
.. _0.4.8: https://github.com/QISKit/qiskit-terra/compare/0.4.7...0.4.8
.. _0.4.7: https://github.com/QISKit/qiskit-terra/compare/0.4.6...0.4.7
.. _0.4.6: https://github.com/QISKit/qiskit-terra/compare/0.4.5...0.4.6
.. _0.4.4: https://github.com/QISKit/qiskit-terra/compare/0.4.3...0.4.4
.. _0.4.3: https://github.com/QISKit/qiskit-terra/compare/0.4.2...0.4.3
.. _0.4.2: https://github.com/QISKit/qiskit-terra/compare/0.4.1...0.4.2
.. _0.4.0: https://github.com/QISKit/qiskit-terra/compare/0.3.16...0.4.0
.. _UNRELEASED: https://github.com/Qiskit/qiskit-terra/compare/0.5.6...HEAD
.. _0.5.6: https://github.com/Qiskit/qiskit-terra/compare/0.5.5...0.5.6
.. _0.5.5: https://github.com/Qiskit/qiskit-terra/compare/0.5.4...0.5.5
.. _0.5.4: https://github.com/Qiskit/qiskit-terra/compare/0.5.3...0.5.4
.. _0.5.3: https://github.com/Qiskit/qiskit-terra/compare/0.5.2...0.5.3
.. _0.5.2: https://github.com/Qiskit/qiskit-terra/compare/0.5.1...0.5.2
.. _0.5.1: https://github.com/Qiskit/qiskit-terra/compare/0.5.0...0.5.1
.. _0.5.0: https://github.com/Qiskit/qiskit-terra/compare/0.4.15...0.5.0
.. _0.4.15: https://github.com/Qiskit/qiskit-terra/compare/0.4.14...0.4.15
.. _0.4.14: https://github.com/Qiskit/qiskit-terra/compare/0.4.13...0.4.14
.. _0.4.13: https://github.com/Qiskit/qiskit-terra/compare/0.4.12...0.4.13
.. _0.4.12: https://github.com/Qiskit/qiskit-terra/compare/0.4.11...0.4.12
.. _0.4.11: https://github.com/Qiskit/qiskit-terra/compare/0.4.10...0.4.11
.. _0.4.10: https://github.com/Qiskit/qiskit-terra/compare/0.4.9...0.4.10
.. _0.4.9: https://github.com/Qiskit/qiskit-terra/compare/0.4.8...0.4.9
.. _0.4.8: https://github.com/Qiskit/qiskit-terra/compare/0.4.7...0.4.8
.. _0.4.7: https://github.com/Qiskit/qiskit-terra/compare/0.4.6...0.4.7
.. _0.4.6: https://github.com/Qiskit/qiskit-terra/compare/0.4.5...0.4.6
.. _0.4.4: https://github.com/Qiskit/qiskit-terra/compare/0.4.3...0.4.4
.. _0.4.3: https://github.com/Qiskit/qiskit-terra/compare/0.4.2...0.4.3
.. _0.4.2: https://github.com/Qiskit/qiskit-terra/compare/0.4.1...0.4.2
.. _0.4.0: https://github.com/Qiskit/qiskit-terra/compare/0.3.16...0.4.0
.. _Keep a Changelog: http://keepachangelog.com/en/1.0.0/

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
file(STRINGS "qiskit/VERSION.txt" VERSION_NUM)
project (QISKit VERSION ${VERSION_NUM} LANGUAGES CXX)
project (Qiskit VERSION ${VERSION_NUM} LANGUAGES CXX)
# Verbose!!
set(CMAKE_VERBOSE_MAKEFILE True)

View File

@ -1,22 +1,22 @@
# Quantum Information Science Kit (QISKit)
# Quantum Information Science Kit (Qiskit)
[![PyPI](https://img.shields.io/pypi/v/qiskit.svg)](https://pypi.python.org/pypi/qiskit)
[![Build Status](https://travis-ci.org/QISKit/qiskit-terra.svg?branch=master)](https://travis-ci.org/QISKit/qiskit-terra)
[![Build Status](https://travis-ci.org/Qiskit/qiskit-terra.svg?branch=master)](https://travis-ci.org/Qiskit/qiskit-terra)
The Quantum Information Science Kit (**QISKit** for short) is a software development kit (SDK) for
working with [OpenQASM](https://github.com/QISKit/qiskit-openqasm) and the
The Quantum Information Science Kit (**Qiskit** for short) is a software development kit (SDK) for
working with [OpenQASM](https://github.com/Qiskit/qiskit-openqasm) and the
[IBM Q Experience (QX)](https://quantumexperience.ng.bluemix.net/).
Use **QISKit** to create quantum computing programs, compile them, and execute them on one of
Use **Qiskit** to create quantum computing programs, compile them, and execute them on one of
several backends (online Real quantum processors, online simulators, and local simulators). For
the online backends, QISKit uses our [python API client](https://github.com/QISKit/qiskit-api-py)
the online backends, Qiskit uses our [python API client](https://github.com/Qiskit/qiskit-api-py)
to connect to the IBM Q Experience.
**We use GitHub issues for tracking requests and bugs. Please see the**
[IBM Q Experience community](https://quantumexperience.ng.bluemix.net/qx/community) **for
questions and discussion.**
**If you'd like to contribute to QISKit, please take a look at our**
**If you'd like to contribute to Qiskit, please take a look at our**
[contribution guidelines](.github/CONTRIBUTING.rst).
Links to Sections:
@ -31,19 +31,19 @@ Links to Sections:
### Dependencies
At least [Python 3.5 or later](https://www.python.org/downloads/) is needed for using QISKit. In
At least [Python 3.5 or later](https://www.python.org/downloads/) is needed for using Qiskit. In
addition, [Jupyter Notebook](https://jupyter.readthedocs.io/en/latest/install.html) is recommended
for interacting with the tutorials.
For this reason we recommend installing the [Anaconda 3](https://www.continuum.io/downloads)
python distribution, as it comes with all of these dependencies pre-installed.
In addition, a basic understanding of quantum information is very helpful when interacting with
QISKit. If you're new to quantum, start with our
[User Guides](https://github.com/QISKit/ibmqx-user-guides)!
Qiskit. If you're new to quantum, start with our
[User Guides](https://github.com/Qiskit/ibmqx-user-guides)!
### Installation
We encourage to install QISKit via the PIP tool (a python package manager):
We encourage to install Qiskit via the PIP tool (a python package manager):
```
pip install qiskit
@ -59,7 +59,7 @@ PIP package comes with prebuilt binaries for these platforms:
If your platform is not in the list, PIP will try to build from the sources at installation time. It will require to have CMake 3.5 or higher pre-installed and at least one of the [build environments supported by CMake](https://cmake.org/cmake/help/v3.5/manual/cmake-generators.7.html).
If during the installation PIP doesn't succeed to build, don't worry, you will have QISKit installed at the end but you probably couldn't take advantage of some of the high-performance components. Anyway, we always provide a python, not-so-fast alternative as a fallback.
If during the installation PIP doesn't succeed to build, don't worry, you will have Qiskit installed at the end but you probably couldn't take advantage of some of the high-performance components. Anyway, we always provide a python, not-so-fast alternative as a fallback.
#### Setup your environment
@ -69,14 +69,14 @@ We recommend using python virtual environments to improve your experience. Refer
## Creating your first Quantum Program
Now that the SDK is installed, it's time to begin working with QISKit.
Now that the SDK is installed, it's time to begin working with Qiskit.
We are ready to try out a quantum circuit example, which runs via the local simulator.
This is a simple example that makes an entangled state.
```python
# Import the QISKit SDK
# Import the Qiskit SDK
from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister
from qiskit import available_backends, execute
@ -119,8 +119,8 @@ run the same program on a real quantum computer.
### Executing your code on a real Quantum chip
You can also use QISKit to execute your code on a
[real quantum chip](https://github.com/QISKit/ibmqx-backend-information).
You can also use Qiskit to execute your code on a
[real quantum chip](https://github.com/Qiskit/ibmqx-backend-information).
In order to do so, you need to configure the SDK for using the credentials in
your IBM Q Experience account:
@ -164,46 +164,46 @@ register(Qconfig.APItoken, Qconfig.config["url"],
```
For more details on this and more information see
[our QISKit documentation](https://www.qiskit.org/documentation/).
[our Qiskit documentation](https://www.qiskit.org/documentation/).
### Next Steps
Now you're set up and ready to check out some of the other examples from our
[Tutorial](https://github.com/QISKit/qiskit-tutorial) repository. Start with the
[index tutorial](https://github.com/QISKit/qiskit-tutorial/blob/master/index.ipynb) and then go to
the [Getting Started example](https://github.com/QISKit/qiskit-tutorial/blob/master/reference/tools/getting_started.ipynb).
[Tutorial](https://github.com/Qiskit/qiskit-tutorial) repository. Start with the
[index tutorial](https://github.com/Qiskit/qiskit-tutorial/blob/master/index.ipynb) and then go to
the [Getting Started example](https://github.com/Qiskit/qiskit-tutorial/blob/master/reference/tools/getting_started.ipynb).
If you already have [Jupyter Notebooks installed](https://jupyter.readthedocs.io/en/latest/install.html),
you can copy and modify the notebooks to create your own experiments.
To install the tutorials as part of the QISKit SDK, see the following
To install the tutorials as part of the Qiskit SDK, see the following
[installation details](doc/install.rst#Install-Jupyter-based-tutorials). Complete SDK
documentation can be found in the [*doc* directory](doc/qiskit.rst) and in
[the official QISKit site](https://www.qiskit.org/documentation).
[the official Qiskit site](https://www.qiskit.org/documentation).
## More Information
For more information on how to use QISKit, tutorial examples, and other helpful links, take a look
For more information on how to use Qiskit, tutorial examples, and other helpful links, take a look
at these resources:
* **[User Guides](https://github.com/QISKit/ibmqx-user-guides)**,
* **[User Guides](https://github.com/Qiskit/ibmqx-user-guides)**,
a good starting place for learning about quantum information and computing
* **[Tutorials](https://github.com/QISKit/qiskit-tutorial)**,
for example notebooks, start with the [index](https://github.com/QISKit/qiskit-tutorial/blob/master/index.ipynb) and [Getting Started Jupyter notebook](https://github.com/QISKit/qiskit-tutorial/blob/002d054c72fc59fc5009bb9fa0ee393e15a69d07/1_introduction/getting_started.ipynb)
* **[OpenQASM](https://github.com/QISKit/openqasm)**,
* **[Tutorials](https://github.com/Qiskit/qiskit-tutorial)**,
for example notebooks, start with the [index](https://github.com/Qiskit/qiskit-tutorial/blob/master/index.ipynb) and [Getting Started Jupyter notebook](https://github.com/Qiskit/qiskit-tutorial/blob/002d054c72fc59fc5009bb9fa0ee393e15a69d07/1_introduction/getting_started.ipynb)
* **[OpenQASM](https://github.com/Qiskit/openqasm)**,
for additional information and examples of QASM code
* **[IBM Quantum Experience Composer](https://quantumexperience.ng.bluemix.net/qx/editor)**,
a GUI for interacting with real and simulated quantum computers
* **[QISkit Python API](https://github.com/QISKit/qiskit-api-py)**, an API to use the IBM Quantum
* **[QISkit Python API](https://github.com/Qiskit/qiskit-api-py)**, an API to use the IBM Quantum
Experience in Python
QISKit was originally developed by researchers and developers on the
Qiskit was originally developed by researchers and developers on the
[IBM-Q](http://www.research.ibm.com/ibm-q/) Team at [IBM Research](http://www.research.ibm.com/),
with the aim of offering a high level development kit to work with quantum computers.
Visit the [IBM Q Experience community](https://quantumexperience.ng.bluemix.net/qx/community) for
questions and discussions on QISKit and quantum computing more broadly. If you'd like to
contribute to QISKit, please take a look at our [contribution guidelines](.github/CONTRIBUTING.rst).
questions and discussions on Qiskit and quantum computing more broadly. If you'd like to
contribute to Qiskit, please take a look at our [contribution guidelines](.github/CONTRIBUTING.rst).
## Multilanguage guide
@ -212,7 +212,7 @@ contribute to QISKit, please take a look at our [contribution guidelines](.githu
## Authors (alphabetical)
QISKit was originally authored by
Qiskit was originally authored by
Luciano Bello, Jim Challenger, Andrew Cross, Ismael Faro, Jay Gambetta, Juan Gomez,
Ali Javadi-Abhari, Paco Martin, Diego Moreda, Jesus Perez, Erick Winston and Chris Wood.

View File

@ -4,7 +4,7 @@
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = python -msphinx
SPHINXPROJ = QISKit SDK
SPHINXPROJ = Qiskit SDK
SOURCEDIR = .
BUILDDIR = _build

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# QISKit documentation build configuration file, created by
# Qiskit documentation build configuration file, created by
# sphinx-quickstart on Tue Jul 25 18:13:28 2017.
#
# This file is execfile()d with the current directory set to its
@ -73,7 +73,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = 'QISKit SDK'
project = 'Qiskit SDK'
copyright = '2017-2018 IBM Research'
author = 'IBM Research'
@ -173,7 +173,7 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'QISKit.tex', 'QISKit Documentation',
(master_doc, 'QISKit.tex', 'Qiskit Documentation',
'''Jim Challenger, Andrew Cross, Ismael Faro, Jay Gambetta, Jesus Perez,
and John Smolin''', 'manual'),
]
@ -184,7 +184,7 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'qiskit', 'QISKit Documentation',
(master_doc, 'qiskit', 'Qiskit Documentation',
[author], 1)
]
@ -195,8 +195,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'QISKit', 'QISKit Documentation',
author, 'QISKit', 'One line description of project.',
(master_doc, 'Qiskit', 'Qiskit Documentation',
author, 'Qiskit', 'One line description of project.',
'Miscellaneous'),
]

View File

@ -127,7 +127,7 @@ Zur bequemeren Verwendung bietet
Handler und den Level vom `qiskit` Logger modifizieren. Das Verwenden dieser
Methoden kann Konflikte mit den globalen Einstellungen des Logging Setups Ihrer
Python Umgebung erzeugen. Bitte beachten Sie dies, wenn Sie eine
Applikation auf dem QISKit SDK aufbauend entwickeln.
Applikation auf dem Qiskit SDK aufbauend entwickeln.
Die Konvention zur Ausgabe einer Logging Nachricht schreibt vor, im Modul
eine globale Variable mit Namen **logger** zu deklarieren, die den Logger mit
@ -151,7 +151,7 @@ Das SDK verwendet das `standard Python "unittest" Framework
<https://docs.python.org/3/library/unittest.html>`_ zum Testen von
verschiednen Komponenten und Funktionalitäten.
Da das QISKit Build-System auf CMake basiert, muss ein so genannter
Da das Qiskit Build-System auf CMake basiert, muss ein so genannter
"out-of-source" Build vor dem Ausführen der Tests durchgeführt werden. Dies
bedeutet einfach, dass folgende Befehle ausgeführt werden müssen:

View File

@ -6,7 +6,7 @@ auf einem echten Quantum Device:
.. code-block:: python
# Import the QISKit SDK
# Import the Qiskit SDK
from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister
from qiskit import execute, register
@ -52,7 +52,7 @@ Ausführen des obigen Beispiels verwendet werden:
.. code-block:: python
# Import the QISKit SDK
# Import the Qiskit SDK
from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister
from qiskit import execute, register

View File

@ -1,14 +1,14 @@
.. QISKit documentation master file, created by
.. Qiskit documentation master file, created by
sphinx-quickstart on Tue Jul 25 18:13:28 2017.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
====================
QISKit Dokumentation
Qiskit Dokumentation
====================
Quantum Information Science Kit (QISKit), SDK Python Version zum Arbeiten mit
`OpenQASM <https://github.com/QISKit/openqasm>`_ und der IBM Q experience (QX).
Quantum Information Science Kit (Qiskit), SDK Python Version zum Arbeiten mit
`OpenQASM <https://github.com/Qiskit/openqasm>`_ und der IBM Q experience (QX).
Inhaltsverzeichnis
@ -19,7 +19,7 @@ Inhaltsverzeichnis
Installation <install>
Erste Schritte <quickstart>
QISKit Überblick <qiskit>
Qiskit Überblick <qiskit>
Entwickler Dokumentation <dev_introduction>
SDK Referenz <_autodoc/qiskit>

View File

@ -8,7 +8,7 @@ Installation
1. Abhängigkeiten
-----------------
Um QISKit verwenden zu können benötigt man mindestens `Python 3.5 oder höher
Um Qiskit verwenden zu können benötigt man mindestens `Python 3.5 oder höher
<https://www.python.org/downloads/>`__. `Jupyter Notebooks <https://jupyter
.readthedocs.io/de/latest/install.html>`__ wird weiters empfohlen für die
Verwendung von den Beispielen in `tutorials`_.
@ -21,7 +21,7 @@ vorinstalliert mitliefert.
2. Installation
---------------
Die empfohlene Methode, um QISKit zu installieren, ist durch die Verwendung des
Die empfohlene Methode, um Qiskit zu installieren, ist durch die Verwendung des
PIP Tools (Python Paketmanager):
.. code:: sh
@ -45,7 +45,7 @@ installieren.
``Qconfig.py``. Als Beispiel haben wir eine Standardversion dieser Datei
angelegt, die Sie als Referenz verwenden können: `Qconfig.py.default`_. Nach
dem Herunterladen dieser Datei kopieren Sie diese in den Ordner von dem Sie
das QISKit SDK aufrufen werden (unter Windows ersetzen Sie ``cp`` mit
das Qiskit SDK aufrufen werden (unter Windows ersetzen Sie ``cp`` mit
``copy``):
.. code:: sh
@ -91,7 +91,7 @@ Benutzer so aussehen:
Jupyter basierte Tutorials installieren
=======================================
Das QISKit Projekt stellt eine Sammlung an Tutorials in Form von Jupyter
Das Qiskit Projekt stellt eine Sammlung an Tutorials in Form von Jupyter
Notebooks zur Verfügung. Dabei handelt es sich um Webseiten, die Zellen von
eingebundenem Python Code beinhalten. Nähere Informationen finden Sie dazu in
`tutorials repository`_.
@ -108,19 +108,18 @@ Sie die jeweilige Dokumentation für Anleitungen ihrem Setup betreffend.
Abhängig von Ihrem System und Setup kann ein angefügtes ``sudo -H`` vor ``pip
install`` notewndig sein.
Um auf die neueste QISKit Version upzudaten verwenden Sie bitte folgenden
Um auf die neueste Qiskit Version upzudaten verwenden Sie bitte folgenden
Befehl:
.. code:: sh
pip install -U --no-cache-dir qiskit
Für zusätzliche Tipps zur Problembehandlung, verwenden Sie bitte die `QISKit
troubleshooting page <https://github
.com/QISKit/qiskit-terra/wiki/QISKit-Troubleshooting>`_ auf dem GitHub Wiki
Für zusätzliche Tipps zur Problembehandlung, verwenden Sie bitte die `Qiskit
troubleshooting page <https://github.com/Qiskit/qiskit-terra/wiki/QISKit-Troubleshooting>`_ auf dem GitHub Wiki
des Projektes.
.. _tutorials: https://github.com/QISKit/qiskit-tutorial
.. _tutorials repository: https://github.com/QISKit/qiskit-tutorial
.. _documentation for contributors: https://github.com/QISKit/qiskit-terra/blob/master/.github/CONTRIBUTING.rst
.. _Qconfig.py.default: https://github.com/QISKit/qiskit-terra/blob/stable/Qconfig.py.default
.. _tutorials: https://github.com/Qiskit/qiskit-tutorial
.. _tutorials repository: https://github.com/Qiskit/qiskit-tutorial
.. _documentation for contributors: https://github.com/Qiskit/qiskit-terra/blob/master/.github/CONTRIBUTING.rst
.. _Qconfig.py.default: https://github.com/Qiskit/qiskit-terra/blob/stable/Qconfig.py.default

View File

@ -1,12 +1,12 @@
QISKit Überblick
Qiskit Überblick
================
Philosophie
-----------
QISKit umfasst eine Sammlung von Software, mit deren Hilfe man Quantum
Qiskit umfasst eine Sammlung von Software, mit deren Hilfe man Quantum
Circuits geringer Tiefe bearbeiten und in naher Zukunft Applikationen
und Experimente für einen Quantencomputer bauen kann. In QISKit besteht
und Experimente für einen Quantencomputer bauen kann. In Qiskit besteht
ein Quantum Program aus einem Array von Quantum Circuits. Der Programm
Workflow setzt sich zusammen aus drei Stufen: Build, Compile und Run.
Build erlaubt verschiedene Quantum Circuits aufzubauen, die das zu lösende
@ -22,21 +22,21 @@ verbessern.
Projekt Übersicht
-----------------
Das QISKit Projekt besteht aus:
Das Qiskit Projekt besteht aus:
* `QISKit Terra <https://github.com/QISKit/qiskit-terra>`_: Das Python
* `Qiskit Terra <https://github.com/Qiskit/qiskit-terra>`_: Das Python
Science Development Kit dient zum Schreiben von Quantencomputer
Experimenten, Programmen und Anwendungen.
* `QISKit API <https://github.com/QISKit/qiskit-api-py>`_: Ein kleiner
* `Qiskit API <https://github.com/Qiskit/qiskit-api-py>`_: Ein kleiner
Python Wrapper um die Quantum Experience HTTP API, der es ermöglicht
sich mit dem Quantum Experience Server zu verbinden und Quantenpgoramme
auszuführen.
* `QISKit OpenQASM <https://github.com/QISKit/qiskit-openqasm>`_:
* `Qiskit OpenQASM <https://github.com/Qiskit/qiskit-openqasm>`_:
Beinhaltet Spezifikationen, Beispiele, Dokumentation und Tools
für die OpenQASM Repräsentation.
* `QISKit Tutorial <https://github.com/QISKit/qiskit-tutorial>`_: Eine
Sammlung von beispielhaften Jupyter Notebooks, die Funktionen aus QISKit
* `Qiskit Tutorial <https://github.com/Qiskit/qiskit-tutorial>`_: Eine
Sammlung von beispielhaften Jupyter Notebooks, die Funktionen aus Qiskit
verwenden.

View File

@ -11,12 +11,12 @@ eine Sammlung von :class:`~qiskit.ClassicalRegister` Objekten,
einem entfernten Quantum Device oder einen lokalen Simulator Backend gesendet
und die Resultate zur weiteren Auswerten gesammelt werden.
Um einen Circuit zur erzeugen und auf einem Simulator, der in QISKit
Um einen Circuit zur erzeugen und auf einem Simulator, der in Qiskit
enthalten ist, auszuführen, reicht folgender Code:
.. code-block:: python
# Import the QISKit SDK
# Import the Qiskit SDK
from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister
from qiskit import available_backends, execute
@ -66,7 +66,7 @@ Chips wählen:
Für weitere Details zu den Chips und Echtzeit Informationen zur Verfügbarkeit
besuchen Sie bitte die `IBM Q Experience Backend Information <https://github
.com/QISKit/ibmqx-backend-information>`_ Seite sowie die `IBM Q
.com/Qiskit/ibmqx-backend-information>`_ Seite sowie die `IBM Q
Experience Geräte <https://quantumexperience.ng.bluemix.net/qx/devices>`_
Seite.

View File

@ -6,7 +6,7 @@ Quantum device:
.. code-block:: python
# Import the QISKit SDK
# Import the Qiskit SDK
from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister
from qiskit import execute, register
@ -53,7 +53,7 @@ the IBM Q features:
.. code-block:: python
# Import the QISKit SDK
# Import the Qiskit SDK
from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister
from qiskit import execute, register

View File

@ -1,14 +1,14 @@
.. QISKit documentation master file, created by
.. Qiskit documentation master file, created by
sphinx-quickstart on Tue Jul 25 18:13:28 2017.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
====================
QISKit Documentation
Qiskit Documentation
====================
Quantum Information Science Kit (QISKit), SDK Python version for working
with `OpenQASM <https://github.com/QISKit/openqasm>`_ and the IBM Q experience
Quantum Information Science Kit (Qiskit), SDK Python version for working
with `OpenQASM <https://github.com/Qiskit/openqasm>`_ and the IBM Q experience
(QX).
@ -20,7 +20,7 @@ Table of Contents
install
Getting started <quickstart>
QISKit overview <qiskit>
Qiskit overview <qiskit>
Developer documentation <dev_introduction>
SDK reference <_autodoc/qiskit>
Release history <releases>

View File

@ -8,7 +8,7 @@ Installation
1. Dependencies
---------------
To use QISKit you'll need to have installed at least
To use Qiskit you'll need to have installed at least
`Python 3.5 or later <https://www.python.org/downloads/>`__.
`Jupyter Notebooks <https://jupyter.readthedocs.io/en/latest/install.html>`__
is also recommended for interacting with
@ -21,7 +21,7 @@ python distribution, which already comes with all these dependencies pre-install
2. Installation
---------------
The recommended way to install QISKit is by using the PIP tool (Python
The recommended way to install Qiskit is by using the PIP tool (Python
package manager):
.. code:: sh
@ -89,7 +89,7 @@ users would look like:
Install Jupyter-based tutorials
===============================
The QISKit project provides you a collection of tutorials in the form of Jupyter
The Qiskit project provides you a collection of tutorials in the form of Jupyter
notebooks, which are essentially web pages that contain "cells" of embedded
Python code. Please refer to the `tutorials repository`_ for detailed
instructions.
@ -111,11 +111,11 @@ Depending on the system and setup, appending "sudo -H" before the
pip install -U --no-cache-dir qiskit
For additional troubleshooting tips, see the `QISKit troubleshooting page
<https://github.com/QISKit/qiskit-terra/wiki/QISKit-Troubleshooting>`_
For additional troubleshooting tips, see the `Qiskit troubleshooting page
<https://github.com/Qiskit/qiskit-terra/wiki/QISKit-Troubleshooting>`_
on the project's GitHub wiki.
.. _tutorials: https://github.com/QISKit/qiskit-tutorial
.. _tutorials repository: https://github.com/QISKit/qiskit-tutorial
.. _documentation for contributors: https://github.com/QISKit/qiskit-terra/blob/master/.github/CONTRIBUTING.rst
.. _Qconfig.py.default: https://github.com/QISKit/qiskit-terra/blob/stable/Qconfig.py.default
.. _tutorials: https://github.com/Qiskit/qiskit-tutorial
.. _tutorials repository: https://github.com/Qiskit/qiskit-tutorial
.. _documentation for contributors: https://github.com/Qiskit/qiskit-terra/blob/master/.github/CONTRIBUTING.rst
.. _Qconfig.py.default: https://github.com/Qiskit/qiskit-terra/blob/stable/Qconfig.py.default

View File

@ -1,14 +1,14 @@
.. QISKit documentation master file, created by
.. Qiskit documentation master file, created by
sphinx-quickstart on Tue Jul 25 18:13:28 2017.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
=================
QISKit マニュアル
Qiskit マニュアル
=================
Quantum Information Science Kit (QISKit, 量子情報ソフトウェアキット)は
`OpenQASM <https://github.com/QISKit/openqasm>`_ とIBM Q Experience(QX)
Quantum Information Science Kit (Qiskit, 量子情報ソフトウェアキット)は
`OpenQASM <https://github.com/Qiskit/openqasm>`_ とIBM Q Experience(QX)
を利用してプログラミングをするためのPythonソフトウェア開発キット(SDK)です。
@ -20,7 +20,7 @@ Quantum Information Science Kit (QISKit, 量子情報ソフトウェアキット
インストール <install>
入門 <quickstart>
QISKit概要 <qiskit>
Qiskit概要 <qiskit>
開発マニュアル <dev_introduction>
SDKリファレンス <_autodoc/qiskit>

View File

@ -34,17 +34,17 @@ QISKitをインストールする最も簡単な方法はPIP tool(Pythonのパ
3. レポジトリのインストール
---------------------------
それ以外にもローカルにQISKit SDKのレポジトリのクローンを作成してそのディレクトリで作業するのも一般的です:
それ以外にもローカルにQiskit SDKのレポジトリのクローンを作成してそのディレクトリで作業するのも一般的です:
- もしGitをインストールしている場合は、以下のコマンドを実行してください:
.. code:: sh
git clone https://github.com/QISKit/qiskit-terra
git clone https://github.com/Qiskit/qiskit-terra
cd qiskit-terra
- もしGitをインストールしていない場合は、
`QISKit SDK GitHub repo <https://github.com/QISKit/qiskit-terra>`__
`Qiskit SDK GitHub repo <https://github.com/Qiskit/qiskit-terra>`__
"Clone or download"ボタンをクリックして、
その後ダウンロードしたファイルを展開し、そのディレクトリーに移動し作業を開始します。
@ -112,7 +112,7 @@ QISKitプロジェクトはチュートリアルをJupyterートブックの
1.1 インストール
----------------
- チュートリアルのダウンロード: https://github.com/QISKit/qiskit-tutorial/archive/master.zip
- チュートリアルのダウンロード: https://github.com/Qiskit/qiskit-tutorial/archive/master.zip
- zipファイルの展開
- ターミナルで"qiskit-tutorial-master"のディレクトリーに移動し、以下を実行する:
@ -121,7 +121,7 @@ QISKitプロジェクトはチュートリアルをJupyterートブックの
jupyter notebook index.ipynb
チュートリアルに関する詳しい説明は
`qiskit-tutorial repository <https://github.com/QISKit/qiskit-tutorial>`__
`qiskit-tutorial repository <https://github.com/Qiskit/qiskit-tutorial>`__
を参照してください。
FAQ
@ -141,4 +141,4 @@ FAQ
curl https://bootstrap.pypa.io/ez_setup.py -o - | python
プロジェクトのGitHubのWikiのQISKit troubleshootingのページにさらに情報があります。
プロジェクトのGitHubのWikiのQiskit troubleshootingのページにさらに情報があります。

View File

@ -1,4 +1,4 @@
QISKit 概要
Qiskit 概要
===========
設計思想
@ -21,15 +21,15 @@ QISKitは、深さが限定的な量子回路を設計して直近の応用を
----------------
QISKitプロジェクトの構成は以下の通りです:
* `QISKit SDK <https://github.com/QISKit/qiskit-terra>`_:
* `Qiskit SDK <https://github.com/Qiskit/qiskit-terra>`_:
量子コンピューターのプログラムやアプリケーションを開発して実験を行うためのPythonソフトウェア開発キット
* `QISKit API <https://github.com/IBM/qiskit-api-py>`_:
* `Qiskit API <https://github.com/IBM/qiskit-api-py>`_:
IBM Q ExperienceのHTTP APIのPythonラッパー。
IBM Q Experienceを通じて量子プログラムの実行が可能。
* `QISKit OpenQASM <https://github.com/IBM/qiskit-openqasm>`_:
* `Qiskit OpenQASM <https://github.com/IBM/qiskit-openqasm>`_:
OpenQASMという中間言語の仕様書、例、マニュアルおよびツール群。
* `QISKit Tutorial <https://github.com/IBM/qiskit-tutorial>`_:
* `Qiskit Tutorial <https://github.com/IBM/qiskit-tutorial>`_:
Jupyterートブックで書かれたQISKitのチュートリアル集。

View File

@ -46,7 +46,7 @@ QuantumProgramのメソッドは量子回路を実機やシミュレーターの
- `ibmqx5: 16-qubit backend <https://ibm.biz/qiskit-ibmqx5>`__
最新の実機の詳細については
`IBM Q Experience バックエンド情報 <https://github.com/QISKit/ibmqx-backend-information>`_ を参照してください。
`IBM Q Experience バックエンド情報 <https://github.com/Qiskit/ibmqx-backend-information>`_ を参照してください。
.. include:: example_real_backend.rst

View File

@ -1,13 +1,13 @@
# Quantum Information Science Kit (QISKit)
# Quantum Information Science Kit (Qiskit)
[![PyPI](https://img.shields.io/pypi/v/qiskit.svg)](https://pypi.python.org/pypi/qiskit)
[![Build Status](https://travis-ci.org/QISKit/qiskit-terra.svg?branch=master)](https://travis-ci.org/QISKit/qiskit-terra)
[![Build Status](https://travis-ci.org/Qiskit/qiskit-terra.svg?branch=master)](https://travis-ci.org/Qiskit/qiskit-terra)
**QISKit**은 [OpenQASM](https://github.com/QISKit/qiskit-openqasm)과 [IBM Q experience (QX)](https://quantumexperience.ng.bluemix.net/)에서 사용할 수 있는 SDK(software development kit)입니다.
**Qiskit**은 [OpenQASM](https://github.com/Qiskit/qiskit-openqasm)과 [IBM Q experience (QX)](https://quantumexperience.ng.bluemix.net/)에서 사용할 수 있는 SDK(software development kit)입니다.
양자컴퓨팅 프로그램을 만들고, 컴파일하고, 실행하기 위해 **QISKit**을 사용하세요. 실행에 있어 QISKit은 온라인상 접근 가능한 실제 양자 프로세서, 온라인 시뮬레이터, 로컬 시뮬레이터의 백엔드 환경을 지원합니다. 온라인 백엔드 환경에서, QISKit은 IBM Q experience와 연결하기 위해 [python API client](https://github.com/QISKit/qiskit-api-py)를 사용합니다.
양자컴퓨팅 프로그램을 만들고, 컴파일하고, 실행하기 위해 **Qiskit**을 사용하세요. 실행에 있어 Qiskit은 온라인상 접근 가능한 실제 양자 프로세서, 온라인 시뮬레이터, 로컬 시뮬레이터의 백엔드 환경을 지원합니다. 온라인 백엔드 환경에서, Qiskit은 IBM Q experience와 연결하기 위해 [python API client](https://github.com/Qiskit/qiskit-api-py)를 사용합니다.
우리는 **GitHub issue**를 요청과 버그 추적에 사용합니다. 질문과 토론을 위해[IBM Q experience community](https://quantumexperience.ng.bluemix.net/qx/community)를 살펴보세요. 만일 여러분이 QISKit개발에 기여하기 원한다면 우리의 **[contribution guidelines](.github/CONTRIBUTING.rst)** 을 살펴보세요.
우리는 **GitHub issue**를 요청과 버그 추적에 사용합니다. 질문과 토론을 위해[IBM Q experience community](https://quantumexperience.ng.bluemix.net/qx/community)를 살펴보세요. 만일 여러분이 Qiskit개발에 기여하기 원한다면 우리의 **[contribution guidelines](.github/CONTRIBUTING.rst)** 을 살펴보세요.
목차 링크:
@ -21,11 +21,11 @@
### Dependencies
적어도 [파이썬 Python 3.5 혹은 그 이상의 버전이](https://www.python.org/downloads/) QISKit을 사용하기 위해 필요합니다. 그리고, [Jupyter Notebooks](https://jupyter.readthedocs.io/en/latest/install.html)을 튜토리얼의 실행을 위해 권장하는 바입니다. 이러한 연유로 우리는 [Anaconda 3](https://www.continuum.io/downloads)를 사용하는 걸 권장합니다. 아나콘다에는 대부분의 필요한 툴이 미리 설치되어 있습니다. 또한, 양자 정보에 대한 일반적인 이해는 QISKit과 상호작용하는 데에 매우 도움이 됩니다. 만일 여러분이 양자컴퓨팅 분야에 새롭게 배운다면 다음의 [사용자 가이드](https://github.com/QISKit/ibmqx-user-guides)를 살펴보세요.
적어도 [파이썬 Python 3.5 혹은 그 이상의 버전이](https://www.python.org/downloads/) Qiskit을 사용하기 위해 필요합니다. 그리고, [Jupyter Notebooks](https://jupyter.readthedocs.io/en/latest/install.html)을 튜토리얼의 실행을 위해 권장하는 바입니다. 이러한 연유로 우리는 [Anaconda 3](https://www.continuum.io/downloads)를 사용하는 걸 권장합니다. 아나콘다에는 대부분의 필요한 툴이 미리 설치되어 있습니다. 또한, 양자 정보에 대한 일반적인 이해는 Qiskit과 상호작용하는 데에 매우 도움이 됩니다. 만일 여러분이 양자컴퓨팅 분야에 새롭게 배운다면 다음의 [사용자 가이드](https://github.com/Qiskit/ibmqx-user-guides)를 살펴보세요.
### PIP Installation
파이썬이 더 익숙한 사람들에게, QISKit을 설치하는 가장 빠른 방법은 PIP 툴(파이썬 패키지 매니저)을 이용하는 방식입니다.
파이썬이 더 익숙한 사람들에게, Qiskit을 설치하는 가장 빠른 방법은 PIP 툴(파이썬 패키지 매니저)을 이용하는 방식입니다.
```
pip install qiskit
@ -33,7 +33,7 @@
### Source Installation
QISKit SDK 레파지토리를 여러분의 로컬 머신에 Clone하는 다른 방법으로는 클론한 디렉토리를 바꾸는 방법이 있습니다.
Qiskit SDK 레파지토리를 여러분의 로컬 머신에 Clone하는 다른 방법으로는 클론한 디렉토리를 바꾸는 방법이 있습니다.
#### Manual download
@ -43,7 +43,7 @@ QISKit SDK 레파지토리를 여러분의 로컬 머신에 Clone하는 다른
혹은, 만일 여러분이 이미 Git을 설치했다면, 다음의 커맨드를 실행하세요:
```
git clone https://github.com/QISKit/qiskit-terra
git clone https://github.com/Qiskit/qiskit-terra
cd qiskit-terra
```
@ -53,10 +53,10 @@ QISKit SDK 레파지토리를 여러분의 로컬 머신에 Clone하는 다른
## Creating your first Quantum Program
SDK 설치가 끝났습니다. 이제 QISKit으로 작업을 해볼 차례입니다. 우리는 이미 QASM예제를 로컬 시뮬레이터 상에서 실행할 준비를 마쳤습니다. 이것은 간단한 중첩 예제 입니다.
SDK 설치가 끝났습니다. 이제 Qiskit으로 작업을 해볼 차례입니다. 우리는 이미 QASM예제를 로컬 시뮬레이터 상에서 실행할 준비를 마쳤습니다. 이것은 간단한 중첩 예제 입니다.
```python
# Import the QISKit SDK
# Import the Qiskit SDK
import qiskit
# Create a Quantum Register called "qr" with 2 qubits
@ -98,7 +98,7 @@ print(sim_result.get_counts("bell"))
COMPLETED
{'00': 509, '11': 515}
```
여러분은 또한 QISKit을 사용하여 여러분의 코드를 [real Quantum Chip](https://github.com/QISKit/ibmqx-backend-information)에서 실행시킬 수 있습니다.
여러분은 또한 Qiskit을 사용하여 여러분의 코드를 [real Quantum Chip](https://github.com/Qiskit/ibmqx-backend-information)에서 실행시킬 수 있습니다.
먼저, API 토큰을 얻으세요:
@ -107,38 +107,38 @@ COMPLETED
이 API 토큰은 여러분의 프로그램을 IBM Q experience 백엔드 환경에서 실행할 수 있도록 해줄 것입니다. [예제](doc/example_real_backend.rst).
이에 대해 더 많은 정보를 알고 싶다면, 다음의 링크를 참조하세요. [our QISKit documentation](doc/qiskit.rst).
이에 대해 더 많은 정보를 알고 싶다면, 다음의 링크를 참조하세요. [our Qiskit documentation](doc/qiskit.rst).
### Next Steps
이제 여러분은 다른 [튜토리얼](https://github.com/QISKit/qiskit-tutorial)들까지도 실행할 수 있는 준비와 환경 구성을 마쳤습니다. [index tutorial](https://github.com/QISKit/qiskit-tutorial/blob/master/index.ipynb)을 시작하세요. 그리고 [Getting Started 예제](https://github.com/QISKit/qiskit-tutorial/blob/002d054c72fc59fc5009bb9fa0ee393e15a69d07/1_introduction/getting_started.ipynb)로 이동하세요. 만일 여러분이 이미 [Jupyter Notebooks](https://jupyter.readthedocs.io/en/latest/install.html)을 설치했다면, 여러분은 해당 노트북을 복사하고 수정하여 여러분 만의 노트북을 만들 수 있습니다.
이제 여러분은 다른 [튜토리얼](https://github.com/Qiskit/qiskit-tutorial)들까지도 실행할 수 있는 준비와 환경 구성을 마쳤습니다. [index tutorial](https://github.com/Qiskit/qiskit-tutorial/blob/master/index.ipynb)을 시작하세요. 그리고 [Getting Started 예제](https://github.com/Qiskit/qiskit-tutorial/blob/002d054c72fc59fc5009bb9fa0ee393e15a69d07/1_introduction/getting_started.ipynb)로 이동하세요. 만일 여러분이 이미 [Jupyter Notebooks](https://jupyter.readthedocs.io/en/latest/install.html)을 설치했다면, 여러분은 해당 노트북을 복사하고 수정하여 여러분 만의 노트북을 만들 수 있습니다.
튜토리얼을 QISKit의 일부로서 설치하기 위해 다음의 링크를 확인하세요. [installation details](doc/install.rst#Install-Jupyter-based-tutorials). 완전한 SDK문서는 다음의 링크에서 확인할 수 있습니다. [*doc* directory](doc/qiskit.rst).
튜토리얼을 Qiskit의 일부로서 설치하기 위해 다음의 링크를 확인하세요. [installation details](doc/install.rst#Install-Jupyter-based-tutorials). 완전한 SDK문서는 다음의 링크에서 확인할 수 있습니다. [*doc* directory](doc/qiskit.rst).
## More Information
다음은 QISKit을 어떻게 써야하는지에 대한 더많은 정보와 튜토리얼 예제, 그리고 몇몇의 도움이 될만한 링크들 입니다. 한 번 살펴보세요.
* **[User Guides](https://github.com/QISKit/ibmqx-user-guides)**,
다음은 Qiskit을 어떻게 써야하는지에 대한 더많은 정보와 튜토리얼 예제, 그리고 몇몇의 도움이 될만한 링크들 입니다. 한 번 살펴보세요.
* **[User Guides](https://github.com/Qiskit/ibmqx-user-guides)**,
양자정보와 양자컴퓨팅에 대해 배울 수 있는 좋은 시작점
* **[Tutorials](https://github.com/QISKit/qiskit-tutorial)**,
예를 들어 Jupyter 노트북의 경우 [index](https://github.com/QISKit/qiskit-tutorial/blob/master/index.ipynb)를 참고하세요. 그리고 [Getting Started Jupyter notebook](https://github.com/QISKit/qiskit-tutorial/blob/002d054c72fc59fc5009bb9fa0ee393e15a69d07/1_introduction/getting_started.ipynb)도 함께 보세요.
* **[OpenQASM](https://github.com/QISKit/openqasm)**,
* **[Tutorials](https://github.com/Qiskit/qiskit-tutorial)**,
예를 들어 Jupyter 노트북의 경우 [index](https://github.com/Qiskit/qiskit-tutorial/blob/master/index.ipynb)를 참고하세요. 그리고 [Getting Started Jupyter notebook](https://github.com/Qiskit/qiskit-tutorial/blob/002d054c72fc59fc5009bb9fa0ee393e15a69d07/1_introduction/getting_started.ipynb)도 함께 보세요.
* **[OpenQASM](https://github.com/Qiskit/openqasm)**,
QASM에 대한 추가적인 정보와 예제
* **[IBM Quantum Experience Composer](https://quantumexperience.ng.bluemix.net/qx/editor)**,
실제 양자컴퓨터 및 시뮬레이션된 양자컴퓨터와의 GUI 인터페이스를 통한 인터렉션
* **[QISkit Python API](https://github.com/QISKit/qiskit-api-py)**, 파이썬을 통해 IBM Quantum Experience를 사용할 수 있는 API
* **[QISkit Python API](https://github.com/Qiskit/qiskit-api-py)**, 파이썬을 통해 IBM Quantum Experience를 사용할 수 있는 API
QISKit은 본래 [IBM Research](http://www.research.ibm.com/)연구팀과 [IBM-Q](http://www.research.ibm.com/ibm-q/)개발팀에 의해 양자컴퓨터에 대한 고수준(high level) 개발킷을 제공할 목적으로 개발되었습니다.
질의응답과 토론 그리고 양자컴퓨팅에 대해 더 넓게 살펴보기 위해 [IBM Q experience community](https://quantumexperience.ng.bluemix.net/qx/community)를 방문하세요. 만일 여러분이 QISKit에 기여하길 원한다면 다음의 가이드라인을 살펴보세요. [contribution guidelines](.github/CONTRIBUTING.rst).
Qiskit은 본래 [IBM Research](http://www.research.ibm.com/)연구팀과 [IBM-Q](http://www.research.ibm.com/ibm-q/)개발팀에 의해 양자컴퓨터에 대한 고수준(high level) 개발킷을 제공할 목적으로 개발되었습니다.
질의응답과 토론 그리고 양자컴퓨팅에 대해 더 넓게 살펴보기 위해 [IBM Q experience community](https://quantumexperience.ng.bluemix.net/qx/community)를 방문하세요. 만일 여러분이 Qiskit에 기여하길 원한다면 다음의 가이드라인을 살펴보세요. [contribution guidelines](.github/CONTRIBUTING.rst).
## Multilanguage guide
* **[Korean Translation](https://github.com/QISKit/qiskit-terra/tree/master/doc/ko/README-ko.md)**, 한글 기본 가이드 라인
* **[Korean Translation](https://github.com/Qiskit/qiskit-terra/tree/master/doc/ko/README-ko.md)**, 한글 기본 가이드 라인
## Authors (alphabetical)
QISKit was originally authored by
Qiskit was originally authored by
Luciano Bello, Jim Challenger, Andrew Cross, Ismael Faro, Jay Gambetta, Juan Gomez,
Ali Javadi-Abhari, Paco Martin, Diego Moreda, Jesus Perez, Erick Winston and Chris Wood.

View File

@ -1,12 +1,12 @@
QISKit overview
Qiskit overview
===============
Philosophy
----------
QISKit is a collection of software for working with short depth
Qiskit is a collection of software for working with short depth
quantum circuits and building near term applications and experiments
on quantum computers. In QISKit, a quantum program is an array of
on quantum computers. In Qiskit, a quantum program is an array of
quantum circuits. The program workflow consists of three stages:
Build, Compile, and Run. Build allows you to make different quantum
circuits that represent the problem you are solving. Compile allows
@ -19,19 +19,19 @@ you to make a better program for the next instance.
Project Overview
----------------
The QISKit project comprises:
The Qiskit project comprises:
* `QISKit Terra <https://github.com/QISKit/qiskit-terra>`_: Python science
development kit for writing quantum computing experiments, programs, and
* `Qiskit Terra <https://github.com/Qiskit/qiskit-terra>`_: Python science
development kit for writing quantum computing experiments, programs, and
applications.
* `QISKit API <https://github.com/QISKit/qiskit-api-py>`_: A thin Python
* `Qiskit API <https://github.com/Qiskit/qiskit-api-py>`_: A thin Python
wrapper around the Quantum Experience HTTP API that enables you to
connect and and execute quantum programs.
* `QISKit OpenQASM <https://github.com/QISKit/qiskit-openqasm>`_: Contains
* `Qiskit OpenQASM <https://github.com/Qiskit/qiskit-openqasm>`_: Contains
specifications, examples, documentation, and tools for the OpenQASM
intermediate representation.
* `QISKit Tutorial <https://github.com/QISKit/qiskit-tutorial>`_: A
collection of Jupyter notebooks using QISKit.
* `Qiskit Tutorial <https://github.com/Qiskit/qiskit-tutorial>`_: A
collection of Jupyter notebooks using Qiskit.

View File

@ -15,7 +15,7 @@ this project, one can do,
.. code-block:: python
# Import the QISKit SDK
# Import the Qiskit SDK
from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister
from qiskit import available_backends, execute
@ -55,7 +55,7 @@ The :func:`~qiskit.Result.get_counts` method outputs a dictionary of
Quantum Chips
-------------
You can execute your QASM circuits on a real chip by using the IBM Q experience (QX) cloud platform.
You can execute your QASM circuits on a real chip by using the IBM Q experience (QX) cloud platform.
Currently through QX you can use the following chips:
- ``ibmqx4``: `5-qubit backend <https://ibm.biz/qiskit-ibmqx4>`_
@ -63,7 +63,7 @@ Currently through QX you can use the following chips:
- ``ibmqx5``: `16-qubit backend <https://ibm.biz/qiskit-ibmqx5>`_
For chip details and realtime information about availability visit the
`IBM Q experience backend information <https://github.com/QISKit/ibmqx-backend-information>`_
`IBM Q experience backend information <https://github.com/Qiskit/ibmqx-backend-information>`_
and the `IBM Q experience devices page <https://quantumexperience.ng.bluemix.net/qx/devices>`_.
.. include:: example_real_backend.rst

View File

@ -4,10 +4,10 @@ Release history
Release notes
*************
QISKit SDK 0.5.0
Qiskit SDK 0.5.0
================
This release brings a number of improvements to QISKit, both for the user
This release brings a number of improvements to Qiskit, both for the user
experience and under the hood. Please refer to the full changelog for a
detailed description of the changes - the highlights are:

View File

@ -1,18 +1,18 @@
# Quantum Information Science Kit (QISKit)
# Quantum Information Science Kit (Qiskit)
[![PyPI](https://img.shields.io/pypi/v/qiskit.svg)](https://pypi.python.org/pypi/qiskit)
[![Build Status](https://travis-ci.org/QISKit/qiskit-terra.svg?branch=master)](https://travis-ci.org/QISKit/qiskit-terra)
[![Build Status](https://travis-ci.org/Qiskit/qiskit-terra.svg?branch=master)](https://travis-ci.org/Qiskit/qiskit-terra)
**QISKit**是一个用于和 [OpenQASM](https://github.com/QISKit/qiskit-openqasm)和
**Qiskit**是一个用于和 [OpenQASM](https://github.com/Qiskit/qiskit-openqasm)和
[IBM Q experience (QX)](https://quantumexperience.ng.bluemix.net/)协同工作的软件开发工具包(SDK)。
利用 **QISKit** 来编写量子计算程序、编译、并且在一些终端上运行(实时在线量子处理器,在线模拟器,和本地模拟器)。 在在线后端, QISKit 使用我们的 [python API client](https://github.com/QISKit/qiskit-api-py)
利用 **Qiskit** 来编写量子计算程序、编译、并且在一些终端上运行(实时在线量子处理器,在线模拟器,和本地模拟器)。 在在线后端, Qiskit 使用我们的 [python API client](https://github.com/Qiskit/qiskit-api-py)
与 IBM Q experience建立连接。
**我们使用 GitHub issues 来追踪需求和错误。详见**
[IBM Q experience community](https://quantumexperience.ng.bluemix.net/qx/community) **中的提问和讨论。**
**如果您有意对 QISKit 做出贡献,请参见我们的**
[contribution guidelines](https://github.com/QISKit/qiskit-terra/blob/master/.github/CONTRIBUTING.rst)。
**如果您有意对 Qiskit 做出贡献,请参见我们的**
[contribution guidelines](https://github.com/Qiskit/qiskit-terra/blob/master/.github/CONTRIBUTING.rst)。
链接索引:
@ -26,16 +26,16 @@
### 安装环境
安装使用 QISKit 需要 [Python 3.5](https://www.python.org/downloads/) 版本及以上。 并且建议使用[Jupyter Notebook](https://jupyter.readthedocs.io/en/latest/install.html) 来参阅我们的教程。
安装使用 Qiskit 需要 [Python 3.5](https://www.python.org/downloads/) 版本及以上。 并且建议使用[Jupyter Notebook](https://jupyter.readthedocs.io/en/latest/install.html) 来参阅我们的教程。
因此我们推荐安装 [Anaconda 3](https://www.continuum.io/downloads)
开源Python 发行版本, 它包含了所有需要的安装包。
此外,如果有一些对量子信息的基本了解,在使用
QISKit的时候会很有帮助。如果您是量子领域的新手请参见我们的
[User Guides](https://github.com/QISKit/ibmqx-user-guides)
Qiskit的时候会很有帮助。如果您是量子领域的新手请参见我们的
[User Guides](https://github.com/Qiskit/ibmqx-user-guides)
### 安装
我们鼓励您使用PIP 工具 (Python包管理工具)来安装 QISKit
我们鼓励您使用PIP 工具 (Python包管理工具)来安装 Qiskit
```
pip install qiskit
```
@ -47,24 +47,24 @@ PIP 为以下平台预装有二进制版本:
* Win64
如果您的运行平台不在以上的列表中PIP 将会在安装的时候从安装源创建。这将需要预装 CMake 3.5 或更高的版本和至少一个由 [CMake](https://cmake.org/cmake/help/v3.5/manual/cmake-generators.7.html)支持的开发环境。
如果在安装过程中 PIP 没能成功创建,不要担心,您最终还是会成功安装 QISKit只是可能不能使用一些高阶的功能。无论如何我们还会提供一个不那么快捷的python备选方案。
如果在安装过程中 PIP 没能成功创建,不要担心,您最终还是会成功安装 Qiskit只是可能不能使用一些高阶的功能。无论如何我们还会提供一个不那么快捷的python备选方案。
#### 配置您的安装环境
我们建议采用python虚拟环境来提升运行体验。更多信息请参见
[Environment Setup documentation](https://github.com/QISKit/qiskit-terra/blob/master/doc/install.rst#3.1-Setup-the-environment) 。
[Environment Setup documentation](https://github.com/Qiskit/qiskit-terra/blob/master/doc/install.rst#3.1-Setup-the-environment) 。
## 创建您的第一个量子程序
当SDK安装好了之后我们可以开始使用QISKit了。
当SDK安装好了之后我们可以开始使用Qiskit了。
我们可以试验一个量子电路的例子,它将在本地模拟器上运行。
这是一个产生叠加态的简单例子:
```python
# Import the QISKit SDK
# Import the Qiskit SDK
import qiskit
# Create a Quantum Register called "qr" with 2 qubits
@ -105,12 +105,12 @@ print(sim_result.get_counts("bell"))
COMPLETED
{'counts': {'00': 512, '11': 512}}
```
可以在 [这里](https://github.com/QISKit/qiskit-terra/blob/master/examples/python/hello_quantum.py)找到此例的脚本。
可以在 [这里](https://github.com/Qiskit/qiskit-terra/blob/master/examples/python/hello_quantum.py)找到此例的脚本。
### 在一个真实的量子芯片上执行您的程序
您也可以使用 QISKit 在一个
[真实的量子芯片](https://github.com/QISKit/ibmqx-backend-information)上执行您的程序。
您也可以使用 Qiskit 在一个
[真实的量子芯片](https://github.com/Qiskit/ibmqx-backend-information)上执行您的程序。
为此,您需要配置 SDK 来为您的 Quantum Experience Account使用证书
#### 配置您的 API 令牌和 QE 证书
@ -119,7 +119,7 @@ COMPLETED
账号,如果您还没有的话。
2. 在IBM Q experience网页上取得一个API 令牌: "`My Account`" >
"`Personal Access Token`"。这个API令牌将使您可以在IBM Q 体验后端上运行您的程序。
[示例](https://github.com/QISKit/qiskit-terra/blob/master/doc/example_real_backend.rst)。
[示例](https://github.com/Qiskit/qiskit-terra/blob/master/doc/example_real_backend.rst)。
3. 之后我们将创建一个新的文件叫 `Qconfig.py` 并在其中插入 API 令牌。此文件必须包含以下内容:
```python
APItoken = 'MY_API_TOKEN'
@ -149,49 +149,49 @@ Q_program.set_api(Qconfig.APItoken, Qconfig.config["url"], verify=False,
```
更多详细信息请参见我们的
[QISKit documentation](https://www.qiskit.org/documentation/)。
[Qiskit documentation](https://www.qiskit.org/documentation/)。
### 下一步
现在您已经设置好并准备好查看我们的
[教程](https://github.com/QISKit/qiskit-tutorial) 库中的更多实例了。 首先选择
[index tutorial](https://github.com/QISKit/qiskit-tutorial/blob/master/index.ipynb) 然后选择 [Getting Started example](https://github.com/QISKit/qiskit-tutorial/blob/002d054c72fc59fc5009bb9fa0ee393e15a69d07/1_introduction/getting_started.ipynb)。
[教程](https://github.com/Qiskit/qiskit-tutorial) 库中的更多实例了。 首先选择
[index tutorial](https://github.com/Qiskit/qiskit-tutorial/blob/master/index.ipynb) 然后选择 [Getting Started example](https://github.com/Qiskit/qiskit-tutorial/blob/002d054c72fc59fc5009bb9fa0ee393e15a69d07/1_introduction/getting_started.ipynb)。
如果您已经有安装有 [Jupyter Notebooks](https://jupyter.readthedocs.io/en/latest/install.html)
那么您可以复制和修改这些notebooks来创建您自己的实验。
如要将教程安装在 QISKit SDK 中,请参见
[安装详述](https://github.com/QISKit/qiskit-terra/blob/master/doc/install.rst#Install-Jupyter-based-tutorials)。 完整的 SDK
文档请参见 [*doc* directory](https://github.com/QISKit/qiskit-terra/blob/master/doc/qiskit.rst) 和
[QISKit 官网](https://www.qiskit.org/documentation)。
如要将教程安装在 Qiskit SDK 中,请参见
[安装详述](https://github.com/Qiskit/qiskit-terra/blob/master/doc/install.rst#Install-Jupyter-based-tutorials)。 完整的 SDK
文档请参见 [*doc* directory](https://github.com/Qiskit/qiskit-terra/blob/master/doc/qiskit.rst) 和
[Qiskit 官网](https://www.qiskit.org/documentation)。
## 更多信息
欲知更多有关如何使用 QISKit、指导实例、和其他有用链接的信息请见以下资源
欲知更多有关如何使用 Qiskit、指导实例、和其他有用链接的信息请见以下资源
* **[用户指南](https://github.com/QISKit/ibmqx-user-guides)**
* **[用户指南](https://github.com/Qiskit/ibmqx-user-guides)**
一个学习量子信息和计算的很好的入门资料
* **[教程](https://github.com/QISKit/qiskit-tutorial)**
例如要学习notebooks可以参见 [index](https://github.com/QISKit/qiskit-tutorial/blob/master/index.ipynb) 和 [Getting Started Jupyter notebook](https://github.com/QISKit/qiskit-tutorial/blob/002d054c72fc59fc5009bb9fa0ee393e15a69d07/1_introduction/getting_started.ipynb)
* **[OpenQASM](https://github.com/QISKit/openqasm)**
* **[教程](https://github.com/Qiskit/qiskit-tutorial)**
例如要学习notebooks可以参见 [index](https://github.com/Qiskit/qiskit-tutorial/blob/master/index.ipynb) 和 [Getting Started Jupyter notebook](https://github.com/Qiskit/qiskit-tutorial/blob/002d054c72fc59fc5009bb9fa0ee393e15a69d07/1_introduction/getting_started.ipynb)
* **[OpenQASM](https://github.com/Qiskit/openqasm)**
可以找到更多有关QASM代码的信息和实例
* **[IBM Quantum Experience Composer](https://quantumexperience.ng.bluemix.net/qx/editor)**
一个与真实和模拟量子计算机交互的GUI
* **[QISkit Python API](https://github.com/QISKit/qiskit-api-py)**一个在Python中使用IBM Quantum Experience 的API
* **[QISkit Python API](https://github.com/Qiskit/qiskit-api-py)**一个在Python中使用IBM Quantum Experience 的API
QISKit 最早是由[IBM Research](http://www.research.ibm.com/)研究中心的
Qiskit 最早是由[IBM Research](http://www.research.ibm.com/)研究中心的
[IBM-Q](http://www.research.ibm.com/ibm-q/) 团队的研究人员和开发人员开发的,
旨在提供一个与量子计算机配套的高水平的开发工具包。
欲知更多有关 QISKit 和更广泛地有关量子计算的提问和讨论请访问 [IBM Q experience community](https://quantumexperience.ng.bluemix.net/qx/community)。 如果您有兴趣为 QISKit 做出贡献,请参见我们的 [contribution guidelines](https://github.com/QISKit/qiskit-terra/blob/master/.github/CONTRIBUTING.rst)。
欲知更多有关 Qiskit 和更广泛地有关量子计算的提问和讨论请访问 [IBM Q experience community](https://quantumexperience.ng.bluemix.net/qx/community)。 如果您有兴趣为 Qiskit 做出贡献,请参见我们的 [contribution guidelines](https://github.com/Qiskit/qiskit-terra/blob/master/.github/CONTRIBUTING.rst)。
## 多语言指导
* **[Korean Translation](https://github.com/QISKit/qiskit-terra/blob/master/doc/ko/README.md)** 基本的韩语指导。
* **[Korean Translation](https://github.com/Qiskit/qiskit-terra/blob/master/doc/ko/README.md)** 基本的韩语指导。
## 作者 (按字母顺序)
QISKit was originally authored by
Qiskit was originally authored by
Luciano Bello, Jim Challenger, Andrew Cross, Ismael Faro, Jay Gambetta, Juan Gomez,
Ali Javadi-Abhari, Paco Martin, Diego Moreda, Jesus Perez, Erick Winston and Chris Wood.

View File

@ -7,7 +7,7 @@
"""Demo basic optimization: Remove Zero Rotations and Remove Double CNOTs.
Note: if you have only cloned the QISKit repository but not
Note: if you have only cloned the Qiskit repository but not
used `pip install`, the examples only work from the root directory.
"""

View File

@ -8,7 +8,7 @@
"""
GHZ state example illustrating mapping onto the backend.
Note: if you have only cloned the QISKit repository but not
Note: if you have only cloned the Qiskit repository but not
used `pip install`, the examples only work from the root directory.
"""

View File

@ -1,11 +1,11 @@
"""
Example used in the README. In this example a Bell state is made.
Note: if you have only cloned the QISKit repository but not
Note: if you have only cloned the Qiskit repository but not
used `pip install`, the examples only work from the root directory.
"""
# Import the QISKit
# Import the Qiskit
from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister
from qiskit import QISKitError, available_backends, execute, register, get_backend, least_busy

View File

@ -8,7 +8,7 @@
"""
Example use of the initialize gate to prepare arbitrary pure states.
Note: if you have only cloned the QISKit repository but not
Note: if you have only cloned the Qiskit repository but not
used `pip install`, the examples only work from the root directory.
"""

View File

@ -21,5 +21,5 @@ try:
print(sim_result.get_counts(qc))
except QISKitError as ex:
print('There was an internal QISKit error. Error = {}'.format(ex))
print('There was an internal Qiskit error. Error = {}'.format(ex))

View File

@ -8,7 +8,7 @@
"""
Quantum Fourier Transform examples.
Note: if you have only cloned the QISKit repository but not
Note: if you have only cloned the Qiskit repository but not
used `pip install`, the examples only work from the root directory.
"""

View File

@ -8,7 +8,7 @@
"""
Ripple adder example based on Cuccaro et al., quant-ph/0410184.
Note: if you have only cloned the QISKit repository but not
Note: if you have only cloned the Qiskit repository but not
used `pip install`, the examples only work from the root directory.
"""

View File

@ -8,7 +8,7 @@
"""
Ripple adder example based on Cuccaro et al., quant-ph/0410184.
Note: if you have only cloned the QISKit repository but not
Note: if you have only cloned the Qiskit repository but not
used `pip install`, the examples only work from the root directory.
"""

View File

@ -8,7 +8,7 @@
"""
Quantum teleportation example based on an OpenQASM example.
Note: if you have only cloned the QISKit repository but not
Note: if you have only cloned the Qiskit repository but not
used `pip install`, the examples only work from the root directory.
"""

View File

@ -6,17 +6,17 @@
# the LICENSE.txt file in the root directory of this source tree.
"""
Example showing how to use QISKit at level 0 (novice).
Example showing how to use Qiskit at level 0 (novice).
See level 1 if you would like to understand how to compile
Note: if you have only cloned the QISKit repository but not
Note: if you have only cloned the Qiskit repository but not
used `pip install`, the examples only work from the root directory.
"""
import time
# Import the QISKit modules
# Import the Qiskit modules
from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister, QISKitError
from qiskit import available_backends, execute, register, least_busy

View File

@ -6,17 +6,17 @@
# the LICENSE.txt file in the root directory of this source tree.
"""
Example showing how to use QISKit at level 1 (intermediate).
Example showing how to use Qiskit at level 1 (intermediate).
In QISKit 0.6 we will be working on a pass manager for level 2+ users
In Qiskit 0.6 we will be working on a pass manager for level 2+ users
Note: if you have only cloned the QISKit repository but not
Note: if you have only cloned the Qiskit repository but not
used `pip install`, the examples only work from the root directory.
"""
import pprint
# Import the QISKit modules
# Import the Qiskit modules
from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister, QISKitError
from qiskit import available_backends, compile, register, get_backend, least_busy

View File

@ -6,9 +6,9 @@
# the LICENSE.txt file in the root directory of this source tree.
"""
Example showing how to use QISKit at level 2 (advanced).
Example showing how to use Qiskit at level 2 (advanced).
Note: if you have only cloned the QISKit repository but not
Note: if you have only cloned the Qiskit repository but not
used `pip install`, the examples only work from the root directory.
"""

View File

@ -3,7 +3,7 @@
# Author: Juan Gomez
# Please provide a valid username and password to connect to PyPi for uploading
# the QISKit SDK distributable packaged
# the Qiskit SDK distributable packaged
USERNAME=""
PASSWORD=""
@ -12,7 +12,7 @@ PASSWORD=""
usage(){
echo "Usage:"
echo "$0 [OPTION]"
echo "Helper script to create and upload QISKit SDK distributable package"
echo "Helper script to create and upload Qiskit SDK distributable package"
echo "to PyPi severs."
echo ""
echo "Options:"

View File

@ -42,7 +42,7 @@ class QasmSimulatorCppBuild(build):
if current_platform not in supported_platforms:
# TODO: stdout is silenced by pip if the full setup.py invocation is
# successful, unless using '-v' - hence the warnings are not printed.
print('WARNING: QISKit cpp simulator is meant to be built with these '
print('WARNING: Qiskit cpp simulator is meant to be built with these '
'platforms: {}. We will support other platforms soon!'
.format(supported_platforms))
return
@ -88,11 +88,11 @@ setup(
name="qiskit",
version="${QISKIT_VERSION}",
description="Software for developing quantum computing programs",
long_description="""QISKit is a software development kit for writing
long_description="""Qiskit is a software development kit for writing
quantum computing experiments, programs, and applications. Works with
Python 3.5 and 3.6""",
url="https://github.com/QISKit/qiskit-terra",
author="QISKit Development Team",
url="https://github.com/Qiskit/qiskit-terra",
author="Qiskit Development Team",
author_email="qiskit@us.ibm.com",
license="Apache 2.0",
classifiers=[

View File

@ -1,6 +1,6 @@
# CMake config file to build the C++ Simulator
#
# For Windows, we always build static executables. QISKit provides the
# For Windows, we always build static executables. Qiskit provides the
# necessary external binary libraries (.lib and .dll), these .lib come from an
# external source and they are simple import files, so we still need the .dll
# files in order to run the final executable. We only support MinGW64 toolchain
@ -115,12 +115,12 @@ if(NOT BLAS_LIB)
endif()
set(LIBRARIES PRIVATE ${BLAS_LIB})
# Linking
target_link_libraries(qasm_simulator_cpp ${LIBRARIES})
set(QASM_SIMULATOR_CPP_OUTPUT_DIR $<TARGET_FILE_DIR:qasm_simulator_cpp>
CACHE INTERNAL "Output directory for building QISKit C++ Simulator")
CACHE INTERNAL "Output directory for building Qiskit C++ Simulator")
# TODO Windows 32 bits builds are not supported yet
set(ARCH_BITS "64")
@ -148,7 +148,7 @@ if(WIN32) # Windows 64 bits is also true here
${QASM_SIMULATOR_CPP_OUTPUT_DIR}/${FINAL_FILE})
endforeach()
endif()
# Tests
# TODO: Enable them when ready
#add_subdirectory(${QASM_SIMULATOR_CPP_DIR}/test)

View File

@ -11,7 +11,7 @@ Copyright 2017, IBM.
### Description
*QASM Simulator* is a quantum circuit simulator written in C++ that includes a variety of realistic circuit level noise models. The simulator may be run as a command line application to evaluate quantum programs specified by a *Quantum program OBJect (__QObj__)*. It may also be used as a local backend in the *Quantum Information Science Kit ([__QISKit__](https://www.qiskit.org))* [Python SDK](https://github.com/QISKit/qiskit-terra).
*QASM Simulator* is a quantum circuit simulator written in C++ that includes a variety of realistic circuit level noise models. The simulator may be run as a command line application to evaluate quantum programs specified by a *Quantum program OBJect (__QObj__)*. It may also be used as a local backend in the *Quantum Information Science Kit ([__QISKit__](https://www.qiskit.org))* [Python SDK](https://github.com/Qiskit/qiskit-terra).
## Contents
@ -137,7 +137,7 @@ After building, the simulator may be run as follows:
./qasm_simulator_cpp input.json
```
where `input.json` is the file name of a **Quantum program object (qobj)**. This is a JSON specification of a quantum program which can be produced using the QISKit SDK (link to qobj specification to come...).
where `input.json` is the file name of a **Quantum program object (qobj)**. This is a JSON specification of a quantum program which can be produced using the Qiskit SDK (link to qobj specification to come...).
It is also possible to pipe the contents of a qobj directly to the simulator by using replacing the file name with a dash `-`. For example:
@ -163,7 +163,7 @@ result = qs.run(qobj, path=SIM_EXECUTABLE) # result json as a Python dictionary
### Running as a backend for qiskit-terra
This simulator can also be used as a backend for the QISKit Python SDK. This is handled automatically when importing the `qiskit` module. After importing the module the simulator may be run as follows:
This simulator can also be used as a backend for the Qiskit Python SDK. This is handled automatically when importing the `qiskit` module. After importing the module the simulator may be run as follows:
```python
backend = 'local_qasm_simulator'
@ -179,7 +179,7 @@ You can check the backend was successfully added using the `available_backends`
### Simulator output
By default the simulator prints a JSON file to the standard output. If called through QISKit this output is loaded and parsed as a Python dictionary. An example simulator output is for a qobj called from QISKit containing a single circuit is:
By default the simulator prints a JSON file to the standard output. If called through Qiskit this output is loaded and parsed as a Python dictionary. An example simulator output is for a qobj called from Qiskit containing a single circuit is:
```python
{
@ -210,7 +210,7 @@ The `"result"` key is a list of the output of each circuit in the qobj: If the q
#### qiskit-terra output
If the simulator is called though the Python QISKit SDK the input qobj will only contain a single circuit, and only the values in the `"data"` field will be accessible in the `Results` object. The dictionary of this data may be accessed using the `Results.get_data('name')` method.
If the simulator is called though the Python Qiskit SDK the input qobj will only contain a single circuit, and only the values in the `"data"` field will be accessible in the `Results` object. The dictionary of this data may be accessed using the `Results.get_data('name')` method.
#### Complex number format in JSON
@ -337,9 +337,9 @@ The following are all valid representations of the state *|psi> = (|00> + |11> )
The input will be renormalized by the simulator to ensure it is a quantum state. Hence there is no difference between replacing the above inputs with `"initial_state": [1, 0, 0, 1]"`.
##### QISKit Example
##### Qiskit Example
When calling the simulator though the QISKit Python SDK the input state may also be a a NumPy array, for example:
When calling the simulator though the Qiskit Python SDK the input state may also be a a NumPy array, for example:
```python
config = {'initial_state': np.array([1, 0, 0, 1j]) / np.sqrt(2)}
@ -444,7 +444,7 @@ A single qubit gate error with gate time of *1* unit, depolarizing probability *
#### Special Options for X90 and CX coherent errors
The CX and X90 gate have special keys for automatically generating coherent error matrices. This is not supported directly by the simulator, but is handled by the QISKit backend in python.
The CX and X90 gate have special keys for automatically generating coherent error matrices. This is not supported directly by the simulator, but is handled by the Qiskit backend in python.
##### X90 Gate