Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.PauliList.insert

PauliList.insert(ind, value, qubit=False)[source]

Insert Paulis into the table.

When inserting qubits the qubit index is the same as the column index of the underlying X and Z arrays.

প্যারামিটার
  • ind (int) -- index to insert at.

  • value (PauliList) -- values to insert.

  • qubit (bool) -- if True insert qubit columns, otherwise insert Pauli rows (Default: False).

রিটার্নস

the resulting table with the entries inserted.

রিটার্ন টাইপ

PauliList

রেইজেস

QiskitError -- if the insertion index is invalid.