Questions tagged [quantum-computing]

Quantum Computation deals with considering computation as fundamentally physical, as well as replacing the classical binary digit (bit) with the quantum binary digit (qubit). While the classical bit is either 0 or 1, the qubit can be in a superposition of these states. Computation systems that use quantum phenomena, such as superposition and entanglement, can solve certain complex problems very quickly.

Related Links

Quantum Computing on Wikipedia

(Textbook) Quantum Computation and Quantum Information: The de-facto standard textbook for learning about quantum computing.

(Video Series) Quantum computing for the determined: Khan-academy-style videos explaining quantum computation, by Michael Nielson (co-author of Quantum Computation and Quantum Information).

Quantum Computing Q&A site on the Stack Exchange network.

369 questions
1
vote
2 answers

Authentication for "Classiq" quantum computing library failed

I want to solve NP-hard combinatorial optimization problem using quantum optimization.In this regard, I am using "classiq" python library, which a high level API for making hardware compatible quantum circuits, with IBMQ backend. To use "classiq",…
1
vote
1 answer

Calculate an Qobjevo operator of qutip

I define a time-dependent operator in the form of an Qobjevo and pass it to sesolve() to solve for Schrodinger's equation. Below is an MWE. from qutip import * import numpy as np tlist = np.linspace(0, np.pi / 2) H = [ sigmaz(), [sigmax(),…
Neo
  • 1,031
  • 2
  • 11
  • 27
1
vote
1 answer

Reducing circuit initialization complexity

I'm encoding data into a QuantumCircuit via the Initialize method for QFTs. In doing this and transpiling for IonQ backends, I'm getting rather complex circuits. Is there a way to encode this data more efficiently for IonQ backends or a method to…
1
vote
0 answers

How can I avoid segmentation lines in gdspy?

I am trying to draw and simulate a coplanar waveguide resonator. First I draw the design shown below in gdspy, then I perform an electromagnetic simulation using a finite element software. The horizontal lines make the simulation procedure…
1
vote
1 answer

What IBM_Q backend supports Qiskit Pulse?

I was doing an experiment with open pulse on caliberation of a qubit and I stumbled upon this error: Traceback (most recent call last): Input In [73] in frequency_sweep_results = job.result(timeout=120) # timeout parameter set to 120…
Riya
  • 53
  • 4
1
vote
1 answer

Accessing Qubit With DAGCircuit

I'm currently trying to make my own TransformationPass to use when compiling a QuantumCircuit for specific hardware, but I'm struggling to get things to work with the DAGCircuit that gets passed to the run(self, dag) method that gets overridden. My…
1
vote
1 answer

Result and IQArray could not be found

I am following this MS tutorial to add functionality to my Q#/C#host project. However, I get two errors on my operations: The type or namespace name 'Result' could not be found (are you missing a using directive or an assembly reference?)…
Muhy
  • 630
  • 1
  • 6
  • 12
1
vote
0 answers

Defining a non-commutative algebra

I'm new to Mathematica, and I'm trying to learn the ropes. I'm trying to write a little boson algebra engine, with basic useful functions such as non-commutative algebra, normal-ordering and vacuum expectation values. So, for starters I define the…
lbello
  • 11
  • 2
1
vote
1 answer

Execute is not defined in IBM quantum computing lab

I am using IBM's quantum computing lab, and was following a tutorial made by IBM for getting started, and my code is throwing errors. I followed the tutorial exactly. Here is my code: #-----------Cell 1: import numpy as np # Importing standard…
1
vote
2 answers

Plotting Bloch Vectors in Qiskit: " 'Arrow3D' object has no attribute '_path2d' "

I am working through the Qiskit tutorial textbook, and in Section 1.4 ('Single Qubit Gates'), I can't seem to plot vectors on the Bloch Sphere. I am using Google Colab and am importing as: !pip install qiskit !pip install qiskit[visualization] from…
Sam Frank
  • 31
  • 3
1
vote
1 answer

Applying QPE on a large matrix on amazon-braket

I'm running a QPE algorithm on the amazon-braket but it can only apply on a 22 or 44 matrix, when I want to expand it into a 5*5 or more, it will come an error. As I know, there is no theoretical limitation on the size of matrix QPE can solve. Here…
1
vote
1 answer

Hadamard gate returns same result which is different from my expects

I meausred some states after approve hadamard gate. I guess that after measuremnt and because of properties of hadamard gate, The measurement result will always different. But after I checked , the result is always same => After approve hadamard…
Umgee
  • 143
  • 1
  • 1
  • 7
1
vote
1 answer

Custom feature map with complex features in the Qiskit VQC

I am trying to use the VQC in Qiskit and create a custom feature map. To build the feature map I am using from qiskit.circuit the class ParameterVector, but this class does not let me use complex features. Do you know any way I can still use the VQC…
1
vote
1 answer

Deutsch algorithm with NOT gate as oracle

I tried to implement Deutsch algorithm using qiskit. The following is a code. circ = QuantumCircuit(2, 2) # |q_1q_0> circ.x(0) circ.h([0,1]) # Oracle circ.barrier() circ.x(1) circ.barrier() circ.h(0) circ.measure([0,1], [0,1]) backend_sim =…
ksk S
  • 13
  • 2
1
vote
1 answer

Can I get statevector of the experiment result while working with IBM Computers?

I know that working with Aer.get_backend("statevector_simulator") gives me a statevector. I am trying to get the statevector when I worked with the IBM's quantum computers. To explain in the codes; From the code below I can reach the…