quasiunitary
qoptcraft.operators.quasiunitary
random_quasiunitary(shape, seed=None)
Create a random quasiunitary matrix.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
shape |
tuple
|
dimensions of the matrix. |
required |
seed |
int
|
seed to calculate the random unitary. Defaults to None. |
None
|
Returns:
Name | Type | Description |
---|---|---|
NDArray |
NDArray
|
matrix of the quasiunitary. |
Source code in qoptcraft/operators/quasiunitary.py
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
|