Use this file to discover all available pages before exploring further.
View on GitHub
Open this notebook in GitHub to run it yourself
Given a 2n×2n unitary matrix, the unitary-gate function constructs an
equivalent unitary function that acts on n qubits accordingly.For n>2, the
synthesis process implementation is based on [1].Function: unitaryArguments:
elements: CArray[CArray[CReal]]
A 2d array of complex numbers representing the unitary matrix.