public class QubitVertex extends Object
Constructor and Description |
---|
QubitVertex()
Upon construction, a qubit vertex is initialised with the Hadamard
operation as VOp, and with empty neighbor list.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compares the specified object with this qubit vertex.
|
double[][][] |
getMatrix()
Returns the complex 2x2 matrix representing the vertex operator
associated to this qubit vertex, according to the graph state formalism.
|
int |
hashCode()
Returns the hash code for this qubit vertex.
|
String |
toString() |
public QubitVertex()
public double[][][] getMatrix()
public boolean equals(Object o)
public int hashCode()