seemps.analysis.space.Space#
- class seemps.analysis.space.Space[source]#
Bases:
objectCoordinate grid class.
Class to encode the definition space of a discretized multidimensional function.
- Parameters:
- qubits_per_dimension
list[int] Number of qubits for each dimension.
- L
Sequence[tuple[Real,Real]] Position space intervals (a_i,b_i) for each dimension i.
- closedbool
If closed is True, the position space intervals are closed (symmetrically defined). If False, the interval is open. (defaults to True).
- order
MPSOrder,default= “A” The order in which sites are organized. Default is “A” (sequential).
- qubits_per_dimension
- change_qubits(new_qubits_per_dimension: list[int]) Space[source]#
Creates a new Space object with increased resolution based on the new qubits per dimension.
- enlarge_dimension(dim: int, amount: int) Space[source]#
Enlarges the specified dimension by adding more qubits to one dimension.
- extend(op: _Operator, dim: int) _Operator[source]#
Extends an MPO acting on a 1D space to a multi-dimensional MPS.
- Parameters:
- op
MPO The MPO to extend.
- dim
int The dimension to extend along.
- op
- Returns:
MPOThe extended multi-dimensional MPO.