qit.gate.walsh

qit.gate.walsh(n)

Walsh-Hadamard gate.

Parameters

n (int) – number of qubits

Returns

Walsh-Hadamard gate for n qubits

Return type

Lmap

The returned Lmap is dense.