Skip to content

Getting Started with Resource Analyzer

This guide walks you through your first resource analysis using Resource Analyzer, from loading your data to interpreting the visualization.

Prerequisites

Before starting your analysis:

  • Access to Construct with a valid organization account
  • A quantum resource estimate file (.qre-analysis.json or .basq.dataset.json)
  • Google Chrome browser (recommended for optimal performance)

Accessing Resource Analyzer

  1. Navigate to your Construct project
  2. Click on Resource Analyzer in the Develop section
  3. Select your resource estimate file or click on Add Demo QREs and choose from one of the ones added

Resource Analyzer Interface

Understanding the Interface

The Resource Analyzer interface consists of:

  • Toolbar - Contains controls for saving, settings, and view options
  • Visualization Area - Displays the resource estimation graph
  • Visualization Type - Call Graph or Flame Graph
  • Metric Selector - Choose which resource metrics to display
  • Settings Panel - Configure visualization options

Interface Components

Your First Analysis

  1. Load Your Data

    • Open a resource estimate file in Resource Analyzer
    • The visualization automatically displays the call graph
  2. Explore the Graph

    • Each box represents a function or subroutine
    • Darker colors indicate higher resource usage
    • Lines show calling relationships between components
  3. View Resource Metrics

    • Click "All Resource Counts" to see all available metrics
    • Select specific metrics like "Toffs" or "T-Gates" for focused analysis
  4. Identify Hotspots

    • Look for darker colored boxes indicating high resource usage
    • Note the "Per Call" and "Total" resource counts
    • Examine the percentage contribution to total cost

Saving and Sharing

  • Click the Save button to preserve your view settings
  • Use the Share button to copy a link to your analysis
  • Export visualizations using the Download options

Performance Tip

For large resource estimates, use the "Hide gates" option and cost filters to improve visualization performance.

Next Steps

After completing your first analysis:

Need Help?

If you encounter any issues, check the troubleshooting guide or contact PsiQuantum support.