Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions doc/ja/dev_introduction.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
ライブラリの構成
=============
=======================

プログラミング インターフェース
--------------------------
---------------------------------------------------------------

*qiskit* ディレクトリがメインのPythonモジュールで
:py:class:`QuantumProgram <qiskit.QuantumProgram>`、
:py:class:`QuantumRegister <qiskit.QuantumRegister>`、
:py:class:`ClassicalRegister <qiskit.ClassicalRegister>`、
:py:class:`QuantumCircuit <qiskit.QuantumCircuit>`のインターフェースを含みます。
:py:class:`QuantumCircuit <qiskit.QuantumCircuit>` のインターフェースを含みます。

実行手順は次の通りです。ユーザーは *QuantumProgram* (量子プログラム)を作成しそれに
複数の量子回路の生成、変更、コンパイル、と実行ができます。
Expand All @@ -23,7 +23,7 @@
現在は典型的な量子ゲートを定義した :py:mod:`standard <qiskit.extensions.standard>` 拡張が存在します。

内部モジュール
------------
---------------------

以下のディレクトリは開発中の内部モジュールを含みます:

Expand Down Expand Up @@ -51,14 +51,14 @@



.. image:: ../images/circuit_representations.png
.. image:: ../../images/circuit_representations.png
:width: 600px
:align: center

いくつかの unroller バックエンドとその出力は以下にまとめます:



