Enum roqoqo::operations::Operation
source · #[non_exhaustive]pub enum Operation {
Show 94 variants
SingleQubitGate(SingleQubitGate),
RotateZ(RotateZ),
RotateX(RotateX),
RotateY(RotateY),
PauliX(PauliX),
PauliY(PauliY),
PauliZ(PauliZ),
SqrtPauliX(SqrtPauliX),
InvSqrtPauliX(InvSqrtPauliX),
Hadamard(Hadamard),
SGate(SGate),
TGate(TGate),
PhaseShiftState1(PhaseShiftState1),
PhaseShiftState0(PhaseShiftState0),
RotateAroundSphericalAxis(RotateAroundSphericalAxis),
RotateXY(RotateXY),
PragmaSetNumberOfMeasurements(PragmaSetNumberOfMeasurements),
PragmaSetStateVector(PragmaSetStateVector),
PragmaSetDensityMatrix(PragmaSetDensityMatrix),
PragmaRepeatGate(PragmaRepeatGate),
PragmaOverrotation(PragmaOverrotation),
PragmaBoostNoise(PragmaBoostNoise),
PragmaStopParallelBlock(PragmaStopParallelBlock),
PragmaGlobalPhase(PragmaGlobalPhase),
PragmaSleep(PragmaSleep),
PragmaActiveReset(PragmaActiveReset),
PragmaStartDecompositionBlock(PragmaStartDecompositionBlock),
PragmaStopDecompositionBlock(PragmaStopDecompositionBlock),
PragmaDamping(PragmaDamping),
PragmaDepolarising(PragmaDepolarising),
PragmaDephasing(PragmaDephasing),
PragmaRandomNoise(PragmaRandomNoise),
PragmaGeneralNoise(PragmaGeneralNoise),
PragmaConditional(PragmaConditional),
PragmaChangeDevice(PragmaChangeDevice),
CNOT(CNOT),
SWAP(SWAP),
ISwap(ISwap),
FSwap(FSwap),
SqrtISwap(SqrtISwap),
InvSqrtISwap(InvSqrtISwap),
XY(XY),
ControlledPhaseShift(ControlledPhaseShift),
ControlledPauliY(ControlledPauliY),
ControlledPauliZ(ControlledPauliZ),
MolmerSorensenXX(MolmerSorensenXX),
VariableMSXX(VariableMSXX),
GivensRotation(GivensRotation),
GivensRotationLittleEndian(GivensRotationLittleEndian),
Qsim(Qsim),
Fsim(Fsim),
SpinInteraction(SpinInteraction),
Bogoliubov(Bogoliubov),
PMInteraction(PMInteraction),
ComplexPMInteraction(ComplexPMInteraction),
PhaseShiftedControlledZ(PhaseShiftedControlledZ),
MultiQubitMS(MultiQubitMS),
MultiQubitZZ(MultiQubitZZ),
MeasureQubit(MeasureQubit),
PragmaGetStateVector(PragmaGetStateVector),
PragmaGetDensityMatrix(PragmaGetDensityMatrix),
PragmaGetOccupationProbability(PragmaGetOccupationProbability),
PragmaGetPauliProduct(PragmaGetPauliProduct),
PragmaRepeatedMeasurement(PragmaRepeatedMeasurement),
DefinitionFloat(DefinitionFloat),
DefinitionComplex(DefinitionComplex),
DefinitionUsize(DefinitionUsize),
DefinitionBit(DefinitionBit),
InputSymbolic(InputSymbolic),
PragmaLoop(PragmaLoop),
InputBit(InputBit),
PhaseShiftedControlledPhase(PhaseShiftedControlledPhase),
ControlledRotateX(ControlledRotateX),
ControlledRotateXY(ControlledRotateXY),
ControlledControlledPauliZ(ControlledControlledPauliZ),
ControlledControlledPhaseShift(ControlledControlledPhaseShift),
Toffoli(Toffoli),
GPi(GPi),
GPi2(GPi2),
PragmaControlledCircuit(PragmaControlledCircuit),
Squeezing(Squeezing),
PhaseShift(PhaseShift),
BeamSplitter(BeamSplitter),
PhotonDetection(PhotonDetection),
Identity(Identity),
PragmaAnnotatedOp(PragmaAnnotatedOp),
EchoCrossResonance(EchoCrossResonance),
PhaseDisplacement(PhaseDisplacement),
QuantumRabi(QuantumRabi),
LongitudinalCoupling(LongitudinalCoupling),
JaynesCummings(JaynesCummings),
SingleExcitationStore(SingleExcitationStore),
SingleExcitationLoad(SingleExcitationLoad),
CZQubitResonator(CZQubitResonator),
}
Expand description
Enum of all Operations implementing Operate
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
SingleQubitGate(SingleQubitGate)
Variant for SingleQubitGate
RotateZ(RotateZ)
Variant for RotateZ
RotateX(RotateX)
Variant for RotateX
RotateY(RotateY)
Variant for RotateY
PauliX(PauliX)
Variant for PauliX
PauliY(PauliY)
Variant for PauliY
PauliZ(PauliZ)
Variant for PauliZ
SqrtPauliX(SqrtPauliX)
Variant for SqrtPauliX
InvSqrtPauliX(InvSqrtPauliX)
Variant for InvSqrtPauliX
Hadamard(Hadamard)
Variant for Hadamard
SGate(SGate)
Variant for SGate
TGate(TGate)
Variant for TGate
PhaseShiftState1(PhaseShiftState1)
Variant for PhaseShiftState1
PhaseShiftState0(PhaseShiftState0)
Variant for PhaseShiftState0
RotateAroundSphericalAxis(RotateAroundSphericalAxis)
Variant for RotateAroundSphericalAxis
RotateXY(RotateXY)
Variant for RotateXY
PragmaSetNumberOfMeasurements(PragmaSetNumberOfMeasurements)
Variant for PragmaSetNumberOfMeasurements
PragmaSetStateVector(PragmaSetStateVector)
Variant for PragmaSetStateVector
PragmaSetDensityMatrix(PragmaSetDensityMatrix)
Variant for PragmaSetDensityMatrix
PragmaRepeatGate(PragmaRepeatGate)
Variant for PragmaRepeatGate
PragmaOverrotation(PragmaOverrotation)
Variant for PragmaOverrotation
PragmaBoostNoise(PragmaBoostNoise)
Variant for PragmaBoostNoise
PragmaStopParallelBlock(PragmaStopParallelBlock)
Variant for PragmaStopParallelBlock
PragmaGlobalPhase(PragmaGlobalPhase)
Variant for PragmaGlobalPhase
PragmaSleep(PragmaSleep)
Variant for PragmaSleep
PragmaActiveReset(PragmaActiveReset)
Variant for PragmaActiveReset
PragmaStartDecompositionBlock(PragmaStartDecompositionBlock)
Variant for PragmaStartDecompositionBlock
PragmaStopDecompositionBlock(PragmaStopDecompositionBlock)
Variant for PragmaStopDecompositionBlock
PragmaDamping(PragmaDamping)
Variant for PragmaDamping
PragmaDepolarising(PragmaDepolarising)
Variant for PragmaDepolarising
PragmaDephasing(PragmaDephasing)
Variant for PragmaDephasing
PragmaRandomNoise(PragmaRandomNoise)
Variant for PragmaRandomNoise
PragmaGeneralNoise(PragmaGeneralNoise)
Variant for PragmaGeneralNoise
PragmaConditional(PragmaConditional)
Variant for PragmaConditional
PragmaChangeDevice(PragmaChangeDevice)
Variant for PragmaChangeDevice
CNOT(CNOT)
Variant for CNOT
SWAP(SWAP)
Variant for SWAP
ISwap(ISwap)
Variant for ISwap
FSwap(FSwap)
Variant for FSwap
SqrtISwap(SqrtISwap)
Variant for SqrtISwap
InvSqrtISwap(InvSqrtISwap)
Variant for InvSqrtISwap
XY(XY)
Variant for XY
ControlledPhaseShift(ControlledPhaseShift)
Variant for ControlledPhaseShift
ControlledPauliY(ControlledPauliY)
Variant for ControlledPauliY
ControlledPauliZ(ControlledPauliZ)
Variant for ControlledPauliZ
MolmerSorensenXX(MolmerSorensenXX)
Variant for MolmerSorensenXX
VariableMSXX(VariableMSXX)
Variant for VariableMSXX
GivensRotation(GivensRotation)
Variant for GivensRotation
GivensRotationLittleEndian(GivensRotationLittleEndian)
Variant for GivensRotationLittleEndian
Qsim(Qsim)
Variant for Qsim
Fsim(Fsim)
Variant for Fsim
SpinInteraction(SpinInteraction)
Variant for SpinInteraction
Bogoliubov(Bogoliubov)
Variant for Bogoliubov
PMInteraction(PMInteraction)
Variant for PMInteraction
ComplexPMInteraction(ComplexPMInteraction)
Variant for ComplexPMInteraction
PhaseShiftedControlledZ(PhaseShiftedControlledZ)
Variant for PhaseShiftedControlledZ
MultiQubitMS(MultiQubitMS)
Variant for MultiQubitMS
MultiQubitZZ(MultiQubitZZ)
Variant for MultiQubitZZ
MeasureQubit(MeasureQubit)
Variant for MeasureQubit
PragmaGetStateVector(PragmaGetStateVector)
Variant for PragmaGetStateVector
PragmaGetDensityMatrix(PragmaGetDensityMatrix)
Variant for PragmaGetDensityMatrix
PragmaGetOccupationProbability(PragmaGetOccupationProbability)
Variant for PragmaGetOccupationProbability
PragmaGetPauliProduct(PragmaGetPauliProduct)
Variant for PragmaGetPauliProduct
PragmaRepeatedMeasurement(PragmaRepeatedMeasurement)
Variant for PragmaRepeatedMeasurement
DefinitionFloat(DefinitionFloat)
Variant for DefinitionFloat
DefinitionComplex(DefinitionComplex)
Variant for DefinitionComplex
DefinitionUsize(DefinitionUsize)
Variant for DefinitionUsize
DefinitionBit(DefinitionBit)
Variant for DefinitionBit
InputSymbolic(InputSymbolic)
Variant for InputSymbolic
PragmaLoop(PragmaLoop)
Variant for PragmaLoop
InputBit(InputBit)
Variant for InputBit
PhaseShiftedControlledPhase(PhaseShiftedControlledPhase)
Variant for PhaseShiftedControlledPhase
ControlledRotateX(ControlledRotateX)
Variant for ControlledRotateX
ControlledRotateXY(ControlledRotateXY)
Variant for ControlledRotateXY
ControlledControlledPauliZ(ControlledControlledPauliZ)
Variant for ControlledControlledPauliZ
ControlledControlledPhaseShift(ControlledControlledPhaseShift)
Variant for ControlledControlledPhaseShift
Toffoli(Toffoli)
Variant for Toffoli
GPi(GPi)
Variant for GPi
GPi2(GPi2)
Variant for GPi2
PragmaControlledCircuit(PragmaControlledCircuit)
Variant for PragmaControlledCircuit
Squeezing(Squeezing)
Variant for Squeezing
PhaseShift(PhaseShift)
Variant for PhaseShift
BeamSplitter(BeamSplitter)
Variant for BeamSplitter
PhotonDetection(PhotonDetection)
Variant for PhotonDetection
Identity(Identity)
Variant for Identity
PragmaAnnotatedOp(PragmaAnnotatedOp)
Variant for PragmaAnnotatedOp
EchoCrossResonance(EchoCrossResonance)
Variant for EchoCrossResonance
PhaseDisplacement(PhaseDisplacement)
Variant for PhaseDisplacement
QuantumRabi(QuantumRabi)
Variant for QuantumRabi
LongitudinalCoupling(LongitudinalCoupling)
Variant for LongitudinalCoupling
JaynesCummings(JaynesCummings)
Variant for JaynesCummings
SingleExcitationStore(SingleExcitationStore)
Variant for SingleExcitationStore
SingleExcitationLoad(SingleExcitationLoad)
Variant for SingleExcitationLoad
CZQubitResonator(CZQubitResonator)
Variant for CZQubitResonator
Trait Implementations§
source§impl<'de> Deserialize<'de> for Operation
impl<'de> Deserialize<'de> for Operation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl From<BeamSplitter> for Operation
impl From<BeamSplitter> for Operation
Implements the From trait from this Operation.
source§fn from(v: BeamSplitter) -> Self
fn from(v: BeamSplitter) -> Self
Performs the conversion.
source§impl From<Bogoliubov> for Operation
impl From<Bogoliubov> for Operation
Implements the From trait from this Operation.
source§fn from(v: Bogoliubov) -> Self
fn from(v: Bogoliubov) -> Self
Performs the conversion.
source§impl From<CZQubitResonator> for Operation
impl From<CZQubitResonator> for Operation
Implements the From trait from this Operation.
source§fn from(v: CZQubitResonator) -> Self
fn from(v: CZQubitResonator) -> Self
Performs the conversion.
source§impl From<ComplexPMInteraction> for Operation
impl From<ComplexPMInteraction> for Operation
Implements the From trait from this Operation.
source§fn from(v: ComplexPMInteraction) -> Self
fn from(v: ComplexPMInteraction) -> Self
Performs the conversion.
source§impl From<ConstantGateOperation> for Operation
impl From<ConstantGateOperation> for Operation
source§fn from(op: ConstantGateOperation) -> Self
fn from(op: ConstantGateOperation) -> Self
source§impl From<ControlledControlledPauliZ> for Operation
impl From<ControlledControlledPauliZ> for Operation
Implements the From trait from this Operation.
source§fn from(v: ControlledControlledPauliZ) -> Self
fn from(v: ControlledControlledPauliZ) -> Self
Performs the conversion.
source§impl From<ControlledControlledPhaseShift> for Operation
impl From<ControlledControlledPhaseShift> for Operation
Implements the From trait from this Operation.
source§fn from(v: ControlledControlledPhaseShift) -> Self
fn from(v: ControlledControlledPhaseShift) -> Self
Performs the conversion.
source§impl From<ControlledPauliY> for Operation
impl From<ControlledPauliY> for Operation
Implements the From trait from this Operation.
source§fn from(v: ControlledPauliY) -> Self
fn from(v: ControlledPauliY) -> Self
Performs the conversion.
source§impl From<ControlledPauliZ> for Operation
impl From<ControlledPauliZ> for Operation
Implements the From trait from this Operation.
source§fn from(v: ControlledPauliZ) -> Self
fn from(v: ControlledPauliZ) -> Self
Performs the conversion.
source§impl From<ControlledPhaseShift> for Operation
impl From<ControlledPhaseShift> for Operation
Implements the From trait from this Operation.
source§fn from(v: ControlledPhaseShift) -> Self
fn from(v: ControlledPhaseShift) -> Self
Performs the conversion.
source§impl From<ControlledRotateX> for Operation
impl From<ControlledRotateX> for Operation
Implements the From trait from this Operation.
source§fn from(v: ControlledRotateX) -> Self
fn from(v: ControlledRotateX) -> Self
Performs the conversion.
source§impl From<ControlledRotateXY> for Operation
impl From<ControlledRotateXY> for Operation
Implements the From trait from this Operation.
source§fn from(v: ControlledRotateXY) -> Self
fn from(v: ControlledRotateXY) -> Self
Performs the conversion.
source§impl From<Definition> for Operation
impl From<Definition> for Operation
source§fn from(op: Definition) -> Self
fn from(op: Definition) -> Self
source§impl From<DefinitionBit> for Operation
impl From<DefinitionBit> for Operation
Implements the From trait from this Operation.
source§fn from(v: DefinitionBit) -> Self
fn from(v: DefinitionBit) -> Self
Performs the conversion.
source§impl From<DefinitionComplex> for Operation
impl From<DefinitionComplex> for Operation
Implements the From trait from this Operation.
source§fn from(v: DefinitionComplex) -> Self
fn from(v: DefinitionComplex) -> Self
Performs the conversion.
source§impl From<DefinitionFloat> for Operation
impl From<DefinitionFloat> for Operation
Implements the From trait from this Operation.
source§fn from(v: DefinitionFloat) -> Self
fn from(v: DefinitionFloat) -> Self
Performs the conversion.
source§impl From<DefinitionUsize> for Operation
impl From<DefinitionUsize> for Operation
Implements the From trait from this Operation.
source§fn from(v: DefinitionUsize) -> Self
fn from(v: DefinitionUsize) -> Self
Performs the conversion.
source§impl From<EchoCrossResonance> for Operation
impl From<EchoCrossResonance> for Operation
Implements the From trait from this Operation.
source§fn from(v: EchoCrossResonance) -> Self
fn from(v: EchoCrossResonance) -> Self
Performs the conversion.
source§impl From<GateOperation> for Operation
impl From<GateOperation> for Operation
source§fn from(op: GateOperation) -> Self
fn from(op: GateOperation) -> Self
source§impl From<GivensRotation> for Operation
impl From<GivensRotation> for Operation
Implements the From trait from this Operation.
source§fn from(v: GivensRotation) -> Self
fn from(v: GivensRotation) -> Self
Performs the conversion.
source§impl From<GivensRotationLittleEndian> for Operation
impl From<GivensRotationLittleEndian> for Operation
Implements the From trait from this Operation.
source§fn from(v: GivensRotationLittleEndian) -> Self
fn from(v: GivensRotationLittleEndian) -> Self
Performs the conversion.
source§impl From<InputSymbolic> for Operation
impl From<InputSymbolic> for Operation
Implements the From trait from this Operation.
source§fn from(v: InputSymbolic) -> Self
fn from(v: InputSymbolic) -> Self
Performs the conversion.
source§impl From<InvSqrtISwap> for Operation
impl From<InvSqrtISwap> for Operation
Implements the From trait from this Operation.
source§fn from(v: InvSqrtISwap) -> Self
fn from(v: InvSqrtISwap) -> Self
Performs the conversion.
source§impl From<InvSqrtPauliX> for Operation
impl From<InvSqrtPauliX> for Operation
Implements the From trait from this Operation.
source§fn from(v: InvSqrtPauliX) -> Self
fn from(v: InvSqrtPauliX) -> Self
Performs the conversion.
source§impl From<JaynesCummings> for Operation
impl From<JaynesCummings> for Operation
Implements the From trait from this Operation.
source§fn from(v: JaynesCummings) -> Self
fn from(v: JaynesCummings) -> Self
Performs the conversion.
source§impl From<LongitudinalCoupling> for Operation
impl From<LongitudinalCoupling> for Operation
Implements the From trait from this Operation.
source§fn from(v: LongitudinalCoupling) -> Self
fn from(v: LongitudinalCoupling) -> Self
Performs the conversion.
source§impl From<MeasureQubit> for Operation
impl From<MeasureQubit> for Operation
Implements the From trait from this Operation.
source§fn from(v: MeasureQubit) -> Self
fn from(v: MeasureQubit) -> Self
Performs the conversion.
source§impl From<ModeGateOperation> for Operation
impl From<ModeGateOperation> for Operation
source§fn from(op: ModeGateOperation) -> Self
fn from(op: ModeGateOperation) -> Self
source§impl From<MolmerSorensenXX> for Operation
impl From<MolmerSorensenXX> for Operation
Implements the From trait from this Operation.
source§fn from(v: MolmerSorensenXX) -> Self
fn from(v: MolmerSorensenXX) -> Self
Performs the conversion.
source§impl From<MultiQubitGateOperation> for Operation
impl From<MultiQubitGateOperation> for Operation
source§fn from(op: MultiQubitGateOperation) -> Self
fn from(op: MultiQubitGateOperation) -> Self
source§impl From<MultiQubitMS> for Operation
impl From<MultiQubitMS> for Operation
Implements the From trait from this Operation.
source§fn from(v: MultiQubitMS) -> Self
fn from(v: MultiQubitMS) -> Self
Performs the conversion.
source§impl From<MultiQubitOperation> for Operation
impl From<MultiQubitOperation> for Operation
source§fn from(op: MultiQubitOperation) -> Self
fn from(op: MultiQubitOperation) -> Self
source§impl From<MultiQubitZZ> for Operation
impl From<MultiQubitZZ> for Operation
Implements the From trait from this Operation.
source§fn from(v: MultiQubitZZ) -> Self
fn from(v: MultiQubitZZ) -> Self
Performs the conversion.
source§impl From<PMInteraction> for Operation
impl From<PMInteraction> for Operation
Implements the From trait from this Operation.
source§fn from(v: PMInteraction) -> Self
fn from(v: PMInteraction) -> Self
Performs the conversion.
source§impl From<PhaseDisplacement> for Operation
impl From<PhaseDisplacement> for Operation
Implements the From trait from this Operation.
source§fn from(v: PhaseDisplacement) -> Self
fn from(v: PhaseDisplacement) -> Self
Performs the conversion.
source§impl From<PhaseShift> for Operation
impl From<PhaseShift> for Operation
Implements the From trait from this Operation.
source§fn from(v: PhaseShift) -> Self
fn from(v: PhaseShift) -> Self
Performs the conversion.
source§impl From<PhaseShiftState0> for Operation
impl From<PhaseShiftState0> for Operation
Implements the From trait from this Operation.
source§fn from(v: PhaseShiftState0) -> Self
fn from(v: PhaseShiftState0) -> Self
Performs the conversion.
source§impl From<PhaseShiftState1> for Operation
impl From<PhaseShiftState1> for Operation
Implements the From trait from this Operation.
source§fn from(v: PhaseShiftState1) -> Self
fn from(v: PhaseShiftState1) -> Self
Performs the conversion.
source§impl From<PhaseShiftedControlledPhase> for Operation
impl From<PhaseShiftedControlledPhase> for Operation
Implements the From trait from this Operation.
source§fn from(v: PhaseShiftedControlledPhase) -> Self
fn from(v: PhaseShiftedControlledPhase) -> Self
Performs the conversion.
source§impl From<PhaseShiftedControlledZ> for Operation
impl From<PhaseShiftedControlledZ> for Operation
Implements the From trait from this Operation.
source§fn from(v: PhaseShiftedControlledZ) -> Self
fn from(v: PhaseShiftedControlledZ) -> Self
Performs the conversion.
source§impl From<PhotonDetection> for Operation
impl From<PhotonDetection> for Operation
Implements the From trait from this Operation.
source§fn from(v: PhotonDetection) -> Self
fn from(v: PhotonDetection) -> Self
Performs the conversion.
source§impl From<PragmaActiveReset> for Operation
impl From<PragmaActiveReset> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaActiveReset) -> Self
fn from(v: PragmaActiveReset) -> Self
Performs the conversion.
source§impl From<PragmaAnnotatedOp> for Operation
impl From<PragmaAnnotatedOp> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaAnnotatedOp) -> Self
fn from(v: PragmaAnnotatedOp) -> Self
Performs the conversion.
source§impl From<PragmaBoostNoise> for Operation
impl From<PragmaBoostNoise> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaBoostNoise) -> Self
fn from(v: PragmaBoostNoise) -> Self
Performs the conversion.
source§impl From<PragmaChangeDevice> for Operation
impl From<PragmaChangeDevice> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaChangeDevice) -> Self
fn from(v: PragmaChangeDevice) -> Self
Performs the conversion.
source§impl From<PragmaConditional> for Operation
impl From<PragmaConditional> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaConditional) -> Self
fn from(v: PragmaConditional) -> Self
Performs the conversion.
source§impl From<PragmaControlledCircuit> for Operation
impl From<PragmaControlledCircuit> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaControlledCircuit) -> Self
fn from(v: PragmaControlledCircuit) -> Self
Performs the conversion.
source§impl From<PragmaDamping> for Operation
impl From<PragmaDamping> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaDamping) -> Self
fn from(v: PragmaDamping) -> Self
Performs the conversion.
source§impl From<PragmaDephasing> for Operation
impl From<PragmaDephasing> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaDephasing) -> Self
fn from(v: PragmaDephasing) -> Self
Performs the conversion.
source§impl From<PragmaDepolarising> for Operation
impl From<PragmaDepolarising> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaDepolarising) -> Self
fn from(v: PragmaDepolarising) -> Self
Performs the conversion.
source§impl From<PragmaGeneralNoise> for Operation
impl From<PragmaGeneralNoise> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaGeneralNoise) -> Self
fn from(v: PragmaGeneralNoise) -> Self
Performs the conversion.
source§impl From<PragmaGetDensityMatrix> for Operation
impl From<PragmaGetDensityMatrix> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaGetDensityMatrix) -> Self
fn from(v: PragmaGetDensityMatrix) -> Self
Performs the conversion.
source§impl From<PragmaGetOccupationProbability> for Operation
impl From<PragmaGetOccupationProbability> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaGetOccupationProbability) -> Self
fn from(v: PragmaGetOccupationProbability) -> Self
Performs the conversion.
source§impl From<PragmaGetPauliProduct> for Operation
impl From<PragmaGetPauliProduct> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaGetPauliProduct) -> Self
fn from(v: PragmaGetPauliProduct) -> Self
Performs the conversion.
source§impl From<PragmaGetStateVector> for Operation
impl From<PragmaGetStateVector> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaGetStateVector) -> Self
fn from(v: PragmaGetStateVector) -> Self
Performs the conversion.
source§impl From<PragmaGlobalPhase> for Operation
impl From<PragmaGlobalPhase> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaGlobalPhase) -> Self
fn from(v: PragmaGlobalPhase) -> Self
Performs the conversion.
source§impl From<PragmaLoop> for Operation
impl From<PragmaLoop> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaLoop) -> Self
fn from(v: PragmaLoop) -> Self
Performs the conversion.
source§impl From<PragmaNoiseOperation> for Operation
impl From<PragmaNoiseOperation> for Operation
source§fn from(op: PragmaNoiseOperation) -> Self
fn from(op: PragmaNoiseOperation) -> Self
source§impl From<PragmaNoiseProbaOperation> for Operation
impl From<PragmaNoiseProbaOperation> for Operation
source§fn from(op: PragmaNoiseProbaOperation) -> Self
fn from(op: PragmaNoiseProbaOperation) -> Self
source§impl From<PragmaOperation> for Operation
impl From<PragmaOperation> for Operation
source§fn from(op: PragmaOperation) -> Self
fn from(op: PragmaOperation) -> Self
source§impl From<PragmaOverrotation> for Operation
impl From<PragmaOverrotation> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaOverrotation) -> Self
fn from(v: PragmaOverrotation) -> Self
Performs the conversion.
source§impl From<PragmaRandomNoise> for Operation
impl From<PragmaRandomNoise> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaRandomNoise) -> Self
fn from(v: PragmaRandomNoise) -> Self
Performs the conversion.
source§impl From<PragmaRepeatGate> for Operation
impl From<PragmaRepeatGate> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaRepeatGate) -> Self
fn from(v: PragmaRepeatGate) -> Self
Performs the conversion.
source§impl From<PragmaRepeatedMeasurement> for Operation
impl From<PragmaRepeatedMeasurement> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaRepeatedMeasurement) -> Self
fn from(v: PragmaRepeatedMeasurement) -> Self
Performs the conversion.
source§impl From<PragmaSetDensityMatrix> for Operation
impl From<PragmaSetDensityMatrix> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaSetDensityMatrix) -> Self
fn from(v: PragmaSetDensityMatrix) -> Self
Performs the conversion.
source§impl From<PragmaSetNumberOfMeasurements> for Operation
impl From<PragmaSetNumberOfMeasurements> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaSetNumberOfMeasurements) -> Self
fn from(v: PragmaSetNumberOfMeasurements) -> Self
Performs the conversion.
source§impl From<PragmaSetStateVector> for Operation
impl From<PragmaSetStateVector> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaSetStateVector) -> Self
fn from(v: PragmaSetStateVector) -> Self
Performs the conversion.
source§impl From<PragmaSleep> for Operation
impl From<PragmaSleep> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaSleep) -> Self
fn from(v: PragmaSleep) -> Self
Performs the conversion.
source§impl From<PragmaStartDecompositionBlock> for Operation
impl From<PragmaStartDecompositionBlock> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaStartDecompositionBlock) -> Self
fn from(v: PragmaStartDecompositionBlock) -> Self
Performs the conversion.
source§impl From<PragmaStopDecompositionBlock> for Operation
impl From<PragmaStopDecompositionBlock> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaStopDecompositionBlock) -> Self
fn from(v: PragmaStopDecompositionBlock) -> Self
Performs the conversion.
source§impl From<PragmaStopParallelBlock> for Operation
impl From<PragmaStopParallelBlock> for Operation
Implements the From trait from this Operation.
source§fn from(v: PragmaStopParallelBlock) -> Self
fn from(v: PragmaStopParallelBlock) -> Self
Performs the conversion.
source§impl From<QuantumRabi> for Operation
impl From<QuantumRabi> for Operation
Implements the From trait from this Operation.
source§fn from(v: QuantumRabi) -> Self
fn from(v: QuantumRabi) -> Self
Performs the conversion.
source§impl From<RotateAroundSphericalAxis> for Operation
impl From<RotateAroundSphericalAxis> for Operation
Implements the From trait from this Operation.
source§fn from(v: RotateAroundSphericalAxis) -> Self
fn from(v: RotateAroundSphericalAxis) -> Self
Performs the conversion.
source§impl From<SingleExcitationLoad> for Operation
impl From<SingleExcitationLoad> for Operation
Implements the From trait from this Operation.
source§fn from(v: SingleExcitationLoad) -> Self
fn from(v: SingleExcitationLoad) -> Self
Performs the conversion.
source§impl From<SingleExcitationStore> for Operation
impl From<SingleExcitationStore> for Operation
Implements the From trait from this Operation.
source§fn from(v: SingleExcitationStore) -> Self
fn from(v: SingleExcitationStore) -> Self
Performs the conversion.
source§impl From<SingleModeGateOperation> for Operation
impl From<SingleModeGateOperation> for Operation
source§fn from(op: SingleModeGateOperation) -> Self
fn from(op: SingleModeGateOperation) -> Self
source§impl From<SingleModeOperation> for Operation
impl From<SingleModeOperation> for Operation
source§fn from(op: SingleModeOperation) -> Self
fn from(op: SingleModeOperation) -> Self
source§impl From<SingleQubitGate> for Operation
impl From<SingleQubitGate> for Operation
Implements the From trait from this Operation.
source§fn from(v: SingleQubitGate) -> Self
fn from(v: SingleQubitGate) -> Self
Performs the conversion.
source§impl From<SingleQubitGateOperation> for Operation
impl From<SingleQubitGateOperation> for Operation
source§fn from(op: SingleQubitGateOperation) -> Self
fn from(op: SingleQubitGateOperation) -> Self
source§impl From<SingleQubitOperation> for Operation
impl From<SingleQubitOperation> for Operation
source§fn from(op: SingleQubitOperation) -> Self
fn from(op: SingleQubitOperation) -> Self
source§impl From<SpinInteraction> for Operation
impl From<SpinInteraction> for Operation
Implements the From trait from this Operation.
source§fn from(v: SpinInteraction) -> Self
fn from(v: SpinInteraction) -> Self
Performs the conversion.
source§impl From<SpinsAnalogOperation> for Operation
impl From<SpinsAnalogOperation> for Operation
source§fn from(op: SpinsAnalogOperation) -> Self
fn from(op: SpinsAnalogOperation) -> Self
source§impl From<SqrtPauliX> for Operation
impl From<SqrtPauliX> for Operation
Implements the From trait from this Operation.
source§fn from(v: SqrtPauliX) -> Self
fn from(v: SqrtPauliX) -> Self
Performs the conversion.
source§impl From<ThreeQubitGateOperation> for Operation
impl From<ThreeQubitGateOperation> for Operation
source§fn from(op: ThreeQubitGateOperation) -> Self
fn from(op: ThreeQubitGateOperation) -> Self
source§impl From<ThreeQubitOperation> for Operation
impl From<ThreeQubitOperation> for Operation
source§fn from(op: ThreeQubitOperation) -> Self
fn from(op: ThreeQubitOperation) -> Self
source§impl From<TwoModeGateOperation> for Operation
impl From<TwoModeGateOperation> for Operation
source§fn from(op: TwoModeGateOperation) -> Self
fn from(op: TwoModeGateOperation) -> Self
source§impl From<TwoModeOperation> for Operation
impl From<TwoModeOperation> for Operation
source§fn from(op: TwoModeOperation) -> Self
fn from(op: TwoModeOperation) -> Self
source§impl From<TwoQubitGateOperation> for Operation
impl From<TwoQubitGateOperation> for Operation
source§fn from(op: TwoQubitGateOperation) -> Self
fn from(op: TwoQubitGateOperation) -> Self
source§impl From<TwoQubitOperation> for Operation
impl From<TwoQubitOperation> for Operation
source§fn from(op: TwoQubitOperation) -> Self
fn from(op: TwoQubitOperation) -> Self
source§impl From<VariableMSXX> for Operation
impl From<VariableMSXX> for Operation
Implements the From trait from this Operation.
source§fn from(v: VariableMSXX) -> Self
fn from(v: VariableMSXX) -> Self
Performs the conversion.
source§impl InvolveQubits for Operation
impl InvolveQubits for Operation
Implements InvolveQubits trait for the qubits involved in this Operation.
source§fn involved_qubits(&self) -> InvolvedQubits
fn involved_qubits(&self) -> InvolvedQubits
source§fn involved_classical(&self) -> InvolvedClassical
fn involved_classical(&self) -> InvolvedClassical
source§impl PartialEq for Operation
impl PartialEq for Operation
source§impl Substitute for Operation
impl Substitute for Operation
Implements Substitute trait allowing to replace symbolic parameters and to perform qubit mappings.
source§fn substitute_parameters(
&self,
calculator: &Calculator
) -> Result<Self, RoqoqoError>
fn substitute_parameters( &self, calculator: &Calculator ) -> Result<Self, RoqoqoError>
Substitutes symbolic parameters in clone of the operation.
source§fn remap_qubits(
&self,
mapping: &HashMap<usize, usize>
) -> Result<Self, RoqoqoError>
fn remap_qubits( &self, mapping: &HashMap<usize, usize> ) -> Result<Self, RoqoqoError>
Remaps the qubits in clone of the operation.
source§impl SupportedVersion for Operation
impl SupportedVersion for Operation
source§impl TryFrom<&Operation> for ConstantGateOperation
impl TryFrom<&Operation> for ConstantGateOperation
source§impl TryFrom<&Operation> for Definition
impl TryFrom<&Operation> for Definition
source§impl TryFrom<&Operation> for GateOperation
impl TryFrom<&Operation> for GateOperation
source§impl TryFrom<&Operation> for ModeGateOperation
impl TryFrom<&Operation> for ModeGateOperation
source§impl TryFrom<&Operation> for MultiQubitGateOperation
impl TryFrom<&Operation> for MultiQubitGateOperation
source§impl TryFrom<&Operation> for MultiQubitOperation
impl TryFrom<&Operation> for MultiQubitOperation
source§impl TryFrom<&Operation> for PragmaNoiseOperation
impl TryFrom<&Operation> for PragmaNoiseOperation
source§impl TryFrom<&Operation> for PragmaNoiseProbaOperation
impl TryFrom<&Operation> for PragmaNoiseProbaOperation
source§impl TryFrom<&Operation> for PragmaOperation
impl TryFrom<&Operation> for PragmaOperation
source§impl TryFrom<&Operation> for SingleModeGateOperation
impl TryFrom<&Operation> for SingleModeGateOperation
source§impl TryFrom<&Operation> for SingleModeOperation
impl TryFrom<&Operation> for SingleModeOperation
source§impl TryFrom<&Operation> for SingleQubitGateOperation
impl TryFrom<&Operation> for SingleQubitGateOperation
source§impl TryFrom<&Operation> for SingleQubitOperation
impl TryFrom<&Operation> for SingleQubitOperation
source§impl TryFrom<&Operation> for SpinsAnalogOperation
impl TryFrom<&Operation> for SpinsAnalogOperation
source§impl TryFrom<&Operation> for ThreeQubitGateOperation
impl TryFrom<&Operation> for ThreeQubitGateOperation
source§impl TryFrom<&Operation> for ThreeQubitOperation
impl TryFrom<&Operation> for ThreeQubitOperation
source§impl TryFrom<&Operation> for TwoModeGateOperation
impl TryFrom<&Operation> for TwoModeGateOperation
source§impl TryFrom<&Operation> for TwoModeOperation
impl TryFrom<&Operation> for TwoModeOperation
source§impl TryFrom<&Operation> for TwoQubitGateOperation
impl TryFrom<&Operation> for TwoQubitGateOperation
source§impl TryFrom<&Operation> for TwoQubitOperation
impl TryFrom<&Operation> for TwoQubitOperation
source§impl TryFrom<Operation> for BeamSplitter
impl TryFrom<Operation> for BeamSplitter
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for Bogoliubov
impl TryFrom<Operation> for Bogoliubov
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for CNOT
impl TryFrom<Operation> for CNOT
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for CZQubitResonator
impl TryFrom<Operation> for CZQubitResonator
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for ComplexPMInteraction
impl TryFrom<Operation> for ComplexPMInteraction
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for ConstantGateOperation
impl TryFrom<Operation> for ConstantGateOperation
source§impl TryFrom<Operation> for ControlledControlledPauliZ
impl TryFrom<Operation> for ControlledControlledPauliZ
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for ControlledControlledPhaseShift
impl TryFrom<Operation> for ControlledControlledPhaseShift
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for ControlledPauliY
impl TryFrom<Operation> for ControlledPauliY
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for ControlledPauliZ
impl TryFrom<Operation> for ControlledPauliZ
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for ControlledPhaseShift
impl TryFrom<Operation> for ControlledPhaseShift
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for ControlledRotateX
impl TryFrom<Operation> for ControlledRotateX
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for ControlledRotateXY
impl TryFrom<Operation> for ControlledRotateXY
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for Definition
impl TryFrom<Operation> for Definition
source§impl TryFrom<Operation> for DefinitionBit
impl TryFrom<Operation> for DefinitionBit
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for DefinitionComplex
impl TryFrom<Operation> for DefinitionComplex
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for DefinitionFloat
impl TryFrom<Operation> for DefinitionFloat
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for DefinitionUsize
impl TryFrom<Operation> for DefinitionUsize
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for EchoCrossResonance
impl TryFrom<Operation> for EchoCrossResonance
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for FSwap
impl TryFrom<Operation> for FSwap
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for Fsim
impl TryFrom<Operation> for Fsim
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for GPi
impl TryFrom<Operation> for GPi
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for GPi2
impl TryFrom<Operation> for GPi2
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for GateOperation
impl TryFrom<Operation> for GateOperation
source§impl TryFrom<Operation> for GivensRotation
impl TryFrom<Operation> for GivensRotation
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for GivensRotationLittleEndian
impl TryFrom<Operation> for GivensRotationLittleEndian
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for Hadamard
impl TryFrom<Operation> for Hadamard
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for ISwap
impl TryFrom<Operation> for ISwap
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for Identity
impl TryFrom<Operation> for Identity
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for InputBit
impl TryFrom<Operation> for InputBit
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for InputSymbolic
impl TryFrom<Operation> for InputSymbolic
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for InvSqrtISwap
impl TryFrom<Operation> for InvSqrtISwap
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for InvSqrtPauliX
impl TryFrom<Operation> for InvSqrtPauliX
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for JaynesCummings
impl TryFrom<Operation> for JaynesCummings
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for LongitudinalCoupling
impl TryFrom<Operation> for LongitudinalCoupling
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for MeasureQubit
impl TryFrom<Operation> for MeasureQubit
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for ModeGateOperation
impl TryFrom<Operation> for ModeGateOperation
source§impl TryFrom<Operation> for MolmerSorensenXX
impl TryFrom<Operation> for MolmerSorensenXX
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for MultiQubitGateOperation
impl TryFrom<Operation> for MultiQubitGateOperation
source§impl TryFrom<Operation> for MultiQubitMS
impl TryFrom<Operation> for MultiQubitMS
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for MultiQubitOperation
impl TryFrom<Operation> for MultiQubitOperation
source§impl TryFrom<Operation> for MultiQubitZZ
impl TryFrom<Operation> for MultiQubitZZ
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PMInteraction
impl TryFrom<Operation> for PMInteraction
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PauliX
impl TryFrom<Operation> for PauliX
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PauliY
impl TryFrom<Operation> for PauliY
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PauliZ
impl TryFrom<Operation> for PauliZ
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PhaseDisplacement
impl TryFrom<Operation> for PhaseDisplacement
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PhaseShift
impl TryFrom<Operation> for PhaseShift
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PhaseShiftState0
impl TryFrom<Operation> for PhaseShiftState0
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PhaseShiftState1
impl TryFrom<Operation> for PhaseShiftState1
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PhaseShiftedControlledPhase
impl TryFrom<Operation> for PhaseShiftedControlledPhase
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PhaseShiftedControlledZ
impl TryFrom<Operation> for PhaseShiftedControlledZ
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PhotonDetection
impl TryFrom<Operation> for PhotonDetection
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaActiveReset
impl TryFrom<Operation> for PragmaActiveReset
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaAnnotatedOp
impl TryFrom<Operation> for PragmaAnnotatedOp
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaBoostNoise
impl TryFrom<Operation> for PragmaBoostNoise
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaChangeDevice
impl TryFrom<Operation> for PragmaChangeDevice
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaConditional
impl TryFrom<Operation> for PragmaConditional
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaControlledCircuit
impl TryFrom<Operation> for PragmaControlledCircuit
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaDamping
impl TryFrom<Operation> for PragmaDamping
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaDephasing
impl TryFrom<Operation> for PragmaDephasing
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaDepolarising
impl TryFrom<Operation> for PragmaDepolarising
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaGeneralNoise
impl TryFrom<Operation> for PragmaGeneralNoise
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaGetDensityMatrix
impl TryFrom<Operation> for PragmaGetDensityMatrix
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaGetOccupationProbability
impl TryFrom<Operation> for PragmaGetOccupationProbability
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaGetPauliProduct
impl TryFrom<Operation> for PragmaGetPauliProduct
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaGetStateVector
impl TryFrom<Operation> for PragmaGetStateVector
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaGlobalPhase
impl TryFrom<Operation> for PragmaGlobalPhase
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaLoop
impl TryFrom<Operation> for PragmaLoop
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaNoiseOperation
impl TryFrom<Operation> for PragmaNoiseOperation
source§impl TryFrom<Operation> for PragmaNoiseProbaOperation
impl TryFrom<Operation> for PragmaNoiseProbaOperation
source§impl TryFrom<Operation> for PragmaOperation
impl TryFrom<Operation> for PragmaOperation
source§impl TryFrom<Operation> for PragmaOverrotation
impl TryFrom<Operation> for PragmaOverrotation
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaRandomNoise
impl TryFrom<Operation> for PragmaRandomNoise
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaRepeatGate
impl TryFrom<Operation> for PragmaRepeatGate
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaRepeatedMeasurement
impl TryFrom<Operation> for PragmaRepeatedMeasurement
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaSetDensityMatrix
impl TryFrom<Operation> for PragmaSetDensityMatrix
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaSetNumberOfMeasurements
impl TryFrom<Operation> for PragmaSetNumberOfMeasurements
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaSetStateVector
impl TryFrom<Operation> for PragmaSetStateVector
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaSleep
impl TryFrom<Operation> for PragmaSleep
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaStartDecompositionBlock
impl TryFrom<Operation> for PragmaStartDecompositionBlock
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaStopDecompositionBlock
impl TryFrom<Operation> for PragmaStopDecompositionBlock
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for PragmaStopParallelBlock
impl TryFrom<Operation> for PragmaStopParallelBlock
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for Qsim
impl TryFrom<Operation> for Qsim
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for QuantumRabi
impl TryFrom<Operation> for QuantumRabi
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for RotateAroundSphericalAxis
impl TryFrom<Operation> for RotateAroundSphericalAxis
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for RotateX
impl TryFrom<Operation> for RotateX
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for RotateXY
impl TryFrom<Operation> for RotateXY
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for RotateY
impl TryFrom<Operation> for RotateY
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for RotateZ
impl TryFrom<Operation> for RotateZ
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for SGate
impl TryFrom<Operation> for SGate
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for SWAP
impl TryFrom<Operation> for SWAP
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for SingleExcitationLoad
impl TryFrom<Operation> for SingleExcitationLoad
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for SingleExcitationStore
impl TryFrom<Operation> for SingleExcitationStore
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for SingleModeGateOperation
impl TryFrom<Operation> for SingleModeGateOperation
source§impl TryFrom<Operation> for SingleModeOperation
impl TryFrom<Operation> for SingleModeOperation
source§impl TryFrom<Operation> for SingleQubitGate
impl TryFrom<Operation> for SingleQubitGate
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for SingleQubitGateOperation
impl TryFrom<Operation> for SingleQubitGateOperation
source§impl TryFrom<Operation> for SingleQubitOperation
impl TryFrom<Operation> for SingleQubitOperation
source§impl TryFrom<Operation> for SpinInteraction
impl TryFrom<Operation> for SpinInteraction
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for SpinsAnalogOperation
impl TryFrom<Operation> for SpinsAnalogOperation
source§impl TryFrom<Operation> for SqrtISwap
impl TryFrom<Operation> for SqrtISwap
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for SqrtPauliX
impl TryFrom<Operation> for SqrtPauliX
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for Squeezing
impl TryFrom<Operation> for Squeezing
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for TGate
impl TryFrom<Operation> for TGate
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for ThreeQubitGateOperation
impl TryFrom<Operation> for ThreeQubitGateOperation
source§impl TryFrom<Operation> for ThreeQubitOperation
impl TryFrom<Operation> for ThreeQubitOperation
source§impl TryFrom<Operation> for Toffoli
impl TryFrom<Operation> for Toffoli
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for TwoModeGateOperation
impl TryFrom<Operation> for TwoModeGateOperation
source§impl TryFrom<Operation> for TwoModeOperation
impl TryFrom<Operation> for TwoModeOperation
source§impl TryFrom<Operation> for TwoQubitGateOperation
impl TryFrom<Operation> for TwoQubitGateOperation
source§impl TryFrom<Operation> for TwoQubitOperation
impl TryFrom<Operation> for TwoQubitOperation
source§impl TryFrom<Operation> for VariableMSXX
impl TryFrom<Operation> for VariableMSXX
Implements the core::convert::TryFrom trait into this Operation.
source§impl TryFrom<Operation> for XY
impl TryFrom<Operation> for XY
Implements the core::convert::TryFrom trait into this Operation.
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.