You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I hope you are doing well. I wonder to know the exact function of discard() in example 2-4.
In the cheatsheet it is written:
qc.discard()
Removes a specified qubit from the QPU. Can be used as a method on the qc object or a QInt object. If called without an argument then discards all qubits associated with the parent object.
my question is why do we remove all qubits we just allocated?
The text was updated successfully, but these errors were encountered:
Hello, I hope you are doing well. I wonder to know the exact function of discard() in example 2-4.
In the cheatsheet it is written:
qc.discard()
Removes a specified qubit from the QPU. Can be used as a method on the qc object or a QInt object. If called without an argument then discards all qubits associated with the parent object.
my question is why do we remove all qubits we just allocated?
The text was updated successfully, but these errors were encountered: