Skip to content

Commit 5227f04

Browse files
committed
Fix python3.9 incompatibility
1 parent b22a8e7 commit 5227f04

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/qiskit_gym/envs/synthesis.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
# copyright notice, and modified files need to carry a notice indicating
1111
# that they have been altered from the originals.
1212

13+
from __future__ import annotations
14+
1315
from qiskit_gym import qiskit_gym_rs
1416

1517
from .adapters import gym_adapter

src/qiskit_gym/rl/synthesis.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
# copyright notice, and modified files need to carry a notice indicating
1111
# that they have been altered from the originals.
1212

13+
from __future__ import annotations
14+
1315
import json
1416

1517
import torch

0 commit comments

Comments
 (0)