qp.decomposition.local_decomps

local_decomps()[source]

Start a new context in which additions to decomposition rules are localized.

This context manager is thread-safe because it uses ContextVar under the hood.

Contents

Using PennyLane

Release news

Development

API

Internals