PropertiesContainer#
- class PropertiesContainer[ソース]#
ベースクラス:
MutableSet
The properties container class.
This class manages storage of
Property
objects. These objects are operator factories, generating the aux_operators that will be passed down to quantum algorithms which support their evaluation.This container class can only contain a single instance of any
Property
kind. It enforces this via a MutableSet implementation.Methods
- clear()#
This is slow (creates N new iterators!) but effective.
- isdisjoint(other)#
Return True if two sets have a null intersection.
- pop()#
Return the popped value. Raise KeyError if empty.
- remove(value)#
Remove an element. If not a member, raise a KeyError.