Module gates

Module gates 

Source
Expand description

Implementation of various quantum gates to be used in tensor networks.

Traits§

Gate
A quantum gate.

Functions§

is_gate_known
Returns whether the given gate is known.
load_gate
Computes the gate matrix for the given gate and angles.
load_gate_adjoint
Computes the adjoint of the gate matrix for the given gate and angles.
register_gate
Registers a gate definition to resolve a gate name to a gate implementation.