qiskit.quantum_info.Pauli.delete¶
- Pauli.delete(qubits)[código fonte]¶
Return a Pauli with qubits deleted.
- Parâmetros
qubits (int or list) – qubits to delete from Pauli.
- Retorno
the resulting Pauli with the specified qubits removed.
- Tipo de retorno
- Levanta
QiskitError – if ind is out of bounds for the array size or number of qubits.