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

Is there a Qiskit function that allows you to see what qubit/quantum register said gate is attached to?

I am trying to find a way to know what named qubit/quantum register a quantum gate (i.e. labelled Pauli-X gate) would be attached to. The documentation does not have a function nor example that informs me of how to go about doing this. The picture…
0
votes
0 answers

Why I get different phases with jupyter and quantum composer?

First I made the circuit in jupyter notebook and ran it. Then I did the same thing in the IBM Quantum Composer, but I got different phases. Circuit in jupyter notebook Results in jupyter notebook Circuit and results in Quantum Composer For the…
0
votes
1 answer

Difference between different Quantum states with the same result

What is the practical and theoretical difference is between these 3 states, which ultimately produce the same output result. Could you tell me some examples of different results obtained starting from these 3 states and doing the same operations…
Davide Cavallini
  • 216
  • 4
  • 15
0
votes
0 answers

Are the qubits in Qiskit Explorer Interface always initialized to the |0> state?

I'm trying to replicate a Bell state through a circuit in Qiskit. I created the circuit described below: from qiskit import QuantumRegister, ClassicalRegister, QuantumCircuit from numpy import pi qreg_q = QuantumRegister(2, 'q') creg_c =…
0
votes
1 answer

How to decide bias in Hamiltonian Ising model? python

I am trying to code finance portfolio optimisation problem into a quantum annealer, using the Hamiltonian Ising model. I am using the dwave module neal.sampler.SimulatedAnnealingSampler.sample_ising I was wondering how one gets to decide what the…
Liza Darwesh
  • 401
  • 1
  • 3
  • 20
0
votes
0 answers

Can't we enforce a limited number of attempts to prevent quantum computing from cracking our RSA encryption in the future? Or am I missing something?

It is often said that quantum computing could eventually be the end of modern encryption, and data security companies will eventually need to discover and implement quantum safe encryption. But can't a company just set limits on how many password…
0
votes
1 answer

How to solve TSP problem with more than 3 nodes in the tutorial of Max-Cut and Traveling Salesman Problem Qiskit 0.24.0?

I had to try the example of qiskit’s Traveling Salesman Problem with 3 nodes and executing it at IBM backend called simulator_statevector.Can execute and get the result normally. But when trying to solve the TSP problem with more than 3 nodes,I…
Snogry
  • 1
  • 3
0
votes
0 answers

What's the complexity of 3-SAT algorithm on a quantum machine?

I know that 3-SAT problem is NP-Complete but 'they say' it can be run quit faster on a quantum machine. Could you explain what kind of performance is possible to gain using quantum computers?
asmbaty
  • 436
  • 2
  • 11
0
votes
2 answers

Quantum Computing Basics

I am studying quantum computing and created the circuit below: Qiskit Quantum Circuit In such a circuit, should q2 be at the probability of 25%? Because the Toffoli gate has 2 control inputs that haven't been collapsed yet. So the inputs could be…
0
votes
0 answers

Qiskit: how can you use a different state for each shot in a quantum circuit?

I am trying to run a quantum circuit many times, each time using a different random state - a single qubit i.e. |\psi>= a|0> + b|1> with different a and b. Once each qubit has gone through the circuit, I am saving the state vector of the final…
e.deacon
  • 1
  • 1
0
votes
2 answers

Return two numbers in Q Sharp (Q#) (Quantum Development Kit)

So, basically, I did the tutorial to create a random number on the website of Microsoft Azure and now I am trying to add some functionalities, including their suggestion add a minimum number. The initial code to generate just one number, max, is: …
NiHaoLiHai
  • 23
  • 1
  • 8
0
votes
1 answer

qbit collapse before Quantum Teleportation

I have been tweaking with quantum teleportation in python qiskit. One extra thing that I have done in the following diagram is the measurement of q330 at the very beggining. I am doing this because I wanted to see if the measurement is always same…
Sayan Dey
  • 771
  • 6
  • 13
0
votes
1 answer

Importing only specific variable from different file to current file

I have 2 files on the same folder alice.py and bob.py. These are the program I wrote: #alice.py import random import numpy as np from numpy.random import randint equal_to = {"upl":"u_plus", "EPR":"u_minus", "vpl":"v_plus",…
0
votes
0 answers

IBM Quantum computer code keeps running job after job

I'm using qiskit for my University research project but whenever I send a job to run on IBM's Quantum experience, it'll wait in the queue, run, obtain results (in the form of a histogram) but instead of moving to the next part of the code (analyzing…
0
votes
2 answers

ModuleNotFoundError: No module named 'tensorflow_quantum'

I'm using Python 3.8(64-bit) Basically, I tried every possible solution on the internet like update the python version and tensorflow version etc. But when I try to do this: import tensorflow_quantum as tfq terminal always say: Traceback (most…