qiskit.quantum_info.PauliTable.delete¶
- PauliTable.delete(ind, qubit=False)[source]¶
Return a copy with Pauli rows deleted from table.
When deleting qubits the qubit index is the same as the column index of the underlying
X
andZ
arrays.- প্যারামিটার
ind (int or list) -- index(es) to delete.
qubit (bool) -- if True delete qubit columns, otherwise delete Pauli rows (Default: False).
- রিটার্নস
the resulting table with the entries removed.
- রিটার্ন টাইপ
- রেইজেস
QiskitError -- if ind is out of bounds for the array size or number of qubits.