Gate Properties

Liquid Quantum Simulator

Gate Properties

The Gate type exposes the following members.

Properties
  Name Description
Public property Arity
Get arity of the gate (based on Qubits or Mat/Kraus size).
Public property Static member CacheDisable
Whether or not the gate cache is disabled. The cache is used if this property is false. The cache should be disabled if gates are being built in parallel.
Public property Draw
The drawing instructions for this gate.
Public property Help
The help string for this gate.
Public property Kraus
The Kraus operator matrix list for this gate (if op type is Channel). If the gate is not a channel, this will be an empty list.
Public property Mat
The unitary matrix for this gate. If the gate is not defined by a single unitary, this will be a 0x0 matrix.
Public property Name
The name of this gate.
Public property Op
This gate's operation.
Public property Parent
This gate's parent, if any.
Public property Qubits
The arity of this gate; that is, the number of qubits the gate operates on.
Public property User
The user info associated with this gate, if any.
Top
See Also