quri_parts.circuit.parameter module#
- class Parameter(name='')#
Bases:
object
A class representing parameters in parametric quantum circuits.
A
Parameter
is a placeholder and does not hold a concrete value in it.Implementation note: equality of Parameters is evaluated as identity of the objects. This means that even if two Parameters have the same name they are not equal if they are different objects. To achieve this behavior, it is avoided to 1) inherit
NamedTuple
and 2) define__eq__
method.- Parameters:
name (str) –
- CONST = Parameter(name=)#
A placeholder representing a constant term.