|
41 | 41 | # note that these notebooks are still tested in dev_tools/notebook_test.py
|
42 | 42 | # Please, always indicate in comments the feature used for easier bookkeeping.
|
43 | 43 |
|
44 |
| -NOTEBOOKS_DEPENDING_ON_UNRELEASED_FEATURES: List[str] = [ |
45 |
| - # Requires OpenQASM 3.0 support from cirq 1.5 |
46 |
| - 'docs/build/interop.ipynb', |
47 |
| - # Requires features in cirq 1.5. |
48 |
| - 'docs/build/classical_control.ipynb', |
49 |
| -] |
| 44 | +NOTEBOOKS_DEPENDING_ON_UNRELEASED_FEATURES: List[str] = [] |
50 | 45 |
|
51 | 46 | # By default all notebooks should be tested, however, this list contains exceptions to the rule
|
52 | 47 | # please always add a reason for skipping.
|
53 | 48 | SKIP_NOTEBOOKS = [
|
54 | 49 | # skipping vendor notebooks as we don't have auth sorted out
|
55 |
| - "**/aqt/*.ipynb", |
56 |
| - "**/azure-quantum/*.ipynb", |
57 |
| - "**/google/*.ipynb", |
58 |
| - "**/ionq/*.ipynb", |
59 |
| - "**/pasqal/*.ipynb", |
60 |
| - # Rigetti uses local simulation with docker, so should work |
61 |
| - # if you run into issues locally, run |
62 |
| - # `docker compose -f cirq-rigetti/docker-compose.test.yaml up` |
63 |
| - "**/rigetti/*.ipynb", |
64 |
| - # skipping fidelity estimation due to |
65 |
| - # https://github.com/quantumlib/Cirq/issues/3502 |
66 |
| - "examples/*fidelity*", |
| 50 | + '**/aqt/*.ipynb', |
| 51 | + '**/azure-quantum/*.ipynb', |
| 52 | + '**/ionq/*.ipynb', |
| 53 | + '**/pasqal/*.ipynb', |
| 54 | + '**/rigetti/*.ipynb', |
67 | 55 | # skipping quantum utility simulation (too large)
|
68 | 56 | 'examples/advanced/*quantum_utility*',
|
69 |
| - # Also skipping stabilizer code testing. |
70 |
| - "examples/*stabilizer_code*", |
71 |
| - # get_qcs_objects_for_notebook |
| 57 | + # tutorials that use QCS and arent skipped due to one or more cleared output cells |
| 58 | + 'docs/tutorials/google/identifying_hardware_changes.ipynb', |
| 59 | + 'docs/tutorials/google/echoes.ipynb', |
72 | 60 | 'docs/noise/qcvv/xeb_calibration_example.ipynb',
|
73 |
| - # An intentionally empty/template code notebook. |
74 |
| - "docs/simulate/qvm_builder_code.ipynb", |
75 |
| - *NOTEBOOKS_DEPENDING_ON_UNRELEASED_FEATURES, |
| 61 | + # temporary: need to fix QVM metrics and device spec |
| 62 | + 'docs/tutorials/google/spin_echoes.ipynb', |
| 63 | + 'docs/tutorials/google/visualizing_calibration_metrics.ipynb', |
| 64 | +] |
| 65 | +SKIP_NOTEBOOKS += [ |
| 66 | + # notebooks that import the examples module which is not installed with cirq |
| 67 | + 'examples/direct_fidelity_estimation.ipynb', |
| 68 | + 'examples/stabilizer_code.ipynb', |
76 | 69 | ]
|
| 70 | +SKIP_NOTEBOOKS += NOTEBOOKS_DEPENDING_ON_UNRELEASED_FEATURES |
77 | 71 |
|
78 | 72 | # As these notebooks run in an isolated env, we want to minimize dependencies that are
|
79 | 73 | # installed. We assume colab packages (feel free to add dependencies here that appear in colab, as
|
|
0 commit comments