-
Notifications
You must be signed in to change notification settings - Fork 621
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added type hints to QNode public functions (#6084)
**Description of the Change:** - Added `Literal` type `SUPPORTED_INTERFACE_USER_INPUTS` to `execution.py` and use that to populate the `INTERFACE_MAP` through the `get_args` method. - Added `SUPPORTED_DIFF_METHODS` `Literal` type in the `QNode` file. - Added type hints for the rest of the arguments. [[sc-66109](https://app.shortcut.com/xanaduai/story/66109)] --------- Co-authored-by: Mudit Pandey <[email protected]> Co-authored-by: Christina Lee <[email protected]>
- Loading branch information
1 parent
9af4c37
commit afd8433
Showing
3 changed files
with
94 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters