Z2Symmetries¶
-
class
Z2Symmetries
(symmetries, sq_paulis, sq_list, tapering_values=None)[source]¶ Bases:
object
Z2 Symmetries
- Parameters
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.
- Raises
AquaError – Invalid paulis
Methods
Tapering the operator with the same manner of how this tapered operator is created.
Get a copy of self.
Finds Z2 Pauli-type symmetries of an Operator.
Check the z2_symmetries is empty or not.
Taper an operator based on the z2_symmetries info and sector defined by tapering_values.
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.
- Returns
a list of unitaries used to diagonalize the Hamiltonian.
- Return type
list[WeightedPauliOperator]
-
sq_list
¶ returns sq list
-
sq_paulis
¶ returns sq paulis
-
symmetries
¶ return symmetries
-
tapering_values
¶ returns tapering values