StabilizerTable.delete¶
- StabilizerTable.delete(ind, qubit=False)[source]¶
Return a copy with Stabilizer rows deleted from table.
When deleting qubit columns, qubit-0 is the right-most (largest index) column, and qubit-(N-1) is the left-most (0 index) column of the underlying
X
andZ
arrays.- Parameters
ind (int or list) – index(es) to delete.
qubit (bool) – if True delete qubit columns, otherwise delete Stabilizer rows (Default: False).
- Returns
the resulting table with the entries removed.
- Return type
- Raises
QiskitError – if ind is out of bounds for the array size or number of qubits.