Skip to content

Commit

Permalink
[minor] updated to fully handle not having qiskit
Browse files Browse the repository at this point in the history
  • Loading branch information
01110011011101010110010001101111 committed Nov 24, 2023
1 parent beef182 commit 12a552a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/example_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ jobs:
python3 examples/amplitude_encoding_mnist/mnist_new.py --epochs 1
python3 examples/amplitude_encoding_mnist/mnist_example.py --epochs 1
python3 examples/PauliSumOp/pauli_sum_op.py
python3 examples/regression/new_run_regression.py --epochs 1
5 changes: 2 additions & 3 deletions examples/regression/new_run_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,12 +305,11 @@ def main():
model.set_qiskit_processor(processor_simulation)
valid_test(dataflow, q_device, "test", model, device, qiskit=True)

# final valid
valid_test(dataflow, q_device, "valid", model, device, True)
except:
pass

# final valid
valid_test(dataflow, q_device, "valid", model, device, True)


if __name__ == "__main__":
main()

0 comments on commit 12a552a

Please sign in to comment.