code: def from_ops(*operations: ops.OP_TREE,
                   strategy: InsertStrategy = InsertStrategy.EARLIEST,
                   device: devices.Device = devices.UnconstrainedDevice
                   ) -> 'Circuit':
          
          result = Circuit(device=device)
          result.append(operations, strategy)
          return result
docs: Creates an empty circuit and appends the given operations.
  
          Args:
              operations: The operations to append to the new circuit.
              strategy: How to append the operations.
              device: Hardware that the circuit should be able to run on.
  
          Returns:
              The constructed circuit containing the operations.