[X] Make sure you've read the documentation. Your issue may be addressed there.
[X] Search the issue tracker to verify that this hasn't already been reported. +1 or comment there if it has.
[ ] If possible, make a PR with a failing test to give us a starting point to work on!
Describe the bug
The following should produce a "not yet implemented" style error instead of successfully running. Circuit synthesis from a density matrix is not yet supported, but this code inserts a rotation gate into the kernel set to the parameter value of 0.0. This is confusing if you don't inspect the kernel closely to see that the kernel still remains identity.
Required prerequisites
Describe the bug
The following should produce a "not yet implemented" style error instead of successfully running. Circuit synthesis from a density matrix is not yet supported, but this code inserts a rotation gate into the kernel set to the parameter value of 0.0. This is confusing if you don't inspect the kernel closely to see that the kernel still remains identity.
Steps to reproduce the bug
Produces the kernel
Expected behavior
Need a runtime error.
Is this a regression? If it is, put the last known working version (or commit) here.
Not a regression
Environment
Suggestions
No response