We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06ab599 commit 0ebf6aaCopy full SHA for 0ebf6aa
tests/notebooks/test_QAOA_in_QAOA_Classiq_execution.py
@@ -0,0 +1,22 @@
1
+from tests.utils_for_testbook import (
2
+ validate_quantum_program_size,
3
+ validate_quantum_model,
4
+ wrap_testbook,
5
+)
6
+from testbook.client import TestbookNotebookClient
7
+
8
9
+@wrap_testbook("QAOA_in_QAOA_Classiq_execution", timeout_seconds=60)
10
+def test_notebook(tb: TestbookNotebookClient) -> None:
11
+ # test models
12
+ validate_quantum_model(tb.ref("qmod"))
13
+ # test quantum programs
14
+ validate_quantum_program_size(
15
+ tb.ref_pydantic("qprog"),
16
+ expected_width=None,
17
+ expected_depth=None,
18
+ expected_cx_count=None,
19
+ )
20
21
+ # test notebook content
22
+ pass # Todo
0 commit comments