public StackTraceCollector(SimulatorBase sim) { callStack = new Stack <StackFrame>(); this.sim = sim; this.Start(); }
public GetQubitsAvailableToUse(SimulatorBase m) : base(m) { this.sim = m; if (m.QubitManager == null) { throw new NullReferenceException($"SimulatorBase {m} has a null-valued qubit manager, but a qubit manager is required to implement the GetQubitsAvailableToUse operation."); } this.manager = m.QubitManager; }
public GetQubitsAvailableToBorrow(SimulatorBase m) : base(m) { sim = m; }
public Message(SimulatorBase m) : base(m) { sim = m; }
public Return(SimulatorBase m) : base(m) { sim = m; }
public Borrow(SimulatorBase m) : base(m) { sim = m; }
public Release(SimulatorBase m) : base(m) { this.sim = m; this.manager = m.QubitManager; }
public DrawRandomInt(SimulatorBase m) : base(m) =>
public Message(SimulatorBase m) : base(m) =>
public GetQubitsAvailableToBorrow(SimulatorBase m) : base(m) { this.sim = m; this.manager = m.QubitManager; }
public Borrow(SimulatorBase m) : base(m) { this.sim = m; this.manager = m.QubitManager; }
public Allocate(SimulatorBase m) : base(m) { this.manager = m.QubitManager; }