Skip to content

Commit

Permalink
Merge 721fe4e into d6d1649
Browse files Browse the repository at this point in the history
  • Loading branch information
rum1887 authored May 28, 2023
2 parents d6d1649 + 721fe4e commit 0639047
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readthedocs-sphinx-search==0.1.2
numpydoc==1.4.0
matplotlib==3.5.2
docutils==0.17.1
sphinxcontrib-bibtex==2.4.2
sphinxcontrib.bibtex==2.4.2
pyqir-generator==0.6.2
pyqir-parser==0.6.2
qiskit==0.37.2
9 changes: 9 additions & 0 deletions doc/source/html2rst.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import subprocess

def convert_html_to_rst(html_file_path, rst_file_path):
# Use the subprocess module to call the pandoc command-line tool
subprocess.run(['pandoc', html_file_path, '-o', rst_file_path])

html_file_path = 'qutip-qip.html'
rst_file_path = 'tutorials.rst'
convert_html_to_rst(html_file_path, rst_file_path)
20 changes: 16 additions & 4 deletions doc/source/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,19 @@
Tutorials
************

Tutorials related to using quantum gates and circuits in ``qutip-qip`` can be
found `here <https://qutip.org/tutorials#quantum-information-processing>`_ and
those related to using noise simulators are available at this
`link <https://qutip.org/tutorials#nisq>`_.
Quantum circuits and algorithms

- `Decomposition of the Toffoli gate in terms of CNOT and single-qubit rotations <https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v4/quantum-circuits/qip-toffoli-cnot.ipynb>`_
- `Imports and Exports QASM circuit <https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v4/quantum-circuits/qasm.ipynb>`_
- `QuTiP example: Quantum Gates and their usage <https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v4/quantum-circuits/quantum-gates.ipynb>`_
- `Quantum Teleportation Circuit <https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v4/quantum-circuits/teleportation.ipynb>`_

Pulse-level circuit simulation

- `Compiling and simulating a 10-qubit Quantum Fourier Transform (QFT) algorithmn <https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v4/pulse-level-circuit-simulation/qip-10-qubit-QFT-algorithm.ipynb>`_
- `Custimize the pulse-level simulation <https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v4/pulse-level-circuit-simulation/qip-customize-device.ipynb>`_
- `Examples for OptPulseProcessor <https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v4/pulse-level-circuit-simulation/qip-optpulseprocessor.ipynb>`_
- `Scheduler for quantum gates and instructions <https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v4/pulse-level-circuit-simulation/qip-scheduler.ipynb>`_
- `Simulating randomized benchmarking <https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v4/pulse-level-circuit-simulation/qip-randomized-benchmarking.ipynb>`_
- `Simulating the Deutsch–Jozsa algorithm at the pulse level <https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v4/pulse-level-circuit-simulation/qip-processor-DJ-algorithm.ipynb>`_
- `Measuring the relaxation time with the idling gate <https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v4/pulse-level-circuit-simulation/qip-relaxation-measurement-with-the-idling-gate.ipynb>`_

0 comments on commit 0639047

Please sign in to comment.