qsim::
gate::
Measurement
#include <gate.h>
A gate that simulates measurement of one or more qubits, collapsing the state vector and storing the measured results.
Summary
Public types
|
GateKind
|
using
typename Gate::GateKind
|
Public static attributes
|
kind
= GateKind::kMeasurement
|
constexpr GateKind
|
name
= "m"[]
|
constexpr char
|
symmetric
= false
|
constexpr bool
|
Public static functions
|
Create
(unsigned time, Qubits && qubits)
|
|
Public types
GateKind
typename Gate::GateKind qsim::gate::Measurement::GateKind
Public static attributes
kind
constexpr GateKind qsim::gate::Measurement::kind = GateKind::kMeasurement
name
constexpr char qsim::gate::Measurement::name[] = "m"
symmetric
constexpr bool qsim::gate::Measurement::symmetric = false
Public static functions
Create
Gate qsim::gate::Measurement::Create(
unsigned time,
Qubits && qubits
)