-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement unified docs for Lightning Qubit and Kokkos (#473)
* Create a new single repository structure and merge Lightning Qubit and Lightning Kokkos backends * remove benchmarks CI actions for now * update _version.py location on actions * update changelog * update version * update action python version * pleasing CodeFactor * remove doc/code/api * ignore doc/code/api * update wheels build actions * add coverage test * add developer tools to check coverage * update changelog * fix broken actions * update test linux * update upload pypi action name * update testing configuration strategy * fix tests without binary * fix tests without binary * fix tests without binary * build wheels for LKokkos but do not push to pypi * expand QuantumScriptSerializer testing * pin pennylane back to what should be * now, really pinning pennylane back to what should be * docs initial push * pin pennylane back * add lighning_qubit and lightning_kokkos packages to the automodapi * unbreak my CIs... 🎶 * adjust test precision * uninstall pennylane-lightning before testing LightningKokkos * fix wheels * change uninstall pennylane-lightning to install new pennylane-lightning without binaries * fix if statement * No longer in-place modify input to `apply` (#474) * stop mutating input to apply * changelog * Reformat. * include jax data type * configure jax precision and test tolerance properly * format * update dev version * update avx docs * add Lightning image * add Lightning image file * update Plugin name to Lightning * Fix merge * more fixing to merge * Auto update version * fix bin files * fix lightning kokkos docs * install the lightning_kokkos backend * remove about title * Update Python on readthedocs action * fix PYPI Readme rendering * Auto update version * Content and structural changes coming from review suggestions * update lightning kokkos installation guidelines * Update lists of 'Supported operations and observables' in device docs. * Fix Exp Prod SProd Sum links in doc. * review suggestions and some small fixes * Fix couple formatting typos. * Add changelog and more typo fixes --------- Co-authored-by: Vincent Michaud-Rioux <[email protected]> Co-authored-by: AmintorDusko <[email protected]>
- Loading branch information
1 parent
1f03368
commit eade88c
Showing
41 changed files
with
558 additions
and
129 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/usr/bin/python3 | ||
|
||
import argparse | ||
import json | ||
import sys | ||
|
||
from utils import get_cpp_files | ||
|
||
|
||
if __name__ == '__main__': | ||
""" | ||
This program output a json list of all C++ source files. | ||
""" | ||
parser = argparse.ArgumentParser( | ||
description="Output C/C++ files in json list" | ||
) | ||
parser.add_argument( | ||
"--header-only", action='store_true', dest='header_only', help="whether only include header files" | ||
) | ||
parser.add_argument( | ||
"paths", nargs="+", metavar="DIR", help="paths to the root source directories" | ||
) | ||
parser.add_argument( | ||
"--exclude-dirs", dest="exclude_dirs", nargs="*", metavar="DIR", help="paths exclude from" | ||
) | ||
|
||
args = parser.parse_args() | ||
|
||
files = set(get_cpp_files(args.paths, header_only = args.header_only)) | ||
if args.exclude_dirs: | ||
files_excludes = set(get_cpp_files(args.exclude_dirs, header_only = args.header_only)) | ||
files -= files_excludes | ||
|
||
json.dump(list(files), sys.stdout) |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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.