diff --git a/pygsti/tools/internalgates.py b/pygsti/tools/internalgates.py index 2d5356297..17e1d3a3b 100644 --- a/pygsti/tools/internalgates.py +++ b/pygsti/tools/internalgates.py @@ -730,6 +730,7 @@ def standard_gatenames_openqasm_conversions(version='u3'): std_gatenames_to_qasm['Gc23'] = ['u3(0, 0, 4.71238898038469)'] # [0, 0, 3] * pi/2 (this is Gzmpi2 / Gpdag) std_gatenames_to_qasm['Gecr'] = ['ecr'] + std_gatenames_to_qasm['Gecres'] = ['ecr'] std_gatenames_to_argmap = {} std_gatenames_to_argmap['Gzr'] = lambda gatearg: ['u3(0, 0, ' + str(gatearg[0]) + ')'] @@ -785,6 +786,7 @@ def standard_gatenames_openqasm_conversions(version='u3'): std_gatenames_to_qasm['Gtdag'] = ['rz(5.497787143782138)'] std_gatenames_to_qasm['Gecr'] = ['ecr'] + std_gatenames_to_qasm['Gecres'] = ['ecr'] std_gatenames_to_argmap = {} std_gatenames_to_argmap['Gzr'] = lambda gatearg: ['rz(' + str(gatearg[0]) + ')'] diff --git a/pyproject.toml b/pyproject.toml index 2d42263b4..10f00cd9d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -97,5 +97,6 @@ Repository = 'https://github.com/sandialabs/pyGSTi' Download ='https://github.com/sandialabs/pyGSTi/tarball/master' [tool.setuptools_scm] +version_file = "pygsti/_version.py" version_scheme = "only-version" local_scheme = "no-local-version" \ No newline at end of file