Skip to content

Commit

Permalink
Added missing image
Browse files Browse the repository at this point in the history
  • Loading branch information
vova5703945 committed Feb 16, 2024
1 parent 67343d7 commit 42d04f6
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 51 deletions.
1 change: 1 addition & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- docs_public
- main

permissions:
contents: read
Expand Down
6 changes: 3 additions & 3 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
API Reference
=============
Transpilation Functions
=======================

.. automodule:: rivet_transpiler.transpiler
:members: transpile, transpile_chain, transpile_right, transpile_left, get_full_map
:members:
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = "QML Compiler"
project = "Rivet Transpiler"
copyright = "2024, Haiqu Inc." # pylint: disable=redefined-builtin
author = "Haiqu Inc."

Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@ Haiqu, info@haiqu.ai, +1 650 788 6011
.. toctree::
:maxdepth: 1
:hidden:
:caption: API Reference
:caption: Transpilation Functions

api
26 changes: 1 addition & 25 deletions examples/fourier_adder/fourier_adder.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@
"\n",
" <br>\n",
" <a>\n",
" <img src=\"docs/images/fourier_adder.png\">\n",
" <img src=\"fourier_adder.png\">\n",
" </a>\n",
"<br>"
]
Expand All @@ -840,30 +840,6 @@
"\n",
"![image.png](attachment:abb1fa17-882e-4d05-ac3e-fa7fafd43aee.png)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "7fc32194-9082-46a4-81c6-5cd68efe720e",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "cbde53f9-514e-4068-94c4-a796f717d067",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "4b7e8450-80ab-4d6d-854d-4a6a441c1400",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
Binary file added examples/fourier_adder/fourier_adder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 0 additions & 21 deletions rivet_transpiler/transpiler.py
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
"""
Rivet Transpiler functions.
`transpile` - transpilation function featuring:
- different transpilation stacks:
* Qiskit
* BQSKit
* Pytket
- custom PassManager
- dynamical decoupling
- transpiler options
`transpile_chain` consistently transpile and "stitch" a chain of
quantum circuits.
`transpile_right` - transpile an additional circuit to the right part of
the existing circuit.
`transpile_left` - transpile an additional circuit to the left part of
the existing circuit.
`transpile_and_compress` - transpile and topologically compress a circuit
considering a coupling map of the selected backend.
"""

import qiskit
Expand Down

0 comments on commit 42d04f6

Please sign in to comment.