mm.math.parameters.Constant

class mrmustard.math.parameters.Constant(value, name)[source]

Bases: object

A parameter with a constant, immutable value.

my_const = Constant(1, "my_const")
Parameters:
  • value (any) – The value of this constant.

  • name (str) – The name of this constant.

name

The name of this constant.

value

The value of this constant.

name

The name of this constant.

value

The value of this constant.