expand_multipar(tape, depth=10, **kwargs)¶
Expand out a tape so that all its parametrized operations have a single parameter.
This is achieved by decomposing all parametrized operations that do not have a generator, up to maximum depth
depth. For a sufficient
depth, it should always be possible to obtain a tape containing only single-parameter operations.
- What is PennyLane?
- Quantum circuits
- Gradients and training
- Quantum operators
- Inspecting circuits
- Compiling circuits
- Quantum Chemistry
- Decorators and utility functions
- Transforms for error mitigation