qbraid.interface
Module providing utilities for interfacing with supported quantum programs.
Functions
|
Generate random circuit of arbitrary size and form. |
Create a random (complex) unitary matrix of order dim |
|
|
Check if quantum program unitaries are equivalent. |
|
Checks if two numpy arrays are equal up to a global phase, within a specified tolerance, i.e. if a ~= b * exp(i t) for some t. |
Submodules
Module for generaing random quantum circuits and unitary matrices for testing. |