Unitary¶
- class lightworks.Unitary(unitary: NDArray[complex128] | ParameterizedUnitary, label: str = 'U')¶
Bases:
PhotonicCircuitCreate a circuit which implements the target provided unitary across all of its modes.
- Parameters:
unitary (np.ndarray) – The target NxN unitary matrix which is to be implemented.