Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

Legacy Operators

qiskit.aqua.operators.legacy

These are the Operators provided by Aqua up until the 0.6 release. These are being replaced by the operator flow function and we encourage you to use this.

Note

At some future time this legacy operator logic will be deprecated and removed.

Legacy Operators

LegacyBaseOperatorOperators relevant for quantum applications.
WeightedPauliOperatorWeighted Pauli Operator
TPBGroupedWeightedPauliOperatorTPB Grouped Weighted Pauli Operator
MatrixOperatorOperators relevant for quantum applications

Legacy Operator support

evolution_instructionConstruct the evolution circuit according to the supplied specification.
suzuki_expansion_slice_pauli_listCompute the list of pauli terms for a single slice of the suzuki expansion following the paper https://arxiv.org/pdf/quant-ph/0508139.pdf(opens in a new tab).
pauli_measurementAdd the proper post-rotation gate on the circuit.
measure_pauli_zAppropriate post-rotations on the state are assumed.
covarianceCompute the covariance matrix element between two Paulis, given the measurement outcome.
row_echelon_F2Computes the row Echelon form of a binary matrix on the binary finite field
kernel_F2Computes the kernel of a binary matrix on the binary finite field
commutatorCompute commutator of op_a and op_b or the symmetric double commutator of op_a, op_b and op_c.
check_commutativityCheck the (anti-)commutativity between two operators.
PauliGraphPauli Graph.
Z2SymmetriesZ2 Symmetries
Was this page helpful?
Report a bug or request content on GitHub.