Is there a way to specify or retrieve the number of shots from a qiskit StatevectorEstimator?
In Qiskit 1.2, Sampler and Estimator objects are getting phased out. When trying to replace them with the newest StatevectorSampler and StatevectorEstimator, StatevectorSampler cause no issues but the transition to StatevectorEstimator is not seamless.
Qiskit Grover search with QasmSimulator
I’m working through a Qiskit tutorial on Grover search. Unfortunately it was published in 2023 and the tutorial’s version of Qiskit (earlier than v1.00) is now out of date. I tried to rewrite the code in section “More Than One Marked Element” using Qiskit v1.0.2 with some success:
Platform for running Quantum Machine Learning codes using Qiskit library [closed]
Closed 4 days ago.
Difference among simulator, sampler and estimator
In Qiskit, there are several methods to execute a quantum circuit and get measurement results in a local environment, including simulators (such as AerSimulator, QasmSimulator, Statevector, and fake series), samplers, and estimators.
cannot import name ‘execute’ from ‘qiskit’
I’m new to quantum computing and am currently working on building a quantum multiplication calculator. I’ve installed all the necessary packages, but I’m still encountering an ImportError. Here are the details:
Error on running with layout_method=”trivial” on qiskit 1.1.0
The layout_method=”trivial” which is one of the parameter for the pass manager is always providing a errored result even on statevector simulator.
Getting error while Setting up to use IBM Quantum Platform
IBMNotAuthorizedError: ‘401 Client Error: Unauthorized for url: https://auth.quantum-computing.ibm.com/api/users/loginWithToken. Login failed., Error code: 3446.’
How to run Qiskit Finance Portfolio Optimization on real quantum backend?
I followed the https://qiskit-community.github.io/qiskit-finance/tutorials/01_portfolio_optimization.html to solve the portfolio optimization problem with Qiskit Finance. However I can’t figure out, how to specify the real quantum backend from the IBM Quantum Platform. I tried to specify the backend like this but it doesn’t work. Anyone an idea?
How to convert each of the pure states ||0011⟩,||1100⟩,||0101⟩ each to ||1111⟩ using qiskit
Design a quantum circuit with 4 input bits ????0,????1,????2,????3 such that it “marks” the amplitudes corresponding to the states ||????0????1????2????3⟩∈{||0011⟩,||1100⟩,||0101⟩}
TypeError: transpile() got an unexpected keyword argument ‘shots’
Given this code: