Skip to content

Commit 5632bd0

Browse files
committed
delete me
1 parent deb3fbf commit 5632bd0

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.github/workflows/Test-CI-daily-notebooks-algorithms.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
id: list-files
3636
run: |
3737
shopt -s globstar
38-
echo "files=$(echo algorithms/**/*.ipynb)" >> $GITHUB_OUTPUT
38+
echo "files=algorithms/bernstein_vazirani/bernstein_vazirani.ipynb algorithms/deutsch_jozsa/deutsch_jozsa.ipynb algorithms/swap_test/swap_test.ipynb" >> $GITHUB_OUTPUT
39+
# echo "files=$(echo algorithms/**/*.ipynb)" >> $GITHUB_OUTPUT
3940
4041
# Run Notebook Tests
4142
- name: Run Notebooks

algorithms/bernstein_vazirani/bernstein_vazirani.qmod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
qperm bv_predicate(a: int, const x: qbit[], res: qbit) {
21
repeat (i: x.len) {
32
if ((floor(a / (2 ** i)) % 2) == 1) {
43
CX(x[i], res);

algorithms/deutsch_jozsa/simple_deutsch_jozsa.qmod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
qfunc deutsch_jozsa(predicate: qfunc (qnum, qbit), x: qnum) {
21
within {
32
hadamard_transform(x);
43
} apply {

tests/notebooks/test_bernstein_vazirani.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
@wrap_testbook("bernstein_vazirani", timeout_seconds=30)
99
def test_notebook(tb: TestbookNotebookClient) -> None:
10+
x = y
1011
# test quantum programs
1112
validate_quantum_program_size(
1213
tb.ref_pydantic("qprog"),

0 commit comments

Comments
 (0)