EntangleGate
You can directly use an instance of this class.
Entangle
Extends:
BasicGate → EntangleGate
gate (Hadamard on first qubit, followed by CNOTs applied to all other qubits).
Member Summary
Public Members | ||
public get |
|
Inherited Summary
From class BasicGate | ||
public static |
Convert quantum input of "gate | quantum input" to internal formatting. |
|
public |
|
|
public |
|
|
public |
|
|
public |
generateCommand(qubits: *): Command Helper function to generate a command consisting of the gate and the qubits being acted upon. |
|
public |
|
|
public |
|
|
public |
|
|
public |
or(qubits: *) Operator| overload which enables the syntax Gate | qubits. |
|
public |
toString() |