Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cudaq_version
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"cudaq": {
"repository": "NVIDIA/cuda-quantum",
"ref": "0f62e02317482d276e072f800f0808107df18998"
"ref": "ba4632a0558310cd1464636144a9898e57d6b4b8"
}
}
11 changes: 0 additions & 11 deletions libs/qec/unittests/realtime/app_examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)


18 changes: 0 additions & 18 deletions scripts/ci/test_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
16 changes: 0 additions & 16 deletions scripts/ci/test_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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=$?
Expand Down
Loading