Gate Properties |
The Gate type exposes the following members.
Name | Description | |
---|---|---|
![]() | Arity |
Get arity of the gate (based on Qubits or Mat/Kraus size).
|
![]() ![]() | 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.
|
![]() | Draw |
The drawing instructions for this gate.
|
![]() | Help |
The help string for this gate.
|
![]() | 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.
|
![]() | Mat |
The unitary matrix for this gate.
If the gate is not defined by a single unitary, this will be a 0x0 matrix.
|
![]() | Name |
The name of this gate.
|
![]() | Op |
This gate's operation.
|
![]() | Parent |
This gate's parent, if any.
|
![]() | Qubits |
The arity of this gate; that is, the number of qubits the gate operates on.
|
![]() | User |
The user info associated with this gate, if any.
|