About 4,740,000 results
Open links in new tab
  1. 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?

  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 - Decompose a quantum circuit into basis gates - Quantum ...

    Oct 17, 2024 · I am not able to understand how to decompose the quantum circuit into the basis gates. I tried the below code in the latest version of qiskit==1.0 but I realize this approach is …

  4. How to install the qiskit packages and libraries?

    Jan 26, 2024 · We are doing a Quantum computing project using the Qiskit toolkit. But we are struggling to import or install the packages and libraries. In Qiskit how we can import the …

  5. 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 …

  6. How to solve difficult error when downgrading qiskit version?

    Aug 31, 2024 · Following a solution similar to what @mdurant suggested in this question I assumed qiskit version 0.29.0 is only compatible with certain versions of python. So I then …

  7. 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 ...

  8. Discrepancy between answers from different Estimators in qiskit

    May 11, 2024 · After upgrading to qiskit 1.0.0, I tried using different estimators: estimatorv2, qiskit-aer estimator and default primitive estimator. But I get different expectation values with each of …

  9. 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!

  10. qiskit - How to transpile a quantum circuit using the $\ {H,T,CNOT ...

    from qiskit.transpiler.passes.synthesis import SolovayKitaev skd = SolovayKitaev() discretized = skd(qc_transpiled) The result will be Note: according to the documentation, …