case class SimSuperposition(qubitRegister: QubitRegister, vector: Vector, label: Option[String])(implicit r: Random) extends Superposition with VectorTransformations with Labeled[String] with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SimSuperposition
- Serializable
- Serializable
- Product
- Equals
- Labeled
- VectorTransformations
- Superposition
- State
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SimSuperposition(qubitRegister: QubitRegister, vector: Vector, label: Option[String])(implicit r: Random)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
*(factor: Complex): Vector
- Definition Classes
- VectorTransformations
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
applyGate(gate: Gate)(implicit ctx: QuantumContext): SimSuperposition
- Definition Classes
- SimSuperposition → Superposition
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
lazy val
fieldVector: ArrayFieldVector[Complex]
- Definition Classes
- VectorTransformations
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findQubit(label: String): Option[Qubit]
- Definition Classes
- State
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hasLabel(l: String): Boolean
- Definition Classes
- Labeled
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
kroneckerProduct(v: Vector): Vector
- Definition Classes
- VectorTransformations
-
val
label: Option[String]
- Definition Classes
- SimSuperposition → Labeled
-
def
map(f: (Complex) ⇒ Complex): Vector
- Definition Classes
- VectorTransformations
-
def
measure: Collapsed
- Definition Classes
- SimSuperposition → Superposition
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
par(state: Superposition): SimSuperposition
- Definition Classes
- SimSuperposition → Superposition
-
def
probabilities: Seq[Double]
- Definition Classes
- Superposition
-
lazy val
qubitCount: Int
- Definition Classes
- Superposition
-
val
qubitRegister: QubitRegister
- Definition Classes
- SimSuperposition → State
-
val
rawVector: Vector
- Definition Classes
- SimSuperposition → VectorTransformations
-
def
scalarProduct(factor: Complex): Vector
- Definition Classes
- VectorTransformations
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Superposition → AnyRef → Any
-
def
toString(fullState: Boolean): String
- Definition Classes
- Superposition
-
val
vector: Vector
- Definition Classes
- SimSuperposition → Superposition
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def withRegister(register: QubitRegister): SimSuperposition
-
def
⊗(v: Vector): Vector
- Definition Classes
- VectorTransformations