diff --git a/docs/how_tos/assign_parameters_using_trainable_kernel.ipynb b/docs/how_tos/assign_parameters_using_trainable_kernel.ipynb index cdd360b..badc695 100644 --- a/docs/how_tos/assign_parameters_using_trainable_kernel.ipynb +++ b/docs/how_tos/assign_parameters_using_trainable_kernel.ipynb @@ -380,10 +380,10 @@ } ], "source": [ - "import qiskit.tools.jupyter\n", - "\n", - "%qiskit_version_table\n", - "%qiskit_copyright" + "#import qiskit.tools.jupyter\n", + "#\n", + "#%qiskit_version_table\n", + "#%qiskit_copyright" ] } ], diff --git a/docs/how_tos/create_custom_kernel_loss_function.ipynb b/docs/how_tos/create_custom_kernel_loss_function.ipynb index 9df886e..906b713 100644 --- a/docs/how_tos/create_custom_kernel_loss_function.ipynb +++ b/docs/how_tos/create_custom_kernel_loss_function.ipynb @@ -241,10 +241,10 @@ } ], "source": [ - "import qiskit.tools.jupyter\n", - "\n", - "%qiskit_version_table\n", - "%qiskit_copyright" + "#import qiskit.tools.jupyter\n", + "#\n", + "#%qiskit_version_table\n", + "#%qiskit_copyright" ] } ], diff --git a/docs/how_tos/create_custom_quantum_feature_map.ipynb b/docs/how_tos/create_custom_quantum_feature_map.ipynb index a91bb77..f5f6c59 100644 --- a/docs/how_tos/create_custom_quantum_feature_map.ipynb +++ b/docs/how_tos/create_custom_quantum_feature_map.ipynb @@ -372,10 +372,10 @@ } ], "source": [ - "import qiskit.tools.jupyter\n", - "\n", - "%qiskit_version_table\n", - "%qiskit_copyright" + "#import qiskit.tools.jupyter\n", + "#\n", + "#%qiskit_version_table\n", + "#%qiskit_copyright" ] } ], diff --git a/docs/how_tos/train_kernels_using_qiskit_feature_maps.ipynb b/docs/how_tos/train_kernels_using_qiskit_feature_maps.ipynb index 3918f5b..f123b84 100644 --- a/docs/how_tos/train_kernels_using_qiskit_feature_maps.ipynb +++ b/docs/how_tos/train_kernels_using_qiskit_feature_maps.ipynb @@ -291,10 +291,10 @@ } ], "source": [ - "import qiskit.tools.jupyter\n", - "\n", - "%qiskit_version_table\n", - "%qiskit_copyright" + "#import qiskit.tools.jupyter\n", + "#\n", + "#%qiskit_version_table\n", + "#%qiskit_copyright" ] } ], diff --git a/docs/tutorials/kernel_optimization_using_qkt.ipynb b/docs/tutorials/kernel_optimization_using_qkt.ipynb index fd95598..01e643b 100644 --- a/docs/tutorials/kernel_optimization_using_qkt.ipynb +++ b/docs/tutorials/kernel_optimization_using_qkt.ipynb @@ -50,9 +50,8 @@ "%matplotlib inline\n", "\n", "# Qiskit imports\n", - "from qiskit import BasicAer\n", "from qiskit.visualization import circuit_drawer\n", - "from qiskit.algorithms.optimizers import SPSA\n", + "from qiskit_algorithms.optimizers import SPSA\n", "from qiskit_machine_learning.kernels import TrainableFidelityQuantumKernel\n", "from qiskit_machine_learning.kernels.algorithms import QuantumKernelTrainer\n", "from qiskit_machine_learning.algorithms import QSVC\n", @@ -386,10 +385,10 @@ } ], "source": [ - "import qiskit.tools.jupyter\n", - "\n", - "%qiskit_version_table\n", - "%qiskit_copyright" + "#import qiskit.tools.jupyter\n", + "#\n", + "#%qiskit_version_table\n", + "#%qiskit_copyright" ] } ], diff --git a/requirements.txt b/requirements.txt index e290cd5..cbf6a12 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ certifi>=2021.10.8 matplotlib>=3.4.3 pandas>=1.3.4 -qiskit-aer>=0.12.0 -qiskit-terra>=0.24.0 -qiskit-machine-learning>=0.5.0 +qiskit>=0.46.0, <2 +qiskit-algorithms>=0.3.0 +qiskit-machine-learning>=0.7.0 ipywidgets>=7.7.1