0
$\begingroup$

I am trying to perform OTOC for my 7 qubit protocol. I need to carefully control and use only 7 qubits but after making measurement in the 16 qubit Melbourne system (ibmq_16_melbourne) my protocol gets transpiled in all of the 16 qubits.

Is there any way (some codes in qiskit) to use only 7 qubits of the 16 qubits in IBMQ Melbourne, so that it uses only 7 qubits which I have used in the protocol for transpiling and measurement and not more? Or is there any other quantum computer available on which I can do this?

$\endgroup$

1 Answer 1

1
$\begingroup$

The transpiler always expands the input circuits to the size of the target device. This is different than saying you are using all the qubits. This tutorial may be of help: Using the Transpiler

It shows you how to visually check which qubits you are using on a device

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.