Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Description This pull request addresses two minor typing issues: * `MatrixFactoryGate.controlled` did not use the same parameter name as the `controlled` method of the `Gate` protocol. * One of the decomposition rules tried to access the `num_control_qubits` attributes of a gate without ensuring that the gate is of type `ControlledGate`. ## Please verify that you have completed the following steps - [x] I have self-reviewed my code. - [ ] I have included test cases validating introduced feature/fix. - [ ] I have updated documentation.
- Loading branch information