unpack
Description
Add-On Required: This feature requires the MATLAB Support Package for Quantum Computing add-on.
unpacks
each composite gate in the input circuit into its containing gates and returns a new quantum
circuit. The returned circuit can still contain composite gates if the input circuit
contains composite gates that are defined recursively.uc = unpack(c)
Examples
Input Arguments
Version History
Introduced in R2023a