fulqrum.ramps.ramps_restricted_simple¶
- ramps_restricted_simple(QubitOperator H, Subspace target_subspace, double target_energy, Subspace restricted_subspace, unsigned int max_recursion=3, double tol=1e-14)¶
RAMPS restricted to an existing subspace when targeting a single bit-string and associated energy.
- Parameters:
H (QubitOperator) – Hamiltonian
target_subspace (Subspace) – Target subspace to expand around
target_energy (double) – Target energy from target subspace
restricted_subspace (Subspace) – Subspace to restrict search in
max_recursion (int) – Optional, maximum number of recursions to perform, default=3
tol (double) – Optional, tolerance value for truncation, default=1e-14
- Returns:
RAMPS refined subspace
- Return type: