# Z2Symmetries¶

class Z2Symmetries(symmetries, sq_paulis, sq_list, tapering_values=None)[source]

Bases : object

Z2 Symmetries

Paramètres
• symmetries (list[Pauli]) – the list of Pauli objects representing the Z_2 symmetries

• sq_paulis (list[Pauli]) – the list of single - qubit Pauli objects to construct the Clifford operators

• sq_list (list[int]) – the list of support of the single-qubit Pauli objects used to build the Clifford operators

• tapering_values (list[int], optional) – values determines the sector.

Lève

AquaError – Invalid paulis

Methods

 consistent_tapering Tapering the operator with the same manner of how this tapered operator is created. copy Get a copy of self. find_Z2_symmetries Finds Z2 Pauli-type symmetries of an Operator. is_empty Check the z2_symmetries is empty or not. taper Taper an operator based on the z2_symmetries info and sector defined by tapering_values. two_qubit_reduction Eliminates the central and last qubit in a list of Pauli that has diagonal operators (Z,I) at those positions

Attributes

cliffords

Get clifford operators, build based on symmetries and single-qubit X.

Renvoie

a list of unitaries used to diagonalize the Hamiltonian.

Type renvoyé

list[WeightedPauliOperator]

sq_list

returns sq list

sq_paulis

returns sq paulis

symmetries

return symmetries

tapering_values

returns tapering values