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
1 answer

Observe the expectation values of seperate qubits in OpflowQNN (Qiskit machine learning)

I create an instance of a OpflowQNN with the following: qnn = OpflowQNN(operator=~StateFn(Z ^ Z ^ I ^ I) @ StateFn(circuit), input_params=input_params, weight_params=weights, …
majoran
  • 21
  • 3
1
vote
1 answer

Calculate the time dependence expectation value of a quantum operator with tensorflow

I'm trying to calculate the expectation value of a quantum operator in function of time. I obtained yes the states for every istance t_l = tf.constant( np.linspace(0, 4 / gam_q, 1000, dtype = np.complex128) ) dt = t_l[1] - t_l[0] H_t =…
1
vote
1 answer

Why does drawing a qiskit quantum circuit look different when I run a jupyter notebook locally

I'm using the qiskit textbook, and it creates a QuantumCircuit and then draws the circuit, and it looks like this: I see the same result when running the textbook as a jupyter notebook in IBM's quantum lab. However, when I download the textbook as…
RustyToms
  • 7,600
  • 1
  • 27
  • 36
1
vote
2 answers

Error installing Quipper - cannot build quipper-utils-0.9.0.0 (Couldn't match type 'Maybe TH.Exp' with 'TH.Exp')

Trying to install Quipper (quantum programming language for Haskell), it throws a compilation error: My build profile: -w ghc-9.0.1 -O1 Preprocessing library for quipper-utils-0.9.0.0.. Building library for quipper-utils-0.9.0.0.. ... [11 of 15]…
1
vote
0 answers

Re-implement a QuTip function without the need for the QuTip toolbox

Is there a way to implement this function that is part of QuTip functions ( Quantum Toolbox in Python) without the need for installing QuTip? def destroy(N, offset=0): if not isinstance(N, (int, np.integer)): # raise error if N not integer …
Bekaso
  • 135
  • 5
1
vote
1 answer

Where was Qiskit-Textbook downloaded?

I've installed Qiskit-textbook by pip install git+https://github.com/qiskit-community/qiskit-textbook.git#subdirectory=qiskit-textbook-src. But I don't know where is it downloaded
1
vote
0 answers

Quantum Hardware For Silq

Does Silq gives access to quantum computers and simulators? In the way that Qiskit and Amazon Braket provide access to real quantum computers.
Agnij Moitra
  • 87
  • 1
  • 11
1
vote
0 answers

Remove for loops in favor of vectorization in Python

I am new to Python and have seen some articles and examples of vectorizing nested for loops, but I am unclear on how to go about that with some FDTD code that I wrote. The goal is to make the code cleaner and run more efficiently. Can someone help…
1
vote
0 answers

Amazon Braket Token Exception

I am attempting to run a job on Amazon Braket via the integrated Jupyter Notebooks, but I'm receiving an "ExpiredTokenException when calling GetQuantumTask operation" upon attempts to submit the job. Would anyone have any guidance on how to fix…
1
vote
0 answers

Is it possible to use Grover's Search Algorithm on an Array in Node.js?

I have an array, and am wondering if using Grover's search algorithm would work on it. Is this possible to do in Node.js? Would I use something like quantum-circuit to achieve this goal? Thanks.
divinelemon
  • 1,925
  • 2
  • 23
1
vote
1 answer

Distance Estimation Using Quantum Computer

I did a small benchmarking to compare quantum version of algorithm to its classical version, and I found that quantum computing taking so much time in comparison to classical version. I don't understand why its happening, it should be either similar…
1
vote
1 answer

How could you use Q# within Unity?

I was wondering how one would go about using Q# within Unity. I want to endow agents within a Unity simulation with quantum-like behavior, and I was wondering whether it was possible. I've seen reference to adding a managed .dll in \Assets\Plugins…
d4d3bru
  • 11
  • 1
1
vote
2 answers

Why can't I create a Q#create project on VisualStudio Code with QDK || ISSUE :command "'quantum.newProject' failed.)"

help regarding the issue below would be really appreciated : Command 'Q#: Create new project...' resulted in an error (Running the contributed command: 'quantum.newProject' failed.) I was trying to follow this exercice :…
1
vote
1 answer

Applications of Grover's algorithm in machine learning

I am trying to see applications of grover's algorithm. I have seen it can be applied in the DNA sequence alignment. I was wondering where in machine learning (deep learning, NLP and reinforcement learning) can i use the grover's algorithm.
1
vote
1 answer

How is a Unitary matrix a permutation?- Quantum pattern matching

I'm reading a paper on quantum pattern matching and here it talks about a unitary matrix U which represents the oracle that flips a state's amplitude as a permutation over the computational basis. See page 3 right side fourth paragraph under…