Skip to content

Commit 6d63d9c

Browse files
adam-grofeAdam Grofe
and
Adam Grofe
authored
Remove driver check (#674)
Co-authored-by: Adam Grofe <[email protected]>
1 parent 5798eb4 commit 6d63d9c

File tree

1 file changed

+1
-5
lines changed
  • azure-quantum/azure/quantum/target/microsoft/elements/dft

1 file changed

+1
-5
lines changed

azure-quantum/azure/quantum/target/microsoft/elements/dft/target.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,6 @@ def _sanity_check_params(self, input_params, mol):
240240
# Check Model params
241241
self._check_dict_for_required_keys(input_params['model'], 'input_params["model"]', ['method', 'basis'])
242242

243-
supported_drivers = ['energy', 'gradient', 'hessian', 'go', 'bomd']
244-
if input_params['driver'] not in supported_drivers:
245-
raise ValueError(f"Driver ({input_params['driver']}) is not supported. Please use one of {supported_drivers}.")
246-
247243

248244
@classmethod
249245
def _check_dict_for_required_keys(self, input_params: dict, dict_name: str, required_keys: list[str]):
@@ -317,4 +313,4 @@ def _create_table_of_contents(cls, input_files: List[str], input_blobs: List[str
317313
return {
318314
"description": "This files contains the mapping between the xyz file name that were submitted and the qcschema blobs that are used for the calculation.",
319315
"tableOfContents": toc,
320-
}
316+
}

0 commit comments

Comments
 (0)