Package | Description |
---|---|
org.mathIT.quantum |
Provides classes to simulate quantum computation,
such as a quantum register and a quantum gate
|
org.mathIT.quantum.stabilizer |
Provides classes to simulate quantum stabilizer states.
|
Modifier and Type | Method and Description |
---|---|
QuantumGate |
Circuit.getNextGate()
Yields the current gate in this quantum circuit which is to be executed next.
|
QuantumGate |
Circuit.getPreviousGate()
Yields the previous gate in this quantum circuit which just had been executed.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<QuantumGate> |
Circuit.getGates()
Provides the entire list of quantum gates of this quantum circuit.
|
Modifier and Type | Method and Description |
---|---|
void |
Circuit.initialize(int[] registerSizes,
ArrayList<QuantumGate> gates)
Constructs and initializes this quantum cicuit according to the
specified sizes of the registers and the list of quantum gates.
|
Modifier and Type | Method and Description |
---|---|
QuantumGate |
Circuit.getNextGate()
Yields the current gate in this quantum circuit which is to be executed next.
|
QuantumGate |
Circuit.getPreviousGate()
Yields the current gate in this quantum circuit which is to be executed next.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<QuantumGate> |
Circuit.getGates()
Provides the entire list of quantum gates of this quantum circuit.
|
Modifier and Type | Method and Description |
---|---|
void |
Circuit.initialize(int[] registerSizes,
ArrayList<QuantumGate> gates)
Constructs and initializes this quantum cicuit according to the
specified sizes of the registers and the list of quantum gates.
|