Skip to content

Installation

Installation

Requirements

  • Python 3.11+
  • Palace EM simulation software

Optional:

  • COBRA installed/importable if you use ORCA surrogate outputs in circuit optimization

Note

ORCA supports Python 3.11 to 3.14.

Clone Repository

git clone https://github.com/DI-PASSIONATE/ORCA
cd ORCA

Install ORCA

curl -LsSf https://astral.sh/uv/install.sh | sh
uv python install 3.13
uv venv --python 3.13
source .venv/bin/activate
uv pip install -e .
python3 -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install -e .

Verify Setup

Run the following check in your activated environment:

orca

Expected behavior: ORCA GUI starts.

To verify the script workflow:

python examples/main.py

Warning

examples/main.py requires a working Palace installation and a valid geometry configuration.

External Tool Notes

Palace

COBRA (Optional)

  • COBRA consumes ONNX surrogate models exported by ORCA for circuit-level optimization.
  • See COBRA documentation for details.

Next Steps

  • Continue with Getting Started -> Quickstart for a first run.
  • Use User Guide -> Custom Classes to bring your own geometry.