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
2
votes
3 answers

How much I should know in Computer Science to work with Quantum Computing

I browsed some books about quantum computers and there is some concepts from computer science (for example, Turing machine) except quantum physics and mathematics. So, if I want to study quantum computing what I should know from computer science? Is…
revolstit
  • 21
  • 2
2
votes
1 answer

Would quantum computers affect the C++ language?

The advent of quantum computers could still be decades from now. Nevertheless, because software gets incredibly complex these days, it would be good to know if C++, one of the most used programming languages to develop such software, is able to…
Desmond Hume
  • 8,037
  • 14
  • 65
  • 112
1
vote
1 answer

Operator "measure" in QCL (Quantum Computing Language)

It's been a while since I got into QCL but I ran into some difficulties by trying to figure out the functioning of measure regX or measure regX,m. What does this do on the quantum registers? And the m integer?
mkll
  • 41
  • 9
1
vote
4 answers

How do I implement a set of qubits on my computer?

I would like to get familiar with quantum computing basics. A good way to get familiar with it would be writing very basic virtual quantum computer machines. From what I can understand of it, the, effort of implementing a single qubit cannot simply…
Pico
  • 593
  • 1
  • 5
  • 15
1
vote
0 answers

How to Calculate the Quantum Cost of Qiskit Circuit

I want to calculate the Quantum cost of this qiskit circuit, e.g as i know x-gate has the cost 1 and there are 4 x-gate so quantum cost for x-gate will be 4. What about ccx gate? How can i calculate its cost.? circuit.x(qr[1]) …
1
vote
0 answers

Wrong function picked during compilation

I think this is a duplicated question as it is plenty of examples where users experience the picking of wrong function with the same name and different arguments by the compiler, but I am using an extarnal library that I am not allowed to modify, so…
francler
  • 21
  • 2
1
vote
1 answer

Is there a way to force Qristal SDK to use available NVIDIA GPUs by default?

I've been using the 1.0 release of the Qristal SDK via the Docker image, and have successfully run some circuits. I'm not sure if it is using the available GPUs however, and I'm not sure how to check this. Can I force it at runtime, or control in…
Tim Meta
  • 13
  • 3
1
vote
1 answer

Calculating CHSH inequality violation in a two-qubit system with projective measurements

Suppose a two-qubit system is in the state |Φ⟩ = (|00⟩ + |11⟩ )/ √2. Consider projective measurements with outcome ±1. Calculate the maximal violation of the CHSH inequality and find the measurement setting that can result the maximal violation. I…
ustcfy
  • 23
  • 2
1
vote
1 answer

Resolving deprecation warnings of Qiskit's `QuantumInstance`

This code finds the solution to the Max-Cut problem for a given graph using both classical and quantum algorithms. The Max-Cut problem is a well-known problem in computer science and combinatorial optimization, which seeks to divide the vertices of…
PapaGhost
  • 13
  • 4
1
vote
0 answers

Quantum Fourier Transformation Qiskit implementation

I tried to work the Qiskit implementation using python3 AttributeError: 'QuantumCircuit' object has no attribute 'cu1' is the error message import matplotlib.pyplot as plt %matplotlib inline import numpy as np from math import pi from qiskit import…
1
vote
3 answers

ModuleNotFoundError: No module named 'qiskit.chemistry'

Ive been trying to solve this issue but this line is causing me trouble from qiskit.chemistry.core import Hamiltonian, TransformationType I know that i have to use qiskit nature instead of qiskit chemistry but i dont know to what i have to migrade…
1
vote
1 answer

Commutator algebra in SymPy

I am solving a commutator algebra in SymPy with the Hamiltonian from sympy import* a=Operator("a") ad=Dagger(a) b=Operator("b") bd=Dagger(b) H= ad*a + bd*b Is there any way I can define commutation relations such as…
1
vote
1 answer

"base64-encoded little-endian doubles" in java

I am currently trying to use java to create requests for the DWave solvers. At the moment I am trying to wrap my head around the JSON-encoding part. Especially how the parameters of the problem are to be transmitted. The description just…
1
vote
1 answer

In Grover's Algorithm, is there a way to find 2-3 solutions with only 2 qubits?

I am currently learning grover's algorithm on qiskit(https://qiskit.org/textbook/ch-algorithms/grover.html). I notice that in the example of 2 qubits, we are looking for only one solution(|11>). Is there a way to modify the circuit so that we can…
Jokermania
  • 47
  • 1
  • 6
1
vote
1 answer

Error during Quantum Espresso configuration

During configuration QE and when writing make all, I got the following error: From https://github.com/Reference-LAPACK/lapack * branch 12d825396fcef1e0a1b27be9f119f9e554621e55 -> FETCH_HEAD error: The following untracked working…
Derive D1
  • 25
  • 4