diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 09d3d5430..cdda451ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/test/neural_networks/test_circuit_qnn.py b/test/neural_networks/test_circuit_qnn.py index b8a9e26ff..7d7927928 100644 --- a/test/neural_networks/test_circuit_qnn.py +++ b/test/neural_networks/test_circuit_qnn.py @@ -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