2
$\begingroup$

How do I find out how many physical-qubits I'm using when I run my program in an IBM Q backend quantum computing system?

$\endgroup$

1 Answer 1

1
$\begingroup$

When you wrote your Qiskit program you had to specify how large your quantum register was or you put qubits in your quantum register as you wrote the program in your code. That's how many qubits you are using. You can also use the len function on the Quantum Register to check it's size. Another way is to print the quantum circuit or call the draw() function and you will get a picture of the quantum circuit, this will show you how many qubits you are using.

$\endgroup$
1
  • $\begingroup$ Hi, Amara. Welcome to Quantum Computing SE! Please review How do I format my posts using Markdown or HTML?. \textit{text} is a MathJax construct; there's no need to use that for italicizing text. Use Markdown instead i.e. *text* or _text_. $\endgroup$ Commented Apr 1, 2019 at 13:20

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.