.. image:: ../images/unroller_backends.png
.. image:: ../../images/unroller_backends.png
:width: 600px
:align: center
2 changes: 1 addition & 1 deletion doc/ja/example_real_backend.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
実機バックエンドの例
^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code-block:: python
:linenos:
Expand Down
10 changes: 5 additions & 5 deletions doc/ja/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Quantum Information Software Kit (QISKit, 量子情報ソフトウェアキッ


目次
=====
======

.. toctree::
:maxdepth: 2
Expand All @@ -25,10 +25,10 @@ Quantum Information Software Kit (QISKit, 量子情報ソフトウェアキッ
SDKリファレンス <_autodoc/qiskit>

Python モジュール
===============
========================

主要モジュール
------------
---------------------

.. autosummary::
:nosignatures:
Expand All @@ -39,7 +39,7 @@ Python モジュール
:ref:`modindex`

開発者 (アルファベット順)
======================
==========================================

Jim Challenger, Andrew Cross, Ismael Faro, Jay Gambetta, Juan Gomez,
Paco Martin, Antonio Mezzacapo, Jesus Perez, and John Smolin, Erick Winston,
Expand All @@ -48,7 +48,7 @@ Chris Wood.
将来のリリースでこのプロジェクトにコードの貢献をした方の名前を追加します。

翻訳者(順不同)
=============
========================

今道 貴司
ルディー・レイモンド
30 changes: 15 additions & 15 deletions doc/ja/install.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
======================
=======================================
インストールとセットアップ
======================
=======================================

インストール
============
==================

1. ツールの入手
----------------
---------------------------

QISKitを利用するには少なくとも`Python 3.5か以降 <https://www.python.org/downloads/>`__ と
`Jupyter Notebooks <https://jupyter.readthedocs.io/en/latest/install.html>`__ を
Expand All @@ -23,7 +23,7 @@ QISKitに貢献したいか拡張したいユーザーにはGitもインスト


2. PIP インストール
-----------------
---------------------------------------

QISKitをインストールする最も簡単な方法はPIP tool(Pythonのパッケージマネージャー)を利用することです。

Expand All @@ -32,7 +32,7 @@ QISKitをインストールする最も簡単な方法はPIP tool(Pythonのパ
pip install qiskit

3. レポジトリのインストール
-----------------------
-----------------------------------

それ以外にもローカルにQISKit SDKのレポジトリのクローンを作成してそのディレクトリで作業するのも一般的です:

Expand All @@ -44,12 +44,12 @@ QISKitをインストールする最も簡単な方法はPIP tool(Pythonのパ
cd qiskit-sdk-py

- もしGitをインストールしていない場合は、
  `QISKit SDK GitHub repo <https://github.com/QISKit/qiskit-sdk-py>`__ の
  "Clone or download"ボタンをクリックして、
 その後ダウンロードしたファイルを展開し、そのディレクトリーに移動し作業を開始します。
  `QISKit SDK GitHub repo <https://github.com/QISKit/qiskit-sdk-py>`__ の
  "Clone or download"ボタンをクリックして、
 その後ダウンロードしたファイルを展開し、そのディレクトリーに移動し作業を開始します。

3.1 環境の設定
^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^

QISKitを単独で機能するライブラリとして使うには全ての依存するライブラリもインストールする必要があります。

Expand Down Expand Up @@ -82,25 +82,25 @@ QISKitを単独で機能するライブラリとして使うには全ての依


4. APIトークンの設定
---------------------------
---------------------------------------

- `IBM Q Experience <https://quantumexperience.ng.bluemix.net>`__
のアカウントがない場合は作成します。
- IBM Q Experienceのウェブサイトの“My Account” > “Personal Access Token”
からAPIトークンを取得します。
- Qconfig.pyというファイルにAPIトークンを書き込きます。
まずデフォルトのQconfig.pyをコピーします。
   (Windowsの場合 ``cp`` を ``copy`` で置き換えます):
   (Windowsの場合 ``cp`` を ``copy`` で置き換えます):

.. code:: sh

cp Qconfig.py.default Qconfig.py

- Qconfig.pyをエディターで開き、``#APItoken``で始まる行の``#``を取り除き、
- Qconfig.pyをエディターで開き、``#APItoken`` で始まる行の``#``を取り除き、
あなたのAPIトークンを記入して保存します。

Jupyterのチュートリアルのインストール
================================
==================================================================

QISKitプロジェクトはチュートリアルをJupyterノートブックの形式で提供します。
ノートブックはPythonのコードが埋め込まれたウェブページのようなものです。
Expand All @@ -111,7 +111,7 @@ QISKitプロジェクトはチュートリアルをJupyterノートブックの


1.1 インストール
----------------------
------------------------------
- チュートリアルのダウンロード: https://github.com/QISKit/qiskit-tutorial/archive/master.zip
- zipファイルの展開
- ターミナルで"qiskit-tutorial-master"のディレクトリーに移動し、以下を実行する:
Expand Down
6 changes: 3 additions & 3 deletions doc/ja/qiskit.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
QISKit 概要
===========
===========================

設計思想
----
------------

QISKitは、深さが限定的な量子回路を設計して直近の応用を意識した量子コンピューターのアプリケーションを開発したり
実験を行うためのソフトウェア開発キットです。QISKitの中では量子プログラムは量子回路の配列として管理されています。
Expand All @@ -17,7 +17,7 @@ QISKitは、深さが限定的な量子回路を設計して直近の応用を


プロジェクト概要
--------------
------------------------
QISKitプロジェクトの構成は以下の通りです:

* `QISKit SDK <https://github.com/IBM/qiskit-sdk-py>`_:
Expand Down
14 changes: 7 additions & 7 deletions doc/ja/quickstart.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
QISKit入門
==========
========================

:py:class:`QuantumProgram <qiskit.QuantumProgram>` オブジェクトがコードを書く際の起点になります。
QuantumProgramは量子回路と量子レジスターと古典レジスターで構成されます。
Expand Down Expand Up @@ -35,26 +35,26 @@ QuantumProgramのメソッドは量子回路を実機やシミュレーターの
{'00': 531, '11': 493}

量子プロセッサー
--------
------------------------

ユーザーはQASMで記述した量子回路をIBM Q Experience (QX)のクラウドプラットホームを通じて、
実機の量子コンピューター(量子プロセッサー)で実行することができます。
現在以下のチップが利用可能です:

- ibmqx2: `5-qubit backend <https://ibm.biz/qiskit-ibmqx2>`_
- ibmqx2: `5-qubit backend <https://ibm.biz/qiskit-ibmqx2>`__

- ibmqx3: `16-qubit backend <https://ibm.biz/qiskit-ibmqx3>`_
- ibmqx3: `16-qubit backend <https://ibm.biz/qiskit-ibmqx3>`__

- ibmqx4: `5-qubit backend <https://ibm.biz/qiskit-ibmqx4>`_
- ibmqx4: `5-qubit backend <https://ibm.biz/qiskit-ibmqx4>`__

- ibmqx5: `16-qubit backend <https://ibm.biz/qiskit-ibmqx5>`_
- ibmqx5: `16-qubit backend <https://ibm.biz/qiskit-ibmqx5>`__

最新の実機の詳細については`IBM Q Experience バックエンド情報 <https://github.com/QISKit/ibmqx-backend-information>`_ を参照してください。

.. include:: example_real_backend.rst

プロジェクト構成
--------------
------------------------

Pythonのプログラム例は *examples* ディレクトリに、
テストスクリプトは *test* ディレクトリにあります。
Expand Down
4 changes: 4 additions & 0 deletions doc/theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
{%- block header %}
<div id="head" class="head">
<a href="/">QISKit</a>
<div class="langbox">
<a href="/documentation/{{ pagename }}{{ file_suffix }}">english</a> /
<a href="/documentation/ja/{{ pagename }}{{ file_suffix }}">japanese</a>
</div>
</div>
{%- endblock %}

Expand Down
15 changes: 9 additions & 6 deletions doc/theme/static/bizstyle.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,21 @@
div.head {
background-color:#000;
text-align: left;
text-decoration:none;
cursor:pointer;
text-decoration:none;
padding: 8px 15px 8px 15px;

}

div.head a {
color: #FFF!important;
text-decoration:none;
cursor:pointer;
color: #FFF!important;
text-decoration:none;
cursor:pointer;
}

div.head div.langbox {
color: #FFF!important;
float: right;
}

/* -- page layout ----------------------------------------------------------- */

body {
Expand Down
2 changes: 1 addition & 1 deletion tools/ghpages-documentation-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
TARGET_REPOSITORY_USER="QISKit"
TARGET_REPOSITORY_NAME="qiskit.github.io"
TARGET_DOC_DIR="documentation"
TARGET_DOC_DIR_JA="documentation/ja"
SOURCE_DOC_DIR="doc/_build/html"
SOURCE_DOC_DIR_JA="doc/_build/ja/html"
SOURCE_DIR=`pwd`
SOURCE_DIR_JA=`pwd`/ja

# Build the documentation.
make doc
Expand Down