qrisp.QuantumArray.delete#

QuantumArray.delete(verify=False)[source]#

Performs the delete method on all QuantumVariables in this array.

Parameters:
verifybool, optional

If this keyword is set to true, a simulator is queried to check if the deleted qubits are in the \(\ket{0}\) state. The default is False.