Allow specifying basis_set
as an empty set to qml.compile
#6793
Labels
good first issue
Good for newcomers
basis_set
as an empty set to qml.compile
#6793
We currently have a
basis_set
keyword argument toqml.compile
that specifies which operations to not decompose. If an operation is not in the basis set and does not have a decomposition, we leave it be.We may sometimes want to decompose anything that can potentially be decomposed:
The above syntax should indicate "as long as it has a decomposition, decompose it".
Right now we interpret
{}
as Falsy, and change the basis set toqml.ops.__all__
. Instead, we should interpret{}
,()
, and[]
(any non-None
) object, as an actual basis set. An empty basis set should be a valid basis set.The text was updated successfully, but these errors were encountered: