qiskit.quantum_info.Pauli.delete¶
- Pauli.delete(qubits)[Quellcode]¶
Return a Pauli with qubits deleted.
- Parameter
qubits (int or list) – qubits to delete from Pauli.
- Rückgabe
the resulting Pauli with the specified qubits removed.
- Rückgabetyp
- Verursacht
QiskitError – if ind is out of bounds for the array size or number of qubits.