Skip to content

Getting Started with Construct

This guide walks you through your first experience with Construct, from logging in to creating your first quantum circuit diagram in Circuit Designer.

Prerequisites

  • You must be a member of an organization with access to Construct
  • Google Chrome browser
  • Your organization credentials

Accessing Construct

  1. Visit construct.psiquantum.com ⧉
  2. Click on Login and enter your username and password to sign in Construct login screen

Important

If you belong to multiple organizations, you'll be prompted to select which organization you want to access after logging in.

After logging in, you will see the Construct dashboard. The dashboard displays your recent files, available projects, and important updates from PsiQuantum.

Construct dashboard

Creating Your First Project

  1. Click Create Project in the top right of the Projects section
  2. In the Create Project dialog, enter your project details:
    • Project Name: Enter a name using letters, numbers, periods (.) and hyphens (-)
    • Description: (Optional) Add a brief description of your project
    • Add demo files to repo: Select if you want the PsiQuantum demo files to be included in the Projects Git repository
  3. Click Create

Create Project dialog

Creating Your First Circuit

After creating your project, you can try using Circuit Designer to build a simple quantum circuit that demonstrates basic quantum operations.

Accessing Circuit Designer

You'll see the project dashboard with two main sections: Design and Develop.

Project dashboard

To create your first circuit:

  1. Locate the Circuit Designer card in the Design section
  2. Click Create Circuit

Tip

The project dashboard organizes tools by their primary function. Circuit Designer is found in the Design section, while tools like Resource Analyzer are in the Develop section.

Creating a New Circuit

After clicking Create Circuit, you'll be prompted to name your circuit. Enter a name and click OK to open the Circuit Designer interface.

Create Circuit dialog

Edit a Quantum Register

  1. Set the following properties in the Register panel:
    • Register label: r1
    • Rail Size: 2

Two-qubit register

Add a Hadamard Gate

  1. Click Add Gate
  2. In the Gate panel:

    • Set Gate Type to hadamard
    • Set Target Registers to r1[0] to apply the gate only to the first qubit

Hadamard gate added

Tip

Make sure to specify r1[0] for the Hadamard gate to apply it only to the first qubit. Using r1 would apply it to all qubits.

Add a CNOT Gate

  1. Click Add Gate
  2. In the Gate panel:
    • Set Gate Type to cnot
    • Set Target Registers to r1[0]
    • Set Control Registers to r1[1]
    • Control Type should be dot

CNOT gate added

Tip

The CNOT gate requires both input and control registers. Make sure these are set correctly for the gate to work as intended.

Add Read Operations

  1. Click Add Gate
  2. In the Gate panel:
    • Set Gate Type to read
    • Set Target Registers to r1 to assign the gate to both qubits

Read operations added

Save Your Circuit

Click the Save button in the toolbar to save your circuit.

Congratulations! You've created your first quantum circuit using Circuit Designer in Construct.

Next Steps

Now that you've created your first circuit, you can: