Maestro 0.1.0
Unified interface for quantum circuit simulation
Loading...
Searching...
No Matches
advanced_simulation.cpp File Reference

Advanced usage example of the Maestro library using the C interface for manual control. More...

#include "maestrolib/Interface.h"
#include <iostream>
#include <vector>

Go to the source code of this file.

Functions

int main ()

Detailed Description

Advanced usage example of the Maestro library using the C interface for manual control.

This example demonstrates:

  1. Creating a specific simulator type (Statevector).
  2. Manually applying gates (H, CX).
  3. Performing a measurement without collapsing the state (if supported) or standard measurement.
  4. Cleaning up resources.

Definition in file advanced_simulation.cpp.

Function Documentation

◆ main()

int main ( )

Definition at line 18 of file advanced_simulation.cpp.