Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Check if input to model can be None by default #19

Closed
stroblme opened this issue Aug 15, 2024 · 1 comment
Closed

[FR] Check if input to model can be None by default #19

stroblme opened this issue Aug 15, 2024 · 1 comment
Labels
enhancement New feature or request question Further information is requested
Milestone

Comments

@stroblme
Copy link
Member

Is your feature request related to a problem? Please describe.
The model implementation can handle None inputs which would allow this argument being optional.
However, this could interfere with e.g. the coefficient calculation as pennylane searches for non-kwargs when looking for inputs or parameters.

Describe the solution you'd like
It would be nice to have input being None as default as in multiple cases, this would simplify calls to the model.

Describe alternatives you've considered
Keep as is.

Additional context
N/A

@stroblme stroblme added enhancement New feature or request question Further information is requested labels Aug 15, 2024
@stroblme stroblme added this to the Release 0.2. milestone Sep 4, 2024
@stroblme
Copy link
Member Author

solved with #58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant