qiskit.quantum_info.StabilizerTable.insert¶
-
StabilizerTable.
insert
(ind, value, qubit=False)[source]¶ Insert stabilizers’s into the table.
When inserting qubit columns, qubit-0 is the right-most (largest index) column, and qubit-(N-1) is the left-most (0 index) column of the underlying
X
andZ
arrays.- Parameters
ind (int) – index to insert at.
value (StabilizerTable) – values to insert.
qubit (bool) – if True delete qubit columns, otherwise delete Pauli rows (Default: False).
- Returns
the resulting table with the entries inserted.
- Return type
- Raises
QiskitError – if the insertion index is invalid.