fulqrum.ramps.ramps_open¶
- ramps_open(Hsub, Subspace target_subspace, double target_energy, unsigned int max_recursion=1, double tol=1e-12)¶
Unrestricted RAMPS around the input target subspace.
The resultant subspace will be the target subspace with addtional bit-strings added that perturbatively affect the energy more than the tolerance value
- Parameters:
Hsub (SubspaceHamiltonian) – Hamiltonian
target_subspace (Subspace) – Target subspace to expand around
target_energy (double) – Target energy from target subspace
max_recursion (int) – Optional, maximum number of recursions to perform, default=1
tol (double) – Optional, tolerance value for truncation, default=1e-12
- Returns:
RAMPS constructed subspace
- Return type: