diff --git a/.cudaq_version b/.cudaq_version index 2f72737c..48532830 100644 --- a/.cudaq_version +++ b/.cudaq_version @@ -1,6 +1,6 @@ { "cudaq": { "repository": "NVIDIA/cuda-quantum", - "ref": "0f62e02317482d276e072f800f0808107df18998" + "ref": "ba4632a0558310cd1464636144a9898e57d6b4b8" } } diff --git a/libs/qec/unittests/realtime/app_examples/CMakeLists.txt b/libs/qec/unittests/realtime/app_examples/CMakeLists.txt index 3ebb2b60..801234f6 100644 --- a/libs/qec/unittests/realtime/app_examples/CMakeLists.txt +++ b/libs/qec/unittests/realtime/app_examples/CMakeLists.txt @@ -364,15 +364,4 @@ add_surface_code_test( # End of surface code 3, --target quantinuum --emulate #------------------------------------------------------------------------------# -# Disable tests that are known to fail for now. (PYTHON-REFACTOR) -set_tests_properties(app_examples.py-surface_code-1-test PROPERTIES DISABLED TRUE) -set_tests_properties(app_examples.surface_code-1-quantinuum-emulate-test-distance-3-in-process PROPERTIES DISABLED TRUE) -set_tests_properties(app_examples.surface_code-1-quantinuum-emulate-test-distance-5-in-process PROPERTIES DISABLED TRUE) -set_tests_properties(app_examples.surface_code-2-quantinuum-emulate-test-distance-3-in-process PROPERTIES DISABLED TRUE) -set_tests_properties(app_examples.surface_code-2-quantinuum-emulate-test-distance-5-in-process PROPERTIES DISABLED TRUE) -set_tests_properties(app_examples.surface_code-3-quantinuum-emulate-test-in-process-dist-3-prep0-err-0.010 PROPERTIES DISABLED TRUE) -set_tests_properties(app_examples.surface_code-3-quantinuum-emulate-test-in-process-dist-3-prepp-err-0.010 PROPERTIES DISABLED TRUE) -set_tests_properties(app_examples.surface_code-3-quantinuum-emulate-test-in-process-dist-5-prep0-err-0.010 PROPERTIES DISABLED TRUE) -set_tests_properties(app_examples.surface_code-3-quantinuum-emulate-test-in-process-dist-5-prepp-err-0.010 PROPERTIES DISABLED TRUE) - diff --git a/scripts/ci/test_examples.sh b/scripts/ci/test_examples.sh index 38e3d985..dc262019 100755 --- a/scripts/ci/test_examples.sh +++ b/scripts/ci/test_examples.sh @@ -25,26 +25,8 @@ echo "----------------------------------" # List to track failed tests FAILED_TESTS=() -# Skip list (PYTHON-REFACTOR): known failing examples until Python refactor is done -# - custom_repetition_code_fine_grain_noise.py: wrong number of arguments provided -# - my_steane_test.py: arity of kernel stabilizer does not match number of arguments provided -# - adapt_h2.py: wrong number of arguments provided -# - uccsd_vqe.py: unknown function call (CompilerError) -skip_python_test() { - case "$1" in - *custom_repetition_code_fine_grain_noise.py) return 0 ;; - *) return 1 ;; - esac -} - run_python_test() { local file=$1 - if skip_python_test "$file"; then - echo "Skipping Python example (PYTHON-REFACTOR): $file" - echo "------------------------------" - echo "" - return - fi echo "Running Python example: $file" echo "------------------------------" python3 "$file" diff --git a/scripts/ci/test_wheels.sh b/scripts/ci/test_wheels.sh index 614709b0..4d4c159c 100644 --- a/scripts/ci/test_wheels.sh +++ b/scripts/ci/test_wheels.sh @@ -137,18 +137,6 @@ ${python} -m pytest -v -s libs/solvers/python/tests/test_gqe.py # ====================================== echo "Testing libraries with examples" -# Skip list (PYTHON-REFACTOR): known failing examples until Python refactor is done -# - custom_repetition_code_fine_grain_noise.py: wrong number of arguments provided -# - my_steane_test.py: arity of kernel stabilizer does not match number of arguments provided -# - adapt_h2.py: wrong number of arguments provided -# - uccsd_vqe.py: unknown function call (CompilerError) -skip_python_test() { - case "$1" in - *custom_repetition_code_fine_grain_noise.py) return 0 ;; - *) return 1 ;; - esac -} - # Install stim for AMD platform for tensor network decoder examples if echo $platform | grep -qi "amd64"; then echo "Installing stim and beliefmatching for AMD64 platform" @@ -160,10 +148,6 @@ for domain in "solvers" "qec"; do cd examples/${domain}/python shopt -s nullglob # don't throw errors if no Python files exist for f in *.py; do - if skip_python_test "$f"; then - echo "Skipping Python example (PYTHON-REFACTOR): $f" - continue - fi echo Testing $f... ${python} $f res=$?