Korean
언어
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.PauliTable.delete

PauliTable.delete(ind, qubit=False)[소스]

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 and Z 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.

반환 형식

PauliTable

예외 발생

QiskitError – if ind is out of bounds for the array size or number of qubits.