-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Develop into main to test automated workflow for Sphinx documentation. (
#397) * Improving draw method: now works with strings for gate parameters (#391) * Added support for multi-controlled gates on qiskit (MCRX, MCRY, MCRZ, MCPHASE) (#390) * Add automated documentation workflow & gitignore (#396) * Unitaryhack issue 386: Augment the Rotosolve optimizer to support Rotoselect (#392) * ⚡Added rotoselect algorithm and improved rotosolve to use 2 evaluations per parameter. * Unitaryhack issue 384: Circuit as reference state in the ansatz definition (#398) * added method `Circuit.fix_variational_parametrs`, which turns all variational gates non-variational. * Added support for circuits referrence states for the ansatze * Fixing Pyscf Incompatibility problem (#394) * update CI to check for version 2.5 * Update mp2_solver.py --------- Co-authored-by: AlexandreF-1qbit <[email protected]> Co-authored-by: ValentinS4t1qbit <[email protected]> Co-authored-by: Alexandre Fleury <[email protected]> Co-authored-by: Valentin Senicourt <[email protected]> Co-authored-by: GitHub Actions <[email protected]> Co-authored-by: Anush Venkatakrishnan <[email protected]> Co-authored-by: Or Golan <[email protected]> Co-authored-by: Kazuki Tsuoka <[email protected]> Co-authored-by: Colin Burdine <[email protected]>
- Loading branch information
1 parent
6791dc8
commit 3b49634
Showing
28 changed files
with
799 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Build & deploy sphinx document | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build-deploy: | ||
name: Build & deploy sphinx document | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11" | ||
|
||
- name: Install Dependencies | ||
run: | | ||
python -m pip install sphinx sphinx_rtd_theme nbsphinx | ||
python -m pip install . | ||
- name: Run build command | ||
run: | | ||
sphinx-apidoc -o ./docs/source ./tangelo | ||
sphinx-build -M html ./docs/source ./docs/build -E | ||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v4 | ||
with: | ||
publish_branch: gh-pages | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./docs/build/html | ||
force_orphan: true | ||
user_name: 'github-actions[bot]' | ||
user_email: 'github-actions[bot]@users.noreply.github.com' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
**/__pycache__ | ||
.pytest_cache | ||
**egg-info | ||
**/.DS_Store | ||
**/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.