Spanish
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

Z2Symmetries

class Z2Symmetries(symmetries, sq_paulis, sq_list, tapering_values=None, tol=1e-14)[fuente]

Bases: object

Z2 Symmetries

Parámetros
  • 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 (Optional[List[int]]) – values determines the sector.

  • tol (float) – Tolerance threshold for ignoring real and complex parts of a coefficient.

Muestra

OpflowError – Invalid paulis

Methods Defined Here

consistent_tapering

Tapering the operator with the same manner of how this tapered operator is created.

convert_clifford

This method operates the first part of the tapering.

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.

taper_clifford

This method operates the second part of the tapering.

Attributes

cliffords

Get clifford operators, build based on symmetries and single-qubit X. :rtype: List[PauliSumOp] :returns: a list of unitaries used to diagonalize the Hamiltonian.

settings

Return operator settings.

Tipo del valor devuelto

Dict

sq_list

returns sq list

sq_paulis

returns sq paulis

symmetries

return symmetries

tapering_values

returns tapering values

tol

Tolerance threshold for ignoring real and complex parts of a coefficient.