Package | Description |
---|---|
org.mathIT.quantum.stabilizer |
Provides classes to simulate quantum stabilizer states.
|
Modifier and Type | Field and Description |
---|---|
static LocalCliffordOperator |
LocalCliffordOperator.H
The Hadamard operator acting on a single qubit.
|
static LocalCliffordOperator |
LocalCliffordOperator.I
The identity operator acting on a single qubit.
|
static LocalCliffordOperator |
LocalCliffordOperator.S
The pi/4 phase rotation operator acting on a single qubit.
|
static LocalCliffordOperator |
LocalCliffordOperator.S_H
The Hermitian conjugate of the pi/4 phase rotation acting on a single qubit.
|
static LocalCliffordOperator |
LocalCliffordOperator.smiX
The Sqrt(-iX) operator acting on a single qubit.
|
static LocalCliffordOperator |
LocalCliffordOperator.smiY
The Sqrt(-iY) operator acting on a single qubit.
|
static LocalCliffordOperator |
LocalCliffordOperator.smiZ
The Sqrt(-iZ) operator acting on a single qubit.
|
static LocalCliffordOperator |
LocalCliffordOperator.spiX
The Sqrt(+iX) operator acting on a single qubit.
|
static LocalCliffordOperator |
LocalCliffordOperator.spiY
The Sqrt(+iY) operator acting on a single qubit.
|
static LocalCliffordOperator |
LocalCliffordOperator.spiZ
The Sqrt(+iZ) operator acting on a single qubit.
|
static LocalCliffordOperator |
LocalCliffordOperator.X
The Pauli-X operator acting on a single qubit.
|
static LocalCliffordOperator |
LocalCliffordOperator.Y
The Pauli-Y operator acting on a single qubit.
|
static LocalCliffordOperator |
LocalCliffordOperator.Z
The Pauli-Z operator acting on a single qubit.
|
Modifier and Type | Method and Description |
---|---|
LocalCliffordOperator |
LocalCliffordOperator.adjoint()
Returns the Hermitian adjoint of this operator.
|
LocalCliffordOperator |
LocalCliffordOperator.multiply(LocalCliffordOperator operator)
Muliplies this operator with the specified local Clifford operator.
|
Modifier and Type | Method and Description |
---|---|
int |
LocalCliffordOperator.conjugate(LocalCliffordOperator trans)
Replaces this operator by the conjugation
trans ·
this · trans†
and returns a phase, either +1 if trans is a stabilizer, or -1. |
boolean |
LocalCliffordOperator.equals(LocalCliffordOperator operator)
Checks whether this LC operator is equal to the specified operator.
|
int |
GraphRegister.measure(int v,
LocalCliffordOperator basis)
Measures qubit v in the specified basis operator and returns the measured
value.
|
LocalCliffordOperator |
LocalCliffordOperator.multiply(LocalCliffordOperator operator)
Muliplies this operator with the specified local Clifford operator.
|