qml.transforms.core.transform_program.CotransformCache

class CotransformCache(qnode, args, kwargs)

Bases: tuple

args

Alias for field number 1

kwargs

Alias for field number 2

qnode

Alias for field number 0

args

Alias for field number 1

kwargs

Alias for field number 2

qnode

Alias for field number 0

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.