### Jupyter notebook always gives BrokenProcessPool error while executing qiskit code

defining function for toffoli gate: def...

defining function for toffoli gate: def...

I've created a new virtual environment in Anaconda and installed several packages using pip (namely, numpy, scipy, matplotlib, qiskit and maybe 1 or 2 more). I open the interpreter and try to...

import numpy as np from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister from qiskit import execute When trying the above code, I am receiving the following...

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 ...

So I understand some of the basic ideas with setting up a quantum program . . . libraries, classical logic feeding to a quantum API, all that. I even get that there are quantum operations you...

I am reading this paper and trying to implement a quantum circuit it has provided in Figure 11. I want to code this circuit using Qiskit. The circuit I am trying to implement is attached. I have...

I am writing a code for Quantum teleportation, but I don't know how to solve this error 'No backend matches the criteria' Here is a code: circuit.measure(2,2) simulator =...

I am trying to implement the quantum teleportation protocol from the qiskit textbook in qiskit: I start with q_0 bit = 1 and I expect that q_3 = 1 at the end but it does not work. from qiskit...

I work on theory tasks in quantum computing, and make simple experiments with Qiskit. Unfortunately, I can't find a way how to make a complex control gates there, where control is in the quantum...

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...

I am working on Cirq and need to perform certain unitary operations on qubits. For that, I am using the MatrixGate() function in Cirq. Unlike Qiskit, I could not find any function like decompose...

I successfully installed and ran a couple of circuits on a backend the other day (essex). Everything was ok, results came up, but the next day, once I wanted more QC, I could not manage to get a...

IÂ´m using Python 3 and IÂ´m working in jupyter, when I try to import qiskit the following error is...

I'm trying to install Qiskit and am coming across an error: **************************************************************** *** WARNING: BLAS library not found. * You can include the BLAS library...

Windows 10 Anaconda Python 3.7 pip 20.1.1 I trid to install qiskit on Anaconda Prompt: pip install qiskit and it reports error while builidng wheels for cvxpy, scs, ecos: Building Wheels for...

I tried to plot a Bloch vector. However, my Bloch sphere is appearing as an ellipse/oval instead of a circle. I am having the same issues with qsphere also.Jupyter notebook on my Mac(Safari) from...

I'm trying to install qiskit on Win10. I typed in my admin cmd : pip install qiskit It goes just fine for terra, ignis, and aqua. However, I have a C compiler problem when installing aer. Here's...

This is the inverse quantum Fourier transform. What changes do I have to do to obtain the quantum Fourier transform (not the inverse)? Is this in the right path at all? How would I encode values...

I've installed the qiskit_textbook package in Anaconda on Windows 10 using pip install git+https://github.com/qiskit-community/qiskit-textbook.git#subdirectory=qiskit-textbook-src from the...

I am using colab for qiskit and even after installing pylatexenc using pip this still comes as an error, I also used !pip.Here's the full pic

I tried to run Pennylane on Colab, so I install it first. But the "Installed devices" are null, what's going on? I have restart and rebuilt for several times. Here is my code. !pip install...

I'm learning how to use qiskit and I'm using the jupyter notebook, but everytime I try to visualize the circuit with the attribute draw I get this error: import qiskit from qiskit import * from...

I have a GitHub action setup to run pytest. This worked a month or so ago, but now suddenly I get the following error: ==================================== ERRORS...

The regular Matrix representation of a CNOT gate as found in literature is: CNOT = \begin{bmatrix} 1 & 0 & 0 & 0\\ 0 & 1 & 0 & 0\\ 0 & 0 & 0 & 1\\ 0 & 0 & 1 &...

I ran this from qiskit import QuantumCircuit, execute, Aer from qiskit.visualization import plot_histogram and got the below...

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...

I am working on a program for Qiskit, but I am getting a strange error (one that I have not gotten in the past) when I try to simulate a circuit. Here is a minimal example producing the...

I create an instance of a OpflowQNN with the following: qnn = OpflowQNN(operator=~StateFn(Z ^ Z ^ I ^ I) @ StateFn(circuit), input_params=input_params, ...

Whenever I import qiskit, I get the following error. Anyone know why? ImportError: dlopen(/opt/anaconda3/lib/python3.8/site-packages/tweedledum/_tweedledum.cpython-38-darwin.so, 2): Symbol not...

I started using Qiskit with their official tutorial (Sezon 1) and I got a few bugs with the same code, at the beginning I just had to install pylatexenc but then I had "module 'qiskit.circuit' has...