Gate Methods |
The Gate type exposes the following members.
Name | Description | |
---|---|---|
AddControl |
Creates a new gate by adding one or more control qubits to an existing unitary gate.
| |
Build |
Gets the definition of a gate, using the cache.
If the gate is already in the cache, the cached definition is returned.
Otherwise, a new gate will be created, added to the cache, and returned.
| |
CacheClear |
Clears out the gate cache.
| |
CacheStats |
Gets gate cache statistics.
| |
Dump |
Dumps the full gate information to the consol and/or log.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
NewMat |
Makes a new gate based on this gate but with new unitary matrix.
| |
OptimizeKraus |
Optimze a Channel gate with Kraus operators (checks correctness and orders by magnitude)
| |
Run |
Run this gate.
The details depend on the current value of
Ket.Mode:
| |
ShowMem(Int32, FSharpFuncUnit, String, FSharpOptionFSharpListCircuit, FSharpOptionBoolean, FSharpOptionBoolean) |
Outputs memory and garbage collection statistics to the log and console.
| |
ShowMem(Int32, String, FSharpOptionFSharpListCircuit, FSharpOptionBoolean, FSharpOptionBoolean) |
Outputs memory and garbage collection statistics to the log and console.
| |
ToString |
Returns a string representation of this gate, based on the gate's name,
help string, and type.
(Overrides ObjectToString.) |