pub fn build<F>(constructor: F) -> Result<Self, SchedulerError>
    where
        F: FnOnce(&mut Circuit<()>),
    {
        // TODO: use dynamic scheduler by default.
        Self::build_with_scheduler::<F, DynamicScheduler>(constructor)
    }
/// Create a circuit and prepate it for execution.
///
/// Creates an empty circuit and populates it with operators by calling a
/// user-provided `constructor` function.  The circuit will be scheduled
/// using the default scheduler (currently [`DynamicScheduler`]).
Create a circuit and prepate it for execution.
Creates an empty circuit and populates it with operators by calling a
user-provided `constructor` function.  The circuit will be scheduled
using the default scheduler (currently [`DynamicScheduler`]).
Create a circuit and prepate it for execution . Creates an empty circuit and populates it with operators by calling a user - provided ` constructor ` function . The circuit will be scheduled using the default scheduler ( currently [ ` DynamicScheduler ` ] ) .
pub fn build<F>(constructor: F) -> Result<Self, SchedulerError>
    where
        F: FnOnce(&mut Circuit<()>),
    {
        // TODO: use dynamic scheduler by default.
        Self::build_with_scheduler::<F, DynamicScheduler>(constructor)
    }
pub fn build < F > ( constructor : F ) -> Result < Self , SchedulerError > where F : FnOnce ( & mut Circuit < ( ) > ) , { // TODO: use dynamic scheduler by default. Self :: build_with_scheduler :: < F , DynamicScheduler > ( constructor ) }
Create a circuit and prepate it for execution.
Create a circuit and prepate it for execution .
constructor
F