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

Unexpected keyword argument 'noise_model'

The following code throws an error. Based on some issues that I read on qiskit github, it seems that it has something do with run configs vs. compile configs but I could not find any other info that will help me resolve this issue. from qiskit…
quantum_random
  • 458
  • 2
  • 7
0
votes
2 answers

Questions regarding the dimension initialization of multiple numpy arrays within a single numpy array

Given that we have 3 Pauli matrices, each with dimension (2x2). As shown below: X = np.array([[0, 1], [1, 0]], dtype=complex) Y = np.array([[0, -1j], [1j, 0]], dtype=complex) Z = np.array([[1, 0], [0, -1]], dtype=complex) Now if I put these each…
0
votes
1 answer

Why am I getting "TypeError" for Device function in pennylane?

I am doing basic coding for rotation of qubit as given in the Xanadu Pennylane tutorial. I have installed pennylane and tried running the code but I am getting TypeError. I also tried with dir(qml) This gave me a list of built-in functions in qml…
0
votes
0 answers

How to install QCL in Windows in order to implement Grover's algorithm?

I installed QCL and could run it from command prompt but I couldn't import files. Please help me with the tutorials too if possible. Also let me know how to write codes in editor and compile it.
0
votes
1 answer

ProjectQ- In which part of the controlled gate object are the control bits scored

I've been trying to decompose the projectQ objects and I could manage to decompose non controlled gates, and daggered gates. But I noticed that the object of a controlled version of a gate is the exact same as the object of that gate. The code…
Reda Drissi
  • 1,532
  • 3
  • 20
  • 32
0
votes
0 answers

Gradient Descent huge loss function

I'm facing a non-binary classification problem of this form: Input: 2-dimensional vector (x,y) with -1 < x < 1, -1 < y < 1. Output: 4-dimensional vector (p_0, p_1, p_2, p_3), where 0 < p_i < 1, and sum(p_i) <= 1 (of course, i = 0,...,3). The…
0
votes
0 answers

Pointer to related research (papers)

Recently, I was reading a paper (arXiv:1804.03719 [cs.ET]), which had the following quote (the most relevant part has been bolded), Quantum algorithms are often grouped into number-theory-based, oracle- based, and quantum simulation algorithms, …
Arthur-1
  • 265
  • 1
  • 7
0
votes
1 answer

QDK file not found error in LiH Simulation

I am on MacOS. While "dotnet run" on unmodified version of "LithiumHydrideGUI" I am getting the following unhandled exception as File Not Found for …
0
votes
1 answer

How to simulate Grover's Algorithm in quantum computing?

If I want to write a program to simulate Grover's algorithm, how could I write the oracle for it? If I already know the result, why should I use the search?
David Chan
  • 641
  • 1
  • 7
  • 10
0
votes
1 answer

on qutip is it possible to transform a state to vector?

If I build a state from qutip import Bloch,basis state=(basis(2,0)+(0+1j)*basis(2,1)).unit() can I trasform it in a bloch-sphere vector? In this form: state -> vec=np.array
A.A.
  • 1
  • 3
0
votes
2 answers

Unable to load DLL 'Microsoft.Quantum.Simulator.Runtime.dll' (CentOS 7)

I am trying to get Microsoft's Quantum Development Kit to work on a CentOS 7 machine. I followed the instructions for installing dotnet, and the trivial dotnet 'Hello World' works. I also installed Visual Studio from yum and installed the Microsoft…
irritable_phd_syndrome
  • 4,631
  • 3
  • 32
  • 60
0
votes
1 answer

Frameworks/API that uses quantum computer?

Are there any framework that allows to create software or apps that uses the quantum computer, asides from Q#?
Daniel Mana
  • 9,451
  • 13
  • 29
  • 41
0
votes
1 answer

Implementing Steane [[7, 1, 3]] Code In (Microsoft) Liquid

I am trying to implement some quantum error correcting codes in Liquid (please correct the tag if need be), and I thought I'd start by reproducing the Steane7 class discussed in the User's Manual here starting on page 55 (page 56 of the pdf). I have…
esabo
  • 35
  • 3
0
votes
1 answer

Microsoft Q# output to WPF or Windows Form

It is possible to interface a Q# class with a Windows Form or a WPF? The examples Microsoft provide in their Quantum Development Tool Kit seem only to interface with a Console.
0
votes
2 answers

Jupyter notebook always gives BrokenProcessPool error while executing qiskit code

defining function for toffoli gate: def toffoli(qc,i1,i2,i3): qc.h(i3) qc.cx(i2,i3) qc.tdg(i3) qc.cx(i1,i3) qc.t(i3) qc.cx(i2,i3) qc.tdg(i3) qc.cx(i1,i3) qc.t(i3) qc.tdg(i2) qc.cx(i1,i2) qc.h(i3) qc.tdg(i2) qc.cx(i1,i2) qc.t(i1) qc.s(i2) …