Questions tagged [qiskit]

Quantum computing framework for writing programs and applications

Qiskit is an open-source software development kit (SDK) for working with quantum computers at the level of circuits, pulses, and algorithms.

237 questions
0
votes
1 answer

while creating a quantum circuit I came across this dilemma, which circuit is better for binary operator

what are the advantages and disadvantages between 8 qbit register and 8 single qbit register? suppose someone created quantum register with 8 qbit and another person created 8 registers with single qbit init. what is the difference between these…
0
votes
5 answers

qiskit plots not showing up in spyder console

System Informations Qiskit version: 0.17.0 Python version: 3.7.7 Operating system: Windows 10 home x64 What is the current behavior? I am using spyder 4.1.1 on Anaconda and any time I try to plot data it does not show up. The code runs with no…
tinjinkin
  • 3
  • 2
0
votes
1 answer

Is there an anti-control gate in Qiskit?

I started play with the Qiskit, and can't find an anti-control not there. By "anti-control" I mean the gate is executed only for these states of the superposition, where control qubit is in the Zero state. It's annoying to use a code…
Oxoron
  • 664
  • 1
  • 7
  • 26
0
votes
1 answer

Is there any limit to execute a quantum circuit?

I am trying to build an optimization for a machine learning quantum circuit, so I need to call several times the same circuit. I am using the execute function to compile it, but the quantum function is only called about four times in the same loop…
Sergio
  • 1
0
votes
1 answer

Could I get the detail of error from qiskit

Sometimes, I execute a circuit on the Quantum computing device (ex. ibmq_16_melbourne) and got error like 'Invalid job state. The job should be DONE but it is JobStatus.ERROR'. Could I get the detail of this error, such as the cause of a mistake or…
Cryptice
  • 5
  • 5
0
votes
1 answer

How to print out whole matrix from unitary simulator

On Jupyter Notebook, I had simulated eight qubits quantum's circuit with Unitary_simulator. And then, I would like to print out the whole matrix, but what I get is matrix from unitary simulator. The code that I used is: unitary =…
Cryptice
  • 5
  • 5
0
votes
1 answer

How to connect to IBMQ from Qiskit?

I have a problem with connecting on IBMQ from jupyter, by typing : from qiskit import IBMQ IBMQ.save_account('Token') IBMQ.load_account() i tried many different code but nothing worked. I uninstalled Qiskit, then i reinstall it and it still don't…
Aer
  • 3
  • 1
0
votes
2 answers

What does this quantum circult represent? Please describe what is happening in this circuit

Circuit Diagram Result I am new to Quantum computing and having a really tough time understanding the working of Quantum Logic Gates. So, can anybody please help me with what these gates in the diagram actually do and what this circuit is doing and…
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
1 answer

How to install and import Qiskit_aqua?

I want to run SVM algorithm using Qiskit. For this purpose I need to import some packages from qiskit_aqua.utils. I am writing my code on Google Colaboratory. But while trying to import this package it shows me the following error.…
Protik Nag
  • 511
  • 5
  • 20
0
votes
2 answers

How to make an iterative quantum circuit in Qiskit?

I would like to make a code that is executed iteratively. For example: in a one-qubit system, I would like to make a measurement 100 times in each angle theta = [ 0, ..., 2π] with the circuit as follows. Can we make an iterative code as…
id_zo
  • 1
  • 2
0
votes
1 answer

Pip install qiskit: Command errored out with exit status 255:

I am trying to install Qiskit on elementaryOS juno running Python 3.7, using pip. I even upgraded to the latest pip. I get the following log: Building wheels for collected packages: qiskit Building wheel for qiskit (setup.py) ... error ERROR:…
0
votes
1 answer

qiskit example in Q Experience User Guide doesn't show plot

The Bloch sphere example in the IBM Q Experience user guide should display a plot at the end. When I run the example it does not display the plot. I can draw circuits and other plots inline (in jupyter), but plotting in this one doesn't work for…
John
  • 451
  • 7
  • 17
0
votes
3 answers

No module named 'qiskit'

import numpy as np from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister from qiskit import execute When trying the above code, I am receiving the following error: ModuleNotFoundError Traceback (most recent…
arilwan
  • 3,374
  • 5
  • 26
  • 62
0
votes
1 answer

Unable to insall QISKIT on Fedora

I am trying to install QISKIT on Python3 (following the instruction on their website) on my Fedora 28 system, but the following error is being thrown. I have tried to find a solution and tried everything that people have suggested here. But the…
harshvardhan
  • 765
  • 13
  • 32
1 2 3
15
16