We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38765a8 commit 7278b05Copy full SHA for 7278b05
tests/notebooks/test_adapt_vqe.py
@@ -0,0 +1,19 @@
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("adapt_vqe", timeout_seconds=1800)
10
+def test_notebook(tb: TestbookNotebookClient) -> None:
11
+ # test quantum programs
12
+ validate_quantum_program_size(
13
+ tb.ref_pydantic("qprog"),
14
+ expected_width=8, # actual expected width: 4
15
+ expected_depth=50, # actual expected depth: 26
16
+ )
17
18
+ # test notebook content
19
+ pass # Todo
0 commit comments