Skip to content

Commit 7023e5c

Browse files
committed
Merge branch 'main' into pqc_tools
2 parents 10e6eee + 900b515 commit 7023e5c

File tree

131 files changed

+9724
-850
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+9724
-850
lines changed

.github/workflows/qrisp_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
pip install qiskit-iqm
3131
pip install pyscf
3232
pip install stim
33+
pip install xdsl
3334
- name: Test with pytest
3435
run: |
3536
pytest

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ __pycache__/
44
*.egg-info/
55
*.eggs
66
*.DS_Store
7+
/.vscode/*
8+
timer.dat
9+
tmp/*
710

811
/build/
912
/dist/
@@ -13,4 +16,5 @@ __pycache__/
1316
/docuenv/
1417
/eccvenv/
1518
/python311venv/
16-
/multiverseenv/
19+
/multiverseenv/
20+
/notebooks/

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,24 @@ def find_order(a, N):
7272
return qpe_res.get_measurement()
7373
```
7474

75-
To find out how this can be used to break encryption be sure to check the [tutorial](https://www.qrisp.eu/general/tutorial.html).
75+
To find out how this can be used to break encryption be sure to check the [tutorial](https://qrisp.eu/general/tutorial/Shor.html).
7676

77-
Qrisp offers much more than just factoring! More examples, like simulating molecules at the quantum level or how to solve the Travelling Salesman Problem, can be found [here](https://www.qrisp.eu/general/tutorial.html).
77+
Qrisp offers much more than just factoring! More examples, like simulating molecules at the quantum level or how to solve the Travelling Salesman Problem, can be found [here](https://qrisp.eu/general/tutorial/index.html).
7878

7979
## Authors and Citation
8080
Qrisp was mainly devised and implemented by Raphael Seidel, supported by Sebastian Bock, Nikolay Tcholtchev, René Zander, Niklas Steinmann and Matic Petric.
8181

8282
If you have comments, questions or love letters, feel free to reach out to us:
8383

84-
raphael.seidel@fokus.fraunhofer.de
84+
raphael.seidel [at] meetiqm.com
8585

86-
sebastian.bock@fokus.fraunhofer.de
86+
sebastian.bock [at] fokus.fraunhofer.de
8787

88-
88+
nikolay.tcholtchev [at] fokus.fraunhofer.de
89+
90+
rene.zander [at] fokus.fraunhofer.de
91+
92+
matic.petric [at] fokus.fraunhofer.de
8993

9094
If you want to cite Qrisp in your work, please use:
9195

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
google-site-verification: google1368592414d639ea.html
197 KB
Loading
289 KB
Loading

documentation/source/conf.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@
6868
#"nb2plots",
6969
]
7070

71+
# Configure sphinx-copybutton to only copy input lines (with >>> prompts) and strip the prompts
72+
copybutton_prompt_text = r">>> |\.\.\. "
73+
copybutton_prompt_is_regexp = True
74+
# Only copy lines that have prompts (input lines), automatically excluding output
75+
copybutton_only_copy_prompt_lines = True
76+
7177
# Use Python for default highlighting:
7278
highlight_language = "python"
7379

@@ -187,3 +193,5 @@
187193
# "gitlab_repo": "Qrisp Compiler", # Repo name
188194
# "conf_py_path": "/source/", # Path in the checkout to the docs root
189195
# }
196+
197+
html_extra_path = ['_extra'] # copies contents of docs/_extra/ to _build/html/

documentation/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ Key Features
334334
<div class="key-features-text">
335335

336336
**Compatibility** |br|
337-
Compilation results are circuit objects, implying they can be run on a variety of hardware providers such as IBM Quantum, Quantinuum, Rigetti etc. Further circuit processing is possible using circuit optimizers like PyZX.
337+
Compilation results are circuit objects, implying they can be run on a variety of hardware providers such as IQM, IBM Quantum, Quantinuum, Rigetti etc. Further circuit processing is possible using circuit optimizers like PyZX.
338338

339339
.. raw:: html
340340

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.. _CKS:
2+
3+
Childs-Kothari-Somma (CKS)
4+
==========================
5+
6+
.. currentmodule:: qrisp.cks
7+
.. autofunction:: CKS
8+
9+
Circuit construction
10+
--------------------
11+
12+
.. autosummary::
13+
:toctree: generated/
14+
15+
inner_CKS
16+
17+
18+
Miscellaneous
19+
-------------
20+
21+
.. autosummary::
22+
:toctree: generated/
23+
24+
CKS_parameters
25+
cheb_coefficients
26+
unary_prep
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
qrisp.cks.CKS\_parameters
2+
=========================
3+
4+
.. currentmodule:: qrisp.cks
5+
6+
.. autofunction:: CKS_parameters

0 commit comments

Comments
 (0)