Skip to content

Commit

Permalink
Fix unit test that is breaking CI (#672)
Browse files Browse the repository at this point in the history
* Fix unit test that is breaking CI

* Workaround no such kernel python3
  • Loading branch information
woodsp-ibm authored Aug 16, 2023
1 parent c3a783c commit 583e5ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ jobs:
- uses: ./.github/actions/install-machine-learning
- name: Install Dependencies
run: |
pip install jupyter
pip install torchvision
sudo apt-get install -y pandoc graphviz
shell: bash
Expand Down
3 changes: 2 additions & 1 deletion test/neural_networks/test_circuit_qnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
from qiskit.circuit import QuantumCircuit, Parameter
from qiskit.circuit.library import RealAmplitudes, ZZFeatureMap
from qiskit.utils import QuantumInstance, algorithm_globals, optionals
from qiskit.compiler.transpiler import PassManagerConfig, level_1_pass_manager, level_2_pass_manager
from qiskit.providers.fake_provider import FakeToronto
from qiskit.transpiler import PassManagerConfig
from qiskit.transpiler.preset_passmanagers import level_1_pass_manager, level_2_pass_manager

from qiskit_machine_learning import QiskitMachineLearningError
from qiskit_machine_learning.neural_networks import CircuitQNN
Expand Down

0 comments on commit 583e5ef

Please sign in to comment.