Skip to main content

All Questions

1 vote
2 answers
94 views

Error while plotting the resulting distribution

I am using this code, as a test of my qiskit, but I am having errors on using the simulator Building the circuit We begin by importing Qiskit. from qiskit import * ...
Dilma David's user avatar
0 votes
1 answer
224 views

How to implement Shor's 9-Qubit-Code in Qiskit?

I am new to qiskit and currently trying to implement Shor's 9-Qubit_Code. I am trying to orient my code on the example given in the official qiskit-tutorial and so far I have the following: ...
3nondatur's user avatar
  • 173
1 vote
0 answers
39 views

anyone know how to solve the error plz? [closed]

...
juhaina's user avatar
  • 11
5 votes
1 answer
206 views

Where does the "correction" in quantum error correction occur, specifically when using repetition codes?

I'm reading the part of the qiskit textbook that deals with this (https://qiskit.org/textbook/ch-quantum-hardware/error-correction-repetition-code.html) and so far it seems as though they're just ...
John Macintosh's user avatar
2 votes
1 answer
191 views

Qiskit noise model question (from textbook)

I'm reading the chapter Introduction to Quantum Error Correction using Repetition Codes and a code example demonstrates how to add depolarizing and pauli error. I have several questions. Is it not ...
Ahmed Malik's user avatar
3 votes
1 answer
3k views

Keep receiving Error - AttributeError: 'QuantumCircuit' object has no attribute 'save_statevector'

I am attempting to code a feed-forward simulation of a QECC in Qiskit. Qiskit (to my knowledge) does not directly support feed-forward simulation, so I attempted a work-around. I call the simulator ...
MatthewS1990's user avatar
2 votes
1 answer
137 views

QPE Circuit test on Quantum Computer ('ibmq_16_melbourne')

After several atempts, I cannot mitigate the error when running the code on a NISQ, via the qiskit library (more specifically on the 'ibmq_16_melbourne'). I've already mapped the connected qubits and ...
Diogo Gonçalves's user avatar
3 votes
3 answers
252 views

Quantum Error Correction implementation in Qiskit, OpenQASM or other languages based on Python

Where can we find example(s) of implementation code in a programming language of Quantum Error Correction, whether with the standard method of measurement or the automatic method without measurement (...
Bertrand Mercier's user avatar
2 votes
1 answer
352 views

Is it possible to implement c_if statement based on a measurement in a single specified classical bit in qiskit?

I'm trying to write a 1-bit teleportation error correction code and there is one part in it where I need to add a gate that's dependent on a measurement from earlier in the circuit. The measurement ...
Alexa T's user avatar
  • 21
2 votes
1 answer
455 views

How to do error mitigation on the ibmq_16_melbourne?

I'm trying to make a calibration matrix using CompleteMeasFitter as in here on IBMQ Melbourne, but I need to use all 15 qubits, which mean it has to run 32768 calibration circuit, far exceeding the 75 ...
Jack Nathan's user avatar
8 votes
1 answer
526 views

How does measurement calibration work?

One of the possible ways to improve the results of an experiment on the IBM machine using the Qiskit language is to use the measurement calibration methods. This is the link to the documentation. I ...
Marco Ballarin's user avatar
4 votes
1 answer
255 views

How to deal with -LookupError: backend "ibmqx4" is not found?

I am using Jupyter notebook to write and running my qiskit codes (python 3.6) and every time I encounter the message: LookupError: backend "ibmqx4" is not found, right now the ibmqx4 computer is not ...
Daniel Vainshtein's user avatar