Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.PauliTable.insert

PauliTable.insert(ind, value, qubit=False)[fuente]

Insert Pauli’s into the table.

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

Parámetros
  • ind (int) – index to insert at.

  • value (PauliTable) – values to insert.

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

Devuelve

the resulting table with the entries inserted.

Tipo del valor devuelto

PauliTable

Muestra

QiskitError – if the insertion index is invalid.