Unanswered Questions
2,382 questions with no upvoted or accepted answers
-1
votes
0
answers
23
views
How to rewrite the code using qiskit tools instead of pennylane
Here's the code for qGAN, that creates 3 qubit circuit (setting first one for fixed angle). Also, creates a generator and discriminator that chooses two-wire different layer structure. Then, defining ...
-1
votes
1
answer
61
views
How to introduce error to the stim circuit exported from Crumble
I am not successful to add a noise model to the circuit that I created in Crumble and transferred into STIM with stim.Circuit(''' .... '''), without adding them by hand.
I see the examples of stim....
-1
votes
1
answer
72
views
Why Won't My Visualize_Transition Work Anymore?
I recently downgraded my qiskit from 1.1.1 to 0.46.2, and ever since then, my visualize_transition will not work. It worked perfectly before, and now it has a very long error message that I can't ...
-1
votes
1
answer
34
views
How to add command `noise_model = get_noise ( 0.05,0.05 )` to my simulator in qiskit
I'm using qiskit online, and want to run my simulator with the following command:
noise_model = get_noise ( 0.05,0.05 )
However, where previously I could insert lines of code to affect my circuit, I ...
-1
votes
1
answer
47
views
Transpiled circuit with optimization level 3 error in IBMbackend.run() method. (Key Error 16, 22)
when I try to use the method backend.run() with a transpiled circuit with optimization level 1-3 an error occurs.
My code:
When I don't specify any optimization level it works. The backend.name is ...
-1
votes
2
answers
504
views
Instruction h is not supported
I'm new at quantum computing and I'm trying to run a script with IBM quantum. I'm using brisbane and getting that error "Instruction h is not supported". I get the same error for cx gate as ...
-1
votes
1
answer
124
views
In Qiskit, no state vector after measure and reset
The code below doesn't work. I am looking for a workaround.
OK, I can save the state vector as numpy array, recreate the whole circuit and initialize it thanks to this array. It works, but any simpler ...
-1
votes
1
answer
163
views
What is Gate time of single and multi qubit?
How much quantum gate need time do computation in superconducting quantum computer. For all types of single and multi qubit gate.
-1
votes
1
answer
781
views
ImportError qiskit_ibm_runtime
When I try to import qiskit_ibm_runtime I get the following error:
...
-1
votes
1
answer
231
views
Unable to instantiate provider for research account locally
When I run IBMQ.load_account(). I have the error information:
...
-1
votes
1
answer
215
views
4-cities traveling salesman quantum algorithm (QUBO)
A quantum version of the traveling salesman algorithm is discussed here:
There is a reference to QUBO, Ising, and some matrix constructions,
and the output in the end:
Is anyone able to run through ...
-5
votes
1
answer
60
views
qml.device error
I am having an error when calling the device:
...