About 3,940,000 results
Open links in new tab
  1. Qiskit | ImportError: cannot import name 'Aer' from 'qiskit'

    Apr 8, 2024 · While installing and tried to import Aer, I get an error. !pip install qiskit import numpy as np from qiskit import QuantumCircuit, Aer, transpile, assemble from ...

  2. programming - How does the c_if instruction work in Qiskit?

    Sep 1, 2022 · The c_if instruction can be used to make the result of a measurement saved to a classical register adjust whether a gate is or is not performed. How does the c_if instruction …

  3. Qiskit: measure_all() or measure() - Quantum Computing Stack …

    Dec 13, 2022 · Qiskit has qiskit.circuit.QuantumCircuit.measure_all() and qiskit.circuit.QuantumCircuit.measure(). Why would you use one over another?

  4. Unable to import execute function from qiskit library

    The issue was due to qiskit 1.0 removing execute from its library and I had to downgrade to version 0.46 version. I appreciate your input!

  5. Execute is not defined in IBM quantum computing lab

    Jan 3, 2022 · You did not import execute from qiskit. Change from qiskit import QuantumCircuit, transpile, Aer, IBMQ to from qiskit import QuantumCircuit, transpile, Aer, IBMQ, execute

  6. qiskit - Multi-control multi-target gate - Quantum Computing …

    How can we use qiskit to create a multi-control-multi-target gate such that, for example, the control qubit index is [1] and target qubit indices are [3, 4]? Or control indices are [0, 1] and …

  7. python - why ModuleNotFoundError: No module named …

    May 23, 2024 · 12 from qiskit_machine_learning.neural_networks import OpflowQNN 13 ModuleNotFoundError: No module named 'qiskit.opflow' NOTE: If your import is failing due to …

  8. Error importing Qiskit Aer when running Qiskit - Stack Overflow

    Mar 14, 2024 · The qiskit.Aer object is not available in Qiskit 1.0. Instead, use the same object from the qiskit_aer namespace, which is a drop-in replacement. So first let's try to install or …

  9. qiskit - Is there a way to use a fake backend for ibm_brisbane ...

    Feb 28, 2024 · backend_sim = qiskit_dynamics.DynamicsBackend.from_backend(backend, subsystem_list=[0, 1]) Here is a way to simulate circuits on 'fake_brisbane', while the …

  10. PYTHON: Qiskit library import - Stack Overflow

    Apr 10, 2024 · I'm trying to implement old code on qiskit whose imports start with from qiskit import QuantumRegister, ClassicalRegister, QuantumCircuit from qiskit import BasicAer, …