Skip to content

Commit

Permalink
add qiskit-classroom api documents
Browse files Browse the repository at this point in the history
  • Loading branch information
minwook-shin committed Sep 6, 2023
1 parent 1f191a8 commit 44a7974
Show file tree
Hide file tree
Showing 15 changed files with 10,593 additions and 2 deletions.
7 changes: 7 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=./qiskit_classroom.html"/>
</head>
</html>
444 changes: 444 additions & 0 deletions docs/qiskit_classroom.html

Large diffs are not rendered by default.

754 changes: 754 additions & 0 deletions docs/qiskit_classroom/converter_model.html

Large diffs are not rendered by default.

852 changes: 852 additions & 0 deletions docs/qiskit_classroom/converter_presenter.html

Large diffs are not rendered by default.

2,103 changes: 2,103 additions & 0 deletions docs/qiskit_classroom/converter_view.html

Large diffs are not rendered by default.

423 changes: 423 additions & 0 deletions docs/qiskit_classroom/expression_enum.html

Large diffs are not rendered by default.

548 changes: 548 additions & 0 deletions docs/qiskit_classroom/input_model.html

Large diffs are not rendered by default.

3,185 changes: 3,185 additions & 0 deletions docs/qiskit_classroom/input_view.html

Large diffs are not rendered by default.

881 changes: 881 additions & 0 deletions docs/qiskit_classroom/result_image_dialog.html

Large diffs are not rendered by default.

1,278 changes: 1,278 additions & 0 deletions docs/qiskit_classroom/worker.html

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions docs/search.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies = [
]

[project.optional-dependencies]
dev = ["coverage==7.3.0", "pylint==2.17.5", "tox==4.10.0", "build==0.10.0"]
dev = ["coverage==7.3.0", "pylint==2.17.5", "tox==4.10.0", "build==0.10.0", "pdoc==14.0.0"]

[project.urls]
"Homepage" = "https://github.com/KMU-quantum-classroom/qiskit-classroom-converter"
Expand Down
70 changes: 69 additions & 1 deletion qiskit_classroom/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,72 @@
"""init python script for this pacakge"""
"""
# Qiskit-Classroom
Qiskit-classroom is a toolkit that helps implement quantum algorithms by converting and visualizing different
expressions used in the Qiskit ecosystem using Qiskit-classroom-converter.
The following three transformations are supported.
* Quantum Circuit to Dirac notation
* Quantum Circuit to Matrix
* Matrix to Quantum Circuit
## Getting Started
### Prerequisites
* LaTeX distribution(or program) must be installed
* On GNU/Linux recommend TeX Live
* On Windows recommend MiKTeX
* git should be installed
* python must be installed (3.9 <= X <= 3.11)
* Qt6(>= 6.0.x) must be installed
* macOS : https://pyside.readthedocs.io/en/latest/installing/macosx.html
### Install with Flatpak (GNU/Linux)
We're currently packaging flatpak package. please wait for a couple of days
### Install with PyPi (Windows, macOS)
```
pip install qiskit-classroom
```
.. warning:: Apple Silicon
ARM Processor not supported read this article
you must install latex distribution(program).
## How to debug
```bash
# download package
git https://github.com/KMU-quantum-classrooom/qiksit-classroom.git
# install python packages
cd qiskit-classroom
pip install -r requirements.txt
# run scripts
python -m main.py
```
## Acknowledgement
* 국문 : "본 연구는 2022년 과학기술정보통신부 및 정보통신기획평가원의 SW중심대학사업의 연구결과로 수행되었음"(2022-0-00964)
* English : "This research was supported by the MIST(Ministry of Science, ICT), Korea, under the National Program for Excellence in SW), supervised by the IITP(Institute of Information & communications Technology Planning & Evaluation) in 2022"(2022-0-00964)
## License
Qiskit-Classroom is licensed under the Apache License, Version 2.0
"""

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ coverage==7.3.0
pylint==2.17.5
tox==4.10.0
build==0.10.0
pdoc==14.0.0
1 change: 1 addition & 0 deletions scripts/generate_documents.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pdoc ./qiskit_classroom -o ./docs

0 comments on commit 44a7974

Please sign in to comment.