Mapping of Floret-Pentagon structures (varipeps.mapping.florett_pentagon)
- class varipeps.mapping.florett_pentagon.Florett_Pentagon_Expectation_Value(black_gates: Sequence[Array], green_gates: Sequence[Array], blue_gates: Sequence[Array], real_d: int, normalization_factor: int = 9, is_spiral_peps: bool = False, spiral_unitary_operator: Array | None = None)
Bases:
Expectation_ModelClass to calculate expectation values for a mapped Florett Pentagon structure.
Structure of the floret-pentagon lattice with the smallest possible unit cell
Structure of the floret-pentagon lattice with the bond types marked in color
- Parameters:
black_gates (sequence of
jax.numpy.ndarray) – Sequence with the gates that should be applied to the bonds marked in black in the image above.green_gates (sequence of
jax.numpy.ndarray) – Sequence with the gates that should be applied to the bonds marked in green in the image above.blue_gates (sequence of
jax.numpy.ndarray) – Sequence with the gates that should be applied to the bonds marked in blue in the image above.real_d (
int) – Physical dimension of a single site before mapping.normalization_factor (
int, optional) – Factor which should be used to normalize the calculated values. Likely will be 9 for the a single layer structure.Default:9is_spiral_peps (
bool, optional) – Flag if the expectation value is for a spiral iPEPS ansatz.Default:Falsespiral_unitary_operator (
jax.numpy.ndarray, optional) – Operator used to generate unitary for spiral iPEPS ansatz. Required if spiral iPEPS ansatz is used.Default:None- __call__(peps_tensors: Sequence[Array], unitcell: PEPS_Unit_Cell, spiral_vectors: Array | Sequence[Array] | None = None, *, normalize_by_size: bool = True, only_unique: bool = True, return_single_gate_results: bool = False) Array | List[Array]
Calculate the expectation value for PEPS unitcell depending on the gates set in the class.
- Parameters:
peps_tensors (sequence of
jax.numpy.ndarray) – The sequence of unique PEPS tensors in the unitcell.unitcell (
PEPS_Unit_Cell) – The PEPS unitcell.spiral_vectors (single or sequence of
jax.numpy.ndarray, optional) – If the expectation value is for a spiral iPEPS ansatz, in this argument the wavevectors are expected.Default:None- Keyword Arguments: