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.jsonor.basq.dataset.json) - Google Chrome browser (recommended for optimal performance)
Accessing Resource Analyzer¶
- Navigate to your Construct project
- Click on Resource Analyzer in the Develop section
- Select your resource estimate file or click on Add Demo QREs and choose from one of the ones added

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

Your First Analysis¶
-
Load Your Data
- Open a resource estimate file in Resource Analyzer
- The visualization automatically displays the call graph
-
Explore the Graph
- Each box represents a function or subroutine
- Darker colors indicate higher resource usage
- Lines show calling relationships between components
-
View Resource Metrics
- Click "All Resource Counts" to see all available metrics
- Select specific metrics like "Toffs" or "T-Gates" for focused analysis
-
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:
- Learn about different visualization types
- Explore filtering and settings
- Understand resource analysis techniques
- Review sharing options
Need Help?
If you encounter any issues, check the troubleshooting guide or contact PsiQuantum support.