PhaseShiftGate
public struct PhaseShiftGate
extension PhaseShiftGate: ConfigurableGate
A quantum gate used on genetic programming: PhaseShift
-
Initializes a
ConfigurableGateinstance with a given phase shift angle.Declaration
Swift
public init(radians: Double)Parameters
radiansPhase shift angle in radians.
Return Value
A
ConfigurableGateinstance.
-
Declaration
Swift
public func makeFixed(inputs: [Int]) -> Result<Gate, EvolveCircuitError>
PhaseShiftGate Structure Reference