Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.extensions.UCRYGate.to_matrix

UCRYGate.to_matrix()

Return a Numpy.array for the gate unitary matrix.

Retorno

if the Gate subclass has a matrix definition.

Tipo de retorno

np.ndarray

Levanta

CircuitError – If a Gate subclass does not implement this method an exception will be raised when this base class method is called.