New answers tagged

0

As answered on slack, this is not currently possible.


2

You can't edit using python in the circuit composer. You can edit the OpenQASM which can be found on the left-hand side of the composer. If you would like to use Qiskit, this is also available through the Q Experience, you need to click on the Jupyter Notebooks. Here you can create circuits of your own, or modify the given examples.


2

The Q-Object not valid error you received is caused by the amount of shots you set. The max shots allowed is 8192. Since the amount of shots you set (16384) is greater than the max amount of shots allowed, you get that error. The TranspilerError is caused by the second format for layout. When I tested your code with the second layout, I received this error ...


0

You are correct that IBMQuantumExperience is a deprecated library. Anything you wanted to use IBMQuantumExperience to do you can now do through qiskit-ibmq-provider. To answer your main question, the credit system is being removed in the future, so there is currently no way to check your remaining credits. The feature used to be in the old IBM Q Experience ...


1

When you measure, you choose a bit where the result should go. If you measure to the same bit multiple times, then the results of all but the last will not be recorded. To get the results you want, you'll need to declare more bits. For example, you could use a couple of two-bit classical registers: one for the first pair of bits, and the other for the ...


2

Unfortunately this is not currently possible on the IBM devices. What you should really do is only have four classical channels and send your first two measurements to the first two classical channels, and the second two measurements to the second two classical channels. You then only execute the circuit once. However, you can try this and it still won't ...


1

The file editor only uploads, downloads and displays .ipynb files. However, you can create additional files using notebooks. To see that they are there, you can use the sys package. You won't be able to import from local .py files, but you can open them as a text file and do something like eval their contents as a workaround.


4

The function that handles this is transpile(), which could be found in qiskit.compiler. When you call transpile(circuit, backend) it goes through the compilation process for the input circuit based on the backend you provide. It returns a new circuit that will be valid to run on the provided backend. You can then view this new circuit just like you would ...


Top 50 recent answers are included