qml.devices.capabilities.observable_stopping_condition_factory

observable_stopping_condition_factory(capabilities)[source]

Returns a default observable validation check from a capabilities object.

The returned function checks if an observable is supported, for composite and nested observables, check that the operands are supported.

Contents

Using PennyLane

Release news

Development

API

Internals