Uses of Class
com.quantum4j.core.math.StateVector
Packages that use StateVector
Package
Description
Execution backends for Quantum4J.
Quantum gate abstractions and standard gate implementations.
Low-level mathematical primitives used by the simulator: complex numbers and state vector representation.
-
Uses of StateVector in com.quantum4j.core.backend
Methods in com.quantum4j.core.backend that return StateVectorModifier and TypeMethodDescriptionResult.getStateVector()Get the final statevector, if available.Constructors in com.quantum4j.core.backend with parameters of type StateVectorModifierConstructorDescriptionResult(Map<String, Integer> counts, BackendType backendType, StateVector stateVector) Construct a Result from measurement counts and backend metadata. -
Uses of StateVector in com.quantum4j.core.gates
Methods in com.quantum4j.core.gates with parameters of type StateVectorModifier and TypeMethodDescriptionvoidSingleQubitGate.apply(StateVector state, int targetQubit) Apply this single-qubit gate to the specified target qubit in the given state.voidThreeQubitGate.apply(StateVector state, int q0, int q1, int q2) Apply this gate to qubits (q0, q1, q2) in that logical order.voidTwoQubitGate.apply(StateVector state, int q0, int q1) Apply this gate to qubits (q0, q1) in that logical order. -
Uses of StateVector in com.quantum4j.core.math
Methods in com.quantum4j.core.math that return StateVector