<!--
Before opening a pull request, please open an issue describing the problem or feature the pull request will adress. You can follow the steps in CONTRIBUTING.rst. in case of any doubts regarding the process.

Replace this comment with a description of the change.
-->

<!--
Link to relevant issue(s). Use "fixes" to automatically close an issue.
-->

- fixes #<issue number>

<!--
Make sure to complete each step bellow and add "x" to each box.

If only docs were changed, these aren't relevant and can be removed.
-->

Checklist:

- [ ] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
- [ ] Add or update relevant docs, in the docs folder and in code.
- [ ] Add an entry in `CHANGELOG.rst`, summarizing the change and linking to the issue.
- [ ] Run `pre-commit` hooks and fix any issues.
- [ ] Run `pytest` and make sure  no tests failed.
